Searched refs:apkFile (Results 1 – 9 of 9) sorted by relevance
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | ApkInstaller.java | 48 File apkFile = null; in getLocalPathForFilename() local 50 apkFile = new File(getTestsDir(buildInfo), apkFileName); in getLocalPathForFilename() 51 if (!apkFile.isFile()) { in getLocalPathForFilename() 57 return apkFile; in getLocalPathForFilename()
|
D | ApkInstrumentationPreparer.java | 110 File apkFile = new File(testsDir, mApkFileName); in instrument() local 111 if (!apkFile.exists()) { in instrument() 123 instrTest.setInstallFile(apkFile); in instrument()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/build/ |
D | CtsBuildHelper.java | 107 File apkFile = new File(getTestCasesDir(), appFileName); in getTestApp() local 108 if (!apkFile.exists()) { in getTestApp() 110 apkFile.getAbsolutePath())); in getTestApp() 112 return apkFile; in getTestApp()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/ |
D | DeviceInfoCollector.java | 101 File apkFile = new File(testApkDir, String.format("%s.apk", apkName)); in runInstrumentation() local 102 if (!apkFile.exists()) { in runInstrumentation() 103 Log.e(LOG_TAG, String.format("Could not find %s", apkFile.getAbsolutePath())); in runInstrumentation() 110 instrTest.setInstallFile(apkFile); in runInstrumentation()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PkgInstallSignatureVerificationTest.java | 421 File apkFile = File.createTempFile("pkginstalltest", ".apk"); in installPackageFromResource() local 424 OutputStream out = new BufferedOutputStream(new FileOutputStream(apkFile))) { in installPackageFromResource() 434 return mDevice.installPackage(apkFile, true); in installPackageFromResource() 436 apkFile.delete(); in installPackageFromResource()
|
/cts/hostsidetests/compilation/src/android/cts/compilation/ |
D | AdbRootDependentCompilationTest.java | 71 private File apkFile; field in AdbRootDependentCompilationTest 90 apkFile = File.createTempFile("CtsCompilationApp", ".apk"); in setUp() 91 try (OutputStream outputStream = new FileOutputStream(apkFile)) { in setUp() 96 mDevice.installPackage(apkFile, false); in setUp() 125 apkFile.delete(); in tearDown()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | CtsInstrumentationApkTest.java | 95 File apkFile = mCtsBuild.getTestApp(apkFileName); in run() local 98 errorCode = testDevice.installPackage(apkFile, true, options); in run()
|
D | CtsTest.java | 1041 File apkFile = mCtsBuild.getTestApp(apkName); in installPrerequisiteApks() local 1043 String errorCode = getDevice().installPackage(apkFile, true, options); in installPrerequisiteApks()
|
D | DeqpTestRunner.java | 1812 File apkFile = mCtsBuild.getTestApp(DEQP_ONDEVICE_APK); in installTestApk() local 1814 String errorCode = getDevice().installPackage(apkFile, true, options); in installTestApk()
|