Searched refs:phones (Results 1 - 5 of 5) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneSwitcherTest.java209 final PhoneMock[] phones = new PhoneMock[numPhones];
212 // phones[i] = new PhoneMock(contextMock, commandsInterfaces[i]);
217 commandsInterfaces, phones);
284 // 10 don't switch phones when in emergency mode
375 // 10 don't switch phones when in emergency mode
377 // phones[0].setInEmergencyCall(true);
386 // phones[0].setInEmergencyCall(false);
399 * Test a multi-sim case with limited active phones:
412 * - don't switch phones when in emergency mode
436 final PhoneMock[] phones
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneFactory.java238 throw new IllegalStateException("Default phones haven't been made yet!");
250 throw new IllegalStateException("Default phones haven't been made yet!");
272 throw new IllegalStateException("Default phones haven't been made yet!");
377 Phone[] phones = (Phone[])PhoneFactory.getPhones();
378 for (int i = 0; i < phones.length; i++) {
380 Phone phone = phones[i];
H A DPhoneSwitcher.java57 * and determine which phone/phones are active.
59 * Manages the ALLOW_DATA calls to modems and notifies phones about changes to
60 * the active phones. Note we don't wait for data attach (which may not happen anyway).
106 CommandsInterface[] cis, Phone[] phones) {
110 mPhones = phones;
267 * phones that aren't in the active phone list. Finally, activate all
268 * phones in the active phone list.
324 // only activate phones up to the limit
104 PhoneSwitcher(int maxActivePhones, int numPhones, Context context, SubscriptionController subscriptionController, Looper looper, ITelephonyRegistry tr, CommandsInterface[] cis, Phone[] phones) argument
H A DSubscriptionController.java67 * Finally, any getters which perform the mapping between subscriptions, slots and phones will
1414 logdl("[setDefaultDataSubId] num phones=" + len + ", subId=" + subId);
1632 public void updatePhonesAvailability(Phone[] phones) { argument
1633 sPhones = phones;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DSubscriptionControllerMock.java255 public void updatePhonesAvailability(Phone[] phones) { argument

Completed in 2241 milliseconds