Home
last modified time | relevance | path

Searched refs:getNetworkType (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java61 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated()
66 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated()
93 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi()
97 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi()
105 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt()
109 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt()
117 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiDeprecated()
121 assertEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiDeprecated()
129 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifi()
133 assertEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifi()
[all …]
DImsPhoneConnectionTest.java258 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mImsCall).getNetworkType(); in testSetWifiDeprecated()
271 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mImsCall).getNetworkType(); in testSetWifi()
284 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mImsCall).getNetworkType(); in testSetWifi2()
299 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mImsCall).getNetworkType(); in testSetLTEDeprecated()
312 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mImsCall).getNetworkType(); in testSetLTE()
325 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mImsCall).getNetworkType(); in testSetLTE2()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNeighboringCellInfoTest.java35 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); in testConstructor()
42 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); in testConstructor()
49 assertEquals(NETWORK_TYPE_UNKNOWN, nc.getNetworkType()); in testConstructor()
61 assertEquals(NETWORK_TYPE_GPRS, nc.getNetworkType()); in testParcel()
73 assertEquals(NETWORK_TYPE_GPRS, nw.getNetworkType()); in testParcel()
DCallAttributesTest.java80 data.getNetworkType(), in testParcelUnparcelNetworkType()
81 unparceledData.getNetworkType()); in testParcelUnparcelNetworkType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanResultMatchInfo.java54 private static @WifiConfiguration.SecurityType int getNetworkType(WifiConfiguration config) { in getNetworkType() method in ScanResultMatchInfo
83 info.networkType = getNetworkType(config); in fromWifiConfiguration()
90 private static @WifiConfiguration.SecurityType int getNetworkType(ScanResult scanResult) { in getNetworkType() method in ScanResultMatchInfo
124 info.networkType = getNetworkType(scanResult); in fromScanResult()
/frameworks/base/telephony/java/android/telephony/
DTelephonyDisplayInfo.java101 public int getNetworkType() { in getNetworkType() method in TelephonyDisplayInfo
DCallAttributes.java96 public int getNetworkType() { in getNetworkType() method in CallAttributes
DNeighboringCellInfo.java271 public int getNetworkType() { in getNetworkType() method in NeighboringCellInfo
DPreciseDataConnectionState.java192 public @NetworkType int getNetworkType() { in getNetworkType() method in PreciseDataConnectionState
DTelephonyManager.java2984 public @NetworkType int getNetworkType() { in getNetworkType() method in TelephonyManager
2985 return getNetworkType(getSubId(SubscriptionManager.getActiveDataSubscriptionId())); in getNetworkType()
3017 public int getNetworkType(int subId) { in getNetworkType() method in TelephonyManager
3147 return getNetworkTypeName(getNetworkType()); in getNetworkTypeName()
/frameworks/base/core/java/android/net/
DLinkQualityInfo.java156 public int getNetworkType() { in getNetworkType() method in LinkQualityInfo
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java582 final int networkType = getNetworkType(telephonyManager); in filterDestAddr()
602 private static int getNetworkType(TelephonyManager telephonyManager) { in getNetworkType() method in SmsNumberUtils
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerDataTest.java238 when(mTelephonyDisplayInfo.getNetworkType()).thenReturn(TelephonyManager.NETWORK_TYPE_HSPA); in testDataChangeWithoutConnectionState()
DNetworkControllerBaseTest.java181 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mTelephonyDisplayInfo).getNetworkType(); in setUp()
374 when(mTelephonyDisplayInfo.getNetworkType()).thenReturn(dataNetType); in updateDataConnectionState()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java493 first.getNetworkType(), second.getNetworkType()); in assertTasksEqual()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java247 static int getNetworkType(NetworkTemplate networkTemplate) { in getNetworkType() method in DataUsageController
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java3611 sb.append(getNetworkType()); in toString()
3711 return getNetworkType() == TelephonyManager.NETWORK_TYPE_IWLAN; in isWifiCall()
3719 public int getNetworkType() { in getNetworkType() method in ImsCall
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java735 if (TelephonyManager.NETWORK_TYPE_UNKNOWN == phone.getNetworkType()
DGnssLocationProvider.java2003 int networkType = phone.getNetworkType();
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobInfo.java462 public @NetworkType int getNetworkType() { in getNetworkType() method in JobInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java292 return toIconKey(mTelephonyDisplayInfo.getNetworkType()); in getIconKey()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java1234 networkType = call.getNetworkType(); in updateImsCallRatFromExtras()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java1555 TelephonyManager.getDefault().getNetworkType()); in handleMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java2957 cause, cid, mTelephonyManager.getNetworkType()); in onDataSetupComplete()
4058 int rat = mPhone.getDisplayInfoController().getTelephonyDisplayInfo().getNetworkType(); in reevaluateUnmeteredConnections()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java1708 networkType = preciseState.getNetworkType(); in notifyDataConnectionForSubscriber()

12