/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | MixedModesTest.java | 51 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 52 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 88 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 95 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 100 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 104 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 108 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 114 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 122 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 127 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() [all …]
|
D | AbstractBatterySaverModeTestCase.java | 36 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 37 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 88 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 91 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 94 addPowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 97 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted()
|
D | AbstractDefaultRestrictionsTest.java | 38 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 39 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 50 removePowerSaveModeWhitelist(TEST_APP2_PKG); in tearDown() 51 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in tearDown() 78 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_inFullAllowlist() 89 addPowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_inExceptIdleAllowlist()
|
D | AbstractAppIdleTestCase.java | 41 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 42 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 99 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 105 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 110 addPowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 116 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 132 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()
|
D | AbstractDozeModeTestCase.java | 41 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 42 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 78 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 81 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 84 addPowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 87 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted()
|
D | AbstractRestrictBackgroundNetworkTestCase.java | 97 protected static final String TEST_APP2_PKG = "com.android.cts.netpolicy.hostside.app2"; field in AbstractRestrictBackgroundNetworkTestCase 106 private static final String TEST_APP2_ACTIVITY_CLASS = TEST_APP2_PKG + ".MyActivity"; 107 private static final String TEST_APP2_SERVICE_CLASS = TEST_APP2_PKG + ".MyForegroundService"; 108 private static final String TEST_APP2_JOB_SERVICE_CLASS = TEST_APP2_PKG + ".MyJobService"; 111 TEST_APP2_PKG, TEST_APP2_JOB_SERVICE_CLASS); 192 mUid = getUid(TEST_APP2_PKG); in setUp() 849 executeSilentShellCommand("am stop-app " + TEST_APP2_PKG); in stopApp() 863 executeSilentShellCommand("am set-standby-bucket " + TEST_APP2_PKG + " " + bucketName); in setAppIdleNoAssert() 868 assertDelayedShellCommand("am get-inactive " + TEST_APP2_PKG, in assertAppIdle() 1011 forceRunJob(TEST_APP2_PKG, TEST_JOB_ID); in launchComponentAndAssertNetworkAccess() [all …]
|
D | NetworkPolicyManagerTest.java | 203 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testIsUidNetworkingBlocked_withPowerSaverMode() 208 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testIsUidNetworkingBlocked_withPowerSaverMode() 269 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testIsUidNetworkingBlocked_whenInBackground() 273 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testIsUidNetworkingBlocked_whenInBackground()
|
D | DumpOnFailureRule.java | 19 … static com.android.cts.netpolicy.hostside.AbstractRestrictBackgroundNetworkTestCase.TEST_APP2_PKG; 63 "dumpsys usagestats " + TEST_PKG + " " + TEST_APP2_PKG, in onTestFailure() 68 "dumpsys jobscheduler " + TEST_APP2_PKG, // TODO (b/288220398): Remove this dump in onTestFailure()
|
D | RestrictedModeTest.java | 61 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testNetworkAccess_withBatterySaver()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/src/com/android/cts/netpolicy/ |
D | HostsideRestrictBackgroundNetworkTests.java | 37 uninstallPackage(TEST_APP2_PKG, false); in setUp() 43 uninstallPackage(TEST_APP2_PKG, true); in tearDown() 83 final int oldUid = getUid(TEST_APP2_PKG); in testDataSaverMode_reinstall() 88 uninstallPackage(TEST_APP2_PKG, true); in testDataSaverMode_reinstall() 89 assertPackageUninstalled(TEST_APP2_PKG); in testDataSaverMode_reinstall() 93 final int newUid = getUid(TEST_APP2_PKG); in testDataSaverMode_reinstall() 140 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBatterySaverMode_reinstall() 142 uninstallPackage(TEST_APP2_PKG, true); in testBatterySaverMode_reinstall() 143 assertPackageUninstalled(TEST_APP2_PKG); in testBatterySaverMode_reinstall() 144 assertPowerSaveModeWhitelist(TEST_APP2_PKG, false); in testBatterySaverMode_reinstall() [all …]
|
D | HostsideNetworkCallbackTests.java | 33 uninstallPackage(TEST_APP2_PKG, false); in setUp() 39 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideNetworkPolicyManagerTests.java | 30 uninstallPackage(TEST_APP2_PKG, false); in setUp() 36 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideDefaultNetworkRestrictionsTests.java | 40 uninstallPackage(TEST_APP2_PKG, false); in setUp() 46 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideConnOnActivityStartTest.java | 38 uninstallPackage(testInfo, TEST_APP2_PKG, false); in setUpOnce() 44 uninstallPackage(testInfo, TEST_APP2_PKG, true); in tearDownOnce()
|
D | HostsideNetworkPolicyTestCase.java | 49 protected static final String TEST_APP2_PKG = "com.android.cts.netpolicy.hostside.app2"; field in HostsideNetworkPolicyTestCase
|
/packages/modules/Connectivity/tests/cts/hostside/src/com/android/cts/net/ |
D | HostsideVpnTests.java | 29 uninstallPackage(TEST_APP2_PKG, false); in setUp() 35 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideNetworkTestCase.java | 40 protected static final String TEST_APP2_PKG = "com.android.cts.net.hostside.app2"; field in HostsideNetworkTestCase
|