def _CallIncrementalInstall(self,
                                incremental,
                                native_libs=None,
                                split_main_apk=None,
                                split_apks=None,
                                start_type="no"):
        if split_main_apk:
            apk = split_main_apk
        elif incremental:
            apk = None
        else:
            apk = self._APK

        incremental_install.IncrementalInstall(
            adb_path=self._ADB_PATH,
            execroot=self._EXEC_ROOT,
            stub_datafile=self._STUB_DATAFILE,
            dexmanifest=self._DEXMANIFEST,
            apk=apk,
            resource_apk=self._RESOURCE_APK,
            split_main_apk=split_main_apk,
            split_apks=split_apks,
            native_libs=native_libs,
            output_marker=self._OUTPUT_MARKER,
            adb_jobs=1,
            start_type=start_type,
            user_home_dir="/home/root")
Esempio n. 2
0
 def _CallIncrementalInstall(self, incremental, start_app=False):
     if incremental:
         apk = None
     else:
         apk = self._APK
     incremental_install.IncrementalInstall(
         adb_path=self._ADB_PATH,
         execroot=self._EXEC_ROOT,
         stub_datafile=self._STUB_DATAFILE,
         dexmanifest=self._DEXMANIFEST,
         apk=apk,
         resource_apk=self._RESOURCE_APK,
         output_marker=self._OUTPUT_MARKER,
         adb_jobs=1,
         start_app=start_app,
         user_home_dir="/home/root")