Home
last modified time | relevance | path

Searched refs:mSatelliteController (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommender.java99 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 …]
DDemoSimulator.java49 @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()
DSatelliteSessionController.java146 @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()
DSatelliteModemInterface.java77 @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/
DRadioOnStateListenerTest.java93 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()
DEmergencyStateTrackerTest.java349 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/
DRadioOnStateListener.java156 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/
DDataCallSessionStats.java68 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()
DVoiceCallSessionStats.java176 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/
DDataCallSessionStatsTest.java318 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())).thenReturn(true); in testIsNtn()
340 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())) in testIsNtn()
DServiceStateStatsTest.java1353 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())).thenReturn(true); in testIsNtn()
DVoiceCallSessionStatsTest.java2765 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/
DServiceStateTrackerTest.java148 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 …]
DTelephonyTest.java288 protected SatelliteController mSatelliteController; field in TelephonyTest
575 mSatelliteController = Mockito.mock(SatelliteController.class); in setUp()
973 replaceInstance(SatelliteController.class, "sInstance", null, mSatelliteController); in setUp()