Home
last modified time | relevance | path

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

12345678910>>...19

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java47 public static boolean supportsEcm(Phone phone) { in supportsEcm() argument
48 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm()
49 " Ims Phone = " + phone.getImsPhone()); in supportsEcm()
50 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
51 phone.getImsPhone() != null); in supportsEcm()
71 public static boolean supportsOtasp(Phone phone) { in supportsOtasp() argument
72 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
80 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount() argument
81 return (phone.getVoiceMessageCount() != -1); in supportsVoiceMessageCount()
92 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection() argument
[all …]
DCallManager.java214 for (Phone phone : mPhones) { in getPhone()
215 if (phone.getSubId() == subId && in getPhone()
216 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in getPhone()
217 p = phone; in getPhone()
234 for (Phone phone : mPhones) { in getState()
235 if (phone.getState() == PhoneConstants.State.RINGING) { in getState()
237 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) { in getState()
254 for (Phone phone : mPhones) { in getState()
255 if (phone.getSubId() == subId) { in getState()
256 if (phone.getState() == PhoneConstants.State.RINGING) { in getState()
[all …]
DPhoneSubInfoController.java72 callingFeatureId, "getDeviceId", (phone) -> phone.getDeviceId()); in getDeviceIdForPhone()
77 callingFeatureId, "getNai", (phone)-> phone.getNai()); in getNaiForSubscriber()
83 callingFeatureId, "getImei", (phone) -> phone.getImei()); in getImeiForSubscriber()
90 (phone)-> phone.getCarrierInfoForImsiEncryption(keyType)); in getCarrierInfoForImsiEncryption()
97 (phone)-> { in setCarrierInfoForImsiEncryption()
98 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
113 (phone)-> { in resetCarrierKeysForImsiEncryption()
114 phone.resetCarrierKeysForImsiEncryption(); in resetCarrierKeysForImsiEncryption()
126 "getDeviceSvn", (phone)-> phone.getDeviceSvn()); in getDeviceSvnUsingSubId()
152 callingFeatureId, message, (phone) -> phone.getSubscriberId()); in getSubscriberIdForSubscriber()
[all …]
DTelephonyComponentFactory.java271 public GsmCdmaCallTracker makeGsmCdmaCallTracker(GsmCdmaPhone phone) {
272 return new GsmCdmaCallTracker(phone);
275 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) {
276 return new SmsStorageMonitor(phone);
283 public ServiceStateTracker makeServiceStateTracker(GsmCdmaPhone phone, CommandsInterface ci) {
284 return new ServiceStateTracker(phone, ci);
290 public EmergencyNumberTracker makeEmergencyNumberTracker(Phone phone, CommandsInterface ci) {
291 return new EmergencyNumberTracker(phone, ci);
299 public NitzStateMachine makeNitzStateMachine(GsmCdmaPhone phone) {
300 return NitzStateMachineImpl.createInstance(phone);
[all …]
DPhoneConfigurationManager.java104 for (Phone phone : mPhones) { in PhoneConfigurationManager()
105 phone.mCi.registerForAvailable(mHandler, Phone.EVENT_RADIO_AVAILABLE, phone); in PhoneConfigurationManager()
108 for (Phone phone : mPhones) { in PhoneConfigurationManager()
109 phone.mCi.registerForOn(mHandler, Phone.EVENT_RADIO_ON, phone); in PhoneConfigurationManager()
140 Phone phone = null; in handleMessage() local
147 phone = (Phone) ar.userObj; in handleMessage()
148 updatePhoneStatus(phone); in handleMessage()
195 public void enablePhone(Phone phone, boolean enable, Message result) { in enablePhone() argument
196 if (phone == null) { in enablePhone()
200 phone.mCi.enableModem(enable, result); in enablePhone()
[all …]
DCarrierSmsUtils.java51 Context context, Phone phone, Intent intent) { in getCarrierImsPackageForIntent() argument
53 String carrierImsPackage = getCarrierImsPackage(context, phone); in getCarrierImsPackageForIntent()
75 private static String getCarrierImsPackage(Context context, Phone phone) { in getCarrierImsPackage() argument
85 PersistableBundle config = cm.getConfigForSubId(phone.getSubId()); in getCarrierImsPackage()
87 if (VDBG) Rlog.v(TAG, "No CarrierConfig for subId:" + phone.getSubId()); in getCarrierImsPackage()
DGsmCdmaConnection.java128 public GsmCdmaConnection (GsmCdmaPhone phone, DriverCall dc, GsmCdmaCallTracker ct, int index) { in GsmCdmaConnection() argument
129 super(phone.getPhoneType()); in GsmCdmaConnection()
130 createWakeLock(phone.getContext()); in GsmCdmaConnection()
151 fetchDtmfToneDelay(phone); in GsmCdmaConnection()
159 public GsmCdmaConnection (GsmCdmaPhone phone, String dialString, GsmCdmaCallTracker ct, in GsmCdmaConnection() argument
161 super(phone.getPhoneType()); in GsmCdmaConnection()
162 createWakeLock(phone.getContext()); in GsmCdmaConnection()
208 fetchDtmfToneDelay(phone); in GsmCdmaConnection()
553 GsmCdmaPhone phone = mOwner.getPhone(); in disconnectCauseFromCode() local
554 int serviceState = phone.getServiceState().getState(); in disconnectCauseFromCode()
[all …]
DMultiSimSettingController.java662 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getSimCombinationWarningParams() local
664 if (phone != null && phone.isCdmaSubscriptionAppPresent()) { in getSimCombinationWarningParams()
671 simName = phone.getCarrierName(); in getSimCombinationWarningParams()
695 for (Phone phone : PhoneFactory.getPhones()) { in disableDataForNonDefaultNonOpportunisticSubscriptions()
696 if (phone.getSubId() != defaultDataSub in disableDataForNonDefaultNonOpportunisticSubscriptions()
697 && SubscriptionManager.isValidSubscriptionId(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions()
698 && !mSubController.isOpportunistic(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions()
699 && phone.isUserDataEnabled() in disableDataForNonDefaultNonOpportunisticSubscriptions()
700 && !areSubscriptionsInSameGroup(defaultDataSub, phone.getSubId())) { in disableDataForNonDefaultNonOpportunisticSubscriptions()
701 log("setting data to false on " + phone.getSubId()); in disableDataForNonDefaultNonOpportunisticSubscriptions()
[all …]
DCallTracker.java170 protected String convertNumberIfNecessary(Phone phone, String dialNumber) { in convertNumberIfNecessary() argument
176 phone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE); in convertNumberIfNecessary()
177 PersistableBundle bundle = configManager.getConfigForSubId(phone.getSubId()); in convertNumberIfNecessary()
208 String mdn = phone.getLine1Number(); in convertNumberIfNecessary()
235 private boolean compareGid1(Phone phone, String serviceGid1) { in compareGid1() argument
236 String gid1 = phone.getGroupIdLevel1(); in compareGid1()
DSmsStorageMonitor.java77 public SmsStorageMonitor(Phone phone) { in SmsStorageMonitor() argument
78 mPhone = phone; in SmsStorageMonitor()
79 mContext = phone.getContext(); in SmsStorageMonitor()
80 mCi = phone.mCi; in SmsStorageMonitor()
/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/
DSystemUIFactory.java39 import com.android.systemui.statusbar.phone.DozeParameters;
40 import com.android.systemui.statusbar.phone.KeyguardBouncer;
41 import com.android.systemui.statusbar.phone.KeyguardBypassController;
42 import com.android.systemui.statusbar.phone.LockIcon;
43 import com.android.systemui.statusbar.phone.LockscreenWallpaper;
44 import com.android.systemui.statusbar.phone.NotificationIconAreaController;
45 import com.android.systemui.statusbar.phone.ScrimController;
46 import com.android.systemui.statusbar.phone.ScrimState;
47 import com.android.systemui.statusbar.phone.StatusBar;
48 import com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager;
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSettingUtils.java119 public static boolean isMeteredApnType(@ApnType int apnType, Phone phone) { in isMeteredApnType() argument
120 if (phone == null) { in isMeteredApnType()
124 boolean isRoaming = phone.getServiceState().getDataRoaming(); in isMeteredApnType()
125 int subId = phone.getSubId(); in isMeteredApnType()
141 phone.getContext().getSystemService(Context.CARRIER_CONFIG_SERVICE); in isMeteredApnType()
188 public static boolean isMetered(ApnSetting apn, Phone phone) { in isMetered() argument
189 if (phone == null || apn == null) { in isMetered()
195 if (isMeteredApnType(apnType, phone)) { in isMetered()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNavBarTuner.java17 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY;
18 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY_CODE_END;
19 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY_CODE_START;
20 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY_IMAGE_DELIM;
21 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.MENU_IME_ROTATE;
22 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.NAVSPACE;
23 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.NAV_BAR_LEFT;
24 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.NAV_BAR_RIGHT;
25 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.NAV_BAR_VIEWS;
26 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.extractButton;
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerTest.java15 package com.android.systemui.statusbar.phone;
17 import static com.android.systemui.statusbar.phone.StatusBarIconHolder.TYPE_ICON;
18 import static com.android.systemui.statusbar.phone.StatusBarIconHolder.TYPE_MOBILE;
19 import static com.android.systemui.statusbar.phone.StatusBarIconHolder.TYPE_WIFI;
38 import com.android.systemui.statusbar.phone.StatusBarIconController.DarkIconManager;
39 import com.android.systemui.statusbar.phone.StatusBarIconController.IconManager;
40 import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.MobileIconState;
41 import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.WifiIconState;
/frameworks/base/packages/SystemUI/tests/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.MobileIconState;
23 import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.WifiIconState;
/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()
135 SmsStorageMonitor storageMonitor, Phone phone) { in makeInboundSmsHandler() argument
136 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone); in makeInboundSmsHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DAutoAddTracker.java17 import static com.android.systemui.statusbar.phone.AutoTileManager.HOTSPOT;
18 import static com.android.systemui.statusbar.phone.AutoTileManager.INVERSION;
19 import static com.android.systemui.statusbar.phone.AutoTileManager.NIGHT;
20 import static com.android.systemui.statusbar.phone.AutoTileManager.SAVER;
21 import static com.android.systemui.statusbar.phone.AutoTileManager.WORK;
/frameworks/av/services/audiopolicy/enginedefault/config/example/
DAndroid.bp25 src: "phone/audio_policy_engine_configuration.xml",
35 src: "phone/audio_policy_engine_product_strategies.xml",
40 src: "phone/audio_policy_engine_stream_volumes.xml",
45 src: "phone/audio_policy_engine_default_stream_volumes.xml",
/frameworks/base/telecomm/java/android/telecom/
DInCallService.java402 public void onAudioStateChanged(Phone phone, AudioState audioState) {
406 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
412 public void onBringToForeground(Phone phone, boolean showDialpad) {
418 public void onCallAdded(Phone phone, Call call) {
424 public void onCallRemoved(Phone phone, Call call) {
430 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
436 public void onSilenceRinger(Phone phone) {
577 public void onPhoneCreated(Phone phone) { in onPhoneCreated() argument
592 public void onPhoneDestroyed(Phone phone) { in onPhoneDestroyed() argument
DPhone.java52 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged() argument
60 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { } in onCallAudioStateChanged() argument
70 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground() argument
82 public void onCallAdded(Phone phone, Call call) { } in onCallAdded() argument
93 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved() argument
103 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged() argument
110 public void onSilenceRinger(Phone phone) { } in onSilenceRinger() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardEnvironmentImpl.java15 package com.android.systemui.statusbar.phone;
17 import static com.android.systemui.statusbar.phone.StatusBar.DEBUG;
18 import static com.android.systemui.statusbar.phone.StatusBar.MULTIUSER_DEBUG;
/frameworks/base/telephony/java/android/telephony/
DCellLocation.java59 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.getService("phone")); in requestLocationUpdate() local
60 if (phone != null) { in requestLocationUpdate()
61 phone.updateServiceLocationWithPackageName(appContext.getOpPackageName()); in requestLocationUpdate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DNitzStateMachineImpl.java131 public static NitzStateMachineImpl createInstance(@NonNull Phone phone) { in createInstance() argument
132 Objects.requireNonNull(phone); in createInstance()
134 int slotIndex = phone.getPhoneId(); in createInstance()
135 DeviceState deviceState = new DeviceStateImpl(phone); in createInstance()
139 TimeServiceHelper newTimeServiceHelper = new TimeServiceHelperImpl(phone); in createInstance()
141 NitzSignalInputFilterPredicateFactory.create(phone.getContext(), deviceState); in createInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java17 package com.android.systemui.pip.phone;
25 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_ACTIONS;
26 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_ALLOW_TIMEOUT;
27 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_CONTROLLER_MESSENGER;
28 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_DISMISS_FRACTION;
29 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_MENU_STATE;
30 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_MOVEMENT_BOUNDS;
31 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_STACK_BOUNDS;
32 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_WILL_RESIZE_MENU;
33 import static com.android.systemui.pip.phone.PipMenuActivityController.MENU_STATE_CLOSE;
[all …]

12345678910>>...19