/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PermissionsHostTest.java | 112 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testFail() 127 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testKill() 141 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatDefault22() 147 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatRevoked22() 163 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testNoRuntimePrompt22() 169 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testDefault23() 175 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testGranted23() 181 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testInteractiveGrant23() 187 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testRuntimeGroupGrantSpecificity23() 193 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testRuntimeGroupGrantExpansion23() [all …]
|
D | MajorVersionTest.java | 72 mBuildHelper.getTestFile(APK_000000000000ffff), false, false)); in testInstallMinorVersion() 80 mBuildHelper.getTestFile(APK_000000ff00000000), false, false)); in testInstallMajorVersion() 88 mBuildHelper.getTestFile(APK_000000000000ffff), false, false)); in testInstallUpdateAcrossMinorMajorVersion() 92 mBuildHelper.getTestFile(APK_00000000ffffffff), true, false)); in testInstallUpdateAcrossMinorMajorVersion() 96 mBuildHelper.getTestFile(APK_000000ff00000000), true, false)); in testInstallUpdateAcrossMinorMajorVersion() 100 mBuildHelper.getTestFile(APK_000000ffffffffff), true, false)); in testInstallUpdateAcrossMinorMajorVersion() 108 mBuildHelper.getTestFile(APK_000000ffffffffff), false, false)); in testInstallDowngradeAcrossMajorMinorVersion() 112 mBuildHelper.getTestFile(APK_00000000ffffffff), true, false)); in testInstallDowngradeAcrossMajorMinorVersion() 116 mBuildHelper.getTestFile(APK_000000ff00000000), true, false)); in testInstallDowngradeAcrossMajorMinorVersion() 120 mBuildHelper.getTestFile(APK_000000000000ffff), true, false)); in testInstallDowngradeAcrossMajorMinorVersion()
|
D | PackageResolutionHostTest.java | 58 getDevice().installPackage(mBuildHelper.getTestFile(TINY_APK), true); in testResolveOrderedActivity() 67 getDevice().installPackage(mBuildHelper.getTestFile(TINY_APK), true); in testResolveOrderedService() 76 getDevice().installPackage(mBuildHelper.getTestFile(TINY_APK), true); in testResolveOrderedReceiver()
|
D | UsesLibraryHostTest.java | 71 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testUsesLibrary() 76 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testMissingLibrary() 81 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testDuplicateLibrary()
|
D | PrivilegedUpdateTests.java | 83 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(TEST_APK), false)); in setUp() 99 mBuildHelper.getTestFile(SHIM_UPDATE_FAIL_APK), true)); in testPrivilegedAppUpgradeRestricted() 120 mBuildHelper.getTestFile(SHIM_UPDATE_APK), true)); in testPrivilegedAppUpgradePriorities() 144 mBuildHelper.getTestFile(SHIM_UPDATE_APK), true)); in testDisableUpdatedSystemApp()
|
D | InstantAppUserTest.java | 197 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp() 202 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--instant")); in installInstantApp() 207 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installAppAsUser() 213 buildHelper.getTestFile(apk), true, userId, "--full")); in replaceFullAppAsUser()
|
D | EphemeralTest.java | 488 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false)); in installApp() 493 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, in installApp() 499 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, "--ephemeral")); in installEphemeralApp() 504 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), false, in installEphemeralApp() 510 assertNull(getDevice().installPackage(buildHelper.getTestFile(apk), true, "--full")); in installFullApp()
|
D | OverlayHostTest.java | 51 assertNotNull(getDevice().installPackage(mBuildHelper.getTestFile(APK), false, false)); in testInstallingOverlayHasNoEffect()
|
D | DocumentsTest.java | 37 assertNull(getDevice().installPackage(buildHelper.getTestFile(PROVIDER_APK), false)); in setUp()
|
D | DocumentsTestCase.java | 73 assertNull(getDevice().installPackage(buildHelper.getTestFile(CLIENT_APK), false)); in reinstallClientPackage()
|
D | BaseAppSecurityTest.java | 69 buildHelper.getTestFile(apk), true, false, userId, "-t")); in installTestAppForUser()
|
D | InstantCookieHostTest.java | 105 return getDevice().installPackage(mBuildHelper.getTestFile(apk), replace, in installPackage()
|
D | CorruptApkTests.java | 110 new CompatibilityBuildHelper(mBuildInfo).getTestFile(filename), in assertInstallNoFatalError()
|
D | BaseInstallMultiple.java | 66 mApks.add(buildHelper.getTestFile(apk)); in addApk()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/uidmap/ |
D | UidMapTests.java | 79 buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), false, true); in testChangeFromInstallation() 103 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), false, true); in testChangeFromReinstall() 106 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true, true); in testChangeFromReinstall() 129 getDevice().installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true, true); in testChangeFromUninstall()
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 86 assertTrue("CE file", getTestFile(mCe).createNewFile()); in testSetUp() 87 assertTrue("DE file", getTestFile(mDe).createNewFile()); in testSetUp() 184 assertFalse("CE exists", getTestFile(mCe).exists()); in assertLocked() 185 assertTrue("DE exists", getTestFile(mDe).exists()); in assertLocked() 226 assertTrue("CE exists", getTestFile(mCe).exists()); in assertUnlocked() 227 assertTrue("DE exists", getTestFile(mDe).exists()); in assertUnlocked() 332 private File getTestFile(Context context) { in getTestFile() method in EncryptionAppTest
|
/cts/hostsidetests/content/src/android/content/cts/ |
D | InvalidSyncAuthoritiesHostTest.java | 53 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(DEVICE_TEST_APK), false, in setUp()
|
/cts/hostsidetests/abioverride/src/android/abioverride/cts/ |
D | AbiOverrideTest.java | 76 File app = buildHelper.getTestFile(APK_NAME); in setUp()
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
D | AbstractMonkeyTest.java | 47 File app = buildHelper.getTestFile(APKS[i]); in setUp()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | StoragedDumpsysTest.java | 72 mDevice.installPackage(buildHelper.getTestFile(DEVICE_SIDE_TEST_APK), true); in testStoragedOutput()
|
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/ |
D | VmTestPreparer.java | 85 File jarFile = ctsBuild.getTestFile(JAR_FILE); in installVmPrereqs()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | StaticSharedLibsHostTests.java | 323 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in doTestCanReplaceLibraryIfVersionAndVersionCodeSame() 444 assertNull(getDevice().installPackage(mBuildHelper.getTestFile( in doTestLibraryAndPackageNameCanMatch() 647 return getDevice().installPackage(mBuildHelper.getTestFile(apk), false, false, in install()
|
D | OsHostTests.java | 148 return buildHelper.getTestFile(fileName); in getTestAppFile()
|
/cts/hostsidetests/ui/src/android/ui/cts/ |
D | InstallTimeTest.java | 102 File app = buildHelper.getTestFile(APK); in testInstallTime()
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostResultTest.java | 113 final File testFile = mBuildHelper.getTestFile(FILE_NAME); in testTransferTime()
|