/frameworks/base/services/core/java/com/android/server/location/countrydetector/ |
D | ComprehensiveCountryDetector.java | 81 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/ |
D | DataConnectionStats.java | 49 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/ |
D | TrackerService.java | 147 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/ |
D | DataEnabledSettings.java | 165 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/ |
D | GpsNetInitiatedHandler.java | 93 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/ |
D | CarrierTextManager.java | 131 private final ActiveDataSubscriptionIdListener mPhoneStateListener = field in CarrierTextManager 266 mTelephonyListenerManager.addActiveDataSubscriptionIdListener(mPhoneStateListener); in handleSetListening() 277 mTelephonyListenerManager.removeActiveDataSubscriptionIdListener(mPhoneStateListener); in handleSetListening()
|
D | KeyguardUpdateMonitor.java | 382 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/ |
D | SoundTriggerHelper.java | 96 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/ |
D | LegacyGlobalActions.java | 149 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions() 761 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 752 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/ |
D | NetworkControllerImpl.java | 132 private TelephonyCallback.ActiveDataSubscriptionIdListener mPhoneStateListener; field in NetworkControllerImpl 413 mPhoneStateListener = subId -> { in NetworkControllerImpl() 470 mTelephonyListenerManager.addActiveDataSubscriptionIdListener(mPhoneStateListener); in registerListeners()
|
D | UserSwitcherController.java | 519 mTelephonyListenerManager.addCallStateListener(mPhoneStateListener); in listenForCallState() 522 private final TelephonyCallback.CallStateListener mPhoneStateListener = field in UserSwitcherController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 383 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/ |
D | CarrierResolver.java | 247 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierResolver
|