Home
last modified time | relevance | path

Searched refs:isNetworkSupported (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java46 Mockito.when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false); in testNoIconWithoutMobile()
95 Mockito.when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false); in testNoSimlessIconWithoutMobile()
DNetworkControllerBaseTest.java86 when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(true); in setUp()
136 when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false); in setUpNoMobileData()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl57 boolean isNetworkSupported(int networkType); in isNetworkSupported() method
DConnectivityManager.java2383 public boolean isNetworkSupported(int networkType) { in isNetworkSupported() method in ConnectivityManager
2385 return mService.isNetworkSupported(networkType); in isNetworkSupported()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java230 return mConnectivityManager.isNetworkSupported(TYPE_MOBILE) in isMobileDataSupported()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DCarrierText.java202 if (ConnectivityManager.from(mContext).isNetworkSupported( in onAttachedToWindow()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java540 public boolean isNetworkSupported(int networkType) { in isNetworkSupported() method in ConnectivityServiceMock
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java135 return !cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in checkWifiOnly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java168 mConnectivityManager.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in NetworkControllerImpl()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java148 mHasTelephony = cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in GlobalActions()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java226 if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)) { in getPhoneCount()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1287 public boolean isNetworkSupported(int networkType) { in isNetworkSupported() method in ConnectivityService
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java784 if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false) { in RIL()