Home
last modified time | relevance | path

Searched refs:launchComponentAndAssertNetworkAccess (Results 1 – 7 of 7) sorted by relevance

/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DAbstractAppIdleTestCase.java68 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testBackgroundNetworkAccess_enabled()
77 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in testBackgroundNetworkAccess_enabled()
83 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in testBackgroundNetworkAccess_enabled()
H A DRestrictedModeTest.java40 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testNetworkAccess()
50 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testNetworkAccess()
H A DAbstractBatterySaverModeTestCase.java60 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testBackgroundNetworkAccess_enabled()
76 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in testBackgroundNetworkAccess_enabled()
H A DAbstractDozeModeTestCase.java63 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in testBackgroundNetworkAccess_enabled()
137 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in assertsForegroundAlwaysHasNetworkAccess()
H A DDataSaverModeTest.java108 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testGetRestrictBackgroundStatus_enabled()
124 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in testGetRestrictBackgroundStatus_enabled()
H A DAbstractRestrictBackgroundNetworkTestCase.java300 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in assertsForegroundAlwaysHasNetworkAccess()
304 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in assertsForegroundAlwaysHasNetworkAccess()
309 launchComponentAndAssertNetworkAccess(TYPE_EXPEDITED_JOB); in assertExpeditedJobHasNetworkAccess()
314 launchComponentAndAssertNetworkAccess(TYPE_EXPEDITED_JOB, false); in assertExpeditedJobHasNoNetworkAccess()
801 protected void launchComponentAndAssertNetworkAccess(int type) throws Exception { in launchComponentAndAssertNetworkAccess() method in AbstractRestrictBackgroundNetworkTestCase
802 launchComponentAndAssertNetworkAccess(type, true); in launchComponentAndAssertNetworkAccess()
805 protected void launchComponentAndAssertNetworkAccess(int type, boolean expectAvailable) in launchComponentAndAssertNetworkAccess() method in AbstractRestrictBackgroundNetworkTestCase
H A DNetworkPolicyManagerTest.java148 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testIsUidNetworkingBlocked_withDataSaverMode()
229 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testIsUidRestrictedOnMeteredNetworks()