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

/packages/services/Telephony/src/com/android/services/telephony/
H A DTelephonyConnectionService.java210 private PhoneFactoryProxy mPhoneFactoryProxy = new PhoneFactoryProxy() { field in class:TelephonyConnectionService
239 mPhoneFactoryProxy = proxy;
531 final Phone defaultPhone = mPhoneFactoryProxy.getDefaultPhone();
970 for (Phone phone : mPhoneFactoryProxy.getPhones()) {
978 Queue<Phone> phones = new LinkedList<>(Arrays.asList(mPhoneFactoryProxy.getPhones()));
1168 chosenPhone = mPhoneFactoryProxy.getPhone(phoneId);
1200 Phone defaultPhone = mPhoneFactoryProxy.getPhone(phoneId);
1210 Phone phone = mPhoneFactoryProxy.getPhone(i);
1248 return mPhoneFactoryProxy.getDefaultPhone();
1251 final int defaultPhoneId = mPhoneFactoryProxy
[all...]
/packages/services/Telephony/tests/src/com/android/services/telephony/
H A DTelephonyConnectionServiceTest.java74 @Mock TelephonyConnectionService.PhoneFactoryProxy mPhoneFactoryProxy; field in class:TelephonyConnectionServiceTest
82 mTestConnectionService.setPhoneFactoryProxy(mPhoneFactoryProxy);
827 when(mPhoneFactoryProxy.getPhone(eq(SLOT_0_PHONE_ID))).thenReturn(slot0Phone);
828 when(mPhoneFactoryProxy.getPhone(eq(SLOT_1_PHONE_ID))).thenReturn(slot1Phone);
844 when(mPhoneFactoryProxy.getDefaultPhone()).thenReturn(phone);
848 when(mPhoneFactoryProxy.getPhones()).thenReturn(phones.toArray(new Phone[phones.size()]));

Completed in 652 milliseconds