Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsCallTest.java59 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated()
64 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiDeprecated()
72 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi()
76 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifi()
84 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt()
88 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetWifiAlt()
96 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiDeprecated()
100 assertEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifiDeprecated()
108 assertNotEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifi()
112 assertEquals(mTestImsCall.getNetworkType(), TelephonyManager.NETWORK_TYPE_LTE); in testSetLteNoWifi()
[all …]
DImsPhoneConnectionTest.java270 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mImsCall).getNetworkType(); in testSetWifiDeprecated()
283 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mImsCall).getNetworkType(); in testSetWifi()
296 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mImsCall).getNetworkType(); in testSetWifi2()
311 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mImsCall).getNetworkType(); in testSetLTEDeprecated()
324 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mImsCall).getNetworkType(); in testSetLTE()
337 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.java49 public static @WifiConfiguration.SecurityType int getNetworkType(WifiConfiguration config) { in getNetworkType() method in ScanResultMatchInfo
74 info.networkType = getNetworkType(config); in fromWifiConfiguration()
81 public static @WifiConfiguration.SecurityType int getNetworkType(ScanResult scanResult) { in getNetworkType() method in ScanResultMatchInfo
111 info.networkType = getNetworkType(scanResult); in fromScanResult()
DWifiNetworkFactory.java1105 if (ScanResultMatchInfo.getNetworkType(wns.wifiConfiguration) in doesScanResultMatchWifiNetworkSpecifier()
1106 != ScanResultMatchInfo.getNetworkType(scanResult)) { in doesScanResultMatchWifiNetworkSpecifier()
/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.java191 public @NetworkType int getNetworkType() { in getNetworkType() method in PreciseDataConnectionState
DTelephonyManager.java2694 public @NetworkType int getNetworkType() { in getNetworkType() method in TelephonyManager
2695 return getNetworkType(getSubId(SubscriptionManager.getActiveDataSubscriptionId())); in getNetworkType()
2727 public int getNetworkType(int subId) { in getNetworkType() method in TelephonyManager
2857 return getNetworkTypeName(getNetworkType()); in getNetworkTypeName()
/frameworks/base/core/java/android/net/
DLinkQualityInfo.java156 public int getNetworkType() { in getNetworkType() method in LinkQualityInfo
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerDataTest.java238 when(mTelephonyDisplayInfo.getNetworkType()).thenReturn(TelephonyManager.NETWORK_TYPE_HSPA); in testDataChangeWithoutConnectionState()
DNetworkControllerBaseTest.java338 when(mTelephonyDisplayInfo.getNetworkType()).thenReturn(dataNetType); in updateDataConnectionState()
/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/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/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java613 if (TelephonyManager.NETWORK_TYPE_UNKNOWN == phone.getNetworkType()
DGnssLocationProvider.java1989 int networkType = phone.getNetworkType();
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java3610 sb.append(getNetworkType()); in toString()
3709 return getNetworkType() == TelephonyManager.NETWORK_TYPE_IWLAN; in isWifiCall()
3717 public int getNetworkType() { in getNetworkType() method in ImsCall
/frameworks/base/core/java/android/app/job/
DJobInfo.java459 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.java1226 networkType = call.getNetworkType(); in updateImsCallRatFromExtras()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java1557 TelephonyManager.getDefault().getNetworkType()); in handleMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java2921 cause, cid, mTelephonyManager.getNetworkType()); in onDataSetupComplete()
4025 int rat = mPhone.getDisplayInfoController().getTelephonyDisplayInfo().getNetworkType(); in reevaluateUnmeteredConnections()

12