Home
last modified time | relevance | path

Searched refs:mPhoneStateListener (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java84 private PhoneStateListener mPhoneStateListener; field in SarManagerTest
207 mPhoneStateListener = phoneStateListenerCaptor.getValue(); in createSarManager()
208 assertNotNull(mPhoneStateListener); in createSarManager()
262 mPhoneStateListener = phoneStateListenerCaptor.getValue(); in createSarManagerSensorNegTest()
263 assertNotNull(mPhoneStateListener); in createSarManagerSensorNegTest()
327 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()
345 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn()
375 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
382 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
405 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook()
[all …]
DClientModeImplTest.java340 PhoneStateListener mPhoneStateListener; field in ClientModeImplTest
488 mPhoneStateListener = phoneStateListener; in setUp()
2222 assertNull(mPhoneStateListener); in testVoiceCallSar_disabledTxPowerScenario_WifiOn()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java45 private PhoneStateListener mPhoneStateListener; field in TelephonyRegistryTest
79 mPhoneStateListener = new PhoneStateListenerWrapper();
110 mPhoneStateListener.callback, in testPhoneCapabilityChanged()
133 mPhoneStateListener.callback, in testActiveDataSubChanged()
161 mPhoneStateListener.callback, in testSrvccStateChanged()
187 mPhoneStateListener.callback, in testSrvccStateChangedNoPermission()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java81 private PhoneStateListener mPhoneStateListener; field in ComprehensiveCountryDetector
436 if (mPhoneStateListener == null) { in addPhoneStateListener()
437 mPhoneStateListener = new PhoneStateListener() { in addPhoneStateListener()
451 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in addPhoneStateListener()
456 if (mPhoneStateListener != null) { in removePhoneStateListener()
457 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in removePhoneStateListener()
458 mPhoneStateListener = null; in removePhoneStateListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java86 protected PhoneStateListener mPhoneStateListener; field in NetworkControllerBaseTest
171 mPhoneStateListener = mMobileSignalController.mPhoneStateListener; in setupNetworkController()
308 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength()
313 mPhoneStateListener.onServiceStateChanged(mServiceState); in updateServiceState()
318 mPhoneStateListener.onCallStateChanged(state, "0123456789"); in updateCallState()
323 mPhoneStateListener.onDataConnectionStateChanged(dataState, dataNetType); in updateDataConnectionState()
327 mPhoneStateListener.onDataActivity(dataActivity); in updateDataActivity()
332 mPhoneStateListener.onCarrierNetworkChange(enable); in setCarrierNetworkChange()
DNetworkControllerDataTest.java186 mPhoneStateListener.onServiceStateChanged(ss); in testNr5GIcon_NrConnectedWithoutMMWave_show5GIcon()
200 mPhoneStateListener.onServiceStateChanged(ss); in testNr5GIcon_NrConnectedWithMMWave_show5GPlusIcon()
213 mPhoneStateListener.onServiceStateChanged(mServiceState); in testNr5GIcon_NrRestricted_showLteIcon()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java147 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION); in initLocationListeners()
161 mTelephonyManager.listen(mPhoneStateListener, in initLocationListeners()
252 mTelephonyManager.listen(mPhoneStateListener, 0); in stopListeners()
344 PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in TrackerService
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java75 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in EmergencyAffordanceService
142 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in stopScanning()
179 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_INFO in startScanning()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java74 private PhoneStateListener mPhoneStateListener; field in DcController
101 mPhoneStateListener = new PhoneStateListener(handler.getLooper()) { in DcController()
118 mTelephonyManager.listen(mPhoneStateListener, in DcController()
131 if(mTelephonyManager != null) mTelephonyManager.listen(mPhoneStateListener, 0); in dispose()
DDataEnabledSettings.java151 mTelephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in updatePhoneStateListener()
155 mTelephonyManager.listen(mPhoneStateListener, LISTEN_CALL_STATE); in updatePhoneStateListener()
158 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in DataEnabledSettings
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java56 phone.listen(mPhoneStateListener, in startMonitoring()
131 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in DataConnectionStats
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSarManager.java87 private final WifiPhoneStateListener mPhoneStateListener; field in SarManager
111 mPhoneStateListener = new WifiPhoneStateListener(looper); in SarManager()
311 mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in registerPhoneStateListener()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java96 private final PhoneStateListener mPhoneStateListener; field in GpsNetInitiatedHandler
189 mPhoneStateListener = new PhoneStateListener() { in GpsNetInitiatedHandler()
202 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java63 final PhoneStateListener mPhoneStateListener; field in MobileSignalController
98 mPhoneStateListener = new MobilePhoneStateListener(receiverLooper); in MobileSignalController()
160 mPhone.listen(mPhoneStateListener, in registerListener()
178 mPhone.listen(mPhoneStateListener, 0); in unregisterListener()
DNetworkControllerImpl.java115 private PhoneStateListener mPhoneStateListener; field in NetworkControllerImpl
278 mPhoneStateListener = new PhoneStateListener(bgLooper) { in NetworkControllerImpl()
300 mPhone.listen(mPhoneStateListener, LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE); in registerListeners()
DUserSwitcherController.java458 TelephonyManager.from(mContext).listen(mPhoneStateListener, in listenForCallState()
462 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in UserSwitcherController
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java130 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierTextController
239 telephonyManager.listen(mPhoneStateListener, in setListening()
252 telephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in setListening()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java88 private final PhoneStateListener mPhoneStateListener; field in SoundTriggerHelper
120 mPhoneStateListener = new MyCallStateListener(); in SoundTriggerHelper()
868 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked()
930 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeTelephonyAndPowerStateListeners()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java165 public final PhoneStateListener mPhoneStateListener; field in PhoneSwitcher
309 mPhoneStateListener = new PhoneStateListener(looper) { in PhoneSwitcher()
348 mPhoneStateListener = new PhoneStateListener(looper) { in PhoneSwitcher()
DCarrierResolver.java182 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierResolver
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java148 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions()
762 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java198 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog()
1418 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {