/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 84 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 …]
|
D | ClientModeImplTest.java | 340 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/ |
D | TelephonyRegistryTest.java | 45 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/ |
D | ComprehensiveCountryDetector.java | 81 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/ |
D | NetworkControllerBaseTest.java | 86 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()
|
D | NetworkControllerDataTest.java | 186 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/ |
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/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 75 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/ |
D | DcController.java | 74 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()
|
D | DataEnabledSettings.java | 151 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/ |
D | DataConnectionStats.java | 56 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/ |
D | SarManager.java | 87 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/ |
D | GpsNetInitiatedHandler.java | 96 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/ |
D | MobileSignalController.java | 63 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()
|
D | NetworkControllerImpl.java | 115 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()
|
D | UserSwitcherController.java | 458 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/ |
D | CarrierTextController.java | 130 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/ |
D | SoundTriggerHelper.java | 88 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/ |
D | PhoneSwitcher.java | 165 public final PhoneStateListener mPhoneStateListener; field in PhoneSwitcher 309 mPhoneStateListener = new PhoneStateListener(looper) { in PhoneSwitcher() 348 mPhoneStateListener = new PhoneStateListener(looper) { in PhoneSwitcher()
|
D | CarrierResolver.java | 182 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierResolver
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 148 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions() 762 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 198 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog() 1418 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|