/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyRegistryTest.java | 69 private PhoneStateListenerWrapper mPhoneStateListener; field in TelephonyRegistryTest 172 mPhoneStateListener = new PhoneStateListenerWrapper(); in setUp() 192 mContext.getAttributionTag(), mPhoneStateListener.callback, in testPhoneCapabilityChanged() 213 mContext.getAttributionTag(), mPhoneStateListener.callback, in testActiveDataSubChanged() 240 mContext.getAttributionTag(), mPhoneStateListener.callback, in testSrvccStateChanged() 265 mContext.getAttributionTag(), mPhoneStateListener.callback, in testSrvccStateChangedNoPermission() 279 mContext.getAttributionTag(), mPhoneStateListener.callback, in testMultiSimConfigChange() 318 mContext.getAttributionTag(), mPhoneStateListener.callback, in testPreciseDataConnectionStateChanged() 322 assertEquals(mPhoneStateListener.invocationCount.get(), 1); in testPreciseDataConnectionStateChanged() 331 assertEquals(mPhoneStateListener.invocationCount.get(), 2); in testPreciseDataConnectionStateChanged() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 67 private PhoneStateListener mPhoneStateListener; field in SarManagerTest 134 mPhoneStateListener = phoneStateListenerCaptor.getValue(); in createSarManager() 135 assertNotNull(mPhoneStateListener); in createSarManager() 182 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 200 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn() 230 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 237 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 260 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook() 263 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook() 292 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook() [all …]
|
D | WifiServiceImplTest.java | 242 private PhoneStateListener mPhoneStateListener; field in WifiServiceImplTest 5517 mPhoneStateListener = phoneStateListenerCaptor.getValue(); in testPhoneActiveDataSubscriptionIdChangedUpdateSoftApCapability() 5518 assertNotNull(mPhoneStateListener); in testPhoneActiveDataSubscriptionIdChangedUpdateSoftApCapability() 5519 mPhoneStateListener.onActiveDataSubscriptionIdChanged(2); in testPhoneActiveDataSubscriptionIdChangedUpdateSoftApCapability()
|
/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 | 99 protected PhoneStateListener mPhoneStateListener; field in NetworkControllerBaseTest 222 mPhoneStateListener = mMobileSignalController.mPhoneStateListener; in setupNetworkController() 352 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength() 357 mPhoneStateListener.onServiceStateChanged(mServiceState); in updateServiceState() 358 mPhoneStateListener.onDisplayInfoChanged(mTelephonyDisplayInfo); in updateServiceState() 363 mPhoneStateListener.onCallStateChanged(state, "0123456789"); in updateCallState() 375 mPhoneStateListener.onDataConnectionStateChanged(dataState, dataNetType); in updateDataConnectionState() 379 mPhoneStateListener.onDataActivity(dataActivity); in updateDataActivity() 384 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 59 mPhoneStateListener = new PhoneStateListenerImpl(listenerHandler.getLooper()); in DataConnectionStats() 65 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/net/wifi/service/java/com/android/server/wifi/ |
D | SarManager.java | 93 private final WifiPhoneStateListener mPhoneStateListener; field in SarManager 111 mPhoneStateListener = new WifiPhoneStateListener(looper); in SarManager() 293 mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in registerPhoneStateListener()
|
D | WifiDataStall.java | 77 private final PhoneStateListener mPhoneStateListener; field in WifiDataStall 93 mPhoneStateListener = new PhoneStateListener(new HandlerExecutor(handler)) { in WifiDataStall() 149 mTelephonyManager.listen(mPhoneStateListener, in enablePhoneStateListener() 160 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in disablePhoneStateListener()
|
/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/base/location/java/com/android/internal/location/ |
D | GpsNetInitiatedHandler.java | 97 private final PhoneStateListener mPhoneStateListener; field in GpsNetInitiatedHandler 198 mPhoneStateListener = new PhoneStateListener() { in GpsNetInitiatedHandler() 211 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in GpsNetInitiatedHandler()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileSignalController.java | 67 final PhoneStateListener mPhoneStateListener; field in MobileSignalController 102 mPhoneStateListener = new MobilePhoneStateListener((new Handler(receiverLooper))::post); 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 290 mPhoneStateListener = new PhoneStateListener(mReceiverHandler::post) { in NetworkControllerImpl() 342 mPhone.listen(mPhoneStateListener, LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE); in registerListeners()
|
D | UserSwitcherController.java | 469 tele.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in listenForCallState() 473 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in UserSwitcherController
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 133 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierTextController 257 telephonyManager.listen(mPhoneStateListener, in handleSetListening() 269 telephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in handleSetListening()
|
D | KeyguardUpdateMonitor.java | 334 public PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in KeyguardUpdateMonitor 1794 mTelephonyManager.listen(mPhoneStateListener, in KeyguardUpdateMonitor() 2918 telephony.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in destroy()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 95 private final PhoneStateListener mPhoneStateListener; field in SoundTriggerHelper 134 mPhoneStateListener = new MyCallStateListener(); in SoundTriggerHelper() 1024 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in internalClearGlobalStateLocked() 1097 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in initializeTelephonyAndPowerStateListeners()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 147 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions() 759 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 | 618 mKeyguardUpdateMonitor.mPhoneStateListener.onActiveDataSubscriptionIdChanged( in testGetSubscriptionInfo_whenInGroupedSubWithOpportunistic()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 184 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() { field in CarrierResolver
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialog.java | 356 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog() 2029 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
|