/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
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 | ReadableSettingsFieldsTest.java | 48 private static final String TEST_CLASS = TEST_PACKAGE + ".ReadSettingsFieldsTest"; field in ReadableSettingsFieldsTest 68 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSecureNonHiddenSettingsKeysAreReadable"); in testSecureNonHiddenSettingsKeysAreReadable() 73 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSystemNonHiddenSettingsKeysAreReadable"); in testSystemNonHiddenSettingsKeysAreReadable() 78 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testGlobalNonHiddenSettingsKeysAreReadable"); in testGlobalNonHiddenSettingsKeysAreReadable() 83 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSecureSomeHiddenSettingsKeysAreReadable"); in testSecureSomeHiddenSettingsKeysAreReadable() 88 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testSystemSomeHiddenSettingsKeysAreReadable"); in testSystemSomeHiddenSettingsKeysAreReadable() 93 runDeviceTests(TEST_PACKAGE, TEST_CLASS, "testGlobalSomeHiddenSettingsKeysAreReadable"); in testGlobalSomeHiddenSettingsKeysAreReadable() 99 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testGlobalHiddenSettingsKeyNotReadableWithoutPermissions() 106 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testSecureHiddenSettingsKeysNotReadableWithoutAnnotation() 113 runDeviceTests(TEST_PACKAGE, TEST_CLASS, in testSystemHiddenSettingsKeysNotReadableWithoutAnnotation() [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 | BlobStoreMultiUserTest.java | 36 private static final String TEST_CLASS = TARGET_PKG + ".DataCleanupTest"; field in BlobStoreMultiUserTest 73 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testCreateSession", in testCreateAndOpenSession() 77 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenSession", args, in testCreateAndOpenSession() 80 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenSession_shouldThrow", args, in testCreateAndOpenSession() 88 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testCommitBlob", args, in testCommitAndOpenBlob() 92 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob", args, in testCommitAndOpenBlob() 95 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", args, in testCommitAndOpenBlob() 103 runDeviceTestAsUser(TARGET_PKG_DEV, TEST_CLASS, "testCommitBlob", args, in testBlobAccessAcrossUsers_withTestOnlyApp() 107 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob", argsFromLastTestRun, in testBlobAccessAcrossUsers_withTestOnlyApp() 110 runDeviceTestAsUser(TARGET_PKG, TEST_CLASS, "testOpenBlob_shouldThrow", argsFromLastTestRun, in testBlobAccessAcrossUsers_withTestOnlyApp() [all …]
|
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 | 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()
|
D | StatsdBlobStoreAtomTest.java | 38 private static final String TEST_CLASS = TARGET_PKG + ".AtomTest"; field in StatsdBlobStoreAtomTest 76 runDeviceTest(TARGET_PKG, TEST_CLASS, "testBlobStoreOps"); in testPushedBlobStoreStats() 109 runDeviceTest(TARGET_PKG, TEST_CLASS, "testBlobStoreOps"); in testPulledBlobStoreStats()
|
/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() 208 TEST_CLASS, in testQuietMode_noCredentialRequest()
|
D | AccountCheckHostSideTest.java | 55 private static final String TEST_CLASS = field in AccountCheckHostSideTest 114 runDeviceTestsAsUser(PACKAGE_AUTH, TEST_CLASS, method, userId); in runTestAsUser()
|
/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_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_0481.java | 47 private static final String TEST_CLASS = TEST_PKG + "." + "DeviceTest"; field in CVE_2021_0481 78 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, "testUserPhotoSetUp")); 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()
|
D | ActivityInfoTest.java | 33 private static final Class<? extends Activity> TEST_CLASS = ActivityContext.class; field in ActivityInfoTest 39 ActivityInfo activityInfo = ActivityInfo.builder().activityClass(TEST_CLASS).build(); in classConstructor_setsClass()
|
/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()
|
D | SyncAdapterSettingsHostSideTest.java | 51 private static final String TEST_CLASS = APP_PACKAGE + ".SyncAdapterSettingsTest"; field in SyncAdapterSettingsHostSideTest 114 checkDeviceTest(APP_PACKAGE, TEST_CLASS, methodName); in checkDeviceTest()
|
D | ProfileSerialNumberHostSideTest.java | 42 private static final String TEST_CLASS = TEST_PACKAGE + ".ProfileSerialNumberTest"; field in ProfileSerialNumberHostSideTest 103 checkDeviceTestAsUser(TEST_PACKAGE, TEST_CLASS, methodName, mProfileUserId.get()); in checkDeviceTest()
|
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
D | SustainedPerformanceHostTest.java | 48 private static final String TEST_CLASS = "DeviceTestActivity"; field in SustainedPerformanceHostTest 51 TEST_PACKAGE, TEST_PACKAGE, TEST_CLASS); 179 … String logs = device.executeAdbCommand("logcat", "-v", "brief", "-d", TEST_CLASS + ":I", "*:S"); in testShader() 184 if(line.startsWith("I/"+TEST_CLASS)) { in testShader()
|
/cts/hostsidetests/packagemanager/codepath/src/com/android/tests/codepath/host/ |
D | CodePathTest.java | 38 private static final String TEST_CLASS = TEST_PACKAGE + "." + "CodePathDeviceTest"; field in CodePathTest 74 runDeviceTests(getDevice(), null, TEST_PACKAGE, TEST_CLASS, TEST_METHOD, in runDeviceTest() local
|
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/ |
D | PackageManagerMultiUserTestBase.java | 40 private static final String TEST_CLASS = ".PackageManagerMultiUserTest"; field in PackageManagerMultiUserTestBase 91 runDeviceTestAsUser(TEST_PACKAGE, TEST_CLASS, testMethodName, userId, params); in runDeviceTestAsUser()
|