/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 72 private PhoneStateListener mPhoneStateListener; field in SarManagerTest 124 mPhoneStateListener = phoneStateListenerCaptor.getValue(); in createSarManager() 162 assertNotNull(mPhoneStateListener); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 173 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 189 assertNotNull(mPhoneStateListener); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn() 192 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn() 209 assertNotNull(mPhoneStateListener); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 221 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 228 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 243 assertNotNull(mPhoneStateListener); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook() [all …]
|
D | WifiStateMachineTest.java | 337 PhoneStateListener mPhoneStateListener; field in WifiStateMachineTest 451 mPhoneStateListener = phoneStateListener; in setUp() 1981 assertNull(mPhoneStateListener); in testVoiceCallSar_disabledTxPowerScenario_WifiOn()
|
/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 | 82 protected PhoneStateListener mPhoneStateListener; field in NetworkControllerBaseTest 162 mPhoneStateListener = mMobileSignalController.mPhoneStateListener; in setupNetworkController() 293 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength() 298 mPhoneStateListener.onServiceStateChanged(mServiceState); in updateServiceState() 303 mPhoneStateListener.onCallStateChanged(state, "0123456789"); in updateCallState() 308 mPhoneStateListener.onDataConnectionStateChanged(dataState, dataNetType); in updateDataConnectionState() 312 mPhoneStateListener.onDataActivity(dataActivity); in updateDataActivity() 317 mPhoneStateListener.onCarrierNetworkChange(enable); in setCarrierNetworkChange()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SarManager.java | 66 private final WifiPhoneStateListener mPhoneStateListener; field in SarManager 81 mPhoneStateListener = new WifiPhoneStateListener(looper); in SarManager() 169 mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in registerPhoneListener()
|
/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 | 83 private PhoneStateListener mPhoneStateListener; field in DcController 110 mPhoneStateListener = new PhoneStateListener(handler.getLooper()) { in DcController() 127 mTelephonyManager.listen(mPhoneStateListener, in DcController() 140 if(mTelephonyManager != null) mTelephonyManager.listen(mPhoneStateListener, 0); in dispose()
|
/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/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 99 private final PhoneStateListener mPhoneStateListener; field in GpsNetInitiatedHandler 192 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 | 58 final PhoneStateListener mPhoneStateListener; field in MobileSignalController 89 mPhoneStateListener = new MobilePhoneStateListener(info.getSubscriptionId(), in MobileSignalController() 151 mPhone.listen(mPhoneStateListener, in registerListener() 169 mPhone.listen(mPhoneStateListener, 0); in unregisterListener()
|
D | UserSwitcherController.java | 455 TelephonyManager.from(mContext).listen(mPhoneStateListener, in listenForCallState() 459 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in UserSwitcherController
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 87 private final PhoneStateListener mPhoneStateListener; field in SoundTriggerHelper 119 mPhoneStateListener = new MyCallStateListener(); in SoundTriggerHelper() 833 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked() 895 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeTelephonyAndPowerStateListeners()
|
/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 | 188 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog() 1266 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|