parameters: (self, apk, pkg=None)
docstring: Invoke 'adb install-multiple'.
docstring_summary: Invoke 'adb install-multiple'.
docstring_tokens: Invoke adb install - multiple .
function: def InstallMultiple(self, apk, pkg=None):
      """Invoke 'adb install-multiple'."""
  
      pkg_args = ["-p", pkg] if pkg else []
      ret, stdout, stderr, args = self._Exec(
          ["install-multiple", "-r"] + pkg_args + [apk])
      if "FAILED" in stdout or "FAILED" in stderr:
        raise AdbError(args, ret, stdout, stderr)
function_tokens: def InstallMultiple ( self , apk , pkg = None ) : pkg_args = [ "-p" , pkg ] if pkg else [ ] ret , stdout , stderr , args = self . _Exec ( [ "install-multiple" , "-r" ] + pkg_args + [ apk ] ) if "FAILED" in stdout or "FAILED" in stderr : raise AdbError ( args , ret , stdout , stderr )