/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyRegistryTest.java | 68 private PhoneStateListenerWrapper mPhoneStateListener; field in TelephonyRegistryTest 169 mPhoneStateListener = new PhoneStateListenerWrapper(); in setUp() 189 mPhoneStateListener.callback, in testPhoneCapabilityChanged() 210 mPhoneStateListener.callback, in testActiveDataSubChanged() 237 null, mPhoneStateListener.callback, in testSrvccStateChanged() 262 null, mPhoneStateListener.callback, in testSrvccStateChangedNoPermission() 276 null, mPhoneStateListener.callback, in testMultiSimConfigChange() 315 null, mPhoneStateListener.callback, in testPreciseDataConnectionStateChanged() 319 assertEquals(mPhoneStateListener.invocationCount.get(), 1); in testPreciseDataConnectionStateChanged() 328 assertEquals(mPhoneStateListener.invocationCount.get(), 2); in testPreciseDataConnectionStateChanged() [all …]
|
/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 | 347 PhoneStateListener mPhoneStateListener; field in ClientModeImplTest 497 mPhoneStateListener = phoneStateListener; in setUp() 2345 assertNull(mPhoneStateListener); in testVoiceCallSar_disabledTxPowerScenario_WifiOn()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/ |
D | VendorDataResetEventTracker.java | 58 private PhoneStateListener mPhoneStateListener = null; field in VendorDataResetEventTracker 137 if (mPhoneStateListener == null) { in startResetEventTracker() 138 mPhoneStateListener = new PhoneStateListener() { in startResetEventTracker() 164 listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION); in startResetEventTracker() 175 if (mPhoneStateListener != null) { in stopResetEventTracker() 176 mTelephonyManager.listen(mPhoneStateListener, in stopResetEventTracker()
|
/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 | 94 protected PhoneStateListener mPhoneStateListener; field in NetworkControllerBaseTest 183 mPhoneStateListener = mMobileSignalController.mPhoneStateListener; in setupNetworkController() 316 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength() 321 mPhoneStateListener.onServiceStateChanged(mServiceState); in updateServiceState() 322 mPhoneStateListener.onDisplayInfoChanged(mTelephonyDisplayInfo); in updateServiceState() 327 mPhoneStateListener.onCallStateChanged(state, "0123456789"); in updateCallState() 339 mPhoneStateListener.onDataConnectionStateChanged(dataState, dataNetType); in updateDataConnectionState() 343 mPhoneStateListener.onDataActivity(dataActivity); in updateDataActivity() 348 mPhoneStateListener.onCarrierNetworkChange(enable); in setCarrierNetworkChange()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DataConnectionStats.java | 47 private final PhoneStateListener mPhoneStateListener; field in DataConnectionStats 58 mPhoneStateListener = new PhoneStateListenerImpl(listenerHandler.getLooper()); in DataConnectionStats() 64 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 | DcController.java | 95 private PhoneStateListener mPhoneStateListener; field in DcController 132 mPhoneStateListener = new PhoneStateListener(new HandlerExecutor(handler)) { in DcController() 147 mTelephonyManager.listen(mPhoneStateListener, in DcController() 160 if(mTelephonyManager != null) mTelephonyManager.listen(mPhoneStateListener, 0); in dispose()
|
D | DataEnabledSettings.java | 153 mTelephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in updatePhoneStateListener() 157 mTelephonyManager.listen(mPhoneStateListener, LISTEN_CALL_STATE); in updatePhoneStateListener() 160 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in DataEnabledSettings
|
/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 | 98 private final PhoneStateListener mPhoneStateListener; field in GpsNetInitiatedHandler 199 mPhoneStateListener = new PhoneStateListener() { in GpsNetInitiatedHandler() 212 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 123 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierTextController 230 telephonyManager.listen(mPhoneStateListener, in setListening() 243 telephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in setListening()
|
D | KeyguardUpdateMonitor.java | 397 public PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in KeyguardUpdateMonitor 1628 telephony.listen(mPhoneStateListener, LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE); in KeyguardUpdateMonitor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileSignalController.java | 67 final PhoneStateListener mPhoneStateListener; field in MobileSignalController 102 mPhoneStateListener = new MobilePhoneStateListener(receiverLooper); in MobileSignalController() 161 mPhone.listen(mPhoneStateListener, in registerListener() 181 mPhone.listen(mPhoneStateListener, 0); in unregisterListener()
|
D | NetworkControllerImpl.java | 109 private PhoneStateListener mPhoneStateListener; field in NetworkControllerImpl 282 mPhoneStateListener = new PhoneStateListener(bgLooper) { in NetworkControllerImpl() 333 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/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 88 private final PhoneStateListener mPhoneStateListener; field in SoundTriggerHelper 120 mPhoneStateListener = new MyCallStateListener(); in SoundTriggerHelper() 876 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked() 942 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeTelephonyAndPowerStateListeners()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 146 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions() 758 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 226 private PhoneStateListener mPhoneStateListener; field in TetheringTest 549 mPhoneStateListener = phoneListenerCaptor.getValue(); in setUp() 1475 mPhoneStateListener.onActiveDataSubscriptionIdChanged(fakeSubId); in testMultiSimAware() 1588 mPhoneStateListener.onActiveDataSubscriptionIdChanged(fakeSubId); in workingWifiP2pGroupOwnerLegacyMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 469 mKeyguardUpdateMonitor.mPhoneStateListener.onActiveDataSubscriptionIdChanged( in testGetSubscriptionInfo_whenInGroupedSubWithOpportunistic()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 199 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog() 1409 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 183 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierResolver
|