Home
last modified time | relevance | path

Searched refs:getTestAppFile (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DKeySetHostTest.java103 private File getTestAppFile(String fileName) throws FileNotFoundException { in getTestAppFile() method in KeySetHostTest
209 installResult = mDevice.installPackage(getTestAppFile(firstApk), in testPackageUpgrade()
216 installResult = mDevice.installPackage(getTestAppFile(secondApk), in testPackageUpgrade()
380 getTestAppFile(permDefApk), false, INSTALL_ARG_FORCE_QUERYABLE); in testKeyRotationPerm()
384 getTestAppFile(permUseApk), false, INSTALL_ARG_FORCE_QUERYABLE); in testKeyRotationPerm()
388 getTestAppFile(KEYSET_TEST_APP_APK), false); in testKeyRotationPerm()
402 installResult = mDevice.installPackage(getTestAppFile(upgradeApk), in testKeyRotationPerm()
470 String installResult = mDevice.installPackage(getTestAppFile(A_SIGNED_BAD_B_B_UPGRADE), in testBadUpgradeBadPubKey()
481 String installResult = mDevice.installPackage(getTestAppFile(C_SIGNED_BAD_A_AB_UPGRADE), in testBadUpgradeMissingPubKey()
492 String installResult = mDevice.installPackage(getTestAppFile(A_SIGNED_NO_B_B_UPGRADE), in testBadUpgradeNoPubKey()
DExternalStorageHostTest.java114 private File getTestAppFile(String fileName) throws FileNotFoundException { in getTestAppFile() method in ExternalStorageHostTest
166 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageNone29()
189 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageRead29()
212 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageWrite()
238 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageNoGifts()
239 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageNoGifts()
240 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageNoGifts()
272 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK_2), false, options)); in testCanAccessOtherObbDirs()
285 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testCanAccessOtherObbDirs()
317 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageUnsharedObb()
[all …]
DInstantCookieHostTest.java111 return getDevice().installPackage(getTestAppFile(apk), replace, in installPackage()
115 private File getTestAppFile(String fileName) throws FileNotFoundException { in getTestAppFile() method in InstantCookieHostTest