Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java98 private TestConnectivityManager mCM; field in UpstreamNetworkMonitorTest
109 mCM = spy(new TestConnectivityManager(mContext, mCS)); in setUp()
112 (ConnectivityManager) mCM, mSM, mLog, EVENT_UNM_UPDATE); in setUp()
131 assertTrue(mCM.hasNoCallbacks()); in testDoesNothingBeforeTrackDefaultAndStarted()
135 assertTrue(mCM.hasNoCallbacks()); in testDoesNothingBeforeTrackDefaultAndStarted()
137 assertTrue(mCM.hasNoCallbacks()); in testDoesNothingBeforeTrackDefaultAndStarted()
142 assertTrue(mCM.hasNoCallbacks()); in testDefaultNetworkIsTracked()
146 assertEquals(1, mCM.trackingDefault.size()); in testDefaultNetworkIsTracked()
149 assertTrue(mCM.onlyHasDefaultCallbacks()); in testDefaultNetworkIsTracked()
154 assertTrue(mCM.listening.isEmpty()); in testListensForAllNetworks()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DBlur25G.java39 private ScriptIntrinsicColorMatrix mCM; field in Blur25G
73 mCM = ScriptIntrinsicColorMatrix.create(mRS); in createTest()
74 mCM.forEach(mInPixelsAllocation, mScratchPixelsAllocation1); in createTest()
102 mCM.setColorMatrix(m); in updateBitmap()
103 mCM.setAdd(0.f, 0.f, 0.f, 1.f); in updateBitmap()
105 mCM.forEach(mScratchPixelsAllocation2, mOutPixelsAllocation); in updateBitmap()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractIpAddressPreferenceController.java50 private final ConnectivityManager mCM; field in AbstractIpAddressPreferenceController
54 mCM = context.getSystemService(ConnectivityManager.class); in AbstractIpAddressPreferenceController()
81 String ipAddress = getDefaultIpAddresses(mCM); in updateConnectivity()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java70 private ConnectivityManager mCM; field in ConnectionUtil
113 mCM = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in initialize()
439 " is: " + mCM.getNetworkInfo(networkType).getState()); in waitForNetworkState()
440 if (mCM.getNetworkInfo(networkType).getState() != expectedState) { in waitForNetworkState()
445 mCM.getNetworkInfo(networkType)); in waitForNetworkState()
459 mNetworkInfo = mCM.getActiveNetworkInfo(); in waitForNetworkState()
518 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
527 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in isConnectedToWifi()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java112 private ConnectivityManager mCM; field in UpstreamNetworkMonitor
139 mCM = cm; in UpstreamNetworkMonitor()
423 if (mCM == null) { in cm()
425 mCM = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in cm()
427 return mCM; in cm()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java78 private final ConnectivityManager mCM; field in NetworkTimeUpdateService
103 mCM = mContext.getSystemService(ConnectivityManager.class); in NetworkTimeUpdateService()
127 mCM.registerDefaultNetworkCallback(mNetworkTimeUpdateCallback, mHandler); in systemRunning()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java146 final ConnectivityManager mCM = context.getSystemService(ConnectivityManager.class); in testSntp() local
147 final Network network = mCM.getActiveNetwork(); in testSntp()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java108 private ConnectivityManager mCM; field in MultipathPolicyTracker
146 mCM = mContext.getSystemService(ConnectivityManager.class); in start()
481 mCM.registerNetworkCallback(request, mMobileNetworkCallback, mHandler); in registerTrackMobileCallback()
495 mCM.unregisterNetworkCallback(mMobileNetworkCallback); in maybeUnregisterTrackMobileCallback()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java98 @Mock private ConnectivityManager mCM; field in MultipathPolicyTrackerTest
143 mockService(Context.CONNECTIVITY_SERVICE, ConnectivityManager.class, mCM); in setUp()
230 verify(mCM).registerNetworkCallback(any(), networkCallback.capture(), any()); in testGetMultipathPreference()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt72114 Landroid/util/NtpTrustedTime;->mCM:Landroid/net/ConnectivityManager;