Home
last modified time | relevance | path

Searched refs:mCmShim (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java279 private ConnectivityManagerShim mCmShim; field in ConnectivityManagerTest
296 mCmShim = ConnectivityManagerShimImpl.newInstance(mContext); in setUp()
373 () -> mCmShim.setRequireVpnForUids(false, mVpnRequiredUidRanges), in tearDown()
767 mCmShim.registerSystemDefaultNetworkCallback(systemDefaultCallback, h); in testRegisterNetworkCallback()
768 mCmShim.registerDefaultNetworkCallbackForUid(Process.myUid(), perUidCallback, h); in testRegisterNetworkCallback()
1127 mCmShim.registerSystemDefaultNetworkCallback(networkCallback, in waitForActiveNetworkMetered()
2046 () -> mCmShim.requestBackgroundNetwork(testRequest, callback, handler));
2053 () -> mCmShim.requestBackgroundNetwork(testRequest, callback, handler),
2109 mCmShim.setRequireVpnForUids(requireVpn, ranges);
2127 mCmShim.registerDefaultNetworkCallbackForUid(otherUid, otherUidCallback, handler);
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java163 ConnectivityManagerShim mCmShim = ConnectivityManagerShimImpl.newInstance(mContext); in startTrackDefaultNetwork() local
166 mCmShim.registerSystemDefaultNetworkCallback(mDefaultNetworkCallback, mHandler); in startTrackDefaultNetwork()