Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java6393 ServiceStateRadioStateListener callbackForFirstSub = new ServiceStateRadioStateListener( in testSetRadioPowerForMultiSimDevice() local
6396 tm -> tm.registerTelephonyCallback(Runnable::run, callbackForFirstSub)); in testSetRadioPowerForMultiSimDevice()
6407 turnRadioOn(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_USER); in testSetRadioPowerForMultiSimDevice()
6408 assertEquals(TelephonyManager.RADIO_POWER_ON, callbackForFirstSub.mRadioPowerState); in testSetRadioPowerForMultiSimDevice()
6416 turnRadioOff(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_NEARBY_DEVICE); in testSetRadioPowerForMultiSimDevice()
6417 assertRadioOffWithReason(callbackForFirstSub, in testSetRadioPowerForMultiSimDevice()
6424 turnRadioOff(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_USER); in testSetRadioPowerForMultiSimDevice()
6425 assertRadioOffWithReason(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_USER); in testSetRadioPowerForMultiSimDevice()
6431 turnRadioOn(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_USER); in testSetRadioPowerForMultiSimDevice()
6432 assertRadioOffWithReason(callbackForFirstSub, in testSetRadioPowerForMultiSimDevice()
[all …]