Searched refs:launchComponentAndAssertNetworkAccess (Results 1 – 7 of 7) sorted by relevance
68 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()
40 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testNetworkAccess()50 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testNetworkAccess()
60 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testBackgroundNetworkAccess_enabled()76 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in testBackgroundNetworkAccess_enabled()
63 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in testBackgroundNetworkAccess_enabled()137 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in assertsForegroundAlwaysHasNetworkAccess()
108 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testGetRestrictBackgroundStatus_enabled()124 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_FOREGROUND_SERVICE); in testGetRestrictBackgroundStatus_enabled()
300 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 AbstractRestrictBackgroundNetworkTestCase802 launchComponentAndAssertNetworkAccess(type, true); in launchComponentAndAssertNetworkAccess()805 protected void launchComponentAndAssertNetworkAccess(int type, boolean expectAvailable) in launchComponentAndAssertNetworkAccess() method in AbstractRestrictBackgroundNetworkTestCase
148 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testIsUidNetworkingBlocked_withDataSaverMode()229 launchComponentAndAssertNetworkAccess(TYPE_COMPONENT_ACTIVTIY); in testIsUidRestrictedOnMeteredNetworks()