Home
last modified time | relevance | path

Searched refs:psl (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyRegistryManagerTest.java103 PhoneStateListener psl = new PhoneStateListener(context.getMainExecutor()) { in testNotifyCallStateChangedForAllSubscriptions() local
110 tm.listen(psl, PhoneStateListener.LISTEN_CALL_STATE); in testNotifyCallStateChangedForAllSubscriptions()
130 PhoneStateListener psl = new PhoneStateListener(context.getMainExecutor()) { in testNotifyCallStateChanged() local
138 tm.listen(psl, PhoneStateListener.LISTEN_CALL_STATE); in testNotifyCallStateChanged()
161 PhoneStateListener psl = new PhoneStateListener(context.getMainExecutor()) { in testNotifyServiceStateChanged() local
168 tm.listen(psl, PhoneStateListener.LISTEN_SERVICE_STATE); in testNotifyServiceStateChanged()
191 PhoneStateListener psl = new PhoneStateListener(context.getMainExecutor()) { in testNotifySignalStrengthChanged() local
198 tm.listen(psl, PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); in testNotifySignalStrengthChanged()
220 PhoneStateListener psl = new PhoneStateListener(context.getMainExecutor()) { in testNotifyMessageWaitingChanged() local
227 tm.listen(psl, PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR); in testNotifyMessageWaitingChanged()
[all …]
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java684 PhoneStateListener psl = new PhoneStateListener((Runnable r) -> {}); in testPhoneStateListener() local
686 mTelephonyManager.listen(psl, CARRIER_PRIVILEGE_LISTENERS); in testPhoneStateListener()
688 mTelephonyManager.listen(psl, PhoneStateListener.LISTEN_NONE); in testPhoneStateListener()