/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/ |
D | EmergencySmsDomainSelectionConnectionTest.java | 127 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnWlanSelected() 148 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnWlanSelectedWithDifferentTransportType() 186 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnWlanSelectedWithDifferentTransportTypeAndImsPdn() 211 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnWlanSelectedWithDifferentTransportTypeWhilePreferredTransportChanged() 261 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnDomainSelectedPs() 264 mDsConnection.onDomainSelected(NetworkRegistrationInfo.DOMAIN_PS, true); in testOnDomainSelectedPs() 280 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnDomainSelectedPsWithDifferentTransportType() 283 mDsConnection.onDomainSelected(NetworkRegistrationInfo.DOMAIN_PS, true); in testOnDomainSelectedPsWithDifferentTransportType() 316 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnDomainSelectedPsWithDifferentTransportTypeAndImsPdn() 319 mDsConnection.onDomainSelected(NetworkRegistrationInfo.DOMAIN_PS, false); in testOnDomainSelectedPsWithDifferentTransportTypeAndImsPdn() [all …]
|
D | SmsDomainSelectionConnectionTest.java | 124 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnWlanSelected() 152 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testOnDomainSelectedPs() 155 mDsConnection.onDomainSelected(NetworkRegistrationInfo.DOMAIN_PS); in testOnDomainSelectedPs() 186 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testFinishSelection() 189 mDsConnection.onDomainSelected(NetworkRegistrationInfo.DOMAIN_PS); in testFinishSelection() 203 assertEquals(Integer.valueOf(NetworkRegistrationInfo.DOMAIN_PS), domain); in testCancelSelection()
|
D | EmergencyCallDomainSelectionConnectionTest.java | 23 import static android.telephony.NetworkRegistrationInfo.DOMAIN_PS; 121 NetworkRegistrationInfo.DOMAIN_PS, in testSelectDomainWifi() 208 NetworkRegistrationInfo.DOMAIN_PS, in testSelectDomainPs() 231 wwanCallback.onDomainSelected(DOMAIN_PS, true); in testSelectDomainPs() 234 assertEquals((long) DOMAIN_PS, (long) future.get()); in testSelectDomainPs() 242 NetworkRegistrationInfo.DOMAIN_PS, in testOnSelectionTerminated()
|
D | NormalCallDomainSelectionConnectionTest.java | 22 import static android.telephony.NetworkRegistrationInfo.DOMAIN_PS; 114 assertEquals((long) DOMAIN_PS, (long) future.get()); in testSelectDomainWifi() 163 wwanCallback.onDomainSelected(DOMAIN_PS, false); in testSelectDomainPs() 166 assertEquals((long) DOMAIN_PS, (long) future.get()); in testSelectDomainPs()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTest.java | 138 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testRAT() 282 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testBundle() 321 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testNetworkRegistrationInfo() 326 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testNetworkRegistrationInfo() 338 assertEquals(ss.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in testNetworkRegistrationInfo() 340 assertEquals(ss.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in testNetworkRegistrationInfo() 344 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in testNetworkRegistrationInfo() 347 assertEquals(ss.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in testNetworkRegistrationInfo() 357 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testDuplexMode_notLte() 372 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testDuplexMode_invalidEarfcn() [all …]
|
D | SmsDispatchersControllerTest.java | 367 sendDataWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, false); in testSendDataWhenDomainPs() 374 sendDataWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, true); in testSendDataWhenDomainCsAndCdma() 381 sendDataWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, false); in testSendDataWhenDomainCsAndGsm() 387 sendTextWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, false); in testSendTextWhenDomainPs() 394 sendTextWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, true); in testSendTextWhenDomainCsAndCdma() 401 sendTextWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, false); in testSendTextWhenDomainCsAndGsm() 407 sendMultipartTextWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, false); in testSendMultipartTextWhenDomainPs() 414 sendMultipartTextWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, true); in testSendMultipartTextWhenDomainCsAndCdma() 421 sendMultipartTextWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, false); in testSendMultipartTextWhenDomainCsAndGsm() 427 sendRetrySmsWithDomainSelection(NetworkRegistrationInfo.DOMAIN_PS, in testSendRetrySmsWhenDomainPs() [all …]
|
D | CellularNetworkServiceTest.java | 165 domain = NetworkRegistrationInfo.DOMAIN_PS; in testGetNetworkRegistrationInfo() 269 mBinder.requestNetworkRegistrationInfo(0, NetworkRegistrationInfo.DOMAIN_PS, mCallback); in testGetNetworkRegistrationInfoV1_5() 275 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in testGetNetworkRegistrationInfoV1_5() 367 mBinder.requestNetworkRegistrationInfo(0, NetworkRegistrationInfo.DOMAIN_PS, mCallback); in testGetNetworkRegistrationInfoV1_6WithLte() 373 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in testGetNetworkRegistrationInfoV1_6WithLte() 458 mBinder.requestNetworkRegistrationInfo(0, NetworkRegistrationInfo.DOMAIN_PS, mCallback); in testGetNetworkRegistrationInfoV1_6WithNr() 464 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in testGetNetworkRegistrationInfoV1_6WithNr() 538 int domain = NetworkRegistrationInfo.DOMAIN_PS; in testGetAvailableServices_withMmsEnabled()
|
D | ServiceStateTrackerTest.java | 1394 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testRegisterForDataRegStateOrRatChange() 1877 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testIsConcurrentVoiceAndDataAllowed() 1884 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in testIsConcurrentVoiceAndDataAllowed() 2057 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in changeRegState() 2085 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in changeRegStateWithIwlan() 2104 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WLAN, in changeRegStateWithIwlan() 2213 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in testCSEmergencyRegistrationState() 2242 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in testPSEmergencyRegistrationState() 2334 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in sendRegStateUpdateForLteCellId() 2359 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN, in sendRegStateUpdateForNrCellId() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RatRatcheter.java | 122 NetworkRegistrationInfo.DOMAIN_CS, NetworkRegistrationInfo.DOMAIN_PS}; in ratchet() 145 if (ss1.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in isSameRatFamily() 147 || ss2.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in isSameRatFamily() 153 ss1.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in isSameRatFamily() 157 ss2.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in isSameRatFamily()
|
D | TelephonyTester.java | 495 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in overrideServiceState() 527 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in overrideServiceState() 530 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in overrideServiceState() 556 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in overrideServiceState() 559 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in overrideServiceState() 585 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in overrideServiceState() 588 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in overrideServiceState()
|
D | CellularNetworkService.java | 142 : NetworkRegistrationInfo.DOMAIN_PS; in CellularNetworkServiceProvider() 234 if (domain == NetworkRegistrationInfo.DOMAIN_PS) { in getAvailableServices() 258 } else if (domain == NetworkRegistrationInfo.DOMAIN_PS) { in getRegistrationStateFromResult() 316 final int domain = NetworkRegistrationInfo.DOMAIN_PS; in createRegistrationStateFromDataRegState() 439 case NetworkRegistrationInfo.DOMAIN_PS: in getNetworkRegistrationInfo() 527 case NetworkRegistrationInfo.DOMAIN_PS: in getNetworkRegistrationInfoAidl() 628 case NetworkRegistrationInfo.DOMAIN_PS: in getNetworkRegistrationInfo1_6() 659 } else if (domain == NetworkRegistrationInfo.DOMAIN_PS) { in requestNetworkRegistrationInfo()
|
D | SmsDispatchersController.java | 992 if (domain != NetworkRegistrationInfo.DOMAIN_PS) { in isCdmaMo() 1173 isOverIms ? NetworkRegistrationInfo.DOMAIN_PS in handleSmsSentCompletedUsingDomainSelection() 1323 domain = NetworkRegistrationInfo.DOMAIN_PS; in sendAllPendingRequests() 1338 && domain != NetworkRegistrationInfo.DOMAIN_PS in sendAllPendingRequests() 1340 domain = NetworkRegistrationInfo.DOMAIN_PS; in sendAllPendingRequests() 1348 sendRetrySms(r.tracker, (domain == NetworkRegistrationInfo.DOMAIN_PS)); in sendAllPendingRequests() 1369 if (domain == NetworkRegistrationInfo.DOMAIN_PS) { in sendData() 1394 if (domain == NetworkRegistrationInfo.DOMAIN_PS) { in sendText() 1427 if (domain == NetworkRegistrationInfo.DOMAIN_PS) { in sendMultipartText()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ServiceStateStats.java | 130 newState.dataRat = getRat(serviceState, NetworkRegistrationInfo.DOMAIN_PS); in onServiceStateChanged() 134 getNetworkRoamingState(serviceState, NetworkRegistrationInfo.DOMAIN_PS); in onServiceStateChanged() 267 @NetworkType int rat = getRat(serviceState, NetworkRegistrationInfo.DOMAIN_PS); in getBand() 367 || getRat(state, NetworkRegistrationInfo.DOMAIN_PS) in getVoiceRat() 409 if (getRat(state, NetworkRegistrationInfo.DOMAIN_PS) != TelephonyManager.NETWORK_TYPE_LTE) { in isEndc() 470 || isNetworkRoaming(ss, NetworkRegistrationInfo.DOMAIN_PS); in isNetworkRoaming() 479 NetworkRegistrationInfo.DOMAIN_PS, in writeDataRatAtom()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/ |
D | EmergencySmsDomainSelectionConnection.java | 113 if (useEmergencyPdn && domain == NetworkRegistrationInfo.DOMAIN_PS) { in onDomainSelected() 151 super.onDomainSelected(NetworkRegistrationInfo.DOMAIN_PS, true); in onQualifiedNetworksChanged()
|
D | EmergencyCallDomainSelectionConnection.java | 23 import static android.telephony.NetworkRegistrationInfo.DOMAIN_PS; 128 if (domain == DOMAIN_PS && useEmergencyPdn) { in onDomainSelected() 184 future.complete(DOMAIN_PS); in onQualifiedNetworksChanged()
|
D | SmsDomainSelectionConnection.java | 48 super.onDomainSelected(NetworkRegistrationInfo.DOMAIN_PS); in onWlanSelected()
|
D | NormalCallDomainSelectionConnection.java | 61 future.complete(NetworkRegistrationInfo.DOMAIN_PS); in onWlanSelected()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 232 NetworkRegistrationInfo.DOMAIN_PS, in isInService_voiceOutOfServiceDataInService_returnTrue() 244 NetworkRegistrationInfo.DOMAIN_PS, in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse() 257 NetworkRegistrationInfo.DOMAIN_PS, in isInService_voiceOutOfServiceDataNull_returnFalse() 268 NetworkRegistrationInfo.DOMAIN_PS, in isInService_voiceOutOfServiceDataOutOfService_returnFalse() 309 NetworkRegistrationInfo.DOMAIN_PS, in getCombinedServiceState_voiceOutOfServiceDataInService_returnInService() 322 NetworkRegistrationInfo.DOMAIN_PS, in getCombinedServiceState_voiceOutOfServiceDataInServiceOnIwLan_returnOutOfService()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ServiceState.java | 720 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in getDataRoamingType() 1249 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in init() 1254 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in init() 1356 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in setDataRoamingType() 1359 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in setDataRoamingType() 1526 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in setRilDataRadioTechnology() 1530 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in setRilDataRadioTechnology() 1567 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in getNrState() 1776 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WLAN); in getDataNetworkType() 1778 NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN); in getDataNetworkType() [all …]
|
D | NetworkRegistrationInfo.java | 63 @IntDef(prefix = "DOMAIN_", value = {DOMAIN_UNKNOWN, DOMAIN_CS, DOMAIN_PS, DOMAIN_CS_PS}) 71 public static final int DOMAIN_PS = android.hardware.radio.network.Domain.PS; field in NetworkRegistrationInfo 73 public static final int DOMAIN_CS_PS = DOMAIN_CS | DOMAIN_PS; 803 case DOMAIN_PS: return "PS"; in domainToString()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | DataConnectionStats.java | 20 import static android.telephony.NetworkRegistrationInfo.DOMAIN_PS; 98 mServiceState.getNetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN); in notePhoneDataConnectionState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerBaseTest.java | 20 import static android.telephony.NetworkRegistrationInfo.DOMAIN_PS; 209 .setDomain(DOMAIN_PS) in setUp() 213 .getNetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN); in setUp() 454 .setDomain(DOMAIN_PS) in setDataRegInService() 464 when(mServiceState.getNetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN)) in setDataRegInService() 511 .setDomain(DOMAIN_PS) in updateDataConnectionState() 514 when(mServiceState.getNetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN)) in updateDataConnectionState()
|
D | NetworkControllerDataTest.java | 20 import static android.telephony.NetworkRegistrationInfo.DOMAIN_PS; 300 .setDomain(DOMAIN_PS) in testDataChangeWithoutConnectionState() 303 when(mServiceState.getNetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN)) in testDataChangeWithoutConnectionState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/ |
D | NtnCapabilityResolverTest.java | 20 import static android.telephony.NetworkRegistrationInfo.DOMAIN_PS; 157 return new NetworkRegistrationInfo(DOMAIN_PS, TRANSPORT_TYPE_WWAN, in createNetworkRegistrationInfo()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | EmergencyStateTrackerTest.java | 22 import static android.telephony.NetworkRegistrationInfo.DOMAIN_PS; 170 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode() 192 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode() 229 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode() 279 .setDomain(NetworkRegistrationInfo.DOMAIN_PS) in startEmergencyCall_radioOff_turnOnRadioHangupCallTurnOffRadio() 1222 emergencyStateTracker.endSms(TEST_SMS_ID, true, DOMAIN_PS, true); in testEndSmsAndEnterEmergencySmsCallbackMode() 1254 emergencyStateTracker.endSms(TEST_SMS_ID_2, false, DOMAIN_PS, true); in testEndSmsWithSmsSentFailureWhileInScbm() 1286 emergencyStateTracker.endSms(TEST_SMS_ID_2, true, DOMAIN_PS, true); in testEndSmsWithSmsSentSuccessWhileInScbm() 1715 emergencyStateTracker.endSms(TEST_SMS_ID, true, DOMAIN_PS, true); in testStartEmergencyCallAndEnterScbmAndEndCallOnSamePhone() 1837 emergencyStateTracker.endSms(TEST_SMS_ID, false, DOMAIN_PS, true); in testStartEmergencySmsInProgressAndStartEmergencyCallAndEndSmsOnSamePhone() [all …]
|