Searched refs:phone (Results 1 - 25 of 192) sorted by relevance

12345678

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyCapabilities.java24 * Utilities that check if the phone supports specified capabilities.
34 * Return true if the current phone supports ECM ("Emergency Callback
47 public static boolean supportsEcm(Phone phone) { argument
48 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() +
49 " Ims Phone = " + phone.getImsPhone());
50 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA ||
51 phone.getImsPhone() != null);
55 * Return true if the current phone supports Over The Air Service
69 * "if (CDMA)" checks sprinkled throughout the phone app.
71 public static boolean supportsOtasp(Phone phone) { argument
80 supportsVoiceMessageCount(Phone phone) argument
92 supportsNetworkSelection(Phone phone) argument
104 getDeviceIdLabel(Phone phone) argument
126 supportsConferenceCallManagement(Phone phone) argument
140 supportsHoldAndUnhold(Phone phone) argument
160 supportsAnswerAndHold(Phone phone) argument
[all...]
H A DPhoneSubInfoController.java50 public PhoneSubInfoController(Context context, Phone[] phone) { argument
51 mPhone = phone;
71 final Phone phone = mPhone[phoneId];
72 if (phone != null) {
73 return phone.getDeviceId();
75 loge("getDeviceIdForPhone phone " + phoneId + " is null");
81 Phone phone = getPhone(subId);
82 if (phone != null) {
86 return phone.getNai();
88 loge("getNai phone i
282 enforcePrivilegedPermissionOrCarrierPrivilege(Phone phone) argument
[all...]
H A DTelephonyComponentFactory.java51 public GsmCdmaCallTracker makeGsmCdmaCallTracker(GsmCdmaPhone phone) { argument
52 return new GsmCdmaCallTracker(phone);
55 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) { argument
56 return new SmsStorageMonitor(phone);
63 public ServiceStateTracker makeServiceStateTracker(GsmCdmaPhone phone, CommandsInterface ci) { argument
64 return new ServiceStateTracker(phone, ci);
67 public DcTracker makeDcTracker(Phone phone) { argument
68 return new DcTracker(phone);
71 public IccPhoneBookInterfaceManager makeIccPhoneBookInterfaceManager(Phone phone) { argument
72 return new IccPhoneBookInterfaceManager(phone);
75 makeIccSmsInterfaceManager(Phone phone) argument
83 makeEriManager(Phone phone, Context context, int eriFileSource) argument
[all...]
H A DCallManager.java110 // default phone as the first phone registered, which is Phone obj
206 * Returns all the registered phone objects.
207 * @return all the registered phone objects.
219 for (Phone phone : mPhones) {
220 if (phone.getSubId() == subId &&
221 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) {
222 p = phone;
232 * then the phone state is RINGING not OFFHOOK
238 for (Phone phone
368 registerPhone(Phone phone) argument
393 unregisterPhone(Phone phone) argument
557 registerForPhoneStates(Phone phone) argument
625 unregisterForPhoneStates(Phone phone) argument
916 dial(Phone phone, String dialString, int videoState) argument
987 dial(Phone phone, String dialString, UUSInfo uusInfo, int videoState) argument
1022 canDial(Phone phone) argument
1124 getPendingMmiCodes(Phone phone) argument
1137 sendUssdResponse(Phone phone, String ussdMessge) argument
[all...]
H A DCellBroadcastHandler.java36 private CellBroadcastHandler(Context context, Phone phone) { argument
37 this("CellBroadcastHandler", context, phone);
40 protected CellBroadcastHandler(String debugTag, Context context, Phone phone) { argument
41 super(debugTag, context, phone);
49 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, Phone phone) { argument
50 CellBroadcastHandler handler = new CellBroadcastHandler(context, phone);
H A DImsSMSDispatcher.java53 public ImsSMSDispatcher(Phone phone, SmsStorageMonitor storageMonitor, argument
55 super(phone, usageMonitor, null);
60 mCdmaDispatcher = new CdmaSMSDispatcher(phone, usageMonitor, this);
61 mGsmInboundSmsHandler = GsmInboundSmsHandler.makeInboundSmsHandler(phone.getContext(),
62 storageMonitor, phone);
63 mCdmaInboundSmsHandler = CdmaInboundSmsHandler.makeInboundSmsHandler(phone.getContext(),
64 storageMonitor, phone, (CdmaSMSDispatcher) mCdmaDispatcher);
65 mGsmDispatcher = new GsmSMSDispatcher(phone, usageMonitor, this, mGsmInboundSmsHandler);
66 SmsBroadcastUndelivered.initialize(phone.getContext(),
68 InboundSmsHandler.registerNewMessageNotificationActionHandler(phone
76 updatePhoneObject(Phone phone) argument
[all...]
H A DSmsStorageMonitor.java50 /** Context from phone object passed to constructor. */
72 * @param phone the Phone to use
74 public SmsStorageMonitor(Phone phone) { argument
75 mPhone = phone;
76 mContext = phone.getContext();
77 mCi = phone.mCi;
99 * Handles events coming from the phone stack. Overridden from handler.
H A DSmsNumberUtils.java296 // 7 digits - Seven digit phone numbers
312 // 10 digits - Three digit area code followed by seven digit phone numbers/
318 // followed by three digit area code and seven digit phone numbers
326 // three digit area code and seven digit phone numbers
332 // prefix '1' followed by three digit area code and seven digit phone numbers
530 public static String filterDestAddr(Phone phone, String destAddr) { argument
534 Rlog.w(TAG, "destAddr" + destAddr + " is not a global phone number! Nothing changed.");
538 final String networkOperator = TelephonyManager.from(phone.getContext()).
539 getNetworkOperator(phone.getSubId());
542 if (needToConvert(phone)) {
562 getNetworkType(Phone phone) argument
581 isInternationalRoaming(Phone phone) argument
599 needToConvert(Phone phone) argument
624 compareGid1(Phone phone, String serviceGid1) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneFactoryTest.java30 Phone phone = PhoneFactory.getDefaultPhone();
36 Phone phone = PhoneFactory.getPhone(0);
42 Phone[] phone = PhoneFactory.getPhones();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DVelocityTrackerInterface.java17 package com.android.systemui.statusbar.phone;
H A DActivityStarter.java17 package com.android.systemui.statusbar.phone;
H A DVelocityTrackerFactory.java17 package com.android.systemui.statusbar.phone;
H A DAppButtonData.java17 package com.android.systemui.statusbar.phone;
H A DBounceInterpolator.java17 package com.android.systemui.statusbar.phone;
/frameworks/base/telephony/java/android/telephony/
H A DCellLocation.java40 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.getService("phone"));
41 if (phone != null) {
42 phone.updateServiceLocation();
91 * location, or null for unknown/none phone radio types.
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/text/
H A DBidiFormatterSupport.java32 private static String phone = "+1 650 253 0000"; field in class:BidiFormatterSupport
40 String formattedText = String.format(text, phone);
46 String wrappedPhone = BidiFormatter.getInstance(true /* rtlContext */).unicodeWrap(phone);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/text/
H A DBidiFormatterSupport.java32 private static String phone = "+1 650 253 0000"; field in class:BidiFormatterSupport
40 String formattedText = String.format(text, phone);
46 String wrappedPhone = BidiFormatter.getInstance(true /* rtlContext */).unicodeWrap(phone);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DBluetoothDialog.java22 import com.android.systemui.statusbar.phone.SystemUIDialog;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmInboundSmsHandler.java49 Phone phone) {
50 super("GsmInboundSmsHandler", context, storageMonitor, phone,
51 GsmCellBroadcastHandler.makeGsmCellBroadcastHandler(context, phone));
52 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null);
53 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi);
72 SmsStorageMonitor storageMonitor, Phone phone) {
73 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone);
180 * Called when the phone changes the default method updates mPhone
184 * @param phone
187 protected void onUpdatePhoneObject(Phone phone) { argument
48 GsmInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, Phone phone) argument
71 makeInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, Phone phone) argument
[all...]
H A DGsmCellBroadcastHandler.java44 protected GsmCellBroadcastHandler(Context context, Phone phone) { argument
45 super("GsmCellBroadcastHandler", context, phone);
46 phone.mCi.setOnNewGsmBroadcastSms(getHandler(), EVENT_NEW_SMS_MESSAGE, null);
61 Phone phone) {
62 GsmCellBroadcastHandler handler = new GsmCellBroadcastHandler(context, phone);
60 makeGsmCellBroadcastHandler(Context context, Phone phone) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsExternalCall.java34 public ImsExternalCall(Phone phone, ImsExternalConnection connection) { argument
35 mPhone = phone;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTesterDeactivateAll.java68 DcTesterDeactivateAll(Phone phone, DcController dcc, Handler handler) { argument
69 mPhone = phone;
81 phone.getContext().registerReceiver(sIntentReceiver, filter, null, handler);
H A DDcTesterFailBringUpAll.java77 DcTesterFailBringUpAll(Phone phone, Handler handler) { argument
78 mPhone = phone;
91 phone.getContext().registerReceiver(mIntentReceiver, filter, null, handler);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java61 Phone phone, CdmaSMSDispatcher smsDispatcher) {
62 super("CdmaInboundSmsHandler", context, storageMonitor, phone,
63 CellBroadcastHandler.makeCellBroadcastHandler(context, phone));
66 phone.mCi);
67 phone.mCi.setOnNewCdmaSms(getHandler(), EVENT_NEW_SMS, null);
86 SmsStorageMonitor storageMonitor, Phone phone, CdmaSMSDispatcher smsDispatcher) {
88 phone, smsDispatcher);
197 * Called when the phone changes the default method updates mPhone
201 * @param phone
204 protected void onUpdatePhoneObject(Phone phone) { argument
60 CdmaInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, Phone phone, CdmaSMSDispatcher smsDispatcher) argument
85 makeInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, Phone phone, CdmaSMSDispatcher smsDispatcher) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUIFactory.java30 import com.android.systemui.statusbar.phone.KeyguardBouncer;
31 import com.android.systemui.statusbar.phone.LockscreenWallpaper;
32 import com.android.systemui.statusbar.phone.NotificationIconAreaController;
33 import com.android.systemui.statusbar.phone.PhoneStatusBar;
34 import com.android.systemui.statusbar.phone.QSTileHost;
35 import com.android.systemui.statusbar.phone.ScrimController;
36 import com.android.systemui.statusbar.phone.StatusBarIconController;
37 import com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager;
38 import com.android.systemui.statusbar.phone.StatusBarWindowManager;

Completed in 5839 milliseconds

12345678