Searched refs:callbackForFirstSub (Results 1 – 1 of 1) sorted by relevance
6393 ServiceStateRadioStateListener callbackForFirstSub = new ServiceStateRadioStateListener( in testSetRadioPowerForMultiSimDevice() local6396 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 …]