Home
last modified time | relevance | path

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

/packages/services/Telephony/tests/src/com/android/phone/satellite/entitlement/
DSatelliteEntitlementControllerTest.java109 @Mock SatelliteController mSatelliteController; field in SatelliteEntitlementControllerTest
123 replaceInstance(SatelliteController.class, "sInstance", null, mSatelliteController); in setUp()
186 verify(mSatelliteController, never()).onSatelliteEntitlementStatusUpdated(anyInt(), in testShouldStartQueryEntitlement()
197 verify(mSatelliteController, never()).onSatelliteEntitlementStatusUpdated(anyInt(), in testShouldStartQueryEntitlement()
206 verify(mSatelliteController, never()).onSatelliteEntitlementStatusUpdated(anyInt(), in testShouldStartQueryEntitlement()
219 verify(mSatelliteController, never()).onSatelliteEntitlementStatusUpdated(anyInt(), in testShouldStartQueryEntitlement()
233 verify(mSatelliteController, never()).onSatelliteEntitlementStatusUpdated(anyInt(), in testShouldStartQueryEntitlement()
246 verify(mSatelliteController).onSatelliteEntitlementStatusUpdated(anyInt(), in testShouldStartQueryEntitlement()
260 verify(mSatelliteController, never()).onSatelliteEntitlementStatusUpdated(anyInt(), in testCheckSatelliteEntitlementStatus()
275 verify(mSatelliteController).onSatelliteEntitlementStatusUpdated(eq(SUB_ID), in testCheckSatelliteEntitlementStatus()
[all …]
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessController.java152 private final SatelliteController mSatelliteController; field in SatelliteAccessController
272 mSatelliteController = SatelliteController.getInstance(); in SatelliteAccessController()
280 mSatelliteController.registerForConfigUpdateChanged(this, EVENT_CONFIG_DATA_UPDATED, in SatelliteAccessController()
315 mSatelliteController.registerForSatelliteSupportedStateChanged( in SatelliteAccessController()
334 mSatelliteController.registerForSatelliteProvisionStateChanged( in SatelliteAccessController()
650 SatelliteConfig satelliteConfig = mSatelliteController.getSatelliteConfig(); in updateSatelliteConfigData()
850 mSatelliteController.requestIsSatelliteSupported( in handleCmdIsSatelliteAllowedForCurrentLocation()
1284 if (mSatelliteController.isInEmergencyMode()) { in isInEmergency()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java434 private final SatelliteController mSatelliteController; field in PhoneInterfaceManager
2477 mSatelliteController = SatelliteController.getInstance(); in PhoneInterfaceManager()
12695 return mSatelliteController.getSatellitePlmnsForCarrier(subId); in getSatellitePlmnsForCarrier()
13095 mSatelliteController.requestSatelliteEnabled( in requestSatelliteEnabled()
13106 mSatelliteController.requestSatelliteEnabled( in requestSatelliteEnabled()
13123 mSatelliteController.requestIsSatelliteEnabled(subId, result); in requestIsSatelliteEnabled()
13139 mSatelliteController.requestIsDemoModeEnabled(subId, result); in requestIsDemoModeEnabled()
13167 mSatelliteController.requestIsSatelliteSupported(subId, result); in requestIsSatelliteSupported()
13182 mSatelliteController.requestSatelliteCapabilities(subId, result); in requestSatelliteCapabilities()
13201 mSatelliteController.startSatelliteTransmissionUpdates(subId, resultCallback, callback); in startSatelliteTransmissionUpdates()
[all …]
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java241 @Mock SatelliteController mSatelliteController; field in TelephonyConnectionServiceTest
324 "mSatelliteController", mTestConnectionService, mSatelliteController); in setUp()
1437 when(mSatelliteController.isSatelliteEnabled()).thenReturn(true); in testCreateOutgoingEmergencyConnection_exitingSatellite_placeCall()
1453 when(mSatelliteController.isSatelliteEnabled()).thenReturn(false); in testCreateOutgoingEmergencyConnection_exitingSatellite_placeCall()
3640 doReturn(true).when(mSatelliteController).isSatelliteEnabled(); in testNormalCallSatelliteEnabled()
3653 doReturn(true).when(mSatelliteController).isSatelliteEnabled(); in testEmergencyCallSatelliteEnabled_blockEmergencyCall()
3674 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())).thenReturn(true); in testNormalCallUsingNonTerrestrialNetwork_enableFlag()
3675 when(mSatelliteController.getCapabilitiesForCarrierRoamingSatelliteMode(any())) in testNormalCallUsingNonTerrestrialNetwork_enableFlag()
3686 when(mSatelliteController.getCapabilitiesForCarrierRoamingSatelliteMode(any())) in testNormalCallUsingNonTerrestrialNetwork_enableFlag()
3701 when(mSatelliteController.isInSatelliteModeForCarrierRoaming(any())).thenReturn(true); in testNormalCallUsingSatelliteConnectedWithinHysteresisTime()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java248 private SatelliteController mSatelliteController; field in TelephonyConnectionService
899 mSatelliteController = SatelliteController.getInstance(); in onCreate()
1171 if (mSatelliteController.isSatelliteEnabled() in onCreateOutgoingConnection()
1172 || mSatelliteController.isSatelliteBeingEnabled()) { in onCreateOutgoingConnection()
1270 && (!mSatelliteController.isSatelliteEnabled() in onCreateOutgoingConnection()
1271 && !mSatelliteController.isSatelliteBeingEnabled())); in onCreateOutgoingConnection()
2135 if (!mSatelliteController.isSatelliteEnabled() in isSatelliteBlockingCall()
2136 && !mSatelliteController.isSatelliteBeingEnabled()) { in isSatelliteBlockingCall()
2141 if (mSatelliteController.isDemoModeEnabled()) { in isSatelliteBlockingCall()
4777 if (!mSatelliteController.isInSatelliteModeForCarrierRoaming(phone)) { in isCallDisallowedDueToSatellite()
[all …]