Home
last modified time | relevance | path

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

12345678910>>...38

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java51 public static boolean supportsEcm(Phone phone) { in supportsEcm() argument
52 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm()
53 " Ims Phone = " + phone.getImsPhone()); in supportsEcm()
54 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
55 phone.getImsPhone() != null); in supportsEcm()
75 public static boolean supportsOtasp(Phone phone) { in supportsOtasp() argument
76 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
84 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount() argument
85 return (phone.getVoiceMessageCount() != -1); in supportsVoiceMessageCount()
96 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 …]
DPhoneSubInfoController.java103 callingFeatureId, "getDeviceId", (phone) -> phone.getDeviceId()); in getDeviceIdForPhone()
108 callingFeatureId, "getNai", (phone)-> { in getNaiForSubscriber()
113 return phone.getNai(); in getNaiForSubscriber()
120 callingFeatureId, "getImei", (phone) -> phone.getImei()); in getImeiForSubscriber()
127 (phone)-> { in getCarrierInfoForImsiEncryption()
132 return phone.getCarrierInfoForImsiEncryption(keyType, true); in getCarrierInfoForImsiEncryption()
140 (phone)-> {
141 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo);
156 (phone)-> {
161 phone.resetCarrierKeysForImsiEncryption();
[all …]
DTelephonyComponentFactory.java287 public GsmCdmaCallTracker makeGsmCdmaCallTracker(GsmCdmaPhone phone,
289 return new GsmCdmaCallTracker(phone, featureFlags);
292 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) {
293 return new SmsStorageMonitor(phone);
300 public ServiceStateTracker makeServiceStateTracker(GsmCdmaPhone phone, CommandsInterface ci,
302 return new ServiceStateTracker(phone, ci, featureFlags);
308 public EmergencyNumberTracker makeEmergencyNumberTracker(Phone phone, CommandsInterface ci,
310 return new EmergencyNumberTracker(phone, ci, featureFlags);
318 public NitzStateMachine makeNitzStateMachine(GsmCdmaPhone phone) {
319 return NitzStateMachineImpl.createInstance(phone);
[all …]
DSimultaneousCallingTracker.java255 for (Phone phone : mSimultaneousCallPhoneSupportMap.get(phoneId)) { in getSubIdsSupportingSimultaneousCalling()
256 subIdsSupportingSimultaneousCalling.add(phone.getSubId()); in getSubIdsSupportingSimultaneousCalling()
323 for (Phone phone : phoneMap.keySet()) { in registerForImsRegistrationChanges()
324 ImsPhone imsPhone = (ImsPhone) phone.getImsPhone(); in registerForImsRegistrationChanges()
327 phone.getPhoneId()); in registerForImsRegistrationChanges()
332 + "ImsPhone: phoneId = " + phone.getPhoneId()); in registerForImsRegistrationChanges()
345 for (Phone phone : phoneMap.keySet()) { in unregisterForImsRegistrationChanges()
346 ImsPhone imsPhone = (ImsPhone) phone.getImsPhone(); in unregisterForImsRegistrationChanges()
364 for (Phone phone : allPhones) { in generateVoiceCapablePhoneMapBasedOnUserAssociation()
365 int subId = phone.getSubId(); in generateVoiceCapablePhoneMapBasedOnUserAssociation()
[all …]
DPhoneConfigurationManager.java176 for (Phone phone : mPhones) { in PhoneConfigurationManager()
177 registerForRadioState(phone); in PhoneConfigurationManager()
218 private void registerForRadioState(Phone phone) { in registerForRadioState() argument
219 phone.mCi.registerForAvailable(mHandler, Phone.EVENT_RADIO_AVAILABLE, phone); in registerForRadioState()
309 Phone phone = null; in handleMessage() local
316 phone = (Phone) ar.userObj; in handleMessage()
317 updatePhoneStatus(phone); in handleMessage()
422 public void enablePhone(Phone phone, boolean enable, Message result) { in enablePhone() argument
423 if (phone == null) { in enablePhone()
427 phone.mCi.enableModem(enable, result); in enablePhone()
[all …]
DCallTracker.java188 protected String convertNumberIfNecessary(Phone phone, String dialNumber) { in convertNumberIfNecessary() argument
194 phone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE); in convertNumberIfNecessary()
195 PersistableBundle bundle = configManager.getConfigForSubId(phone.getSubId()); in convertNumberIfNecessary()
197 convertMaps = (shouldPerformInternationalNumberRemapping(phone, bundle)) in convertNumberIfNecessary()
229 String mdn = phone.getLine1Number(); in convertNumberIfNecessary()
262 private boolean shouldPerformInternationalNumberRemapping(Phone phone, in shouldPerformInternationalNumberRemapping() argument
264 if (phone == null || phone.getDefaultPhone() == null) { in shouldPerformInternationalNumberRemapping()
276 return phone.getDefaultPhone().getServiceState().getVoiceRoamingType() in shouldPerformInternationalNumberRemapping()
280 private boolean compareGid1(Phone phone, String serviceGid1) { in compareGid1() argument
281 String gid1 = phone.getGroupIdLevel1(); in compareGid1()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DDomainSelectionController.java293 @NonNull Phone phone, in getDomainSelectionConnection()
300 c = new EmergencyCallDomainSelectionConnection(phone, this); in getDomainSelectionConnection()
302 c = new NormalCallDomainSelectionConnection(phone, this); in getDomainSelectionConnection()
306 c = new EmergencySmsDomainSelectionConnection(phone, this); in getDomainSelectionConnection()
308 c = new SmsDomainSelectionConnection(phone, this); in getDomainSelectionConnection()
362 private void updateServiceState(Phone phone, ServiceState serviceState) { in updateServiceState() argument
363 if (phone == null || serviceState == null) return; in updateServiceState()
364 if (DBG) logd("updateServiceState phoneId=" + phone.getPhoneId()); in updateServiceState()
370 phone.getPhoneId(), phone.getSubId(), serviceState); in updateServiceState()
384 private void updateBarringInfo(Phone phone, BarringInfo info) { in updateBarringInfo() argument
[all …]
DSmsDomainSelectionConnection.java36 public SmsDomainSelectionConnection(Phone phone, DomainSelectionController controller) { in SmsDomainSelectionConnection() argument
37 this(phone, controller, false); in SmsDomainSelectionConnection()
41 protected SmsDomainSelectionConnection(Phone phone, DomainSelectionController controller, in SmsDomainSelectionConnection() argument
43 super(phone, SELECTOR_TYPE_SMS, isEmergency, controller); in SmsDomainSelectionConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DPerSimStatus.java90 public static PerSimStatus getCurrentState(Phone phone) { in getCurrentState() argument
91 int[] numberIds = getNumberIds(phone); in getCurrentState()
93 int carrierId = phone.getCarrierId(); in getCurrentState()
94 ImsMmTelManager imsMmTelManager = getImsMmTelManager(phone); in getCurrentState()
95 IccCard iccCard = phone.getIccCard(); in getCurrentState()
112 phone.getDataRoamingEnabled(), in getCurrentState()
113 phone.getAllowedNetworkTypes(TelephonyManager.ALLOWED_NETWORK_TYPES_REASON_USER), in getCurrentState()
114 is2gDisabled(phone), in getCurrentState()
116 getMinimumVoltageClass(phone), in getCurrentState()
117 getUserModifiedApnTypes(phone), in getCurrentState()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DRadioOnHelper.java94 Phone phone = PhoneFactory.getPhone(i); in triggerRadioOnAndListen() local
95 if (phone == null) { in triggerRadioOnAndListen()
99 int timeoutCallbackInterval = (phone == phoneForEmergencyCall) in triggerRadioOnAndListen()
102 mListeners.get(i).waitForRadioOn(phone, this, forEmergencyCall, forEmergencyCall in triggerRadioOnAndListen()
103 && phone == phoneForEmergencyCall, timeoutCallbackInterval); in triggerRadioOnAndListen()
120 for (Phone phone : PhoneFactory.getPhones()) { in powerOnRadio()
123 phone.setRadioPowerOnForTestEmergencyCall(phone == phoneForEmergencyCall); in powerOnRadio()
125 phone.setRadioPower(true, forEmergencyCall, phone == phoneForEmergencyCall, in powerOnRadio()
179 public boolean isOkToCall(Phone phone, int serviceState, boolean imsVoiceCapable) { in isOkToCall() argument
181 ? false : mCallback.isOkToCall(phone, serviceState, imsVoiceCapable); in isOkToCall()
[all …]
DEmergencyStateTracker.java321 Phone phone = mPhone; in handleMessage() local
325 mPhone = phone; in handleMessage()
416 Phone phone = mPhone; in handleMessage() local
420 mPhone = phone; in handleMessage()
562 public CompletableFuture<Integer> startEmergencyCall(@NonNull Phone phone, in startEmergencyCall() argument
564 Rlog.i(TAG, "startEmergencyCall: phoneId=" + phone.getPhoneId() in startEmergencyCall()
567 if (needToSwitchPhone(phone)) { in startEmergencyCall()
576 if (isSamePhone(mPhone, phone) && (!mActiveEmergencyCalls.isEmpty() || isInEcm())) { in startEmergencyCall()
615 if (!isSamePhone(mSmsPhone, phone)) { in startEmergencyCall()
629 mPhone = phone; in startEmergencyCall()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/model/
DStatusBarMode.kt19 import com.android.systemui.statusbar.phone.BarTransitions
20 import com.android.systemui.statusbar.phone.BarTransitions.MODE_LIGHTS_OUT
21 import com.android.systemui.statusbar.phone.BarTransitions.MODE_LIGHTS_OUT_TRANSPARENT
22 import com.android.systemui.statusbar.phone.BarTransitions.MODE_OPAQUE
23 import com.android.systemui.statusbar.phone.BarTransitions.MODE_SEMI_TRANSPARENT
24 import com.android.systemui.statusbar.phone.BarTransitions.MODE_TRANSPARENT
25 import com.android.systemui.statusbar.phone.BarTransitions.TransitionMode
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/dagger/
DStatusBarFragmentComponent.java17 package com.android.systemui.statusbar.phone.fragment.dagger;
22 import com.android.systemui.statusbar.phone.HeadsUpAppearanceController;
23 import com.android.systemui.statusbar.phone.LegacyLightsOutNotifController;
24 import com.android.systemui.statusbar.phone.PhoneStatusBarTransitions;
25 import com.android.systemui.statusbar.phone.PhoneStatusBarView;
26 import com.android.systemui.statusbar.phone.PhoneStatusBarViewController;
27 import com.android.systemui.statusbar.phone.StatusBarBoundsProvider;
28 import com.android.systemui.statusbar.phone.StatusBarDemoMode;
29 import com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment;
DStatusBarFragmentModule.java17 package com.android.systemui.statusbar.phone.fragment.dagger;
26 import com.android.systemui.statusbar.phone.PhoneStatusBarTransitions;
27 import com.android.systemui.statusbar.phone.PhoneStatusBarView;
28 import com.android.systemui.statusbar.phone.PhoneStatusBarViewController;
29 import com.android.systemui.statusbar.phone.StatusBarLocation;
30 import com.android.systemui.statusbar.phone.userswitcher.StatusBarUserSwitcherContainer;
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DBiometricUnlockInteractor.kt8 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_DISMISS_BOUNCER
9 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_NONE
10 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_ONLY_WAKE
11 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_SHOW_BOUNCER
12 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_UNLOCK_COLLAPSING
13 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_WAKE_AND_UNLOCK
14 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_WAKE_AND_UNLOCK_FROM_DRE…
15 import com.android.systemui.statusbar.phone.BiometricUnlockController.MODE_WAKE_AND_UNLOCK_PULSING
16 import com.android.systemui.statusbar.phone.BiometricUnlockController.WakeAndUnlockMode
/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/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/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/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/
DCarrierRoamingSatelliteSessionStats.java77 public void onSessionStart(int carrierId, Phone phone) { in onSessionStart() argument
81 onConnectionStart(phone); in onSessionStart()
85 public void onConnectionStart(Phone phone) { in onConnectionStart() argument
87 updateNtnRoamingInHomeCountry(phone); in onConnectionStart()
103 public void onSignalStrength(Phone phone) { in onSignalStrength() argument
104 CellSignalStrengthLte cellSignalStrengthLte = getCellSignalStrengthLte(phone); in onSignalStrength()
215 private CellSignalStrengthLte getCellSignalStrengthLte(Phone phone) { in getCellSignalStrengthLte() argument
216 SignalStrength signalStrength = phone.getSignalStrength(); in getCellSignalStrengthLte()
305 private void updateNtnRoamingInHomeCountry(Phone phone) { in updateNtnRoamingInHomeCountry() argument
306 int subId = phone.getSubId(); in updateNtnRoamingInHomeCountry()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/core/
DStatusBarInitializer.kt22 import com.android.systemui.statusbar.phone.PhoneStatusBarTransitions in <lambda>()
23 import com.android.systemui.statusbar.phone.PhoneStatusBarView in <lambda>()
24 import com.android.systemui.statusbar.phone.PhoneStatusBarViewController in <lambda>()
25 import com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment in <lambda>()
26 import com.android.systemui.statusbar.phone.fragment.dagger.StatusBarFragmentComponent in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommender.java416 for (Phone phone : PhoneFactory.getPhones()) { in registerForInterestedStateChangedEvents()
417 phone.registerForServiceStateChanged( in registerForInterestedStateChangedEvents()
422 private void registerForImsRegistrationStateChanged(@NonNull Phone phone) { in registerForImsRegistrationStateChanged() argument
424 phone.getContext(), phone.getPhoneId()); in registerForImsRegistrationStateChanged()
427 getOrCreateImsRegistrationCallback(phone.getPhoneId()), this::post); in registerForImsRegistrationStateChanged()
436 for (Phone phone : PhoneFactory.getPhones()) { in unregisterForInterestedStateChangedEvents()
437 phone.unregisterForServiceStateChanged(this); in unregisterForInterestedStateChangedEvents()
441 private void unregisterForImsRegistrationStateChanged(@NonNull Phone phone) { in unregisterForImsRegistrationStateChanged() argument
442 if (mImsRegistrationCallbacks.contains(phone.getPhoneId())) { in unregisterForImsRegistrationStateChanged()
445 phone.getContext(), phone.getPhoneId()); in unregisterForImsRegistrationStateChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/
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/domain/interactor/
DDarkIconInteractor.kt16 package com.android.systemui.statusbar.phone.domain.interactor
18 import com.android.systemui.statusbar.phone.data.repository.DarkIconRepository
19 import com.android.systemui.statusbar.phone.domain.model.DarkState

12345678910>>...38