Searched refs:apkFile (Results 1 – 9 of 9) sorted by relevance
125 File apkFile = testInfo.getDependencyFile(apkName, true); in setUp() local126 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() argument156 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() argument182 return AaptParser.parse(apkFile); in parseApk()186 private void installHelperApk(ITestDevice device, File apkFile, String apkPackage) in installHelperApk() argument[all …]
56 File apkFile = null; in getLocalPathForFilename() local58 apkFile = getTestFile(testInfo.getBuildInfo(), apkFileName); in getLocalPathForFilename()59 if (!apkFile.isFile()) { in getLocalPathForFilename()68 return apkFile; in getLocalPathForFilename()
113 File apkFile = buildHelper.getTestFile(mApkFileName); in instrument() local114 if (!apkFile.exists()) { in instrument()129 instrTest.setInstallFile(apkFile); in instrument()
430 File apkFile = null; in setMaxRes() local432 apkFile = buildHelper.getTestFile(APP_APK); in setMaxRes()433 if (!apkFile.exists()) { in setMaxRes()450 instrTest.setInstallFile(apkFile); in setMaxRes()
270 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 …]
130 File apkFile = new File(testcases, apkName); in testApkPackageNames() local131 if (!apkFile.exists()) { in testApkPackageNames()133 + "exists in testcases/", config.getName(), apkFile)); in testApkPackageNames()135 AaptParser res = AaptParser.parse(apkFile); in testApkPackageNames()
96 File apkFile = new File(dir, String.format("%s_ranking.csv", flavor)); in getApkList() local97 if (!apkFile.exists() && fallbackToApkScan) { in getApkList()100 return getApkListFromRankingInfo(apkFile); in getApkList()
64 protected AaptParser parseApk(File apkFile) { in setUp()65 return mAaptParsers.getOrDefault(apkFile, AaptParser.parse(apkFile)); in setUp()
META-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...