Home
last modified time | relevance | path

Searched refs:PhoneFactory (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneFactoryTest.java30 PhoneFactory.getDefaultPhone(); in testBeforeMakePhone()
36 PhoneFactory.getPhone(0); in testBeforeMakePhone()
42 PhoneFactory.getPhones(); in testBeforeMakePhone()
48 PhoneFactory.getNetworkFactory(0); in testBeforeMakePhone()
DProxyControllerTest.java66 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone, mPhone2}); in testMultiSimConfigChange()
72 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone}); in testMultiSimConfigChange()
DTelephonyTest.java655 replaceInstance(PhoneFactory.class, "sMadeDefaults", null, true); in setUp()
656 replaceInstance(PhoneFactory.class, "sPhone", null, mPhone); in setUp()
657 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setUp()
658 replaceInstance(PhoneFactory.class, "sSubInfoRecordUpdater", null, mSubInfoRecordUpdater); in setUp()
667 replaceInstance(PhoneFactory.class, "sCommandsInterfaces", null, in setUp()
669 replaceInstance(PhoneFactory.class, "sMetricsCollector", null, mMetricsCollector); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorSubscriptionController.java44 import com.android.internal.telephony.PhoneFactory;
166 Phone phone = PhoneFactory.getPhone(getPhoneId(subId)); in setUiccApplicationsEnabled()
197 if (PhoneFactory.getPhone(i).mCi != null && in isRadioAvailableOnAllSubs()
198 PhoneFactory.getPhone(i).mCi.getRadioState() == in isRadioAvailableOnAllSubs()
208 if (PhoneFactory.getPhone(i) != null && in isShuttingDown()
209 PhoneFactory.getPhone(i).isShuttingDown()) return true; in isShuttingDown()
DVendorPhoneSwitcher.java54 import com.android.internal.telephony.PhoneFactory;
117 if (PhoneFactory.getPhone(i) != null) { in VendorPhoneSwitcher()
118 mFgCsCalls[i] = (GsmCdmaCall) PhoneFactory.getPhone(i).getForegroundCall(); in VendorPhoneSwitcher()
119 mBgCsCalls[i] = (GsmCdmaCall) PhoneFactory.getPhone(i).getBackgroundCall(); in VendorPhoneSwitcher()
120 mRiCsCalls[i] = (GsmCdmaCall) PhoneFactory.getPhone(i).getRingingCall(); in VendorPhoneSwitcher()
122 mImsPhones[i] = (ImsPhone)PhoneFactory.getPhone(i).getImsPhone(); in VendorPhoneSwitcher()
437 PhoneFactory.getPhone(phoneId).mCi.setDataAllowed(false, in deactivate()
453 PhoneFactory.getPhone(phoneId).mCi.setDataAllowed(true, in activate()
466 PhoneFactory.getPhone(phoneId).mCi.setDataAllowed(isPhoneActive(phoneId), in sendRilCommands()
DVendorMultiSimSettingController.java28 import com.android.internal.telephony.PhoneFactory;
91 Phone phone = PhoneFactory.getPhone(mSubController.getPhoneId(currentSubId)); in setUserDataEnabledForGroup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java326 for (Phone phone : PhoneFactory.getPhones()) { in isPhoneInVoiceCallChanged()
359 if (PhoneFactory.getPhone(i) != null) { in PhoneSwitcher()
360 PhoneFactory.getPhone(i).registerForEmergencyCallToggle( in PhoneSwitcher()
363 PhoneFactory.getPhone(i).registerForPreciseCallStateChanged( in PhoneSwitcher()
365 if (PhoneFactory.getPhone(i).getImsPhone() != null) { in PhoneSwitcher()
366 PhoneFactory.getPhone(i).getImsPhone().registerForPreciseCallStateChanged( in PhoneSwitcher()
369 PhoneFactory.getPhone(i).getDataEnabledSettings().registerForDataEnabledChanged( in PhoneSwitcher()
375 PhoneFactory.getPhone(0).mCi.registerForAvailable(this, EVENT_RADIO_AVAILABLE, null); in PhoneSwitcher()
633 Phone phone = PhoneFactory.getPhone(phoneId); in onMultiSimConfigChanged()
649 for (Phone p : PhoneFactory.getPhones()) { in isInEmergencyCallbackMode()
[all …]
DUiccPhoneBookController.java136 return PhoneFactory.getPhone(phoneId).getIccPhoneBookInterfaceManager(); in getIccPhoneBookInterfaceManager()
150 return PhoneFactory.getDefaultSubscription(); in getDefaultSubscription()
DSubscriptionInfoUpdater.java270 PhoneFactory.getPhone(slotId).setNetworkSelectionModeAutomatic(null); in handleMessage()
391 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in handleSimLocked()
451 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in handleSimNotReady()
494 IccCard iccCard = PhoneFactory.getPhone(phoneId).getIccCard(); in handleSimLoaded()
564 PhoneFactory.getPhone(phoneId).getContext().getContentResolver(), in handleSimLoaded()
579 PhoneFactory.getPhone(phoneId).getContext().getContentResolver(), in handleSimLoaded()
585 PhoneFactory.getPhone(phoneId).setPreferredNetworkType(networkType, null); in handleSimLoaded()
588 PhoneFactory.getPhone(phoneId).getNetworkSelectionMode( in handleSimLoaded()
628 if (PhoneFactory.getPhone(phoneId) != null) { in updateSubscriptionCarrierId()
629 PhoneFactory.getPhone(phoneId).resolveSubscriptionCarrierId(simState); in updateSubscriptionCarrierId()
[all …]
DDebugService.java57 PhoneFactory.dump(fd, pw, args); in dump()
DPhoneConfigurationManager.java102 mPhones = PhoneFactory.getPhones(); in PhoneConfigurationManager()
462 PhoneFactory.onMultiSimConfigChanged(context, numOfActiveModems); in notifyPhoneFactoryOnMultiSimConfigChanged()
DPhoneSubInfoController.java259 return PhoneFactory.getPhone(phoneId); in getPhone()
290 return PhoneFactory.getDefaultSubscription(); in getDefaultSubscription()
516 final Phone phone = PhoneFactory.getPhone(phoneId);
DSmsController.java65 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
67 phone = PhoneFactory.getDefaultPhone(); in getPhone()
503 return PhoneFactory.isSMSPromptEnabled(); in isSMSPromptEnabled()
756 for (Phone phone : PhoneFactory.getPhones()) { in dump()
DMultiSimSettingController.java662 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getSimCombinationWarningParams()
695 for (Phone phone : PhoneFactory.getPhones()) { in disableDataForNonDefaultNonOpportunisticSubscriptions()
734 Phone phone = PhoneFactory.getPhone(mSubController.getPhoneId(currentSubId)); in setUserDataEnabledForGroup()
DPhoneFactory.java63 public class PhoneFactory { class
543 Phone[] phones = (Phone[])PhoneFactory.getPhones(); in dump()
DProxyController.java128 mPhones = PhoneFactory.getPhones(); in ProxyController()
337 mPhones = PhoneFactory.getPhones(); in onMultiSimConfigChanged()
DSubscriptionController.java330 for (Phone phone : PhoneFactory.getPhones()) { in notifySubscriptionInfoChanged()
658 Phone phone = PhoneFactory.getPhone(slotIndex); in getActiveSubscriptionInfoForSimSlotIndex()
1047 PhoneFactory.requestEmbeddedSubscriptionInfoListRefresh(cardId, null /* callback */); in requestEmbeddedSubscriptionInfoListRefresh()
1063 PhoneFactory.requestEmbeddedSubscriptionInfoListRefresh(cardId, callback); in requestEmbeddedSubscriptionInfoListRefresh()
1075 PhoneFactory.requestEmbeddedSubscriptionInfoListRefresh( in requestEmbeddedSubscriptionInfoListRefresh()
2433 Phone phone = PhoneFactory.getPhone(phoneId); in setDefaultDataSubId()
2694 phone = PhoneFactory.getPhone(slotIndex); in getSimStateForSlotIndex()
3710 .getPhoneStatus(PhoneFactory.getPhone(getPhoneId(subId))); in isSubscriptionEnabled()
3992 Phone phone = PhoneFactory.getDefaultPhone();
DVisualVoicemailSmsFilter.java87 PhoneFactory.getPhone(phoneId).getFullIccSerialNumber());
DCellularNetworkValidator.java165 Phone phone = PhoneFactory.getPhone(subController.getPhoneId(subId));
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTrackerTest.java33 import com.android.internal.telephony.PhoneFactory;
130 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setDsdsPhones()
135 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setSinglePhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DCellularDataService.java31 import com.android.internal.telephony.PhoneFactory;
65 mPhone = PhoneFactory.getPhone(getSlotIndex()); in CellularDataServiceProvider()
DDataEnabledOverride.java32 import com.android.internal.telephony.PhoneFactory;
396 Phone defaultDataPhone = PhoneFactory.getPhone(phoneId); in getCurrentConditions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java51 import com.android.internal.telephony.PhoneFactory;
214 mCis = PhoneFactory.getCommandsInterfaces(); in UiccController()
549 mCis = PhoneFactory.getCommandsInterfaces(); in onMultiSimConfigChanged()
656 SubscriptionInfoUpdater subInfoUpdator = PhoneFactory.getSubscriptionInfoUpdater(); in updateInternalIccStateForInactiveSlot()
670 SubscriptionInfoUpdater subInfoUpdator = PhoneFactory.getSubscriptionInfoUpdater(); in updateInternalIccState()
DUiccSlot.java38 import com.android.internal.telephony.PhoneFactory;
300 Phone phone = PhoneFactory.getPhone(mPhoneId); in onIccSwap()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java55 import com.android.internal.telephony.PhoneFactory;
124 PhoneFactory.getMetricsCollector().getAtomsStorage();

12