Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DProxyControllerTest.java99 RadioAccessFamily[] rafs = new RadioAccessFamily[activeModemCount]; in testRequestNotSupported() local
100 rafs[0] = new RadioAccessFamily(0, RAF_GSM); in testRequestNotSupported()
101 rafs[1] = new RadioAccessFamily(1, RAF_GSM | RAF_LTE); in testRequestNotSupported()
102 mProxyController.setRadioCapability(rafs); in testRequestNotSupported()
131 RadioAccessFamily[] rafs = new RadioAccessFamily[activeModemCount]; in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse() local
132 rafs[0] = new RadioAccessFamily(0, RAF_GSM); in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse()
133 rafs[1] = new RadioAccessFamily(1, RAF_GSM | RAF_LTE); in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse()
134 mProxyController.setRadioCapability(rafs); in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse()
163 RadioAccessFamily[] rafs = new RadioAccessFamily[activeModemCount]; in testWithNonPermanentExceptionOnRCResponse_WithoutExceptionOnFinishResponse() local
164 rafs[0] = new RadioAccessFamily(0, RAF_GSM); in testWithNonPermanentExceptionOnRCResponse_WithoutExceptionOnFinishResponse()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DProxyController.java193 public boolean setRadioCapability(RadioAccessFamily[] rafs) { in setRadioCapability() argument
194 if (rafs.length != mPhones.length) { in setRadioCapability()
212 if (mPhones[i].getRadioAccessFamily() != rafs[i].getRadioAccessFamily()) { in setRadioCapability()
230 return doSetRadioCapabilities(rafs); in setRadioCapability()
241 private boolean doSetRadioCapabilities(RadioAccessFamily[] rafs) { in doSetRadioCapabilities() argument
253 for (int i = 0; i < rafs.length; i++) { in doSetRadioCapabilities()
254 int phoneId = rafs[i].getPhoneId(); in doSetRadioCapabilities()
258 int requestedRaf = rafs[i].getRadioAccessFamily(); in doSetRadioCapabilities()
606 RadioAccessFamily[] rafs = new RadioAccessFamily[mPhones.length]; in completeRadioCapabilityTransaction() local
608 rafs[phoneId] = new RadioAccessFamily(phoneId, mOldRadioAccessFamily[phoneId]); in completeRadioCapabilityTransaction()
[all …]
/frameworks/base/telephony/java/android/telephony/
DRadioAccessFamily.java373 String[] rafs = rafList.split("\\|"); in rafTypeFromString() local
375 for(String raf : rafs) { in rafTypeFromString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java3167 RadioAccessFamily[] rafs = new RadioAccessFamily[mTelephonyManager.getActiveModemCount()]; in remapRafIfApplicable() local
3168 for (int phoneId = 0; phoneId < rafs.length; phoneId++) { in remapRafIfApplicable()
3172 rafs[phoneId] = new RadioAccessFamily(phoneId, raf); in remapRafIfApplicable()
3174 proxyController.setRadioCapability(rafs); in remapRafIfApplicable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionManagerServiceTest.java806 RadioAccessFamily[] rafs = (RadioAccessFamily[]) rafsCaptor.getValue(); in testSingleSimSetDefaultDataSubId() local
807 assertThat(rafs[0].getRadioAccessFamily()).isEqualTo(1); in testSingleSimSetDefaultDataSubId()
808 assertThat(rafs[1].getRadioAccessFamily()).isEqualTo(2); in testSingleSimSetDefaultDataSubId()