Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java81 private PhoneStateListener mPhoneStateListener; field in ComprehensiveCountryDetector
443 if (mPhoneStateListener == null) { in addPhoneStateListener()
444 mPhoneStateListener = new PhoneStateListener() { in addPhoneStateListener()
458 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in addPhoneStateListener()
463 if (mPhoneStateListener != null) { in removePhoneStateListener()
464 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in removePhoneStateListener()
465 mPhoneStateListener = null; in removePhoneStateListener()
/frameworks/base/services/core/java/com/android/server/am/
DDataConnectionStats.java49 private final PhoneStateListener mPhoneStateListener; field in DataConnectionStats
61 mPhoneStateListener = in DataConnectionStats()
68 phone.listen(mPhoneStateListener, in startMonitoring()
/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java165 mTelephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in updatePhoneStateListener()
169 mTelephonyManager.listen(mPhoneStateListener, LISTEN_CALL_STATE); in updatePhoneStateListener()
172 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in DataEnabledSettings
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java93 private final PhoneStateListener mPhoneStateListener; field in GpsNetInitiatedHandler
194 mPhoneStateListener = new PhoneStateListener() { in GpsNetInitiatedHandler()
207 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java131 private final ActiveDataSubscriptionIdListener mPhoneStateListener = field in CarrierTextManager
266 mTelephonyListenerManager.addActiveDataSubscriptionIdListener(mPhoneStateListener); in handleSetListening()
277 mTelephonyListenerManager.removeActiveDataSubscriptionIdListener(mPhoneStateListener); in handleSetListening()
DKeyguardUpdateMonitor.java382 public TelephonyCallback.ActiveDataSubscriptionIdListener mPhoneStateListener = field in KeyguardUpdateMonitor
2027 mTelephonyListenerManager.addActiveDataSubscriptionIdListener(mPhoneStateListener); in KeyguardUpdateMonitor()
3379 mTelephonyListenerManager.removeActiveDataSubscriptionIdListener(mPhoneStateListener); in destroy()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java96 private final PhoneStateListener mPhoneStateListener; field in SoundTriggerHelper
174 mPhoneStateListener = new MyCallStateListener(looper); in SoundTriggerHelper()
1052 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked()
1132 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeDeviceStateListeners()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java149 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions()
761 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java752 mKeyguardUpdateMonitor.mPhoneStateListener.onActiveDataSubscriptionIdChanged( in testGetSubscriptionInfo_whenInGroupedSubWithOpportunistic()
767 mKeyguardUpdateMonitor.mPhoneStateListener.onActiveDataSubscriptionIdChanged( in testActiveSubscriptionBecomesInactive()
774 mKeyguardUpdateMonitor.mPhoneStateListener.onActiveDataSubscriptionIdChanged( in testActiveSubscriptionBecomesInactive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java132 private TelephonyCallback.ActiveDataSubscriptionIdListener mPhoneStateListener; field in NetworkControllerImpl
413 mPhoneStateListener = subId -> { in NetworkControllerImpl()
470 mTelephonyListenerManager.addActiveDataSubscriptionIdListener(mPhoneStateListener); in registerListeners()
DUserSwitcherController.java519 mTelephonyListenerManager.addCallStateListener(mPhoneStateListener); in listenForCallState()
522 private final TelephonyCallback.CallStateListener mPhoneStateListener = field in UserSwitcherController
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java383 mTelephonyListenerManager.addServiceStateListener(mPhoneStateListener); in GlobalActionsDialogLite()
408 mTelephonyListenerManager.removeServiceStateListener(mPhoneStateListener); in destroy()
2014 private final TelephonyCallback.ServiceStateListener mPhoneStateListener =
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java247 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierResolver