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

123

/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 return (phone.getPhoneType() == PhoneConstants.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() == PhoneConstants.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.java184 Phone phone;
188 phone = new CDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier);
194 phone = new CDMAPhone(sContext, sCommandsInterface, sPhoneNotifier);
199 return phone;
204 Phone phone = new GSMPhone(sContext, sCommandsInterface, sPhoneNotifier);
205 return phone;
211 * @param sipUri the local SIP URI the phone runs on
H A DIccPhoneBookInterfaceManager.java38 protected PhoneBase phone; field in class:IccPhoneBookInterfaceManager
106 public IccPhoneBookInterfaceManager(PhoneBase phone) { argument
107 this.phone = phone;
108 IccRecords r = phone.mIccRecords.get();
160 if (phone.getContext().checkCallingOrSelfPermission(
191 * phone book or erase/format the whole phonebook. Currently the email field
208 if (phone.getContext().checkCallingOrSelfPermission(
252 if (phone.getContext().checkCallingOrSelfPermission(
296 if (phone
[all...]
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 DIccSmsInterfaceManager.java39 protected IccSmsInterfaceManager(PhoneBase phone){ argument
40 mPhone = phone;
41 mContext = phone.getContext();
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/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnection.java40 private CdmaDataConnection(CDMAPhone phone, String name, int id, RetryManager rm, argument
42 super(phone, name, id, rm, dct);
48 * @param phone the Phone
53 static CdmaDataConnection makeDataConnection(CDMAPhone phone, int id, RetryManager rm, argument
55 CdmaDataConnection cdmaDc = new CdmaDataConnection(phone,
89 phone.mCM.setupDataCall(
107 && !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 DRuimPhoneBookInterfaceManager.java36 public RuimPhoneBookInterfaceManager(CDMAPhone phone) { argument
37 super(phone);
64 IccFileHandler fh = phone.getIccFileHandler();
H A DCdmaLteServiceStateTracker.java61 public CdmaLteServiceStateTracker(CDMALTEPhone phone) { argument
62 super(phone, new CellInfoLte());
63 mCdmaLtePhone = phone;
289 int networkMode = android.provider.Settings.Global.getInt(phone.getContext()
377 && (phone.mDataConnectionTracker instanceof CdmaDataConnectionTracker)) {
379 phone.mDataConnectionTracker.dispose();
380 phone.mDataConnectionTracker = new GsmDataConnectionTracker(mCdmaLtePhone);
384 && (phone.mDataConnectionTracker instanceof GsmDataConnectionTracker)) {
386 phone.mDataConnectionTracker.dispose();
387 phone
[all...]
H A DCdmaServiceStateTracker.java77 CDMAPhone phone; field in class:CdmaServiceStateTracker
165 public CdmaServiceStateTracker(CDMAPhone phone) { argument
166 this(phone, new CellInfoCdma());
169 protected CdmaServiceStateTracker(CDMAPhone phone, CellInfo cellInfo) { argument
170 super(phone, phone.mCM, cellInfo);
172 this.phone = phone;
173 cr = phone.getContext().getContentResolver();
177 mCdmaSSM = CdmaSubscriptionSourceManager.getInstance(phone
[all...]
H A DCdmaCallTracker.java80 CDMAPhone phone; field in class:CdmaCallTracker
96 CdmaCallTracker(CDMAPhone phone) { argument
97 this.phone = phone;
98 cm = phone.mCM;
197 PhoneNumberUtils.isLocalEmergencyNumber(dialString, phone.getContext());
201 handleEcmTimer(phone.CANCEL_ECM_TIMER);
216 pendingMO = new CdmaConnection(phone.getContext(), checkForTestEmergencyNumber(dialString),
239 phone.exitEmergencyCallbackMode();
240 phone
[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/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSimPhoneBookInterfaceManager.java36 public SimPhoneBookInterfaceManager(GSMPhone phone) { argument
37 super(phone);
64 IccFileHandler fh = phone.getIccFileHandler();
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
59 GsmDataConnection gsmDc = new GsmDataConnection(phone,
97 if (phone.getServiceState().getRoaming()) {
103 phone.mCM.setupDataCall(
130 && !phone.isDnsCheckDisabled()) {
H A DGsmMmiCode.java112 GSMPhone phone; field in class:GsmMmiCode
179 newFromDialString(String dialString, GSMPhone phone, UiccCardApplication app) { argument
187 ret = new GsmMmiCode(phone, app);
204 ret = new GsmMmiCode(phone, app);
212 ret = new GsmMmiCode(phone, app);
214 } else if (isTwoDigitShortCode(phone.getContext(), dialString)) {
217 } else if (isShortCode(dialString, phone)) {
219 ret = new GsmMmiCode(phone, app);
228 boolean isUssdRequest, GSMPhone phone, UiccCardApplication app) {
231 ret = new GsmMmiCode(phone, ap
227 newNetworkInitiatedUssd(String ussdMessage, boolean isUssdRequest, GSMPhone phone, UiccCardApplication app) argument
247 newFromUssdUserInput(String ussdMessge, GSMPhone phone, UiccCardApplication app) argument
401 GsmMmiCode(GSMPhone phone, UiccCardApplication app) argument
504 isShortCode(String dialString, GSMPhone phone) argument
546 isShortCodeUSSD(String dialString, GSMPhone phone) argument
[all...]
H A DGsmServiceStateTracker.java88 GSMPhone phone; field in class:GsmServiceStateTracker
199 public GsmServiceStateTracker(GSMPhone phone) { argument
200 super(phone, phone.mCM, new CellInfoGsm());
202 this.phone = phone;
207 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE);
219 phone.getContext().getContentResolver(),
223 cr = phone.getContext().getContentResolver();
236 phone
[all...]
H A DGsmCallTracker.java84 GSMPhone phone; field in class:GsmCallTracker
97 GsmCallTracker (GSMPhone phone) { argument
98 this.phone = phone;
99 cm = phone.mCM;
204 pendingMO = new GsmConnection(phone.getContext(), checkForTestEmergencyNumber(dialString),
225 phone.notifyPreciseCallStateChanged();
252 Log.i("phone", "acceptCall: incoming...");
260 throw new CallStateException("phone not ringing");
267 // so if the phone is
[all...]
H A DGsmConnection.java178 // On mobile originated (MO) calls, the phone number may have changed
182 // and therefore don't need to compare the phone number anyway.
185 // ... but we can compare phone numbers on MT calls, and we have
374 GSMPhone phone = owner.phone;
375 int serviceState = phone.getServiceState().getState();
389 if (phone.mSST.mRestrictedState.isCsRestricted()) {
391 } else if (phone.mSST.mRestrictedState.isCsEmergencyRestricted()) {
393 } else if (phone.mSST.mRestrictedState.isCsNormalRestricted()) {
428 owner.phone
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCloseDragHandle.java17 package com.android.systemui.statusbar.phone;
H A DQuickSettingsTileView.java17 package com.android.systemui.statusbar.phone;
H A DTickerView.java17 package com.android.systemui.statusbar.phone;
H A DQuickSettingsScrollView.java17 package com.android.systemui.statusbar.phone;
H A DPanelHolder.java17 package com.android.systemui.statusbar.phone;

Completed in 2448 milliseconds

123