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

123456

/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 DCellBroadcastHandler.java35 private CellBroadcastHandler(Context context, PhoneBase phone) { argument
36 this("CellBroadcastHandler", context, phone);
39 protected CellBroadcastHandler(String debugTag, Context context, PhoneBase phone) { argument
40 super(debugTag, context, phone);
48 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, PhoneBase phone) { argument
49 CellBroadcastHandler handler = new CellBroadcastHandler(context, phone);
H A DCallManager.java108 // default phone as the first phone registered, which is PhoneBase obj
199 * @param phone a Phone object
204 private static Phone getPhoneBase(Phone phone) { argument
205 if (phone instanceof PhoneProxy) {
206 return phone.getForegroundCall().getPhone();
208 return phone;
217 * they have same phone APIs, such as dial(). The real implementation, for
223 * So for phone returned by PhoneFacotry, which is used by PhoneApp,
224 * phone
398 registerPhone(Phone phone) argument
425 unregisterPhone(Phone phone) argument
512 registerForPhoneStates(Phone phone) argument
566 unregisterForPhoneStates(Phone phone) argument
861 dial(Phone phone, String dialString, int videoState) argument
930 dial(Phone phone, String dialString, UUSInfo uusInfo, int videoState) argument
965 canDial(Phone phone) argument
1067 getPendingMmiCodes(Phone phone) argument
1080 sendUssdResponse(Phone phone, String ussdMessge) argument
[all...]
H A DTelephonyTester.java29 * Telephony tester receives the following intents where {name} is the phone name
59 TelephonyTester(PhoneBase phone) { argument
60 mPhone = phone;
71 phone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone.getHandler());
H A DPhoneFactory.java161 PhoneBase phone = null;
164 phone = new GSMPhone(context,
167 phone = new CDMALTEPhone(context,
172 sProxyPhones[i] = new PhoneProxy(phone);
177 // Set the default phone in base class.
207 Phone phone;
209 phone = new CDMALTEPhone(sContext, sCommandsInterfaces[phoneId],
212 return phone;
217 Phone phone = new GSMPhone(sContext, sCommandsInterfaces[phoneId],
219 return phone;
[all...]
H A DSmsStorageMonitor.java50 /** Context from phone object passed to constructor. */
72 * @param phone the Phone to use
74 public SmsStorageMonitor(PhoneBase 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 DImsSMSDispatcher.java54 public ImsSMSDispatcher(PhoneBase phone, SmsStorageMonitor storageMonitor, argument
56 super(phone, usageMonitor, null);
61 mCdmaDispatcher = new CdmaSMSDispatcher(phone, usageMonitor, this);
62 mGsmInboundSmsHandler = GsmInboundSmsHandler.makeInboundSmsHandler(phone.getContext(),
63 storageMonitor, phone);
64 mCdmaInboundSmsHandler = CdmaInboundSmsHandler.makeInboundSmsHandler(phone.getContext(),
65 storageMonitor, phone, (CdmaSMSDispatcher) mCdmaDispatcher);
66 mGsmDispatcher = new GsmSMSDispatcher(phone, usageMonitor, this, mGsmInboundSmsHandler);
67 Thread broadcastThread = new Thread(new SmsBroadcastUndelivered(phone.getContext(),
75 /* Updates the phone objec
77 updatePhoneObject(PhoneBase phone) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DActivityStarter.java17 package com.android.systemui.statusbar.phone;
H A DVelocityTrackerInterface.java17 package com.android.systemui.statusbar.phone;
H A DBounceInterpolator.java17 package com.android.systemui.statusbar.phone;
H A DTickerView.java17 package com.android.systemui.statusbar.phone;
H A DVelocityTrackerFactory.java17 package com.android.systemui.statusbar.phone;
H A DKeyguardIndicationTextView.java17 package com.android.systemui.statusbar.phone;
H A DPlatformVelocityTracker.java17 package com.android.systemui.statusbar.phone;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmInboundSmsHandler.java45 PhoneBase phone) {
46 super("GsmInboundSmsHandler", context, storageMonitor, phone,
47 GsmCellBroadcastHandler.makeGsmCellBroadcastHandler(context, phone));
48 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null);
49 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi);
68 SmsStorageMonitor storageMonitor, PhoneBase phone) {
69 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone);
144 * Called when the phone changes the default method updates mPhone
148 * @param phone
151 protected void onUpdatePhoneObject(PhoneBase phone) { argument
44 GsmInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, PhoneBase phone) argument
67 makeInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, PhoneBase phone) argument
[all...]
H A DSimPhoneBookInterfaceManager.java36 public SimPhoneBookInterfaceManager(GSMPhone phone) { argument
37 super(phone);
H A DGsmCellBroadcastHandler.java45 protected GsmCellBroadcastHandler(Context context, PhoneBase phone) { argument
46 super("GsmCellBroadcastHandler", context, phone);
47 phone.mCi.setOnNewGsmBroadcastSms(getHandler(), EVENT_NEW_SMS_MESSAGE, null);
62 PhoneBase phone) {
63 GsmCellBroadcastHandler handler = new GsmCellBroadcastHandler(context, phone);
61 makeGsmCellBroadcastHandler(Context context, PhoneBase phone) argument
/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();
85 * location, or null for unknown/none phone radio types.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTesterDeactivateAll.java68 DcTesterDeactivateAll(PhoneBase phone, DcController dcc, Handler handler) { argument
69 mPhone = phone;
81 phone.getContext().registerReceiver(sIntentReceiver, filter, null, handler);
H A DDcTesterFailBringUpAll.java77 DcTesterFailBringUpAll(PhoneBase 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 PhoneBase 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, PhoneBase phone, CdmaSMSDispatcher smsDispatcher) {
88 phone, smsDispatcher);
214 * Called when the phone changes the default method updates mPhone
218 * @param phone
221 protected void onUpdatePhoneObject(PhoneBase phone) { argument
60 CdmaInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, PhoneBase phone, CdmaSMSDispatcher smsDispatcher) argument
85 makeInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, PhoneBase phone, CdmaSMSDispatcher smsDispatcher) argument
[all...]
H A DRuimPhoneBookInterfaceManager.java36 public RuimPhoneBookInterfaceManager(CDMAPhone phone) { argument
37 super(phone);
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapCard.java102 for (PhoneData phone : phones) {
104 jsonPhone.put("type", phone.getType());
105 jsonPhone.put("number", phone.getNumber());
106 jsonPhone.put("label", phone.getLabel());
107 jsonPhone.put("is_primary", phone.isPrimary());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DEmptyShadeView.java27 import com.android.systemui.statusbar.phone.PhoneStatusBar;
/frameworks/base/telecomm/java/android/telecom/
H A DPhone.java40 * @param phone The {@code Phone} calling this method.
43 public void onAudioStateChanged(Phone phone, AudioState audioState) { } argument
50 * @param phone The {@code Phone} calling this method.
53 public void onBringToForeground(Phone phone, boolean showDialpad) { } argument
62 * @param phone The {@code Phone} calling this method.
65 public void onCallAdded(Phone phone, Call call) { } argument
73 * @param phone The {@code Phone} calling this method.
76 public void onCallRemoved(Phone phone, Call call) { } argument
153 * Called to destroy the phone and cleanup any lingering calls.
237 * Obtains the current phone cal
[all...]

Completed in 4018 milliseconds

123456