Home
last modified time | relevance | path

Searched refs:apkFile (Results 1 – 9 of 9) sorted by relevance

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInteractionHelperInstaller.java125 File apkFile = testInfo.getDependencyFile(apkName, true); in setUp() local
126 checkApkFile(device, apkFile, pkg); in setUp()
127 installHelperApk(device, apkFile, pkg); in setUp()
154 private void checkApkFile(ITestDevice device, File apkFile, String expectedPackage) in checkApkFile() argument
156 String path = apkFile.getPath(); in checkApkFile()
157 if (!apkFile.canRead()) { in checkApkFile()
162 AaptParser parser = parseApk(apkFile); in checkApkFile()
181 protected AaptParser parseApk(File apkFile) { in parseApk() argument
182 return AaptParser.parse(apkFile); in parseApk()
186 private void installHelperApk(ITestDevice device, File apkFile, String apkPackage) in installHelperApk() argument
[all …]
DApkInstaller.java56 File apkFile = null; in getLocalPathForFilename() local
58 apkFile = getTestFile(testInfo.getBuildInfo(), apkFileName); in getLocalPathForFilename()
59 if (!apkFile.isFile()) { in getLocalPathForFilename()
68 return apkFile; in getLocalPathForFilename()
DApkInstrumentationPreparer.java113 File apkFile = buildHelper.getTestFile(mApkFileName); in instrument() local
114 if (!apkFile.exists()) { in instrument()
129 instrTest.setInstallFile(apkFile); in instrument()
DMediaPreparer.java430 File apkFile = null; in setMaxRes() local
432 apkFile = buildHelper.getTestFile(APP_APK); in setMaxRes()
433 if (!apkFile.exists()) { in setMaxRes()
450 instrTest.setInstallFile(apkFile); in setMaxRes()
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/
DAppCompatibilityTest.java270 private void testApk(ITestInvocationListener listener, ApkInfo apkInfo, File apkFile)
272 if (apkInfo == null || apkFile == null) {
274 FileUtil.deleteFile(apkFile);
279 apkInfo.packageName, apkFile.getAbsolutePath());
301 installApk(result, apkFile, mFallbackToApkScan);
331 FileUtil.deleteFile(apkFile);
346 private void installApk(CompatibilityTestResult result, File apkFile, boolean skipAaptCheck)
349 CLog.d("Parsing apk file: %s.", apkFile.getAbsolutePath());
350 AaptParser parser = AaptParser.parse(apkFile);
354 apkFile.getAbsolutePath(), result.packageName, result.message);
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DApkPackageNameCheck.java130 File apkFile = new File(testcases, apkName); in testApkPackageNames() local
131 if (!apkFile.exists()) { in testApkPackageNames()
133 + "exists in testcases/", config.getName(), apkFile)); in testApkPackageNames()
135 AaptParser res = AaptParser.parse(apkFile); in testApkPackageNames()
/test/app_compat/csuite/harness/src/main/java/com/android/tradefed/util/
DPublicApkUtil.java96 File apkFile = new File(dir, String.format("%s_ranking.csv", flavor)); in getApkList() local
97 if (!apkFile.exists() && fallbackToApkScan) { in getApkList()
100 return getApkListFromRankingInfo(apkFile); in getApkList()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInteractionHelperInstallerTest.java64 protected AaptParser parseApk(File apkFile) { in setUp()
65 return mAaptParsers.getOrDefault(apkFile, AaptParser.parse(apkFile)); in setUp()
/test/framework/harnesses/cts-tradefed/
Dtradefed-cts-prebuilt.jarMETA-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...