/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/ |
D | SatelliteSOSMessageRecommender.java | 99 private final SatelliteController mSatelliteController; field in SatelliteSOSMessageRecommender 153 mSatelliteController = satelliteController; in SatelliteSOSMessageRecommender() 220 mSatelliteController.isSatelliteConnectedViaCarrierWithinHysteresisTime()); in onEmergencyCallStarted() 248 mSatelliteController.setLastEmergencyCallTime(); in handleEmergencyCallStartedEvent() 332 mSatelliteController.isSatelliteConnectedViaCarrierWithinHysteresisTime()); in updateSatelliteViaCarrierAvailability() 342 Boolean satelliteProvisioned = mSatelliteController.isSatelliteViaOemProvisioned(); in isSatelliteViaOemAvailable() 352 mSatelliteController.setLastEmergencyCallTime(); in handleEmergencyCallConnectionStateChangedEvent() 380 && mSatelliteController.isSatelliteSupportedViaOem()) { in handleEmergencyCallConnectionStateChangedEvent() 414 mSatelliteController.registerForSatelliteProvisionStateChanged( in registerForInterestedStateChangedEvents() 434 mSatelliteController.unregisterForSatelliteProvisionStateChanged( in unregisterForInterestedStateChangedEvents() [all …]
|
D | DemoSimulator.java | 49 @NonNull private final SatelliteController mSatelliteController; field in DemoSimulator 93 mSatelliteController = satelliteController; in DemoSimulator() 172 long durationMillis = mSatelliteController.getDemoPointingAlignedDurationMillis(); in handleEventDeviceAlignedWithSatellite() 233 mSatelliteController.getDemoPointingNotAlignedDurationMillis(); in handleEventDeviceAlignedWithSatellite() 304 if (mSatelliteController.isDemoModeEnabled()) { in onSatelliteModeOn() 323 if (mSatelliteController.isDemoModeEnabled()) { in setDeviceAlignedWithSatellite()
|
D | SatelliteSessionController.java | 146 @NonNull private final SatelliteController mSatelliteController; field in SatelliteSessionController 209 mSatelliteController = SatelliteController.getInstance(); in SatelliteSessionController() 533 if (mSatelliteController.isSatelliteAttachRequired()) { in handleSatelliteEnabledStateChanged() 626 if (mSatelliteController.isSatelliteAttachRequired()) { in handleEventDatagramTransferStateChanged() 635 if (mSatelliteController.isSatelliteAttachRequired()) { in handleEventDatagramTransferStateChanged() 677 if (!mSatelliteController.isSatelliteAttachRequired()) { in exit() 720 if (mSatelliteController.isSatelliteAttachRequired()) { in handleEventDatagramTransferStateChanged()
|
D | SatelliteModemInterface.java | 77 @NonNull private final SatelliteController mSatelliteController; field in SatelliteModemInterface 202 return mIsDemoListener == mSatelliteController.isDemoModeEnabled(); in notifyResultIfExpectedListener() 263 mSatelliteController = satelliteController; in SatelliteModemInterface() 380 mSatelliteController.onSatelliteServiceConnected(); in onServiceConnected() 658 if (mSatelliteController.isDemoModeEnabled()) { in enableCellularModemWhileSatelliteModeIsOn()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | RadioOnStateListenerTest.java | 93 verify(mSatelliteController).unregisterForModemStateChanged(anyInt(), any()); in testRegisterForCallback() 96 verify(mSatelliteController, never()).registerForSatelliteModemStateChanged( in testRegisterForCallback() 108 doReturn(true).when(mSatelliteController).isSatelliteEnabled(); in testRegisterForSatelliteCallback() 113 verify(mSatelliteController).unregisterForModemStateChanged(anyInt(), any()); in testRegisterForSatelliteCallback() 114 verify(mSatelliteController).registerForSatelliteModemStateChanged(anyInt(), any()); in testRegisterForSatelliteCallback() 207 verify(mSatelliteController, never()).requestSatelliteEnabled( in testTimeout_RetryFailure() 227 verify(mSatelliteController, never()).requestSatelliteEnabled( in testTimeout_RetryFailure_ForEmergency() 233 doReturn(true).when(mSatelliteController).isSatelliteEnabled(); in testTimeout_RetryFailure_WithSatellite() 248 verify(mSatelliteController, times(2)).requestSatelliteEnabled( in testTimeout_RetryFailure_WithSatellite()
|
D | EmergencyStateTrackerTest.java | 349 when(mSatelliteController.isSatelliteEnabled()).thenReturn(true); in startEmergencyCall_satelliteEnabled_turnOnRadioSwitchDdsAndSetEmergencyMode() 366 when(mSatelliteController.isSatelliteEnabled()).thenReturn(false); in startEmergencyCall_satelliteEnabled_turnOnRadioSwitchDdsAndSetEmergencyMode() 394 when(mSatelliteController.isSatelliteEnabled()).thenReturn(true); in startEmergencyCall_satelliteOffFails_returnsDisconnectCauseSatelliteEnabled()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | RadioOnStateListener.java | 156 private SatelliteController mSatelliteController; field in RadioOnStateListener 207 mSatelliteController = SatelliteController.getInstance(); in startSequenceInternal() 224 if (mSatelliteController.isSatelliteEnabled()) { in startSequenceInternal() 395 if (mSatelliteController.isSatelliteEnabled()) { in onRetryTimeout() 396 mSatelliteController.requestSatelliteEnabled(mPhone.getSubId(), in onRetryTimeout() 500 mSatelliteController.registerForSatelliteModemStateChanged( in registerForSatelliteEnabledChanged() 509 mSatelliteController.unregisterForModemStateChanged(subId, mSatelliteCallback); in unregisterForSatelliteEnabledChanged()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataCallSessionStats.java | 68 private final SatelliteController mSatelliteController; field in DataCallSessionStats 73 mSatelliteController = SatelliteController.getInstance(); in DataCallSessionStats() 340 proto.isNtn = mSatelliteController != null in getDefaultProto() 341 ? mSatelliteController.isInSatelliteModeForCarrierRoaming(mPhone) : false; in getDefaultProto()
|
D | VoiceCallSessionStats.java | 176 private final SatelliteController mSatelliteController; field in VoiceCallSessionStats 183 mSatelliteController = SatelliteController.getInstance(); in VoiceCallSessionStats() 582 proto.isNtn = mSatelliteController != null in finishCall() 583 ? mSatelliteController.isInSatelliteModeForCarrierRoaming(mPhone) : false; in finishCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | DataCallSessionStatsTest.java | 318 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())).thenReturn(true); in testIsNtn() 340 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())) in testIsNtn()
|
D | ServiceStateStatsTest.java | 1353 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())).thenReturn(true); in testIsNtn()
|
D | VoiceCallSessionStatsTest.java | 2765 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())).thenReturn(true); in testIsNtn() 2781 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())) in testIsNtn()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTrackerTest.java | 148 private SatelliteController mSatelliteController; field in ServiceStateTrackerTest 260 mSatelliteController = Mockito.mock(SatelliteController.class); in setUp() 262 mSatelliteController); in setUp() 263 doReturn(new ArrayList<>()).when(mSatelliteController).getSatellitePlmnsForCarrier( in setUp() 590 clearInvocations(mSatelliteController); in testSetRadioPowerForReason() 597 verify(mSatelliteController).onCellularRadioPowerOffRequested(); in testSetRadioPowerForReason() 598 clearInvocations(mSatelliteController); in testSetRadioPowerForReason() 605 verify(mSatelliteController, never()).onCellularRadioPowerOffRequested(); in testSetRadioPowerForReason() 613 verify(mSatelliteController, never()).onCellularRadioPowerOffRequested(); in testSetRadioPowerForReason() 3436 doReturn(Arrays.asList("10123")).when(mSatelliteController).getSatellitePlmnsForCarrier( in testRegisterToSatellite() [all …]
|
D | TelephonyTest.java | 288 protected SatelliteController mSatelliteController; field in TelephonyTest 575 mSatelliteController = Mockito.mock(SatelliteController.class); in setUp() 973 replaceInstance(SatelliteController.class, "sInstance", null, mSatelliteController); in setUp()
|