Home
last modified time | relevance | path

Searched refs:packageFile (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppIncrementalInstallTest.java139 long installAndTime(File packageFile) throws DeviceNotAvailableException { in installAndTime() argument
140 AaptParser parser = AaptParser.parse(packageFile); in installAndTime()
142 CLog.e("Failed to parse %s", packageFile); in installAndTime()
148 CLog.e("Failed to obtain package name %s", packageFile); in installAndTime()
152 String remotePath = mTestApkRemoteDir + packageFile.getName(); in installAndTime()
153 if (!mDevice.pushFile(packageFile, remotePath)) { in installAndTime()
154 CLog.e("Failed to push %s", packageFile); in installAndTime()
158 File signatureFile = getSignatureFile(packageFile); in installAndTime()
170 if (!checkSuccess(output, packageFile, "install-incremental")) { in installAndTime()
175 if (!checkSuccess(output, packageFile, "install-commit")) { in installAndTime()
[all …]
DAppInstallTest.java167 long installAndTime(File packageFile) throws DeviceNotAvailableException { in installAndTime() argument
168 AaptParser parser = AaptParser.parse(packageFile); in installAndTime()
170 CLog.e("Failed to parse %s", packageFile); in installAndTime()
175 String remotePath = "/data/local/tmp/" + packageFile.getName(); in installAndTime()
176 if (!mDevice.pushFile(packageFile, remotePath)) { in installAndTime()
177 CLog.e("Failed to push %s", packageFile); in installAndTime()
183 File dexMetadataFile = getDexMetadataFile(packageFile); in installAndTime()
195 if (!checkSuccess(output, packageFile, "install-create")) { in installAndTime()
205 if (!checkSuccess(output, packageFile, "install-write base.apk")) { in installAndTime()
214 if (!checkSuccess(output, packageFile, "install-write base.dm")) { in installAndTime()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java154 final File packageFile, final boolean reinstall, final List<String> extraArgs) in internalInstallPackage() argument
157 if (packageFile.getName().endsWith(APEX_SUFFIX)) { in internalInstallPackage()
170 packageFile.getAbsolutePath(), in internalInstallPackage()
183 packageFile.getAbsolutePath()); in internalInstallPackage()
203 packageFile.getAbsolutePath(), extraArgs.toString(), getSerialNumber()); in internalInstallPackage()
204 performDeviceAction(String.format("install %s", packageFile.getAbsolutePath()), in internalInstallPackage()
207 packageFiles.add(packageFile); in internalInstallPackage()
225 public String installPackage(final File packageFile, final boolean reinstall, in installPackage() argument
233 return internalInstallPackage(packageFile, reinstall, args); in installPackage()
240 public String installPackage(File packageFile, boolean reinstall, boolean grantPermissions, in installPackage() argument
[all …]
DNativeDevice.java1044 public String installPackage(final File packageFile, final boolean reinstall, in installPackage() argument
1053 public String installPackage(File packageFile, boolean reinstall, boolean grantPermissions, in installPackage() argument
1062 public String installPackageForUser(File packageFile, boolean reinstall, int userId, in installPackageForUser() argument
1071 public String installPackageForUser(File packageFile, boolean reinstall, in installPackageForUser() argument
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java142 public String installPackage(File packageFile, boolean reinstall, String... extraArgs) in installPackage() argument
163 File packageFile, boolean reinstall, boolean grantPermissions, String... extraArgs) in installPackage() argument
179 File packageFile, boolean reinstall, int userId, String... extraArgs) in installPackageForUser() argument
201 File packageFile, in installPackageForUser() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java4620 File packageFile, boolean reinstall, String... extraArgs) in testPostInvocationWifiTearDown()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...