Home
last modified time | relevance | path

Searched refs:getDataNetworkType (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DServiceStateStatsTest.java130 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mServiceState).getDataNetworkType(); in setUp()
182 doReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN).when(mServiceState).getDataNetworkType(); in conclude_outOfService()
217 doReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN).when(mServiceState).getDataNetworkType(); in conclude_airplaneMode()
235 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in conclude_airplaneModeWithWifiCalling()
286 doReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN).when(mServiceState).getDataNetworkType(); in conclude_noSimCardOutOfService()
366 doReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN).when(mServiceState).getDataNetworkType(); in onImsVoiceRegistrationChanged_wifiCallingWhileOos()
517 doReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN).when(mServiceState).getDataNetworkType(); in onServiceStateChanged_differentDataRats()
523 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mServiceState).getDataNetworkType(); in onServiceStateChanged_differentDataRats()
582 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in onServiceStateChanged_differentVoiceRats()
624 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in onServiceStateChanged_iwlanButNotWifiCalling()
[all …]
DImsStatsTest.java453 .getDataNetworkType(); in conclude_serviceStateChanged_afterRatUnknown()
460 .getDataNetworkType(); in conclude_serviceStateChanged_afterRatUnknown()
507 .getDataNetworkType(); in conclude_serviceStateChanged_afterRatLte()
514 .getDataNetworkType(); in conclude_serviceStateChanged_afterRatLte()
764 .getDataNetworkType(); in onImsRegistering_afterImsUnregistered()
1231 .getDataNetworkType(); in getImsVoiceRadioTech_serviceStateChanged()
1246 .getDataNetworkType(); in getImsVoiceRadioTech_serviceStateChanged_wlan()
DVoiceCallSessionStatsTest.java2875 doReturn(rat).when(mock).getDataNetworkType(); in setServiceState()
2892 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mock).getDataNetworkType(); in setServiceStateWithWifiCalling()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkTypeController.java283 public @Annotation.NetworkType int getDataNetworkType() { in getDataNetworkType() method in NetworkTypeController
521 int dataNetworkType = getDataNetworkType(); in getCurrentOverrideNetworkType()
583 if ((getDataNetworkType() == TelephonyManager.NETWORK_TYPE_LTE_CA in getLteDisplayType()
771 int rat = getDataNetworkType(); in processMessage()
853 int rat = getDataNetworkType(); in processMessage()
937 int rat = getDataNetworkType(); in processMessage()
1021 int rat = getDataNetworkType(); in processMessage()
1103 int rat = getDataNetworkType(); in processMessage()
1185 int rat = getDataNetworkType(); in processMessage()
1409 int dataRat = getDataNetworkType(); in transitionToCurrentState()
[all …]
DDisplayInfoController.java130 mNetworkTypeController.getDataNetworkType(), in updateTelephonyDisplayInfo()
DServiceStateTracker.java2854 && mSS.getDataNetworkType() == TelephonyManager.NETWORK_TYPE_IWLAN)) { in updateSpnDisplayLegacy()
3736 int dataNetworkType = mSS.getDataNetworkType(); in pollStateDone()
5633 if (ss.getDataNetworkType() == TelephonyManager.NETWORK_TYPE_IWLAN) { in getCombinedRegState()
DRadioResponse.java2416 Context.TELEPHONY_SERVICE)).getDataNetworkType( in responseCellList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetwork.java1047 mLastKnownDataNetworkType = getDataNetworkType(); in DataNetwork()
1131 int networkType = getDataNetworkType(); in createNetworkAgent()
1332 int networkType = getDataNetworkType();
1536 int dataNetworkType = getDataNetworkType();
1654 getDataNetworkType(),
1988 mDataNetworkValidationStats.onDataNetworkDisconnected(getDataNetworkType());
3280 private int getDataNetworkType() {
3281 return getDataNetworkType(mTransport);
3291 private int getDataNetworkType(@TransportType int transport) {
3505 .setNetworkType(getDataNetworkType())
[all …]
DDataNetworkController.java1460 .contains(getDataNetworkType(transport)); in isOnlySingleDataNetworkAllowed()
1594 networkRequest, getDataNetworkType(transport), in evaluateNetworkRequest()
1756 int networkType = getDataNetworkType(transport); in evaluateNetworkRequest()
1797 + TelephonyManager.getNetworkTypeName(getDataNetworkType(transport)) in evaluateNetworkRequest()
2055 int networkType = getDataNetworkType(dataNetwork.getTransport()); in evaluateDataNetwork()
2314 int sourceNetworkType = getDataNetworkType(dataNetwork.getTransport()); in evaluateDataNetworkHandover()
2334 getDataNetworkType(DataUtils.getTargetTransport(dataNetwork.getTransport()))); in evaluateDataNetworkHandover()
3992 private int getDataNetworkType(@TransportType int transport) { in getDataNetworkType() method in DataNetworkController
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java139 int currentDataNetwork = mPhone.getServiceState().getDataNetworkType(); in sendSms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataStallRecoveryStats.java365 mRat = serviceState.getDataNetworkType(); in updateRatAndBand()
DImsStats.java395 @NetworkType int newRat = state.getDataNetworkType(); in onServiceStateChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java142 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, ss.getDataNetworkType()); in testRAT()
DServiceStateTrackerTest.java3042 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in testUpdateSpnDisplay_flightModeNoWifiCalling_showSpnAndPlmn()
3232 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS()
3378 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in testGetCombinedRegState()
3388 doReturn(TelephonyManager.NETWORK_TYPE_IWLAN).when(mServiceState).getDataNetworkType(); in testGetCombinedRegState()
DGsmCdmaPhoneTest.java302 assertEquals(TelephonyManager.NETWORK_TYPE_IWLAN, mergedServiceState.getDataNetworkType()); in testGetMergedServiceState()
385 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, mergedServiceState.getDataNetworkType()); in testGetMergedServiceStateNoCsfb()
DNetworkTypeControllerTest.java1045 mNetworkTypeController.getDataNetworkType(), in testPrimaryTimerNetworkTypeChanged()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1616 return networkTypeToRilRadioTechnology(getDataNetworkType()); in getRilDataRadioTechnology()
1774 public @NetworkType int getDataNetworkType() { in getDataNetworkType() method in ServiceState
DTelephonyManager.java3276 public @NetworkType int getDataNetworkType() { in getDataNetworkType() method in TelephonyManager
3277 return getDataNetworkType(getSubId(SubscriptionManager.getActiveDataSubscriptionId())); in getDataNetworkType()
3290 public int getDataNetworkType(int subId) { in getDataNetworkType() method in TelephonyManager
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl556 int getDataNetworkType(String callingPackage, String callingFeatureId); in getDataNetworkType() method
/frameworks/base/core/api/
Dlint-baseline.txt902 RequiresPermission: android.telephony.TelephonyManager#getDataNetworkType():
903 …Method 'getDataNetworkType' documentation mentions permissions already declared by @RequiresPermis…
Dmodule-lib-lint-baseline.txt1286 RequiresPermission: android.telephony.TelephonyManager#getDataNetworkType():
1287 …Method 'getDataNetworkType' documentation mentions permissions already declared by @RequiresPermis…
Dtest-lint-baseline.txt1444 RequiresPermission: android.telephony.TelephonyManager#getDataNetworkType():
1445 …Method 'getDataNetworkType' documentation mentions permissions already declared by @RequiresPermis…
Dsystem-lint-baseline.txt1362 RequiresPermission: android.telephony.TelephonyManager#getDataNetworkType():
1363 …Method 'getDataNetworkType' documentation mentions permissions already declared by @RequiresPermis…
Dtest-current.txt3336 method public int getDataNetworkType();
/frameworks/base/boot/
Dboot-image-profile.txt14143 HSPLandroid/telephony/ServiceState;->getDataNetworkType()I
14339 HSPLandroid/telephony/TelephonyManager;->getDataNetworkType()I
14340 HSPLandroid/telephony/TelephonyManager;->getDataNetworkType(I)I

12