Home
last modified time | relevance | path

Searched refs:listen (Results 1 – 25 of 78) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DSignalStrengthListenerTest.java95 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/
DHeadsetPhoneStateTest.java119 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/
DVvmSimStateTracker.java81 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/
DMobileNetworkPreferenceControllerTest.java118 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/
DConnectivityUtil.java92 mTelephonyManager.listen(mPhoneStateListener, in register()
102 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in unregister()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DSignalStrengthListener.java86 mgr.listen(mListeners.get(subId), PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); in startListening()
91 mgr.listen(mListeners.get(subId), PhoneStateListener.LISTEN_NONE); in stopListening()
DEnhanced4gLtePreferenceController.java175 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register()
179 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
DVideoCallingPreferenceController.java164 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register()
168 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
DWifiCallingPreferenceController.java210 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/
DShadowTelephonyManager.java50 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/
DAirplaneModeEnabler.java98 mTelephonyManager.listen(mPhoneStateListener, in resume()
103 mTelephonyManager.listen(mPhoneStateListener, in pause()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkPreferenceController.java110 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in onStart()
121 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onStop()
DApnSettings.java180 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/
DSpeedDialFragment.java245 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/
DMobileNetworkPreferenceController.java116 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/
DVoicemailErrorManager.java128 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/
DEnhanced4gLtePreferenceController.java175 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register()
179 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
DWifiCallingPreferenceController.java183 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_CALL_STATE); in register()
187 mTelephonyManager.listen(this, PhoneStateListener.LISTEN_NONE); in unregister()
DVideoCallingPreferenceController.java166 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/
DPreCallCoordinatorImpl.java171 public <OutputT> void listen( in listen() method in PreCallCoordinatorImpl
176 uiListener.listen( in listen()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.java118 mTelephonyManager.listen(mPhoneStateListener.init(), PhoneStateListener.LISTEN_CALL_STATE); in startAlarm()
133 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in stopCurrentAlarm()
DAlarmService.kt81 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/
DHeadsetPhoneState.java159 mTelephonyManager.listen(mPhoneStateListener, events); in startListenForPhoneState()
169 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in stopListenForPhoneState()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java279 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/
DConnectivityListener.java141 telephonyManager.listen(mPhoneStateListener, in onStart()
170 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onStop()

1234