/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideRestrictBackgroundNetworkTests.java | 44 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_disabled() 49 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_whitelisted() 54 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_enabled() 59 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_blacklisted() 80 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_requiredWhitelistedPackages() 85 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_broadcastNotSentOnUnsupportedDevices() 94 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_disabled() 99 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_whitelisted() 104 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_enabled() 126 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeNonMeteredTest", in testBatterySaverModeNonMetered_disabled() [all …]
|
D | HostsideVpnTests.java | 37 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testDefault"); in testDefault() 41 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testAppAllowed"); in testAppAllowed() 45 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testAppDisallowed"); in testAppDisallowed() 49 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testGetConnectionOwnerUidSecurity"); in testGetConnectionOwnerUidSecurity() 53 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testSetProxy"); in testSetProxy() 57 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testSetProxyDisallowedApps"); in testSetProxyDisallowedApps() 61 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testNoProxy"); in testNoProxy() 65 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testBindToNetworkWithProxy"); in testBindToNetworkWithProxy() 70 TEST_PKG, TEST_PKG + ".VpnTest", "testVpnMeterednessWithNoUnderlyingNetwork"); in testVpnMeterednessWithNoUnderlyingNetwork() 75 TEST_PKG, TEST_PKG + ".VpnTest", "testVpnMeterednessWithNullUnderlyingNetwork"); in testVpnMeterednessWithNullUnderlyingNetwork() [all …]
|
D | HostsideNetworkCallbackTests.java | 33 runDeviceTests(TEST_PKG, in testOnBlockedStatusChanged_dataSaver() 34 TEST_PKG + ".NetworkCallbackTest", "testOnBlockedStatusChanged_dataSaver"); in testOnBlockedStatusChanged_dataSaver() 38 runDeviceTests(TEST_PKG, in testOnBlockedStatusChanged_powerSaver() 39 TEST_PKG + ".NetworkCallbackTest", "testOnBlockedStatusChanged_powerSaver"); in testOnBlockedStatusChanged_powerSaver()
|
D | HostsideNetworkTestCase.java | 43 protected static final String TEST_PKG = "com.android.cts.net.hostside"; field in HostsideNetworkTestCase 68 uninstallPackage(TEST_PKG, false); in setUp() 76 uninstallPackage(TEST_PKG, true); in tearDown()
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostJUnit4DeviceTest.java | 40 private static final String TEST_PKG = "android.sample.cts.app2"; field in SampleHostJUnit4DeviceTest 41 private static final String TEST_CLASS = TEST_PKG + "." + "SampleDeviceTest"; 50 uninstallPackage(getDevice(), TEST_PKG); in setUp() local 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() 97 uninstallPackage(getDevice(), TEST_PKG); in tearDown() local
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PackageVisibilityTest.java | 41 private static final String TEST_PKG = "com.android.cts.packageaccessapp"; field in PackageVisibilityTest 56 getDevice().uninstallPackage(TEST_PKG); in setUpPackage() 63 getDevice().uninstallPackage(TEST_PKG); in tearDown() 97 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local 99 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local 107 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local 109 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local 112 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local 135 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local 138 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local [all …]
|
D | PrivilegedUpdateTests.java | 40 private static final String TEST_PKG = "com.android.cts.privilegedupdate"; field in PrivilegedUpdateTests 81 getDevice().uninstallPackage(TEST_PKG); in setUp() 92 getDevice().uninstallPackage(TEST_PKG); in tearDown() 103 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testSystemAppPriorities"); in testSystemAppPriorities() 107 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppPriorities"); in testPrivilegedAppPriorities() 121 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppUpgradePriorities"); in testPrivilegedAppUpgradePriorities() 129 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testDisableSystemApp() 131 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndDisabled"); in testDisableSystemApp() 141 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testDisableUpdatedSystemApp() 146 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testUpdatedPrivAppAndDisabled"); in testDisableUpdatedSystemApp() [all …]
|
D | PkgInstallSignatureVerificationTest.java | 41 private static final String TEST_PKG = "android.appsecurity.cts.tinyapp"; field in PkgInstallSignatureVerificationTest 890 return getDevice().uninstallPackage(TEST_PKG); in uninstallPackage()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesSystemApiTest.java | 37 protected static final String TEST_PKG = "com.android.cts.appcompat"; field in CompatChangesSystemApiTest 48 uninstallPackage(TEST_PKG, true); in tearDown() 52 runDeviceCompatTest(TEST_PKG, ".CompatChangesTest", "isChangeEnabled_changeEnabled", in testIsChangeEnabled() 58 runDeviceCompatTest(TEST_PKG, ".CompatChangesTest", in testIsChangeEnabledPackageName() 65 runDeviceCompatTest(TEST_PKG, ".CompatChangesTest", "isChangeEnabledUid_changeEnabled", in testIsChangeEnabledUid() 71 runDeviceCompatTest(TEST_PKG, ".CompatChangesTest", "isChangeEnabled_changeDisabled", in testIsChangeDisabled() 77 runDeviceCompatTest(TEST_PKG, ".CompatChangesTest", in testIsChangeDisabledPackageName() 84 runDeviceCompatTest(TEST_PKG, ".CompatChangesTest", "isChangeEnabledUid_changeDisabled", in testIsChangeDisabledUid()
|
/cts/hostsidetests/tagging/src/com/android/cts/tagging/ |
D | TaggingDefaultTest.java | 26 protected static final String TEST_PKG = "android.cts.tagging.none"; field in TaggingDefaultTest 44 runDeviceCompatTest(TEST_PKG, ".TaggingTest", "testHeapTaggingEnabled", in testHeapTaggingCompatFeatureEnabled() 53 runDeviceCompatTest(TEST_PKG, ".TaggingTest", "testHeapTaggingDisabled", in testHeapTaggingCompatFeatureDisabled() 62 runDeviceCompatTest(TEST_PKG, ".TaggingTest", "testMemoryTagChecksEnabled", in testMemoryTagChecksCompatFeatureEnabled() 71 runDeviceCompatTest(TEST_PKG, ".TaggingTest", "testMemoryTagChecksDisabled", in testMemoryTagChecksCompatFeatureDisabled()
|
/cts/hostsidetests/seccomp/src/android/seccomp/cts/ |
D | SeccompHostJUnit4DeviceTest.java | 38 private static final String TEST_PKG = "android.seccomp.cts.app"; field in SeccompHostJUnit4DeviceTest 39 private static final String TEST_CLASS = TEST_PKG + "." + "SeccompDeviceTest"; 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/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegationTest.java | 55 private static final String TEST_PKG = "com.android.cts.apprestrictions.targetapp"; field in DelegationTest 99 TEST_PKG, Collections.emptyList()); in tearDown() 166 TEST_PKG, otherScopes); in testCanRetrieveDelegates() 172 .contains(TEST_PKG)); in testCanRetrieveDelegates() 176 .contains(TEST_PKG)); in testCanRetrieveDelegates() 180 .contains(TEST_PKG)); in testCanRetrieveDelegates() 186 .contains(TEST_PKG)); in testCanRetrieveDelegates() 228 TEST_PKG, Collections.singletonList(scope)); in testExclusiveDelegation() 231 assertThat(mDevicePolicyManager.getDelegatedScopes(ADMIN_RECEIVER_COMPONENT, TEST_PKG)) in testExclusiveDelegation()
|
D | ClearApplicationDataTest.java | 28 private static final String TEST_PKG = "com.android.cts.intent.receiver"; field in ClearApplicationDataTest 34 clearApplicationDataTest(TEST_PKG, /* shouldSucceed */ true); in testClearApplicationData_testPkg()
|
/cts/hostsidetests/telephony/src/android/telephony/cts/ |
D | TelephonyHostTest.java | 30 protected static final String TEST_PKG = "android.telephony.device.cts"; field in TelephonyHostTest 40 runDeviceCompatTest(TEST_PKG, ".TelephonyTest", "testListenerRegistrationWithChangeEnabled", in testWithChangeEnabled()
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerHostTest.java | 38 private static final String TEST_PKG = "com.android.cts.tv.hostside"; field in TvInputManagerHostTest 83 uninstallPackage(TEST_PKG, false); in setUp() 94 uninstallPackage(TEST_PKG, true); in tearDown()
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | Common.java | 52 static final String TEST_PKG = "com.android.cts.net.hostside"; field in Common 53 static final String KEY_NETWORK_STATE_OBSERVER = TEST_PKG + ".observer";
|
D | MyActivity.java | 20 import static com.android.cts.net.hostside.app2.Common.TEST_PKG;
|
D | MyForegroundService.java | 19 import static com.android.cts.net.hostside.app2.Common.TEST_PKG;
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTestBase.java | 46 protected static final String TEST_PKG = "com.android.cts.atracetestapp"; field in AtraceHostTestBase 104 getDevice().uninstallPackage(TEST_PKG); in run() 184 return runDeviceTests(TEST_PKG, TEST_CLASS, testname); in runAppTest()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | DumpOnFailureRule.java | 19 import static com.android.cts.net.hostside.AbstractRestrictBackgroundNetworkTestCase.TEST_PKG; 61 "dumpsys usagestats " + TEST_PKG, in onTestFailure()
|
D | AbstractRestrictBackgroundNetworkTestCase.java | 76 protected static final String TEST_PKG = "com.android.cts.net.hostside"; field in AbstractRestrictBackgroundNetworkTestCase 111 private static final String KEY_NETWORK_STATE_OBSERVER = TEST_PKG + ".observer";
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | BatteryStatsDumpsysTest.java | 34 private static final String TEST_PKG = "com.android.cts.framestatstestapp"; field in BatteryStatsDumpsysTest 727 getDevice().uninstallPackage(TEST_PKG); in testGfxinfoFramestats() 737 getDevice().executeShellCommand("am start -W " + TEST_PKG); in testGfxinfoFramestats() 740 TEST_PKG + " framestats"); in testGfxinfoFramestats() 751 getDevice().uninstallPackage(TEST_PKG); in testGfxinfoFramestats()
|
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
D | EncryptionAppTest.java | 61 private static final String TEST_PKG = "com.android.cts.encryptionapp"; field in EncryptionAppTest 326 return new ComponentName(TEST_PKG, TEST_PKG + "." + prefix + type); in buildName()
|