Home
last modified time | relevance | path

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

/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstaller.java48 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()
DApkInstrumentationPreparer.java110 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/
DCtsBuildHelper.java107 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/
DDeviceInfoCollector.java101 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/
DPkgInstallSignatureVerificationTest.java421 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/
DAdbRootDependentCompilationTest.java71 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/
DCtsInstrumentationApkTest.java95 File apkFile = mCtsBuild.getTestApp(apkFileName); in run() local
98 errorCode = testDevice.installPackage(apkFile, true, options); in run()
DCtsTest.java1041 File apkFile = mCtsBuild.getTestApp(apkName); in installPrerequisiteApks() local
1043 String errorCode = getDevice().installPackage(apkFile, true, options); in installPrerequisiteApks()
DDeqpTestRunner.java1812 File apkFile = mCtsBuild.getTestApp(DEQP_ONDEVICE_APK); in installTestApk() local
1814 String errorCode = getDevice().installPackage(apkFile, true, options); in installTestApk()