/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | SignalStrengthListenerTest.java | 95 verify(mManager1).listen(captor1.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_beforeResume_startedListening() 96 verify(mManager2).listen(captor2.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_beforeResume_startedListening() 97 verify(mManager3, never()).listen(any(), anyInt()); in updateSubscriptionIds_beforeResume_startedListening() 108 verify(mManager1).listen(any(PhoneStateListener.class), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_twoCalls_oneIdAdded() 109 verify(mManager2).listen(any(PhoneStateListener.class), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_twoCalls_oneIdAdded() 112 verify(mManager1, never()).listen(any(PhoneStateListener.class), eq(LISTEN_NONE)); in updateSubscriptionIds_twoCalls_oneIdAdded() 113 verify(mManager2, never()).listen(any(PhoneStateListener.class), eq(LISTEN_NONE)); in updateSubscriptionIds_twoCalls_oneIdAdded() 114 verify(mManager3).listen(any(PhoneStateListener.class), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_twoCalls_oneIdAdded() 123 verify(mManager1).listen(captor1.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_twoCalls_oneIdRemoved() 124 verify(mManager2).listen(any(PhoneStateListener.class), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_twoCalls_oneIdRemoved() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneStateTest.java | 119 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE)); in testListenForPhoneState_ServiceOnly() 133 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrength() 146 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 149 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 150 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE)); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 161 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll() 164 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll() 179 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_MultiDevice_AllUpAllDown() 188 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testListenForPhoneState_MultiDevice_AllUpAllDown() 202 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE)); in testListenForPhoneState_MultiDevice_PartialUpPartialDown() [all …]
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | VvmSimStateTracker.java | 81 public void listen() { in listen() method in VvmSimStateTracker.ServiceStateListener 87 telephonyManager.listen(this, PhoneStateListener.LISTEN_SERVICE_STATE); in listen() 95 .listen(this, PhoneStateListener.LISTEN_NONE); in unlisten() 240 listener.listen(); in listenToAccount()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkPreferenceControllerTest.java | 118 verify(mTelephonyManager).listen(mController.mPhoneStateListener, in goThroughLifecycle_isAvailable_shouldListenToServiceChange() 122 verify(mTelephonyManager).listen(mController.mPhoneStateListener, in goThroughLifecycle_isAvailable_shouldListenToServiceChange() 140 verify(mTelephonyManager).listen(mController.mPhoneStateListener, in serviceStateChange_shouldUpdatePrefSummary()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ConnectivityUtil.java | 92 mTelephonyManager.listen(mPhoneStateListener, in register() 102 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in unregister()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | SignalStrengthListener.java | 86 mgr.listen(mListeners.get(subId), PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); in startListening() 91 mgr.listen(mListeners.get(subId), PhoneStateListener.LISTEN_NONE); in stopListening()
|
D | Enhanced4gLtePreferenceController.java | 175 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 179 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
|
D | VideoCallingPreferenceController.java | 164 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 168 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
|
D | WifiCallingPreferenceController.java | 210 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 215 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowTelephonyManager.java | 50 protected void listen(PhoneStateListener listener, int flags) { in listen() method in ShadowTelephonyManager 51 super.listen(listener, flags); in listen()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AirplaneModeEnabler.java | 98 mTelephonyManager.listen(mPhoneStateListener, in resume() 103 mTelephonyManager.listen(mPhoneStateListener, in pause()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkPreferenceController.java | 110 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in onStart() 121 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onStop()
|
D | ApnSettings.java | 180 mTelephonyManager.listen(mPhoneStateListener, in restartPhoneStateListener() 185 mTelephonyManager.listen(mPhoneStateListener, in restartPhoneStateListener() 269 mTelephonyManager.listen(mPhoneStateListener, in onPause()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SpeedDialFragment.java | 245 speedDialLoaderListener.listen( in loadContacts() 260 speedDialLoaderListener.listen( in onActivityResult() 461 speedDialLoaderListener.listen( in removeFavoriteContact() 575 speedDialLoaderListener.listen( in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | MobileNetworkPreferenceController.java | 116 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in onStart() 127 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onStop()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailErrorManager.java | 128 telephonyManager.listen(serviceStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in addServiceStateListener() 163 telephonyManager.listen(listener, PhoneStateListener.LISTEN_NONE); in onDestroy()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | Enhanced4gLtePreferenceController.java | 175 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 179 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
|
D | WifiCallingPreferenceController.java | 183 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 187 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
|
D | VideoCallingPreferenceController.java | 166 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 170 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
|
/packages/apps/Dialer/java/com/android/dialer/precall/impl/ |
D | PreCallCoordinatorImpl.java | 171 public <OutputT> void listen( in listen() method in PreCallCoordinatorImpl 176 uiListener.listen( in listen()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmService.java | 118 mTelephonyManager.listen(mPhoneStateListener.init(), PhoneStateListener.LISTEN_CALL_STATE); in startAlarm() 133 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in stopCurrentAlarm()
|
D | AlarmService.kt | 81 mTelephonyManager.listen(mPhoneStateListener.init(), PhoneStateListener.LISTEN_CALL_STATE) in startAlarm() 96 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE) in stopCurrentAlarm()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneState.java | 159 mTelephonyManager.listen(mPhoneStateListener, events); in startListenForPhoneState() 169 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in stopListenForPhoneState()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallFeaturesSetting.java | 279 private void listenPhoneState(boolean listen) { in listenPhoneState() argument 282 telephonyManager.listen(mPhoneStateListener, listen in listenPhoneState()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 141 telephonyManager.listen(mPhoneStateListener, in onStart() 170 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onStop()
|