/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ReadableSettingsFieldsTest.java | 45 private static final String TEST_CLASS = TEST_PACKAGE + ".ReadSettingsFieldsTest"; field in ReadableSettingsFieldsTest 62 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSecureNonHiddenSettingsKeysAreReadable"); in testSecureNonHiddenSettingsKeysAreReadable() 67 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSystemNonHiddenSettingsKeysAreReadable"); in testSystemNonHiddenSettingsKeysAreReadable() 72 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testGlobalNonHiddenSettingsKeysAreReadable"); in testGlobalNonHiddenSettingsKeysAreReadable() 77 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSecureSomeHiddenSettingsKeysAreReadable"); in testSecureSomeHiddenSettingsKeysAreReadable() 82 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSystemSomeHiddenSettingsKeysAreReadable"); in testSystemSomeHiddenSettingsKeysAreReadable() 87 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testGlobalSomeHiddenSettingsKeysAreReadable"); in testGlobalSomeHiddenSettingsKeysAreReadable() 93 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testGlobalHiddenSettingsKeyNotReadableWithoutPermissions() 100 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testSecureHiddenSettingsKeysNotReadableWithoutAnnotation() 107 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testSystemHiddenSettingsKeysNotReadableWithoutAnnotation() [all …]
|
D | EphemeralTest.java | 70 private static final String TEST_CLASS = ".ClientTest"; field in EphemeralTest 145 Utils.runDeviceTestsAsCurrentUser(getDevice(), NORMAL_PKG, TEST_CLASS, "testQuery"); in testNormalQuery() local 153 Utils.runDeviceTestsAsCurrentUser(getDevice(), NORMAL_PKG, TEST_CLASS, "testStartNormal"); in testNormalStartNormal() local 161 Utils.runDeviceTestsAsCurrentUser(getDevice(), NORMAL_PKG, TEST_CLASS, in testNormalStartEphemeral() local 170 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, "testQuery"); in testEphemeralQuery() local 178 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartNormal() local 190 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartExposed01() local 198 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartExposed02() local 206 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartExposed03() local 214 Utils.runDeviceTestsAsCurrentUser(getDevice(), EPHEMERAL_1_PKG, TEST_CLASS, in testEphemeralStartExposed04() local [all …]
|
D | InstantAppUserTest.java | 60 private static final String TEST_CLASS = ".ClientTest"; field in InstantAppUserTest 100 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed01", mSecondaryUserId); in testStartExposed01() 107 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed02", mSecondaryUserId); in testStartExposed02() 114 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed03", mSecondaryUserId); in testStartExposed03() 121 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed04", mSecondaryUserId); in testStartExposed04() 128 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed05", mSecondaryUserId); in testStartExposed05() 135 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed06", mSecondaryUserId); in testStartExposed06() 142 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed07", mSecondaryUserId); in testStartExposed07() 149 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed08", mSecondaryUserId); in testStartExposed08() 156 runDeviceTestsAsUser(EPHEMERAL_1_PKG, TEST_CLASS, "testStartExposed09", mSecondaryUserId); in testStartExposed09() [all …]
|
D | IsolatedSplitsTests.java | 33 private static final String TEST_CLASS = PKG + ".SplitAppTest"; field in IsolatedSplitsTests 97 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallBase() local 114 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallBaseAndConfigSplit() local 159 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallOneFeatureSplit() local 160 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, in testInstallOneFeatureSplit() local 162 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, in testInstallOneFeatureSplit() local 181 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadPolishLocale"); in testInstallOneFeatureSplitAndConfigSplits() local 182 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, in testInstallOneFeatureSplitAndConfigSplits() local 196 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, "shouldLoadDefault"); in testInstallDependentFeatureSplits() local 197 Utils.runDeviceTestsAsCurrentUser(getDevice(), PKG, TEST_CLASS, in testInstallDependentFeatureSplits() local [all …]
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | DataCleanupTest.java | 27 private static final String TEST_CLASS = TARGET_PKG + ".DataCleanupTest"; field in DataCleanupTest 32 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCreateSession"); in testPackageUninstall_openSession() 35 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenSession", args); in testPackageUninstall_openSession() 39 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenSession_shouldThrow", args); in testPackageUninstall_openSession() 45 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCommitBlob"); in testPackageUninstall_openBlob() 48 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenBlob", args); in testPackageUninstall_openBlob() 52 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", args); in testPackageUninstall_openBlob() 58 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCreateSession"); in testPackageUninstallAndReboot_openSession() 61 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenSession", args); in testPackageUninstallAndReboot_openSession() 67 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenSession_shouldThrow", args); in testPackageUninstallAndReboot_openSession() [all …]
|
D | BlobStoreMultiUserTest.java | 36 private static final String TEST_CLASS = TARGET_PKG + ".DataCleanupTest"; field in BlobStoreMultiUserTest 75 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testCreateSession", in testCreateAndOpenSession() 79 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenSession", args, in testCreateAndOpenSession() 82 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenSession_shouldThrow", args, in testCreateAndOpenSession() 90 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testCommitBlob", args, in testCommitAndOpenBlob() 94 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob", args, in testCommitAndOpenBlob() 97 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", args, in testCommitAndOpenBlob() 105 runDeviceTestAsUser(TARGET_PKG_DEV, TEST_CLASS, "testCommitBlob", args, in testBlobAccessAcrossUsers_withTestOnlyApp() 109 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob", argsFromLastTestRun, in testBlobAccessAcrossUsers_withTestOnlyApp() 112 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", argsFromLastTestRun, in testBlobAccessAcrossUsers_withTestOnlyApp() [all …]
|
D | DataPersistenceTest.java | 25 private static final String TEST_CLASS = TARGET_PKG + ".DataPersistenceTest"; field in DataPersistenceTest 30 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCreateSession"); in testDataIsPersistedAcrossReboot() 32 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenSessionAndWrite"); in testDataIsPersistedAcrossReboot() 34 runDeviceTest(TARGET_PKG, TEST_CLASS, "testCommitSession"); in testDataIsPersistedAcrossReboot() 36 runDeviceTest(TARGET_PKG, TEST_CLASS, "testOpenBlob"); in testDataIsPersistedAcrossReboot()
|
D | InstantAppAccessTest.java | 28 private static final String TEST_CLASS = TARGET_PKG + ".InstantAppAccessTest"; field in InstantAppAccessTest 43 runDeviceTest(TARGET_PKG, TEST_CLASS, "testInstantAppAccess"); in testInstantAppAccess()
|
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/ |
D | ClassloaderSplitsTest.java | 31 private static final String TEST_CLASS = PKG + ".SplitAppTest"; field in ClassloaderSplitsTest 71 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testBaseClassLoader() local 86 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testFeatureAClassLoader() local 87 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAClassLoader"); in testFeatureAClassLoader() local 103 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testFeatureBClassLoader() local 104 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureAClassLoader"); in testFeatureBClassLoader() local 105 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testFeatureBClassLoader"); in testFeatureBClassLoader() local 116 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseClassLoader"); in testReceiverClassLoaders() local 117 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testAllReceivers"); in testReceiverClassLoaders() local 133 runDeviceTests(getDevice(), PKG, TEST_CLASS, "testBaseServiceClassLoader"); in testServiceClassLoaders() local [all …]
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostJUnit4DeviceTest.java | 41 private static final String TEST_CLASS = TEST_PKG + "." + "SampleDeviceTest"; field in SampleHostJUnit4DeviceTest 57 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_PASSES)); in testRunDeviceTestsPassesInstant() 64 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_PASSES)); in testRunDeviceTestsPassesFull() 71 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_FAILS)); in testRunDeviceTestsFailsInstant() 78 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_FAILS)); in testRunDeviceTestsFailsFull() 85 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_ASSUME_FAILS)); in testRunDeviceTestsAssumeFailsInstant() 92 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_ASSUME_FAILS)); in testRunDeviceTestsAssumeFailsFull()
|
/cts/hostsidetests/seccomp/src/android/seccomp/cts/ |
D | SeccompHostJUnit4DeviceTest.java | 39 private static final String TEST_CLASS = TEST_PKG + "." + "SeccompDeviceTest"; field in SeccompHostJUnit4DeviceTest 52 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_CTS_SYSCALL_BLOCKED)); in testCTSSyscallBlocked() 57 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_CTS_SYSCALL_ALLOWED)); in testCTSSyscallAllowed() 62 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_CTS_SYSCALL_APP_ZYGOTE)); in testAppZygoteSyscalls()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | QuietModeHostsideTest.java | 25 private static final String TEST_CLASS = ".QuietModeTest"; field in QuietModeHostsideTest 88 TEST_CLASS, in testQuietMode_defaultForegroundLauncher() 103 TEST_CLASS, in testQuietMode_notForegroundLauncher() 114 TEST_CLASS, in testQuietMode_notDefaultLauncher() 142 TEST_CLASS, in checkBroadcastManagedProfileAvailable() 153 TEST_CLASS, in checkBroadcastManagedProfileAvailable() 209 TEST_CLASS, in testQuietMode_noCredentialRequest()
|
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/ |
D | InstallDexMetadataHostTest.java | 59 private static final String TEST_CLASS = TEST_PACKAGE + ".InstallDexMetadataTest"; field in InstallDexMetadataHostTest 153 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testDmForBase")); in testInstallDmForBase() 165 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testDmForBaseAndSplit")); in testInstallDmForBaseAndSplit() 177 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testDmForBaseButNoSplit")); in testInstallDmForBaseButNoSplit() 189 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testDmForSplitButNoBase")); in testInstallDmForSplitButNoBase() 201 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testDmForBaseAndSplit")); in testUpdateDm() 208 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testNoDm")); in testUpdateDm() 215 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testDmForSplitButNoBase")); in testUpdateDm() 230 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testDmForBaseButNoSplit")); in testInstallDmForBaseButNoSplitWithNoMatchingDm() 374 assertTrue(runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testDmForBase")); in testInstallDmForBaseWithVdex() [all …]
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2021_0693.java | 31 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0693 47 runDeviceTests(TEST_PKG, TEST_CLASS, "testHeapDumpAccessibility"); in testPocCVE_2021_0693()
|
D | Bug_183963253.java | 33 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in Bug_183963253 50 assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, "testTapjacking")); in testRunDeviceTestsPassesFull()
|
D | CVE_2021_0685.java | 31 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0685 44 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, "testPackageElementPresence")); in testPocCVE_2021_0685()
|
D | Bug_183613671.java | 31 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in Bug_183613671 50 assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, "testTapjacking")); in testRunDeviceTestsPassesFull()
|
D | CVE_2021_0706.java | 32 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0706 49 runDeviceTests(TEST_PKG, TEST_CLASS, "testDisablePlugin"); in testPocCVE_2021_0706()
|
D | CVE_2021_0305.java | 43 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0305 56 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, "testClick")); in testRunDeviceTestsPassesFull()
|
D | CVE_2021_0586.java | 32 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0586 55 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, "testOverlayButtonPresence")); in testPocCVE_2021_0586()
|
D | CVE_2021_0928.java | 36 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0928 61 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, "test")); in testRunDeviceTest()
|
D | CVE_2021_0965.java | 32 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0965 48 runDeviceTests(TEST_PKG, TEST_CLASS, "testPermission"); in testPocCVE_2021_0965()
|
D | CVE_2021_0921.java | 35 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0921 60 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, "test")); in testRunDeviceTest()
|
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/info/ |
D | ClassInfoTest.java | 28 private static final Class<?> TEST_CLASS = ClassInfoTest.class; field in ClassInfoTest 35 ClassInfo classInfo = new ClassInfo(TEST_CLASS); in classConstructor_setsClassName()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | OtherSoundsSettingsHostSideTest.java | 50 private static final String TEST_CLASS = APP_PACKAGE + ".OtherSoundsSettingsTest"; field in OtherSoundsSettingsHostSideTest 91 checkDeviceTest(APP_PACKAGE, TEST_CLASS, methodName); in checkDeviceTest()
|