Home
last modified time | relevance | path

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

/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java105 @Mock TelephonyConnectionService.PhoneFactoryProxy mPhoneFactoryProxy; field in TelephonyConnectionServiceTest
140 mTestConnectionService.setPhoneFactoryProxy(mPhoneFactoryProxy); in setUp()
975 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in testCreateOutgoingEmerge_exitingApm_disconnected()
1255 when(mPhoneFactoryProxy.getPhone(0)).thenReturn(phone); in setupHandleToPhoneMap()
1284 when(mPhoneFactoryProxy.getPhone(eq(SLOT_0_PHONE_ID))).thenReturn(slot0Phone); in setupDeviceConfig()
1285 when(mPhoneFactoryProxy.getPhone(eq(SLOT_1_PHONE_ID))).thenReturn(slot1Phone); in setupDeviceConfig()
1301 when(mPhoneFactoryProxy.getDefaultPhone()).thenReturn(phone); in setDefaultPhone()
1305 when(mPhoneFactoryProxy.getPhones()).thenReturn(phones.toArray(new Phone[phones.size()])); in setPhones()
1306 when(mPhoneFactoryProxy.getDefaultPhone()).thenReturn(phones.get(0)); in setPhones()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java282 private PhoneFactoryProxy mPhoneFactoryProxy = new PhoneFactoryProxy() { field in TelephonyConnectionService
426 mPhoneFactoryProxy = proxy; in setPhoneFactoryProxy()
936 for (Phone curPhone : mPhoneFactoryProxy.getPhones()) { in handleOnComplete()
1023 final Phone defaultPhone = mPhoneFactoryProxy.getDefaultPhone(); in getTelephonyConnection()
1563 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in isRadioOn()
1571 Queue<Phone> phones = new LinkedList<>(Arrays.asList(mPhoneFactoryProxy.getPhones())); in makeCachedConnectionPhonePair()
1887 chosenPhone = mPhoneFactoryProxy.getPhone(phoneId); in getPhoneForAccount()
2034 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in getPhoneForEmergencyCall()
2084 Phone defaultPhone = mPhoneFactoryProxy.getPhone(phoneId); in getFirstPhoneForEmergencyCall()
2097 Phone phone = mPhoneFactoryProxy.getPhone(i); in getFirstPhoneForEmergencyCall()
[all …]