/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_data_saver() 34 TEST_PKG + ".NetworkCallbackTest", "testOnBlockedStatusChanged_data_saver"); in testOnBlockedStatusChanged_data_saver() 38 runDeviceTests(TEST_PKG, in testOnBlockedStatusChanged_power_saver() 39 TEST_PKG + ".NetworkCallbackTest", "testOnBlockedStatusChanged_power_saver"); in testOnBlockedStatusChanged_power_saver()
|
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/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/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/dumpsys/src/android/dumpsys/cts/ |
D | BatteryStatsDumpsysTest.java | 34 private static final String TEST_PKG = "com.android.cts.framestatstestapp"; field in BatteryStatsDumpsysTest 726 getDevice().uninstallPackage(TEST_PKG); in testGfxinfoFramestats() 736 getDevice().executeShellCommand("am start -W " + TEST_PKG); in testGfxinfoFramestats() 739 TEST_PKG + " framestats"); in testGfxinfoFramestats() 750 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()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 66 protected static final String TEST_PKG = "com.android.cts.net.hostside"; field in AbstractRestrictBackgroundNetworkTestCase 103 private static final String KEY_NETWORK_STATE_OBSERVER = TEST_PKG + ".observer"; 967 && !str.contains(TEST_PKG) && !str.contains(TEST_APP2_PKG)) { in getUsageStatsDump()
|