Searched refs:mNetworkingHelper (Results 1 – 7 of 7) sorted by relevance
28 private NetworkingHelper mNetworkingHelper; field in DataTransferTest34 mNetworkingHelper = new NetworkingHelper(getInstrumentation(), getContext()); in setUp()41 mNetworkingHelper.tearDown(); in tearDown()48 mNetworkingHelper.setAllNetworksEnabled(true); in testUpdateEstimatedNetworkBytes()71 mNetworkingHelper.setAllNetworksEnabled(true); in testUpdateTransferredNetworkBytes()
67 private NetworkingHelper mNetworkingHelper; field in ConnectivityConstraintTest84 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 …]
55 private NetworkingHelper mNetworkingHelper; field in ExpeditedJobTest67 mNetworkingHelper = new NetworkingHelper( in setUp()75 mNetworkingHelper.tearDown(); in tearDown()100 mNetworkingHelper.setAllNetworksEnabled(true); in testJobUidState_withRequiredNetwork()
58 private NetworkingHelper mNetworkingHelper; field in NotificationTest67 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()
99 private NetworkingHelper mNetworkingHelper; field in JobThrottlingTest129 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 …]
39 private NetworkingHelper mNetworkingHelper; field in JobParametersTest44 mNetworkingHelper = in setUp()50 mNetworkingHelper.tearDown(); in tearDown()118 mNetworkingHelper.setAllNetworksEnabled(true); in testUserInitiated()
84 private NetworkingHelper mNetworkingHelper; field in UserInitiatedJobTest95 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()