Home
last modified time | relevance | path

Searched refs:mCM (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/net/src/android/net/cts/
DMultinetworkApiTest.java60 private ConnectivityManager mCM; field in MultinetworkApiTest
68 mCM = (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
80 for (Network network : mCM.getAllNetworks()) { in getTestableNetworks()
81 final NetworkCapabilities nc = mCM.getNetworkCapabilities(network); in getTestableNetworks()
101 "getaddrinfo on " + mCM.getNetworkInfo(network), -errno); in testGetaddrinfo()
108 assertNull(mCM.getProcessDefaultNetwork()); in testSetprocnetwork()
112 mCM.setProcessDefaultNetwork(null); in testSetprocnetwork()
113 assertNull(mCM.getProcessDefaultNetwork()); in testSetprocnetwork()
118 "setprocnetwork on " + mCM.getNetworkInfo(network), -errno); in testSetprocnetwork()
120 Network processDefault = mCM.getProcessDefaultNetwork(); in testSetprocnetwork()
[all …]
DDnsResolverTest.java92 private ConnectivityManager mCM; field in DnsResolverTest
104 mCM = (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
131 for (Network network : mCM.getAllNetworks()) { in getTestableNetworks()
132 final NetworkCapabilities nc = mCM.getNetworkCapabilities(network); in getTestableNetworks()
380 ? mCM.getNetworkCapabilities(network) in doTestRawQueryNXDomain()
381 : mCM.getNetworkCapabilities(mCM.getActiveNetwork()); in doTestRawQueryNXDomain()
405 (network != null) ? network : mCM.getActiveNetwork(); in doTestRawQueryNXDomainWithPrivateDns()
717 mCM.bindProcessToNetwork(network.getPrivateDnsBypassingCopy()); in testPrivateDnsBypass()
730 mCM.bindProcessToNetwork(null); in testPrivateDnsBypass()
DNetworkAgentTest.kt118 private val mCM = context.getSystemService(ConnectivityManager::class.java) constant
137 callbacksToCleanUp.forEach { mCM.unregisterNetworkCallback(it) } in tearDown()
291 mCM.requestNetwork(request, callback) in requestNetwork()
299 mCM.registerNetworkCallback(request, callback) in registerNetworkCallback()
362 mCM.requestBandwidthUpdate(agent.network) in testOnBandwidthUpdateRequested()
412 mCM.unregisterNetworkCallback(it) in testSignalStrengthThresholds()
DIpSecBaseTest.java77 protected ConnectivityManager mCM; field in IpSecBaseTest
86 mCM = in setUp()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java118 private ConnectivityManager mCM; field in VpnTest
147 mCM = (ConnectivityManager) mActivity.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
159 mCM.unregisterNetworkCallback(mCallback); in tearDown()
240 mCM.registerNetworkCallback(request, mCallback); // Unregistered in tearDown. in startVpn()
290 mCM.registerNetworkCallback(request, mCallback); // Unregistered in tearDown. in stopVpn()
461 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_UDP, loc, rem); in checkConnectionOwnerUidUdp()
469 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_TCP, loc, rem); in checkConnectionOwnerUidTcp()
626 mCM.registerNetworkCallback(request, callback); in expectPrivateDnsHostname()
632 mCM.unregisterNetworkCallback(callback); in expectPrivateDnsHostname()
766 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_TCP, loc, rem); in testGetConnectionOwnerUidSecurity()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityBackgroundTestActivity.java96 private ConnectivityManager mCM; field in ConnectivityBackgroundTestActivity
179 mCM = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); in configureFromSystemServices()
184 mCM.unregisterNetworkCallback(mNetworkCallback); in clearNetworkCallback()
278 mCM.registerNetworkCallback( in startTest()
433 mState.mLinkProperties = mCM.getLinkProperties(mState.mNetwork);
/cts/tests/tests/media/assets/hls_variant/165340/
D08.ts234 _u5P]���mCM�r��(��s�z������^7�fr���� �| ��ɅG��gw��k`��6�P'!��`i�M3���op tvЛ�f5ysp�� dk�͖B…
/cts/tests/tests/media/assets/hls_variant/387360/
D05.ts141 …����������������������������������������������������������������B⶧�xq��:�߭}mCM����t>yB�塋�y�����a…