Home
last modified time | relevance | path

Searched refs:SatelliteException (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/satellite/
DSatelliteDialogUtilsTest.kt24 import android.telephony.satellite.SatelliteManager.SatelliteException in <lambda>()
72 any(), any<OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>() in <lambda>()
78 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>( in <lambda>()
100 any(), any<OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>() in <lambda>()
106 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>( in <lambda>()
141 any(), any<OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>() in <lambda>()
147 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>>( in <lambda>()
150 receiver.onError(SatelliteException(SatelliteManager.SATELLITE_RESULT_ERROR)) in <lambda>()
/frameworks/base/telephony/java/android/telephony/satellite/
DSatelliteManager.java131 public static class SatelliteException extends Exception { class in SatelliteManager
140 public SatelliteException(@SatelliteResult int errorCode) { in SatelliteException() method in SatelliteManager.SatelliteException
591 @NonNull OutcomeReceiver<Boolean, SatelliteException> callback) { in requestIsEnabled()
610 callback.onError(new SatelliteException( in requestIsEnabled()
615 callback.onError(new SatelliteException(resultCode)))); in requestIsEnabled()
623 new SatelliteException(SATELLITE_RESULT_ILLEGAL_STATE)))); in requestIsEnabled()
628 new SatelliteException(SATELLITE_RESULT_ILLEGAL_STATE)))); in requestIsEnabled()
648 @NonNull OutcomeReceiver<Boolean, SatelliteException> callback) { in requestIsDemoModeEnabled()
667 callback.onError(new SatelliteException( in requestIsDemoModeEnabled()
672 callback.onError(new SatelliteException(resultCode)))); in requestIsDemoModeEnabled()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/
DDeviceBasedSatelliteRepositoryImplTest.kt36 import android.telephony.satellite.SatelliteManager.SatelliteException
193 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_readsSatelliteManagerState_enabled()
200 any<OutcomeReceiver<Boolean, SatelliteException>>() in isSatelliteAllowed_readsSatelliteManagerState_enabled()
216 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_readsSatelliteManagerState_disabled()
223 any<OutcomeReceiver<Boolean, SatelliteException>>() in isSatelliteAllowed_readsSatelliteManagerState_disabled()
239 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_pollsOnTimeout()
246 any<OutcomeReceiver<Boolean, SatelliteException>>() in isSatelliteAllowed_pollsOnTimeout()
283 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_pollingRestartsWhenCollectionRestarts()
290 any<OutcomeReceiver<Boolean, SatelliteException>>() in isSatelliteAllowed_pollingRestartsWhenCollectionRestarts()
316 val receiver = it.arguments[1] as OutcomeReceiver<Boolean, SatelliteException> in isSatelliteAllowed_falseWhenErrorOccurs()
[all …]
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/
DSatelliteManagerWrapper.java21 import static android.telephony.satellite.SatelliteManager.SatelliteException;
515 new OutcomeReceiver<Boolean, SatelliteException>() { in requestIsEnabled()
522 public void onError(SatelliteException exception) { in requestIsEnabled()
534 new OutcomeReceiver<Boolean, SatelliteException>() { in requestIsDemoModeEnabled()
541 public void onError(SatelliteException exception) { in requestIsDemoModeEnabled()
553 new OutcomeReceiver<Boolean, SatelliteException>() { in requestIsEmergencyModeEnabled()
560 public void onError(SatelliteException exception) { in requestIsEmergencyModeEnabled()
572 new OutcomeReceiver<Boolean, SatelliteException>() { in requestIsSupported()
579 public void onError(SatelliteException exception) { in requestIsSupported()
591 new OutcomeReceiver<SatelliteCapabilities, SatelliteException>() { in requestCapabilities()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/
DDeviceBasedSatelliteRepositoryImpl.kt391 object : OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> { in queryIsSatelliteProvisioned()
397 override fun onError(exception: SatelliteManager.SatelliteException) { in queryIsSatelliteProvisioned()
493 object : OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> { in checkIsSatelliteAllowed()
494 override fun onError(e: SatelliteManager.SatelliteException) { in checkIsSatelliteAllowed()
513 object : OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> { in checkSatelliteSupported()
524 override fun onError(error: SatelliteManager.SatelliteException) { in checkSatelliteSupported()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/satellite/
DSatelliteDialogUtils.kt122 object : OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> { in <lambda>()
128 override fun onError(error: SatelliteManager.SatelliteException) { in <lambda>()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DPointingAppControllerTest.java45 import android.telephony.satellite.SatelliteManager.SatelliteException;
256 SatelliteException exception = (error == SatelliteManager.SATELLITE_RESULT_SUCCESS) in setUpResponseForStartTransmissionUpdates()
257 ? null : new SatelliteException(error); in setUpResponseForStartTransmissionUpdates()
268 SatelliteException exception = (error == SatelliteManager.SATELLITE_RESULT_SUCCESS) in setUpResponseForStopTransmissionUpdates()
269 ? null : new SatelliteException(error); in setUpResponseForStopTransmissionUpdates()
DSatelliteControllerTest.java121 import android.telephony.satellite.SatelliteManager.SatelliteException;
3829 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestIsSatelliteEnabled()
3830 ? null : new SatelliteException(error); in setUpResponseForRequestIsSatelliteEnabled()
3842 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestIsSatelliteSupported()
3843 ? null : new SatelliteException(error); in setUpResponseForRequestIsSatelliteSupported()
3854 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestTimeForNextSatelliteVisibility()
3855 ? null : new SatelliteException(error); in setUpResponseForRequestTimeForNextSatelliteVisibility()
3868 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpNullResponseForRequestTimeForNextSatelliteVisibility()
3869 ? null : new SatelliteException(error); in setUpNullResponseForRequestTimeForNextSatelliteVisibility()
3881 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestIsSatelliteProvisioned()
[all …]
DSatelliteSOSMessageRecommenderTest.java830 public OutcomeReceiver<Boolean, SatelliteManager.SatelliteException>
856 @NonNull OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> callback) { in requestIsSatelliteCommunicationAllowedForCurrentLocation()
DDatagramReceiverTest.java253 new SatelliteManager.SatelliteException( in testPollPendingSatelliteDatagrams_usingSatelliteModemInterface_failure()
DDatagramDispatcherTest.java433 new SatelliteManager.SatelliteException( in testSendSatelliteDatagram_failure()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteServiceUtils.java251 if (ar.exception instanceof SatelliteManager.SatelliteException) { in getSatelliteError()
252 errorCode = ((SatelliteManager.SatelliteException) ar.exception).getErrorCode(); in getSatelliteError()
DSatelliteSOSMessageRecommender.java769 OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> callback = in requestIsSatelliteAllowedForCurrentLocation()
779 public void onError(SatelliteManager.SatelliteException ex) { in requestIsSatelliteAllowedForCurrentLocation()
790 @NonNull OutcomeReceiver<Boolean, SatelliteManager.SatelliteException> callback) { in requestIsSatelliteCommunicationAllowedForCurrentLocation()
DSatelliteModemInterface.java42 import android.telephony.satellite.SatelliteManager.SatelliteException;
1445 SatelliteException exception = error == SatelliteManager.SATELLITE_RESULT_SUCCESS in sendMessageWithResult()
1446 ? null : new SatelliteException(error); in sendMessageWithResult()
DDatagramDispatcher.java487 SatelliteManager.SatelliteException exception = in handleEventSatelliteAlignedTimeout()
488 new SatelliteManager.SatelliteException( in handleEventSatelliteAlignedTimeout()
DDatagramReceiver.java812 SatelliteManager.SatelliteException exception = in handleEventSatelliteAlignedTimeout()
813 new SatelliteManager.SatelliteException( in handleEventSatelliteAlignedTimeout()
DPointingAppController.java348 AsyncResult.forMessage(message, null, new SatelliteManager.SatelliteException( in startSatelliteTransmissionUpdates()
/frameworks/base/core/api/
Dsystem-lint-baseline.txt2292 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>):
2293 …OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>)
2294 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>):
2295 …OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>)
2296 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>):
2297 …OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>)
2298 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>):
2299 …OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>)
2300 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>):
2301 …OutcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>)
[all …]
Dsystem-current.txt17855 ….satellite.SatelliteCapabilities,android.telephony.satellite.SatelliteManager.SatelliteException>);
17857 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17858 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17859 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17860 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17861 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17862 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17863 …utcomeReceiver<java.lang.Boolean,android.telephony.satellite.SatelliteManager.SatelliteException>);
17864 …hony.satellite.NtnSignalStrength,android.telephony.satellite.SatelliteManager.SatelliteException>);
17865 …tcomeReceiver<java.time.Duration,android.telephony.satellite.SatelliteManager.SatelliteException>);
[all …]