Home
last modified time | relevance | path

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

12345678910>>...18

/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 …]
DPhoneSubInfoController.java51 public PhoneSubInfoController(Context context, Phone[] phone) { in PhoneSubInfoController() argument
52 mPhone = phone; in PhoneSubInfoController()
67 "getDeviceId", (phone)-> phone.getDeviceId()); in getDeviceIdForPhone()
72 (phone)-> phone.getNai()); in getNaiForSubscriber()
77 "getImei", (phone)-> phone.getImei()); in getImeiForSubscriber()
84 (phone)-> phone.getCarrierInfoForImsiEncryption(keyType)); in getCarrierInfoForImsiEncryption()
91 (phone)-> { in setCarrierInfoForImsiEncryption()
92 phone.setCarrierInfoForImsiEncryption(imsiEncryptionInfo); in setCarrierInfoForImsiEncryption()
107 (phone)-> { in resetCarrierKeysForImsiEncryption()
108 phone.resetCarrierKeysForImsiEncryption(); in resetCarrierKeysForImsiEncryption()
[all …]
DCallManager.java217 for (Phone phone : mPhones) { in getPhone()
218 if (phone.getSubId() == subId && in getPhone()
219 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in getPhone()
220 p = phone; in getPhone()
237 for (Phone phone : mPhones) { in getState()
238 if (phone.getState() == PhoneConstants.State.RINGING) { in getState()
240 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) { in getState()
257 for (Phone phone : mPhones) { in getState()
258 if (phone.getSubId() == subId) { in getState()
259 if (phone.getState() == PhoneConstants.State.RINGING) { in getState()
[all …]
DTelephonyComponentFactory.java272 public GsmCdmaCallTracker makeGsmCdmaCallTracker(GsmCdmaPhone phone) {
273 return new GsmCdmaCallTracker(phone);
276 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) {
277 return new SmsStorageMonitor(phone);
284 public ServiceStateTracker makeServiceStateTracker(GsmCdmaPhone phone, CommandsInterface ci) {
285 return new ServiceStateTracker(phone, ci);
291 public EmergencyNumberTracker makeEmergencyNumberTracker(Phone phone, CommandsInterface ci) {
292 return new EmergencyNumberTracker(phone, ci);
304 public NitzStateMachine makeNitzStateMachine(GsmCdmaPhone phone) {
306 ? new NewNitzStateMachine(phone)
[all …]
DPhoneConfigurationManager.java93 for (Phone phone : mPhones) { in PhoneConfigurationManager()
94 phone.mCi.registerForAvailable(mHandler, Phone.EVENT_RADIO_AVAILABLE, phone); in PhoneConfigurationManager()
97 for (Phone phone : mPhones) { in PhoneConfigurationManager()
98 phone.mCi.registerForOn(mHandler, Phone.EVENT_RADIO_ON, phone); in PhoneConfigurationManager()
129 Phone phone = null; in handleMessage() local
136 phone = (Phone) ar.userObj; in handleMessage()
137 updatePhoneStatus(phone); in handleMessage()
184 public void enablePhone(Phone phone, boolean enable, Message result) { in enablePhone() argument
185 if (phone == null) { in enablePhone()
189 phone.mCi.enableModem(enable, result); in enablePhone()
[all …]
DSmsNumberUtils.java533 public static String filterDestAddr(Phone phone, String destAddr) { in filterDestAddr() argument
542 final String networkOperator = TelephonyManager.from(phone.getContext()). in filterDestAddr()
543 getNetworkOperator(phone.getSubId()); in filterDestAddr()
546 if (needToConvert(phone)) { in filterDestAddr()
547 final int networkType = getNetworkType(phone); in filterDestAddr()
551 result = formatNumber(phone.getContext(), destAddr, networkMcc, networkType); in filterDestAddr()
567 private static int getNetworkType(Phone phone) { in getNetworkType() argument
569 int phoneType = phone.getPhoneType(); in getNetworkType()
574 if (isInternationalRoaming(phone)) { in getNetworkType()
586 private static boolean isInternationalRoaming(Phone phone) { in isInternationalRoaming() argument
[all …]
DCarrierSmsUtils.java50 Context context, Phone phone, Intent intent) { in getCarrierImsPackageForIntent() argument
52 String carrierImsPackage = getCarrierImsPackage(context, phone); in getCarrierImsPackageForIntent()
74 private static String getCarrierImsPackage(Context context, Phone phone) { in getCarrierImsPackage() argument
84 PersistableBundle config = cm.getConfigForSubId(phone.getSubId()); in getCarrierImsPackage()
86 if (VDBG) Rlog.v(TAG, "No CarrierConfig for subId:" + phone.getSubId()); in getCarrierImsPackage()
DMultiSimSettingController.java525 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getSimCombinationWarningParams() local
527 if (phone != null && phone.isCdmaSubscriptionAppPresent()) { in getSimCombinationWarningParams()
533 simName = phone.getCarrierName(); in getSimCombinationWarningParams()
557 for (Phone phone : PhoneFactory.getPhones()) { in disableDataForNonDefaultNonOpportunisticSubscriptions()
558 if (phone.getSubId() != defaultDataSub in disableDataForNonDefaultNonOpportunisticSubscriptions()
559 && SubscriptionManager.isValidSubscriptionId(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions()
560 && !mSubController.isOpportunistic(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions()
561 && phone.isUserDataEnabled() in disableDataForNonDefaultNonOpportunisticSubscriptions()
562 && !areSubscriptionsInSameGroup(defaultDataSub, phone.getSubId())) { in disableDataForNonDefaultNonOpportunisticSubscriptions()
563 log("setting data to false on " + phone.getSubId()); in disableDataForNonDefaultNonOpportunisticSubscriptions()
[all …]
DCellBroadcastHandler.java50 private CellBroadcastHandler(Context context, Phone phone) { in CellBroadcastHandler() argument
51 this("CellBroadcastHandler", context, phone); in CellBroadcastHandler()
54 protected CellBroadcastHandler(String debugTag, Context context, Phone phone) { in CellBroadcastHandler() argument
55 super(debugTag, context, phone); in CellBroadcastHandler()
63 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, Phone phone) { in makeCellBroadcastHandler() argument
64 CellBroadcastHandler handler = new CellBroadcastHandler(context, phone); in makeCellBroadcastHandler()
DGsmCdmaConnection.java130 public GsmCdmaConnection (GsmCdmaPhone phone, DriverCall dc, GsmCdmaCallTracker ct, int index) { in GsmCdmaConnection() argument
131 super(phone.getPhoneType()); in GsmCdmaConnection()
132 createWakeLock(phone.getContext()); in GsmCdmaConnection()
153 fetchDtmfToneDelay(phone); in GsmCdmaConnection()
161 public GsmCdmaConnection (GsmCdmaPhone phone, String dialString, GsmCdmaCallTracker ct, in GsmCdmaConnection() argument
163 super(phone.getPhoneType()); in GsmCdmaConnection()
164 createWakeLock(phone.getContext()); in GsmCdmaConnection()
210 fetchDtmfToneDelay(phone); in GsmCdmaConnection()
543 GsmCdmaPhone phone = mOwner.getPhone(); in disconnectCauseFromCode() local
544 int serviceState = phone.getServiceState().getState(); in disconnectCauseFromCode()
[all …]
/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/opt/gamesdk/third_party/protobuf-3.0.0/examples/
Dlist_people_test.go28 Home phone #: 555-4321
84 Work phone #: 555-555-5555
88 Home phone #: 555-555-0000
89 Mobile phone #: 555-555-0001
90 Work phone #: 555-555-0002
94 Mobile phone #: 555-777-0000
95 Home phone #: 555-777-0001
Dadd_person.go47 phone, err := rd.ReadString('\n')
51 phone = strings.TrimSpace(phone)
52 if phone == "" {
61 Number: phone,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java47 Phone phone) { in GsmInboundSmsHandler() argument
48 super("GsmInboundSmsHandler", context, storageMonitor, phone, in GsmInboundSmsHandler()
49 GsmCellBroadcastHandler.makeGsmCellBroadcastHandler(context, phone)); in GsmInboundSmsHandler()
50 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null); in GsmInboundSmsHandler()
51 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi, phone.getPhoneId()); in GsmInboundSmsHandler()
70 SmsStorageMonitor storageMonitor, Phone phone) { in makeInboundSmsHandler() argument
71 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone); in makeInboundSmsHandler()
/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/av/services/audiopolicy/enginedefault/config/example/
DAndroid.mk15 LOCAL_SRC_FILES := phone/$(LOCAL_MODULE)
29 LOCAL_SRC_FILES := phone/$(LOCAL_MODULE)
37 LOCAL_SRC_FILES := phone/$(LOCAL_MODULE)
45 LOCAL_SRC_FILES := phone/$(LOCAL_MODULE)
/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/src/com/android/systemui/
DSystemUIFactory.java52 import com.android.systemui.statusbar.phone.DozeParameters;
53 import com.android.systemui.statusbar.phone.KeyguardBouncer;
54 import com.android.systemui.statusbar.phone.KeyguardEnvironmentImpl;
55 import com.android.systemui.statusbar.phone.LockIcon;
56 import com.android.systemui.statusbar.phone.LockscreenWallpaper;
57 import com.android.systemui.statusbar.phone.NotificationIconAreaController;
58 import com.android.systemui.statusbar.phone.ScrimController;
59 import com.android.systemui.statusbar.phone.ScrimState;
60 import com.android.systemui.statusbar.phone.ShadeController;
61 import com.android.systemui.statusbar.phone.StatusBar;
[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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneFactoryTest.java31 Phone phone = PhoneFactory.getDefaultPhone(); in testBeforeMakePhone() local
37 Phone phone = PhoneFactory.getPhone(0); in testBeforeMakePhone() local
43 Phone[] phone = PhoneFactory.getPhones(); in testBeforeMakePhone() local
/frameworks/base/telecomm/java/android/telecom/
DInCallService.java375 public void onAudioStateChanged(Phone phone, AudioState audioState) {
379 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
385 public void onBringToForeground(Phone phone, boolean showDialpad) {
391 public void onCallAdded(Phone phone, Call call) {
397 public void onCallRemoved(Phone phone, Call call) {
403 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
409 public void onSilenceRinger(Phone phone) {
550 public void onPhoneCreated(Phone phone) { in onPhoneCreated() argument
565 public void onPhoneDestroyed(Phone phone) { in onPhoneDestroyed() argument
DPhone.java53 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged() argument
61 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { } in onCallAudioStateChanged() argument
71 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground() argument
83 public void onCallAdded(Phone phone, Call call) { } in onCallAdded() argument
94 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved() argument
104 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged() argument
111 public void onSilenceRinger(Phone phone) { } in onSilenceRinger() argument
/frameworks/base/telephony/java/android/telephony/
DCellLocation.java41 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.getService("phone")); in requestLocationUpdate() local
42 if (phone != null) { in requestLocationUpdate()
43 phone.updateServiceLocation(); in requestLocationUpdate()

12345678910>>...18