Searched refs:TEST_APK_NAME (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/ |
D | NoPermissionTests.kt | 51 private const val TEST_APK_NAME = "CtsEmptyTestApp.apk" constant 70 private var apkFile = File(context.filesDir, TEST_APK_NAME) 111 File(TEST_APK_EXTERNAL_LOCATION, TEST_APK_NAME).copyTo(target = apkFile, overwrite = true) in copyTestApk() 140 File(TEST_APK_EXTERNAL_LOCATION, TEST_APK_NAME).inputStream().use { fileOnDisk -> in launchPackageInstallerViaSession() 141 session.openWrite(TEST_APK_NAME, 0, -1).use { sessionFile -> in launchPackageInstallerViaSession()
|
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/ |
D | PackageInstallerTestBase.kt | 51 const val TEST_APK_NAME = "CtsEmptyTestApp.apk" in <lambda>() constant 71 private val apkFile = File(context.filesDir, TEST_APK_NAME) in <lambda>() 92 File(TEST_APK_EXTERNAL_LOCATION, TEST_APK_NAME).copyTo(target = apkFile, overwrite = true) in <lambda>() 141 session.openWrite(TEST_APK_NAME, 0, -1).use { sessionFile -> in <lambda>()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | PackageInstallerTestBase.kt | 53 const val TEST_APK_NAME = "CtsEmptyTestApp.apk" in <lambda>() constant 75 private val apkFile = File(context.filesDir, TEST_APK_NAME) in <lambda>() 96 File(TEST_APK_EXTERNAL_LOCATION, TEST_APK_NAME).copyTo(target = apkFile, overwrite = true) in <lambda>() 155 session.openWrite(TEST_APK_NAME, 0, -1).use { sessionFile -> in <lambda>()
|
/cts/hostsidetests/packagemanager/preferredactivity/src/com/android/cts/packagemanager/preferredactivity/host/ |
D | PreferredActivityTests.java | 49 private static final String TEST_APK_NAME = "CtsPackageManagerPreferredActivityApp.apk"; field in PreferredActivityTests 60 getDevice().installPackage(mBuildHelper.getTestFile(TEST_APK_NAME), false, false, ""); in setUp()
|