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

123

/frameworks/base/telephony/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 return (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA);
52 * Return true if the current phone supports Over The Air Service
66 * "if (CDMA)" checks sprinkled throughout the phone app.
68 public static boolean supportsOtasp(Phone phone) { argument
69 return (phone.getPhoneType() == Phone.PHONE_TYPE_CDMA);
73 * Return true if the current phone can retrieve the voice message count.
77 public static boolean supportsVoiceMessageCount(Phone phone) { argument
89 supportsNetworkSelection(Phone phone) argument
101 getDeviceIdLabel(Phone phone) argument
123 supportsConferenceCallManagement(Phone phone) argument
137 supportsHoldAndUnhold(Phone phone) argument
156 supportsAnswerAndHold(Phone phone) argument
[all...]
H A DCallManager.java100 // default phone as the first phone registered, which is PhoneBase obj
186 * @param phone a Phone object
191 private static Phone getPhoneBase(Phone phone) { argument
192 if (phone instanceof PhoneProxy) {
193 return phone.getForegroundCall().getPhone();
195 return phone;
204 * they have same phone APIs, such as dial(). The real implementation, for
210 * So for phone returned by PhoneFacotry, which is used by PhoneApp,
211 * phone
290 registerPhone(Phone phone) argument
317 unregisterPhone(Phone phone) argument
427 registerForPhoneStates(Phone phone) argument
460 unregisterForPhoneStates(Phone phone) argument
714 dial(Phone phone, String dialString) argument
766 dial(Phone phone, String dialString, UUSInfo uusInfo) argument
789 canDial(Phone phone) argument
873 getPendingMmiCodes(Phone phone) argument
886 sendUssdResponse(Phone phone, String ussdMessge) argument
[all...]
H A DPhoneFactory.java167 * This function returns the type of the phone, depending
216 Phone phone;
220 phone = new CDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier);
226 phone = new CDMAPhone(sContext, sCommandsInterface, sPhoneNotifier);
231 return phone;
236 Phone phone = new GSMPhone(sContext, sCommandsInterface, sPhoneNotifier);
237 return phone;
243 * @param sipUri the local SIP URI the phone runs on
H A DIccPhoneBookInterfaceManager.java36 protected PhoneBase phone; field in class:IccPhoneBookInterfaceManager
104 public IccPhoneBookInterfaceManager(PhoneBase phone) { argument
105 this.phone = phone;
146 if (phone.getContext().checkCallingOrSelfPermission(
177 * phone book or erase/format the whole phonebook. Currently the email field
194 if (phone.getContext().checkCallingOrSelfPermission(
238 if (phone.getContext().checkCallingOrSelfPermission(
282 if (phone.getIccCard().isApplicationOnIcc(IccCardApplication.AppType.APPTYPE_USIM)) {
H A DIccSmsInterfaceManager.java39 protected IccSmsInterfaceManager(PhoneBase phone){ argument
40 mPhone = phone;
41 mContext = phone.getContext();
H A DSmsStorageMonitor.java49 /** Context from phone object passed to constructor. */
68 * @param phone the Phone to use
70 public SmsStorageMonitor(PhoneBase phone) { argument
71 mContext = phone.getContext();
72 mCm = phone.mCM;
94 * Handles events coming from the phone stack. Overridden from handler.
H A DPhoneSubInfo.java41 public PhoneSubInfo(Phone phone) { argument
42 mPhone = phone;
43 mContext = phone.getContext();
92 * Retrieves the phone number string for line 1.
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
H A DUiccController.java29 * applications to pass them to phone and service trackers.
41 public static synchronized UiccController getInstance(PhoneBase phone) { argument
43 mInstance = new UiccController(phone);
45 mInstance.setNewPhone(phone);
54 private UiccController(PhoneBase phone) { argument
56 setNewPhone(phone);
59 private void setNewPhone(PhoneBase phone) { argument
60 mCurrentPhone = phone;
61 if (phone instanceof GSMPhone) {
62 if (DBG) log("New phone i
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaLteServiceStateTracker.java48 public CdmaLteServiceStateTracker(CDMALTEPhone phone) { argument
49 super(phone);
50 mCdmaLtePhone = phone;
68 CdmaLteUiccRecords sim = (CdmaLteUiccRecords)phone.mIccRecords;
174 int networkMode = android.provider.Settings.Secure.getInt(phone.getContext()
219 int networkMode = android.provider.Settings.Secure.getInt(phone.getContext()
307 && (phone.mDataConnectionTracker instanceof CdmaDataConnectionTracker)) {
309 phone.mDataConnectionTracker.dispose();
310 phone.mDataConnectionTracker = new GsmDataConnectionTracker(mCdmaLtePhone);
314 && (phone
[all...]
H A DRuimPhoneBookInterfaceManager.java35 public RuimPhoneBookInterfaceManager(CDMAPhone phone) { argument
36 super(phone);
37 adnCache = phone.mIccRecords.getAdnCache();
64 phone.getIccFileHandler().getEFLinearRecordSize(efid, response);
H A DCdmaDataConnection.java39 private CdmaDataConnection(CDMAPhone phone, String name, int id, RetryManager rm, argument
41 super(phone, name, id, rm, dct);
47 * @param phone the Phone
52 static CdmaDataConnection makeDataConnection(CDMAPhone phone, int id, RetryManager rm, argument
57 CdmaDataConnection cdmaDc = new CdmaDataConnection(phone, "CdmaDC-" + mCount,
91 phone.mCM.setupDataCall(
109 && !phone.isDnsCheckDisabled()) {
H A DCdmaMmiCode.java55 CDMAPhone phone; field in class:CdmaMmiCode
101 newFromDialString(String dialString, CDMAPhone phone) { argument
109 ret = new CdmaMmiCode(phone);
138 CdmaMmiCode (CDMAPhone phone) { argument
139 super(phone.getHandler().getLooper());
140 this.phone = phone;
141 this.context = phone.getContext();
165 phone.onMMIDone (this);
209 phone
[all...]
H A DCdmaServiceStateTracker.java70 CDMAPhone phone; field in class:CdmaServiceStateTracker
164 public CdmaServiceStateTracker(CDMAPhone phone) { argument
167 this.phone = phone;
168 cr = phone.getContext().getContentResolver();
169 cm = phone.mCM;
176 mCdmaSSM = CdmaSubscriptionSourceManager.getInstance(phone.getContext(), cm, this,
182 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE);
192 phone.registerForEriFileLoaded(this, EVENT_ERI_FILE_LOADED, null);
214 phone
[all...]
H A DCdmaCallTracker.java79 CDMAPhone phone; field in class:CdmaCallTracker
95 CdmaCallTracker(CDMAPhone phone) { argument
96 this.phone = phone;
97 cm = phone.mCM;
196 PhoneNumberUtils.isLocalEmergencyNumber(dialString, phone.getContext());
200 handleEcmTimer(phone.CANCEL_ECM_TIMER);
215 pendingMO = new CdmaConnection(phone.getContext(), checkForTestEmergencyNumber(dialString),
238 phone.exitEmergencyCallbackMode();
239 phone
[all...]
H A DRuimSmsInterfaceManager.java84 public RuimSmsInterfaceManager(CDMAPhone phone, SMSDispatcher dispatcher) { argument
85 super(phone);
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSimPhoneBookInterfaceManager.java35 public SimPhoneBookInterfaceManager(GSMPhone phone) { argument
36 super(phone);
37 adnCache = phone.mIccRecords.getAdnCache();
64 phone.getIccFileHandler().getEFLinearRecordSize(efid, response);
H A DGsmDataConnection.java44 private GsmDataConnection(PhoneBase phone, String name, int id, RetryManager rm, argument
46 super(phone, name, id, rm, dct);
52 * @param phone the Phone
57 static GsmDataConnection makeDataConnection(PhoneBase phone, int id, RetryManager rm, argument
62 GsmDataConnection gsmDc = new GsmDataConnection(phone, "GsmDC-" + mCount, id, rm, dct);
99 if (phone.getServiceState().getRoaming()) {
105 phone.mCM.setupDataCall(
132 && !phone.isDnsCheckDisabled()) {
H A DGsmMmiCode.java111 GSMPhone phone; field in class:GsmMmiCode
176 newFromDialString(String dialString, GSMPhone phone) { argument
184 ret = new GsmMmiCode(phone);
199 ret = new GsmMmiCode(phone);
201 } else if (isTwoDigitShortCode(phone.getContext(), dialString)) {
204 } else if (isShortCode(dialString, phone)) {
206 ret = new GsmMmiCode(phone);
215 boolean isUssdRequest, GSMPhone phone) {
218 ret = new GsmMmiCode(phone);
234 static GsmMmiCode newFromUssdUserInput(String ussdMessge, GSMPhone phone) { argument
214 newNetworkInitiatedUssd(String ussdMessage, boolean isUssdRequest, GSMPhone phone) argument
386 GsmMmiCode(GSMPhone phone) argument
485 isShortCode(String dialString, GSMPhone phone) argument
527 isShortCodeUSSD(String dialString, GSMPhone phone) argument
[all...]
H A DGsmServiceStateTracker.java80 GSMPhone phone; field in class:GsmServiceStateTracker
195 public GsmServiceStateTracker(GSMPhone phone) { argument
198 this.phone = phone;
199 cm = phone.mCM;
207 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE);
217 phone.getIccCard().registerForReady(this, EVENT_SIM_READY, null);
221 phone.getContext().getContentResolver(),
225 cr = phone.getContext().getContentResolver();
239 phone
[all...]
H A DGsmConnection.java170 // On mobile originated (MO) calls, the phone number may have changed
174 // and therefore don't need to compare the phone number anyway.
177 // ... but we can compare phone numbers on MT calls, and we have
366 GSMPhone phone = owner.phone;
367 int serviceState = phone.getServiceState().getState();
373 } else if (phone.getIccCard().getState() != IccCard.State.READY) {
376 if (phone.mSST.mRestrictedState.isCsRestricted()) {
378 } else if (phone.mSST.mRestrictedState.isCsEmergencyRestricted()) {
380 } else if (phone
[all...]
H A DGsmCallTracker.java83 GSMPhone phone; field in class:GsmCallTracker
96 GsmCallTracker (GSMPhone phone) { argument
97 this.phone = phone;
98 cm = phone.mCM;
203 pendingMO = new GsmConnection(phone.getContext(), checkForTestEmergencyNumber(dialString),
224 phone.notifyPreciseCallStateChanged();
251 Log.i("phone", "acceptCall: incoming...");
259 throw new CallStateException("phone not ringing");
266 // so if the phone is
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DCellLocation.java43 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.getService("phone"));
44 if (phone != null) {
45 phone.updateServiceLocation();
88 * location, or null for unknown/none phone radio types.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCloseDragHandle.java17 package com.android.systemui.statusbar.phone;
H A DTickerView.java17 package com.android.systemui.statusbar.phone;
H A DTrackingPatternView.java17 package com.android.systemui.statusbar.phone;

Completed in 1774 milliseconds

123