Home
last modified time | relevance | path

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

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DDataTransferTest.java28 private NetworkingHelper mNetworkingHelper; field in DataTransferTest
34 mNetworkingHelper = new NetworkingHelper(getInstrumentation(), getContext()); in setUp()
41 mNetworkingHelper.tearDown(); in tearDown()
48 mNetworkingHelper.setAllNetworksEnabled(true); in testUpdateEstimatedNetworkBytes()
71 mNetworkingHelper.setAllNetworksEnabled(true); in testUpdateTransferredNetworkBytes()
DConnectivityConstraintTest.java67 private NetworkingHelper mNetworkingHelper; field in ConnectivityConstraintTest
84 mNetworkingHelper = new NetworkingHelper(getInstrumentation(), getContext()); in setUp()
91 mNetworkingHelper.setAllNetworksEnabled(true); in setUp()
105 mNetworkingHelper.tearDown(); in tearDown()
428 mNetworkingHelper.setAllNetworksEnabled(true); in testExpeditedJobExecutes_DozeOn()
523 mNetworkingHelper.setAllNetworksEnabled(false); in testJobExecutes_afterAppIsKilled()
536 mNetworkingHelper.setAllNetworksEnabled(true); in testJobExecutes_afterAppIsKilled()
562 mNetworkingHelper.setAllNetworksEnabled(true); in testUserInitiatedJobExecutes_BatterySaverOn()
585 mNetworkingHelper.setAllNetworksEnabled(true); in testUserInitiatedJobExecutes_DozeOn()
634 mNetworkingHelper.setAllNetworksEnabled(true); in testJobParametersNetwork()
[all …]
DExpeditedJobTest.java55 private NetworkingHelper mNetworkingHelper; field in ExpeditedJobTest
67 mNetworkingHelper = new NetworkingHelper( in setUp()
75 mNetworkingHelper.tearDown(); in tearDown()
100 mNetworkingHelper.setAllNetworksEnabled(true); in testJobUidState_withRequiredNetwork()
DNotificationTest.java58 private NetworkingHelper mNetworkingHelper; field in NotificationTest
67 mNetworkingHelper = in setUp()
75 mNetworkingHelper.tearDown(); in tearDown()
156 mNetworkingHelper.setAllNetworksEnabled(true); in testNotificationRemovedOnForceStop()
235 mNetworkingHelper.setAllNetworksEnabled(true); in testNotificationRemovedOnTaskManagerStop()
271 mNetworkingHelper.setAllNetworksEnabled(true); in testNotification_userInitiated_anrWhenNotProvided()
301 mNetworkingHelper.setAllNetworksEnabled(true); in testNotification_userInitiated_noAnrWhenProvided()
353 mNetworkingHelper.setAllNetworksEnabled(true); in testUserInitiatedJob_hasUijNotificationFlag()
402 mNetworkingHelper.setAllNetworksEnabled(true); in testUserInitiatedJobNotificationBehavior()
457 mNetworkingHelper.setAllNetworksEnabled(true); in testNonUserInitiatedJobNotificationBehavior()
DJobThrottlingTest.java99 private NetworkingHelper mNetworkingHelper; field in JobThrottlingTest
129 mNetworkingHelper = in setUp()
462 mNetworkingHelper.setAllNetworksEnabled(true); in testBackgroundUIJsThermal()
628 mNetworkingHelper.setAllNetworksEnabled(false); in testJobsInRestrictedBucket_NoRequiredNetwork()
659 assumeTrue(mNetworkingHelper.hasWifiFeature()); in testJobsInRestrictedBucket_WithRequiredNetwork()
665 mNetworkingHelper.setAllNetworksEnabled(false); in testJobsInRestrictedBucket_WithRequiredNetwork()
694 mNetworkingHelper.setAllNetworksEnabled(true); in testJobsInRestrictedBucket_WithRequiredNetwork()
695 mNetworkingHelper.setWifiMeteredState(false); in testJobsInRestrictedBucket_WithRequiredNetwork()
976 mNetworkingHelper.setAllNetworksEnabled(true); in testUserInitiatedJobBypassesBatterySaverOn()
999 mNetworkingHelper.setAllNetworksEnabled(true); in testUserInitiatedJobBypassesBatterySaver_toggling()
[all …]
DJobParametersTest.java39 private NetworkingHelper mNetworkingHelper; field in JobParametersTest
44 mNetworkingHelper = in setUp()
50 mNetworkingHelper.tearDown(); in tearDown()
118 mNetworkingHelper.setAllNetworksEnabled(true); in testUserInitiated()
DUserInitiatedJobTest.java84 private NetworkingHelper mNetworkingHelper; field in UserInitiatedJobTest
95 mNetworkingHelper = in setUp()
97 mNetworkingHelper.setAllNetworksEnabled(true); // all user-initiated jobs require a network in setUp()
118 mNetworkingHelper.tearDown(); in tearDown()
191 assumeFalse("ethernet is connected", mNetworkingHelper.hasEthernetConnection()); in testRestrictedBalToTop()
194 mNetworkingHelper.setAllNetworksEnabled(false); in testRestrictedBalToTop()
227 mNetworkingHelper.setAllNetworksEnabled(true); in testRestrictedBalToTop()