/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 | 122 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE)); in testListenForPhoneState_ServiceOnly() 136 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrength() 149 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 152 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 153 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE)); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 164 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll() 167 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll() 182 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE in testListenForPhoneState_MultiDevice_AllUpAllDown() 191 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_NONE)); in testListenForPhoneState_MultiDevice_AllUpAllDown() 205 verify(mTelephonyManager).listen(any(), eq(PhoneStateListener.LISTEN_SERVICE_STATE)); in testListenForPhoneState_MultiDevice_PartialUpPartialDown() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ConnectivityUtil.java | 95 mTelephonyManager.listen(mPhoneStateListener, in register() 108 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in unregister() 146 mTelephonyManager.listen( in registerForSignalStrength() 151 mTelephonyManager.listen(mSignalStrengthListener, PhoneStateListener.LISTEN_NONE); in unregisterForSignalStrength()
|
/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/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 | VideoCallingPreferenceController.java | 185 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 190 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
|
D | WifiCallingPreferenceController.java | 213 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 218 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
|
D | Enhanced4gBasePreferenceController.java | 228 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 237 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 | 101 mTelephonyManager.listen(mPhoneStateListener, in start() 109 mTelephonyManager.listen(mPhoneStateListener, in stop()
|
/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/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | CellularDataConditionController.java | 142 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in stopPhoneStateListener() 155 mTelephonyManager.listen(mPhoneStateListener, in restartPhoneStateListener()
|
/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/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/ |
D | MobileNetworkPreferenceController.java | 116 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in onStart() 127 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onStop()
|
/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 | VideoCallingPreferenceController.java | 166 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register() 170 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()
|
/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()
|
/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/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/services/Telephony/src/com/android/phone/settings/ |
D | AccessibilitySettingsFragment.java | 147 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in onResume() 155 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onPause()
|