Searched refs:isNetworkSupported (Results 1 – 13 of 13) sorted by relevance
46 Mockito.when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false); in testNoIconWithoutMobile()95 Mockito.when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false); in testNoSimlessIconWithoutMobile()
86 when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(true); in setUp()136 when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false); in setUpNoMobileData()
57 boolean isNetworkSupported(int networkType); in isNetworkSupported() method
2383 public boolean isNetworkSupported(int networkType) { in isNetworkSupported() method in ConnectivityManager2385 return mService.isNetworkSupported(networkType); in isNetworkSupported()
230 return mConnectivityManager.isNetworkSupported(TYPE_MOBILE) in isMobileDataSupported()
202 if (ConnectivityManager.from(mContext).isNetworkSupported( in onAttachedToWindow()
540 public boolean isNetworkSupported(int networkType) { in isNetworkSupported() method in ConnectivityServiceMock
135 return !cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in checkWifiOnly()
168 mConnectivityManager.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in NetworkControllerImpl()
148 mHasTelephony = cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in GlobalActions()
226 if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)) { in getPhoneCount()
1287 public boolean isNetworkSupported(int networkType) { in isNetworkSupported() method in ConnectivityService
784 if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false) { in RIL()