Searched refs:mNetPolicyManagerInternal (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 97 private NetworkPolicyManagerInternal mNetPolicyManagerInternal; field in ConnectivityControllerTest 116 LocalServices.addService(NetworkPolicyManagerInternal.class, mNetPolicyManagerInternal); in setUp() 429 InOrder inOrder = inOrder(mNetPolicyManagerInternal); in testRequestStandbyExceptionLocked() 432 inOrder.verify(mNetPolicyManagerInternal, times(1)) in testRequestStandbyExceptionLocked() 434 inOrder.verify(mNetPolicyManagerInternal, never()) in testRequestStandbyExceptionLocked() 440 inOrder.verify(mNetPolicyManagerInternal, never()) in testRequestStandbyExceptionLocked() 442 inOrder.verify(mNetPolicyManagerInternal, never()) in testRequestStandbyExceptionLocked() 448 inOrder.verify(mNetPolicyManagerInternal, never()) in testRequestStandbyExceptionLocked() 450 inOrder.verify(mNetPolicyManagerInternal, times(1)) in testRequestStandbyExceptionLocked() 463 verify(mNetPolicyManagerInternal, never()) in testEvaluateStateLocked_JobWithoutConnectivity() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 108 private final NetworkPolicyManagerInternal mNetPolicyManagerInternal; field in ConnectivityController 234 mNetPolicyManagerInternal = LocalServices.getService(NetworkPolicyManagerInternal.class); in ConnectivityController() 387 mNetPolicyManagerInternal.setAppIdleWhitelist(uid, true); in requestStandbyExceptionLocked() 495 mNetPolicyManagerInternal.setAppIdleWhitelist(uid, false); in revokeStandbyExceptionLocked()
|