Searched refs:phone (Results 1 - 25 of 74) 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
188 * @param phone a Phone object
193 private static Phone getPhoneBase(Phone phone) { argument
194 if (phone instanceof PhoneProxy) {
195 return phone.getForegroundCall().getPhone();
197 return phone;
206 * they have same phone APIs, such as dial(). The real implementation, for
212 * So for phone returned by PhoneFacotry, which is used by PhoneApp,
213 * phone
292 registerPhone(Phone phone) argument
319 unregisterPhone(Phone phone) argument
438 registerForPhoneStates(Phone phone) argument
471 unregisterForPhoneStates(Phone phone) argument
742 dial(Phone phone, String dialString) argument
794 dial(Phone phone, String dialString, UUSInfo uusInfo) argument
816 canDial(Phone phone) argument
893 getPendingMmiCodes(Phone phone) argument
906 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 DImsSMSDispatcher.java52 public ImsSMSDispatcher(PhoneBase phone, SmsStorageMonitor storageMonitor, argument
54 super(phone, usageMonitor, null);
59 mCdmaDispatcher = new CdmaSMSDispatcher(phone, usageMonitor, this);
60 mGsmInboundSmsHandler = GsmInboundSmsHandler.makeInboundSmsHandler(phone.getContext(),
61 storageMonitor, phone);
62 mCdmaInboundSmsHandler = CdmaInboundSmsHandler.makeInboundSmsHandler(phone.getContext(),
63 storageMonitor, phone, (CdmaSMSDispatcher) mCdmaDispatcher);
64 mGsmDispatcher = new GsmSMSDispatcher(phone, usageMonitor, this, mGsmInboundSmsHandler);
65 Thread broadcastThread = new Thread(new SmsBroadcastUndelivered(phone.getContext(),
73 /* Updates the phone objec
75 updatePhoneObject(PhoneBase phone) argument
[all...]
H A DPhoneFactory.java171 Phone phone;
175 phone = new CDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier);
181 phone = new CDMAPhone(sContext, sCommandsInterface, sPhoneNotifier);
186 return phone;
191 Phone phone = new GSMPhone(sContext, sCommandsInterface, sPhoneNotifier);
192 return phone;
198 * @param sipUri the local SIP URI the phone runs on
H A DCellBroadcastHandler.java38 protected CellBroadcastHandler(String debugTag, Context context, PhoneBase phone) { argument
39 super(debugTag, context, phone);
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 mCi = phone.mCi;
94 * Handles events coming from the phone stack. Overridden from handler.
H A DWakeLockStateMachine.java64 protected WakeLockStateMachine(String debugTag, Context context, PhoneBase phone) { argument
68 mPhone = phone;
80 public void updatePhoneObject(PhoneBase phone) { argument
81 sendMessage(EVENT_UPDATE_PHONE_OBJECT, phone);
117 log("updatePhoneObject: phone=" + mPhone.getClass().getSimpleName());
H A DPhoneSubInfo.java44 public PhoneSubInfo(Phone phone) { argument
45 mPhone = phone;
46 mContext = phone.getContext();
108 * Retrieves the phone number string for line 1.
H A DIccSmsInterfaceManager.java117 protected IccSmsInterfaceManager(PhoneBase phone) { argument
118 mPhone = phone;
119 mContext = phone.getContext();
121 mDispatcher = new ImsSMSDispatcher(phone,
122 phone.mSmsStorageMonitor, phone.mSmsUsageMonitor);
161 protected void updatePhoneObject(PhoneBase phone) { argument
162 mPhone = phone;
163 mDispatcher.updatePhoneObject(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
H A DGsmMmiCode.java183 newFromDialString(String dialString, GSMPhone phone, UiccCardApplication app) { argument
191 ret = new GsmMmiCode(phone, app);
208 ret = new GsmMmiCode(phone, app);
216 ret = new GsmMmiCode(phone, app);
218 } else if (isTwoDigitShortCode(phone.getContext(), dialString)) {
221 } else if (isShortCode(dialString, phone)) {
223 ret = new GsmMmiCode(phone, app);
232 boolean isUssdRequest, GSMPhone phone, UiccCardApplication app) {
235 ret = new GsmMmiCode(phone, app);
252 GSMPhone phone,
231 newNetworkInitiatedUssd(String ussdMessage, boolean isUssdRequest, GSMPhone phone, UiccCardApplication app) argument
251 newFromUssdUserInput(String ussdMessge, GSMPhone phone, UiccCardApplication app) argument
407 GsmMmiCode(GSMPhone phone, UiccCardApplication app) argument
514 isShortCode(String dialString, GSMPhone phone) argument
550 isShortCodeUSSD(String dialString, GSMPhone phone) argument
[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/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/base/packages/SystemUI/src/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 DIconMerger.java17 package com.android.systemui.statusbar.phone;
H A DPanelHolder.java17 package com.android.systemui.statusbar.phone;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java61 PhoneBase phone, CdmaSMSDispatcher smsDispatcher) {
62 super("CdmaInboundSmsHandler", context, storageMonitor, 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
222 super.onUpdatePhoneObject(phone);
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);
H A DCdmaMmiCode.java107 newFromDialString(String dialString, CDMAPhone phone, UiccCardApplication app) { argument
115 ret = new CdmaMmiCode(phone,app);
144 CdmaMmiCode (CDMAPhone phone, UiccCardApplication app) { argument
145 super(phone.getHandler().getLooper());
146 mPhone = phone;
147 mContext = phone.getContext();
/frameworks/base/services/java/com/android/server/connectivity/
H A DDataConnectionStats.java54 TelephonyManager phone =
56 phone.listen(mPhoneStateListener,

Completed in 401 milliseconds

123