Home
last modified time | relevance | path

Searched refs:apkFile (Results 1 – 6 of 6) 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/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/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()