Searched refs:mPhoneFactoryProxy (Results 1 – 2 of 2) sorted by relevance
122 @Mock TelephonyConnectionService.PhoneFactoryProxy mPhoneFactoryProxy; field in TelephonyConnectionServiceTest163 mTestConnectionService.setPhoneFactoryProxy(mPhoneFactoryProxy); in setUp()992 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in testCreateOutgoingEmerge_exitingApm_disconnected()1346 when(mPhoneFactoryProxy.getPhone(eq(0))).thenReturn(mPhone0); in setupForCallTest()1350 when(mPhoneFactoryProxy.getPhone(eq(1))).thenReturn(mPhone1); in setupForCallTest()1457 when(mPhoneFactoryProxy.getPhone(eq(0))).thenReturn(phone); in setupHandleToPhoneMap()1488 when(mPhoneFactoryProxy.getPhone(eq(SLOT_0_PHONE_ID))).thenReturn(slot0Phone); in setupDeviceConfig()1489 when(mPhoneFactoryProxy.getPhone(eq(SLOT_1_PHONE_ID))).thenReturn(slot1Phone); in setupDeviceConfig()1505 when(mPhoneFactoryProxy.getDefaultPhone()).thenReturn(phone); in setDefaultPhone()1509 when(mPhoneFactoryProxy.getPhones()).thenReturn(phones.toArray(new Phone[phones.size()])); in setPhones()[all …]
285 private PhoneFactoryProxy mPhoneFactoryProxy = new PhoneFactoryProxy() { field in TelephonyConnectionService408 mPhoneFactoryProxy = proxy; in setPhoneFactoryProxy()912 for (Phone curPhone : mPhoneFactoryProxy.getPhones()) { in handleOnComplete()998 final Phone defaultPhone = mPhoneFactoryProxy.getDefaultPhone(); in getTelephonyConnection()1567 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in isRadioOn()1575 Queue<Phone> phones = new LinkedList<>(Arrays.asList(mPhoneFactoryProxy.getPhones())); in makeCachedConnectionPhonePair()1922 chosenPhone = mPhoneFactoryProxy.getPhone(phoneId); in getPhoneForAccount()2083 for (Phone phone : mPhoneFactoryProxy.getPhones()) { in getPhoneForEmergencyCall()2133 Phone defaultPhone = mPhoneFactoryProxy.getPhone(phoneId); in getFirstPhoneForEmergencyCall()2146 Phone phone = mPhoneFactoryProxy.getPhone(i); in getFirstPhoneForEmergencyCall()[all …]