Searched refs:mConnManager (Results 1 – 4 of 4) sorted by relevance
74 private final ConnectivityManager mConnManager; field in ConnectivityController103 mConnManager = mContext.getSystemService(ConnectivityManager.class); in ConnectivityController()110 mConnManager.registerNetworkCallback(request, mNetworkCallback); in ConnectivityController()169 final NetworkCapabilities capabilities = mConnManager.getNetworkCapabilities( in isNetworkAvailable()431 final Network network = mConnManager.getActiveNetworkForUid(jobStatus.getSourceUid()); in updateConstraintsSatisfied()432 final NetworkCapabilities capabilities = mConnManager.getNetworkCapabilities(network); in updateConstraintsSatisfied()441 final NetworkInfo info = mConnManager.getNetworkInfoForUid(network, in updateConstraintsSatisfied()499 final Network network = mConnManager.getActiveNetworkForUid(jobs.valueAt(0).getSourceUid()); in updateTrackedJobsLocked()502 capabilities = mConnManager.getNetworkCapabilities(network); in updateTrackedJobsLocked()
86 private ConnectivityManager mConnManager; field in ConnectivityControllerTest128 .thenReturn(mConnManager); in setUp()269 doNothing().when(mConnManager).registerNetworkCallback(any(), callback.capture()); in testUpdates()288 reset(mConnManager); in testUpdates()301 reset(mConnManager); in testUpdates()313 reset(mConnManager); in testUpdates()325 reset(mConnManager); in testUpdates()337 reset(mConnManager); in testUpdates()587 reset(mConnManager); in testRestrictedJobTracking()618 when(mConnManager.getActiveNetworkForUid(eq(uid))).thenReturn(net); in answerNetwork()[all …]
235 private @Mock IConnectivityManager mConnManager; field in NetworkPolicyManagerServiceTest381 mService.bindConnectivityManager(mConnManager); in callSystemReady()1075 when(mConnManager.getAllNetworkState()).thenReturn(state);1083 when(mConnManager.getAllNetworkState()).thenReturn(state);1344 when(mConnManager.getAllNetworkState()).thenReturn(state);1467 when(mConnManager.getAllNetworkState()).thenReturn(new NetworkState[0]);1479 when(mConnManager.getAllNetworkState()).thenReturn(new NetworkState[0]);1975 when(mConnManager.getAllNetworkState()).thenReturn(new NetworkState[] { in expectNetworkState()
411 private IConnectivityManager mConnManager; field in NetworkPolicyManagerService652 mConnManager = Objects.requireNonNull(connManager, "missing IConnectivityManager"); in bindConnectivityManager()1864 states = defeatNullable(mConnManager.getAllNetworkState());