Home
last modified time | relevance | path

Searched refs:phone (Results 1 – 25 of 690) sorted by relevance

12345678910>>...28

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java48 public static boolean supportsEcm(Phone phone) { in supportsEcm() argument
49 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm()
50 " Ims Phone = " + phone.getImsPhone()); in supportsEcm()
51 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
52 phone.getImsPhone() != null); in supportsEcm()
72 public static boolean supportsOtasp(Phone phone) { in supportsOtasp() argument
73 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
81 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount() argument
82 return (phone.getVoiceMessageCount() != -1); in supportsVoiceMessageCount()
93 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection() argument
[all …]
DCallManager.java216 for (Phone phone : mPhones) { in getPhone()
217 if (phone.getSubId() == subId && in getPhone()
218 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in getPhone()
219 p = phone; in getPhone()
236 for (Phone phone : mPhones) { in getState()
237 if (phone.getState() == PhoneConstants.State.RINGING) { in getState()
239 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) { in getState()
256 for (Phone phone : mPhones) { in getState()
257 if (phone.getSubId() == subId) { in getState()
258 if (phone.getState() == PhoneConstants.State.RINGING) { in getState()
[all …]
DTelephonyComponentFactory.java280 public GsmCdmaCallTracker makeGsmCdmaCallTracker(GsmCdmaPhone phone) {
281 return new GsmCdmaCallTracker(phone);
284 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) {
285 return new SmsStorageMonitor(phone);
292 public ServiceStateTracker makeServiceStateTracker(GsmCdmaPhone phone, CommandsInterface ci) {
293 return new ServiceStateTracker(phone, ci);
299 public EmergencyNumberTracker makeEmergencyNumberTracker(Phone phone, CommandsInterface ci) {
300 return new EmergencyNumberTracker(phone, ci);
308 public NitzStateMachine makeNitzStateMachine(GsmCdmaPhone phone) {
309 return NitzStateMachineImpl.createInstance(phone);
[all …]
DPhoneSubInfoController.java79 callingFeatureId, "getDeviceId", (phone) -> phone.getDeviceId()); in getDeviceIdForPhone()
84 callingFeatureId, "getNai", (phone)-> phone.getNai()); in getNaiForSubscriber()
90 callingFeatureId, "getImei", (phone) -> phone.getImei()); in getImeiForSubscriber()
97 (phone)-> phone.getCarrierInfoForImsiEncryption(keyType, true)); in getCarrierInfoForImsiEncryption()
104 (phone)-> { in setCarrierInfoForImsiEncryption()
105 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
120 (phone)-> { in resetCarrierKeysForImsiEncryption()
121 phone.resetCarrierKeysForImsiEncryption(); in resetCarrierKeysForImsiEncryption()
133 "getDeviceSvn", (phone)-> phone.getDeviceSvn()); in getDeviceSvnUsingSubId()
161 callingFeatureId, message, (phone) -> phone.getSubscriberId()); in getSubscriberIdForSubscriber()
[all …]
DPhoneConfigurationManager.java108 for (Phone phone : mPhones) { in PhoneConfigurationManager()
109 registerForRadioState(phone); in PhoneConfigurationManager()
113 private void registerForRadioState(Phone phone) { in registerForRadioState() argument
114 phone.mCi.registerForAvailable(mHandler, Phone.EVENT_RADIO_AVAILABLE, phone); in registerForRadioState()
143 Phone phone = null; in handleMessage() local
150 phone = (Phone) ar.userObj; in handleMessage()
151 updatePhoneStatus(phone); in handleMessage()
199 public void enablePhone(Phone phone, boolean enable, Message result) { in enablePhone() argument
200 if (phone == null) { in enablePhone()
204 phone.mCi.enableModem(enable, result); in enablePhone()
[all …]
DCallTracker.java172 protected String convertNumberIfNecessary(Phone phone, String dialNumber) { in convertNumberIfNecessary() argument
178 phone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE); in convertNumberIfNecessary()
179 PersistableBundle bundle = configManager.getConfigForSubId(phone.getSubId()); in convertNumberIfNecessary()
181 convertMaps = (shouldPerformInternationalNumberRemapping(phone, bundle)) in convertNumberIfNecessary()
213 String mdn = phone.getLine1Number(); in convertNumberIfNecessary()
246 private boolean shouldPerformInternationalNumberRemapping(Phone phone, in shouldPerformInternationalNumberRemapping() argument
248 if (phone == null || phone.getDefaultPhone() == null) { in shouldPerformInternationalNumberRemapping()
260 return phone.getDefaultPhone().getServiceState().getVoiceRoamingType() in shouldPerformInternationalNumberRemapping()
264 private boolean compareGid1(Phone phone, String serviceGid1) { in compareGid1() argument
265 String gid1 = phone.getGroupIdLevel1(); in compareGid1()
DMultiSimSettingController.java177 DataSettingsControllerCallback(@NonNull Phone phone, in DataSettingsControllerCallback() argument
180 mPhone = phone; in DataSettingsControllerCallback()
338 for (Phone phone : PhoneFactory.getPhones()) { in handleMessage()
339 if (phone.mCi.getRadioState() == TelephonyManager.RADIO_POWER_UNAVAILABLE) { in handleMessage()
389 for (Phone phone : PhoneFactory.getPhones()) { in onAllSubscriptionsLoaded()
390 phone.mCi.registerForRadioStateChanged(this, EVENT_RADIO_STATE_CHANGED, null); in onAllSubscriptionsLoaded()
487 for (Phone phone : PhoneFactory.getPhones()) { in onMultiSimConfigChanged()
488 phone.mCi.registerForRadioStateChanged(this, EVENT_RADIO_STATE_CHANGED, null); in onMultiSimConfigChanged()
813 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getSimCombinationWarningParams() local
815 if (phone != null && phone.isCdmaSubscriptionAppPresent()) { in getSimCombinationWarningParams()
[all …]
DCarrierSmsUtils.java48 Context context, Phone phone, Intent intent) { in getImsRcsPackageForIntent() argument
50 String carrierImsPackage = getImsRcsPackage(phone); in getImsRcsPackageForIntent()
76 private static String getImsRcsPackage(Phone phone) { in getImsRcsPackage() argument
85 return resolver.getConfiguredImsServicePackageName(phone.getPhoneId(), in getImsRcsPackage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataStallRecoveryStats.java51 Phone phone, in onDataStallEvent() argument
54 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in onDataStallEvent()
55 phone = phone.getDefaultPhone(); in onDataStallEvent()
58 int carrierId = phone.getCarrierId(); in onDataStallEvent()
59 int rat = getRat(phone); in onDataStallEvent()
61 (rat == TelephonyManager.NETWORK_TYPE_IWLAN) ? 0 : ServiceStateStats.getBand(phone); in onDataStallEvent()
63 int signalStrength = phone.getSignalStrength().getLevel(); in onDataStallEvent()
64 boolean isOpportunistic = getIsOpportunistic(phone); in onDataStallEvent()
109 Phone phone, in onDataStallEvent() argument
115 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_IMS) { in onDataStallEvent()
[all …]
DPerSimStatus.java82 public static PerSimStatus getCurrentState(Phone phone) { in getCurrentState() argument
83 int[] numberIds = getNumberIds(phone); in getCurrentState()
85 int carrierId = phone.getCarrierId(); in getCurrentState()
86 ImsMmTelManager imsMmTelManager = getImsMmTelManager(phone); in getCurrentState()
87 IccCard iccCard = phone.getIccCard(); in getCurrentState()
104 phone.getDataRoamingEnabled(), in getCurrentState()
105 phone.getAllowedNetworkTypes(TelephonyManager.ALLOWED_NETWORK_TYPES_REASON_USER), in getCurrentState()
106 is2gDisabled(phone), in getCurrentState()
108 getMinimumVoltageClass(phone), in getCurrentState()
109 getUserModifiedApnTypes(phone), in getCurrentState()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/dagger/
DStatusBarFragmentComponent.java17 package com.android.systemui.statusbar.phone.fragment.dagger;
21 import com.android.systemui.statusbar.phone.HeadsUpAppearanceController;
22 import com.android.systemui.statusbar.phone.LightsOutNotifController;
23 import com.android.systemui.statusbar.phone.PhoneStatusBarTransitions;
24 import com.android.systemui.statusbar.phone.PhoneStatusBarView;
25 import com.android.systemui.statusbar.phone.PhoneStatusBarViewController;
26 import com.android.systemui.statusbar.phone.StatusBarBoundsProvider;
27 import com.android.systemui.statusbar.phone.StatusBarDemoMode;
28 import com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment;
DStatusBarFragmentModule.java17 package com.android.systemui.statusbar.phone.fragment.dagger;
25 import com.android.systemui.statusbar.phone.PhoneStatusBarTransitions;
26 import com.android.systemui.statusbar.phone.PhoneStatusBarView;
27 import com.android.systemui.statusbar.phone.PhoneStatusBarViewController;
28 import com.android.systemui.statusbar.phone.StatusBarBoundsProvider;
29 import com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment;
30 import com.android.systemui.statusbar.phone.userswitcher.StatusBarUserSwitcherContainer;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSettingUtils.java47 public static boolean isMeteredApnType(@ApnType int apnType, Phone phone) { in isMeteredApnType() argument
48 if (phone == null) { in isMeteredApnType()
52 boolean isRoaming = phone.getServiceState().getDataRoaming(); in isMeteredApnType()
53 int subId = phone.getSubId(); in isMeteredApnType()
69 phone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE); in isMeteredApnType()
116 public static boolean isMetered(ApnSetting apn, Phone phone) { in isMetered() argument
117 if (phone == null || apn == null) { in isMetered()
123 if (isMeteredApnType(apnType, phone)) { in isMetered()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/core/
DStatusBarInitializer.kt21 import com.android.systemui.statusbar.phone.PhoneStatusBarTransitions in <lambda>()
22 import com.android.systemui.statusbar.phone.PhoneStatusBarView in <lambda>()
23 import com.android.systemui.statusbar.phone.PhoneStatusBarViewController in <lambda>()
24 import com.android.systemui.statusbar.phone.dagger.CentralSurfacesComponent in <lambda>()
25 import com.android.systemui.statusbar.phone.dagger.CentralSurfacesComponent.CentralSurfacesScope in <lambda>()
26 import com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment in <lambda>()
27 import com.android.systemui.statusbar.phone.fragment.dagger.StatusBarFragmentComponent in <lambda>()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
Ddevice_for_product_strategy_phone.pfw5 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
17 /Policy/policy/product_strategies/phone/device_address =
24 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
47 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
70 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
100 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
130 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
160 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
187 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
214 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/
DCentralSurfacesComponent.java17 package com.android.systemui.statusbar.phone.dagger;
19 import static com.android.systemui.statusbar.phone.dagger.StatusBarViewModule.STATUS_BAR_FRAGMENT;
38 import com.android.systemui.statusbar.phone.CentralSurfacesCommandQueueCallbacks;
39 import com.android.systemui.statusbar.phone.CentralSurfacesImpl;
40 import com.android.systemui.statusbar.phone.StatusBarHeadsUpChangeListener;
41 import com.android.systemui.statusbar.phone.StatusBarNotificationActivityStarterModule;
42 import com.android.systemui.statusbar.phone.StatusBarNotificationPresenterModule;
43 import com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment;
DStatusBarViewModule.java17 package com.android.systemui.statusbar.phone.dagger;
54 import com.android.systemui.statusbar.phone.KeyguardBottomAreaView;
55 import com.android.systemui.statusbar.phone.LetterboxAppearanceCalculator;
56 import com.android.systemui.statusbar.phone.NotificationIconAreaController;
57 import com.android.systemui.statusbar.phone.StatusBarBoundsProvider;
58 import com.android.systemui.statusbar.phone.StatusBarHideIconsForBouncerManager;
59 import com.android.systemui.statusbar.phone.StatusBarIconController;
60 import com.android.systemui.statusbar.phone.StatusBarLocationPublisher;
61 import com.android.systemui.statusbar.phone.StatusIconContainer;
62 import com.android.systemui.statusbar.phone.SystemBarAttributesListener;
[all …]
DCentralSurfacesStartableModule.java17 package com.android.systemui.statusbar.phone.dagger;
19 import com.android.systemui.statusbar.phone.LetterboxAppearanceCalculator;
20 import com.android.systemui.statusbar.phone.LetterboxBackgroundProvider;
21 import com.android.systemui.statusbar.phone.SystemBarAttributesListener;
DStatusBarPhoneModule.java17 package com.android.systemui.statusbar.phone.dagger;
20 import com.android.systemui.statusbar.phone.CentralSurfaces;
21 import com.android.systemui.statusbar.phone.CentralSurfacesImpl;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarDemoMode.java17 package com.android.systemui.statusbar.phone;
19 import static com.android.systemui.statusbar.phone.BarTransitions.MODE_OPAQUE;
20 import static com.android.systemui.statusbar.phone.BarTransitions.MODE_SEMI_TRANSPARENT;
21 import static com.android.systemui.statusbar.phone.BarTransitions.MODE_TRANSLUCENT;
22 import static com.android.systemui.statusbar.phone.BarTransitions.MODE_TRANSPARENT;
23 import static com.android.systemui.statusbar.phone.BarTransitions.MODE_WARNING;
24 import static com.android.systemui.statusbar.phone.fragment.dagger.StatusBarFragmentModule.OPERATOR…
35 import com.android.systemui.statusbar.phone.fragment.dagger.StatusBarFragmentScope;
DStatusBarBoundsProvider.kt17 package com.android.systemui.statusbar.phone in <lambda>()
21 import com.android.systemui.statusbar.phone.fragment.dagger.StatusBarFragmentComponent in <lambda>()
22 import com.android.systemui.statusbar.phone.fragment.dagger.StatusBarFragmentModule.END_SIDE_CONTENT in <lambda>()
23 import com.android.systemui.statusbar.phone.fragment.dagger.StatusBarFragmentModule.START_SIDE_CONT… in <lambda>()
24 import com.android.systemui.statusbar.phone.fragment.dagger.StatusBarFragmentScope in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
DBiometricUnlockLogger.kt26 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_DISMISS_BOUNCER
27 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_NONE
28 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_ONLY_WAKE
29 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_SHOW_BOUNCER
30 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_UNLOCK_COLLAPSING
31 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_WAKE_AND_UNLOCK
32 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_WAKE_AND_UNLOCK_FROM_DRE…
33 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_WAKE_AND_UNLOCK_PULSING
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeStatusBarIconController.java20 import com.android.systemui.statusbar.phone.StatusBarIconController;
21 import com.android.systemui.statusbar.phone.StatusBarIconController.IconManager;
22 import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.CallIndicatorIconState;
23 import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.MobileIconState;
24 import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.WifiIconState;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/dagger/
DCentralSurfacesDependenciesModule.java62 import com.android.systemui.statusbar.phone.CentralSurfaces;
63 import com.android.systemui.statusbar.phone.CentralSurfacesImpl;
64 import com.android.systemui.statusbar.phone.KeyguardBypassController;
65 import com.android.systemui.statusbar.phone.ManagedProfileController;
66 import com.android.systemui.statusbar.phone.ManagedProfileControllerImpl;
67 import com.android.systemui.statusbar.phone.StatusBarIconController;
68 import com.android.systemui.statusbar.phone.StatusBarIconControllerImpl;
69 import com.android.systemui.statusbar.phone.StatusBarIconList;
70 import com.android.systemui.statusbar.phone.StatusBarRemoteInputCallback;
71 import com.android.systemui.statusbar.phone.ongoingcall.OngoingCallController;
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java59 Phone phone) { in GsmInboundSmsHandler() argument
60 super("GsmInboundSmsHandler", context, storageMonitor, phone); in GsmInboundSmsHandler()
61 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null); in GsmInboundSmsHandler()
62 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi, phone.getPhoneId()); in GsmInboundSmsHandler()
130 SmsStorageMonitor storageMonitor, Phone phone) { in makeInboundSmsHandler() argument
131 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone); in makeInboundSmsHandler()

12345678910>>...28