Home
last modified time | relevance | path

Searched refs:mPhoneStateListener (Results 1 – 10 of 10) 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/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java153 private final ActiveDataSubscriptionIdListener mPhoneStateListener = field in CarrierTextManager
301 mTelephonyListenerManager.addActiveDataSubscriptionIdListener(mPhoneStateListener); in handleSetListening()
325 mTelephonyListenerManager.removeActiveDataSubscriptionIdListener(mPhoneStateListener); in handleSetListening()
DKeyguardUpdateMonitor.java433 public TelephonyCallback.ActiveDataSubscriptionIdListener mPhoneStateListener = field in KeyguardUpdateMonitor
2461 mTelephonyListenerManager.addActiveDataSubscriptionIdListener(mPhoneStateListener); in start()
3944 mTelephonyListenerManager.removeActiveDataSubscriptionIdListener(mPhoneStateListener); in destroy()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java150 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions()
763 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerImpl.java141 private TelephonyCallback.ActiveDataSubscriptionIdListener mPhoneStateListener; field in NetworkControllerImpl
450 mPhoneStateListener = subId -> { in NetworkControllerImpl()
508 mTelephonyListenerManager.addActiveDataSubscriptionIdListener(mPhoneStateListener); in registerListeners()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java430 mTelephonyListenerManager.addServiceStateListener(mPhoneStateListener); in GlobalActionsDialogLite()
455 mTelephonyListenerManager.removeServiceStateListener(mPhoneStateListener); in destroy()
2175 private final TelephonyCallback.ServiceStateListener mPhoneStateListener =
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java1199 mKeyguardUpdateMonitor.mPhoneStateListener.onActiveDataSubscriptionIdChanged( in testGetSubscriptionInfo_whenInGroupedSubWithOpportunistic()
1214 mKeyguardUpdateMonitor.mPhoneStateListener.onActiveDataSubscriptionIdChanged( in testActiveSubscriptionBecomesInactive()
1222 mKeyguardUpdateMonitor.mPhoneStateListener.onActiveDataSubscriptionIdChanged( in testActiveSubscriptionBecomesInactive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java252 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierResolver