Searched refs:getTestAppFile (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExternalStorageHostTest.java | 94 private File getTestAppFile(String fileName) throws FileNotFoundException { in getTestAppFile() method in ExternalStorageHostTest 143 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageNone() 166 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageRead() 189 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageWrite() 216 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageGifts() 221 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageGifts() 222 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageGifts() 245 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK_2), false, options)); in testExternalStorageObbGifts() 258 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageObbGifts() 290 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageUnsharedObb() [all …]
|
D | KeySetHostTest.java | 101 private File getTestAppFile(String fileName) throws FileNotFoundException { in getTestAppFile() method in KeySetHostTest 207 installResult = mDevice.installPackage(getTestAppFile(firstApk), in testPackageUpgrade() 214 installResult = mDevice.installPackage(getTestAppFile(secondApk), in testPackageUpgrade() 378 getTestAppFile(permDefApk), false); in testKeyRotationPerm() 382 getTestAppFile(permUseApk), false); in testKeyRotationPerm() 386 getTestAppFile(KEYSET_TEST_APP_APK), false); in testKeyRotationPerm() 400 installResult = mDevice.installPackage(getTestAppFile(upgradeApk), in testKeyRotationPerm() 468 String installResult = mDevice.installPackage(getTestAppFile(A_SIGNED_BAD_B_B_UPGRADE), in testBadUpgradeBadPubKey() 479 String installResult = mDevice.installPackage(getTestAppFile(C_SIGNED_BAD_A_AB_UPGRADE), in testBadUpgradeMissingPubKey() 490 String installResult = mDevice.installPackage(getTestAppFile(A_SIGNED_NO_B_B_UPGRADE), in testBadUpgradeNoPubKey()
|
D | InstantCookieHostTest.java | 111 return getDevice().installPackage(getTestAppFile(apk), replace, in installPackage() 115 private File getTestAppFile(String fileName) throws FileNotFoundException { in getTestAppFile() method in InstantCookieHostTest
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | OsHostTests.java | 117 String installResult = getDevice().installPackage(getTestAppFile(HOST_VERIFICATION_APK), in testIntentFilterHostValidation() 156 private File getTestAppFile(String fileName) throws FileNotFoundException { in getTestAppFile() method in OsHostTests
|