Searched refs:callbackForFirstSub (Results 1 – 1 of 1) sorted by relevance
6927 ServiceStateRadioStateListener callbackForFirstSub = new ServiceStateRadioStateListener( in testSetRadioPowerForMultiSimDevice() local6930 tm -> tm.registerTelephonyCallback(Runnable::run, callbackForFirstSub)); in testSetRadioPowerForMultiSimDevice()6941 turnRadioOn(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_USER); in testSetRadioPowerForMultiSimDevice()6942 assertEquals(TelephonyManager.RADIO_POWER_ON, callbackForFirstSub.mRadioPowerState); in testSetRadioPowerForMultiSimDevice()6950 turnRadioOff(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_NEARBY_DEVICE); in testSetRadioPowerForMultiSimDevice()6951 assertRadioOffWithReason(callbackForFirstSub, in testSetRadioPowerForMultiSimDevice()6958 turnRadioOff(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_USER); in testSetRadioPowerForMultiSimDevice()6959 assertRadioOffWithReason(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_USER); in testSetRadioPowerForMultiSimDevice()6965 turnRadioOn(callbackForFirstSub, TelephonyManager.RADIO_POWER_REASON_USER); in testSetRadioPowerForMultiSimDevice()6966 assertRadioOffWithReason(callbackForFirstSub, in testSetRadioPowerForMultiSimDevice()[all …]