Home
last modified time | relevance | path

Searched refs:phone (Results 1 – 25 of 259) sorted by relevance

1234567891011

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java47 public static boolean supportsEcm(Phone phone) { in supportsEcm() argument
48 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm()
49 " Ims Phone = " + phone.getImsPhone()); in supportsEcm()
50 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm()
51 phone.getImsPhone() != null); in supportsEcm()
71 public static boolean supportsOtasp(Phone phone) { in supportsOtasp() argument
72 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
80 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount() argument
81 return (phone.getVoiceMessageCount() != -1); in supportsVoiceMessageCount()
92 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection() argument
[all …]
DCallManager.java212 private static Phone getPhoneBase(Phone phone) { in getPhoneBase() argument
213 if (phone instanceof PhoneProxy) { in getPhoneBase()
214 return phone.getForegroundCall().getPhone(); in getPhoneBase()
216 return phone; in getPhoneBase()
258 for (Phone phone : mPhones) { in getPhone()
259 if (phone.getSubId() == subId && !(phone instanceof ImsPhone)) { in getPhone()
260 p = phone; in getPhone()
276 for (Phone phone : mPhones) { in getState()
277 if (phone.getState() == PhoneConstants.State.RINGING) { in getState()
279 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) { in getState()
[all …]
DCellBroadcastHandler.java36 private CellBroadcastHandler(Context context, PhoneBase phone) { in CellBroadcastHandler() argument
37 this("CellBroadcastHandler", context, phone); in CellBroadcastHandler()
40 protected CellBroadcastHandler(String debugTag, Context context, PhoneBase phone) { in CellBroadcastHandler() argument
41 super(debugTag, context, phone); in CellBroadcastHandler()
49 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, PhoneBase phone) { in makeCellBroadcastHandler() argument
50 CellBroadcastHandler handler = new CellBroadcastHandler(context, phone); in makeCellBroadcastHandler()
DImsSMSDispatcher.java53 public ImsSMSDispatcher(PhoneBase phone, SmsStorageMonitor storageMonitor, in ImsSMSDispatcher() argument
55 super(phone, usageMonitor, null); in ImsSMSDispatcher()
60 mCdmaDispatcher = new CdmaSMSDispatcher(phone, usageMonitor, this); in ImsSMSDispatcher()
61 mGsmInboundSmsHandler = GsmInboundSmsHandler.makeInboundSmsHandler(phone.getContext(), in ImsSMSDispatcher()
62 storageMonitor, phone); in ImsSMSDispatcher()
63 mCdmaInboundSmsHandler = CdmaInboundSmsHandler.makeInboundSmsHandler(phone.getContext(), in ImsSMSDispatcher()
64 storageMonitor, phone, (CdmaSMSDispatcher) mCdmaDispatcher); in ImsSMSDispatcher()
65 mGsmDispatcher = new GsmSMSDispatcher(phone, usageMonitor, this, mGsmInboundSmsHandler); in ImsSMSDispatcher()
66 Thread broadcastThread = new Thread(new SmsBroadcastUndelivered(phone.getContext(), in ImsSMSDispatcher()
76 protected void updatePhoneObject(PhoneBase phone) { in updatePhoneObject() argument
[all …]
DPhoneFactory.java149 PhoneBase phone = null; in makeDefaultPhone() local
152 phone = new GSMPhone(context, in makeDefaultPhone()
155 phone = new CDMALTEPhone(context, in makeDefaultPhone()
160 sProxyPhones[i] = new PhoneProxy(phone); in makeDefaultPhone()
195 Phone phone; in getCdmaPhone() local
197 phone = new CDMALTEPhone(sContext, sCommandsInterfaces[phoneId], in getCdmaPhone()
200 return phone; in getCdmaPhone()
205 Phone phone = new GSMPhone(sContext, sCommandsInterfaces[phoneId], in getGsmPhone() local
207 return phone; in getGsmPhone()
221 Phone phone; in getPhone() local
[all …]
DSmsStorageMonitor.java74 public SmsStorageMonitor(PhoneBase phone) { in SmsStorageMonitor() argument
75 mPhone = phone; in SmsStorageMonitor()
76 mContext = phone.getContext(); in SmsStorageMonitor()
77 mCi = phone.mCi; in SmsStorageMonitor()
DWakeLockStateMachine.java64 protected WakeLockStateMachine(String debugTag, Context context, PhoneBase phone) { in WakeLockStateMachine() argument
68 mPhone = phone; in WakeLockStateMachine()
80 public void updatePhoneObject(PhoneBase phone) { in updatePhoneObject() argument
81 sendMessage(EVENT_UPDATE_PHONE_OBJECT, phone); in updatePhoneObject()
DPhoneSubInfoController.java38 public PhoneSubInfoController(Phone[] phone) { in PhoneSubInfoController() argument
39 mPhone = phone; in PhoneSubInfoController()
51 Phone phone = getPhone(phoneId); in getDeviceIdForPhone() local
52 if (phone != null) { in getDeviceIdForPhone()
53 return phone.getDeviceId(); in getDeviceIdForPhone()
DTelephonyTester.java79 TelephonyTester(PhoneBase phone) { in TelephonyTester() argument
80 mPhone = phone; in TelephonyTester()
96 phone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone.getHandler()); in TelephonyTester()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java47 PhoneBase phone) { in GsmInboundSmsHandler() argument
48 super("GsmInboundSmsHandler", context, storageMonitor, phone, in GsmInboundSmsHandler()
49 GsmCellBroadcastHandler.makeGsmCellBroadcastHandler(context, phone)); in GsmInboundSmsHandler()
50 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null); in GsmInboundSmsHandler()
51 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi); in GsmInboundSmsHandler()
70 SmsStorageMonitor storageMonitor, PhoneBase phone) { in makeInboundSmsHandler() argument
71 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone); in makeInboundSmsHandler()
176 protected void onUpdatePhoneObject(PhoneBase phone) { in onUpdatePhoneObject() argument
177 super.onUpdatePhoneObject(phone); in onUpdatePhoneObject()
181 .makeGsmCellBroadcastHandler(mContext, phone); in onUpdatePhoneObject()
DGsmCellBroadcastHandler.java46 protected GsmCellBroadcastHandler(Context context, PhoneBase phone) { in GsmCellBroadcastHandler() argument
47 super("GsmCellBroadcastHandler", context, phone); in GsmCellBroadcastHandler()
48 phone.mCi.setOnNewGsmBroadcastSms(getHandler(), EVENT_NEW_SMS_MESSAGE, null); in GsmCellBroadcastHandler()
63 PhoneBase phone) { in makeGsmCellBroadcastHandler() argument
64 GsmCellBroadcastHandler handler = new GsmCellBroadcastHandler(context, phone); in makeGsmCellBroadcastHandler()
DGsmMmiCode.java188 newFromDialString(String dialString, GSMPhone phone, UiccCardApplication app) { in newFromDialString() argument
196 ret = new GsmMmiCode(phone, app); in newFromDialString()
213 ret = new GsmMmiCode(phone, app); in newFromDialString()
221 ret = new GsmMmiCode(phone, app); in newFromDialString()
223 } else if (isTwoDigitShortCode(phone.getContext(), dialString)) { in newFromDialString()
226 } else if (isShortCode(dialString, phone)) { in newFromDialString()
228 ret = new GsmMmiCode(phone, app); in newFromDialString()
237 boolean isUssdRequest, GSMPhone phone, UiccCardApplication app) { in newNetworkInitiatedUssd() argument
240 ret = new GsmMmiCode(phone, app); in newNetworkInitiatedUssd()
257 GSMPhone phone, in newFromUssdUserInput() argument
[all …]
DSimPhoneBookInterfaceManager.java36 public SimPhoneBookInterfaceManager(GSMPhone phone) { in SimPhoneBookInterfaceManager() argument
37 super(phone); in SimPhoneBookInterfaceManager()
DGsmConnection.java345 GSMPhone phone = mOwner.mPhone; in disconnectCauseFromCode() local
346 int serviceState = phone.getServiceState().getState(); in disconnectCauseFromCode()
347 UiccCardApplication cardApp = phone.getUiccCardApplication(); in disconnectCauseFromCode()
358 if (phone.mSST.mRestrictedState.isCsRestricted()) { in disconnectCauseFromCode()
360 } else if (phone.mSST.mRestrictedState.isCsEmergencyRestricted()) { in disconnectCauseFromCode()
362 } else if (phone.mSST.mRestrictedState.isCsNormalRestricted()) { in disconnectCauseFromCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java59 PhoneBase phone, CdmaSMSDispatcher smsDispatcher) { in CdmaInboundSmsHandler() argument
60 super("CdmaInboundSmsHandler", context, storageMonitor, phone, in CdmaInboundSmsHandler()
61 CellBroadcastHandler.makeCellBroadcastHandler(context, phone)); in CdmaInboundSmsHandler()
64 phone.mCi); in CdmaInboundSmsHandler()
65 phone.mCi.setOnNewCdmaSms(getHandler(), EVENT_NEW_SMS, null); in CdmaInboundSmsHandler()
84 SmsStorageMonitor storageMonitor, PhoneBase phone, CdmaSMSDispatcher smsDispatcher) { in makeInboundSmsHandler() argument
86 phone, smsDispatcher); in makeInboundSmsHandler()
219 protected void onUpdatePhoneObject(PhoneBase phone) { in onUpdatePhoneObject() argument
220 super.onUpdatePhoneObject(phone); in onUpdatePhoneObject()
221 mCellBroadcastHandler.updatePhoneObject(phone); in onUpdatePhoneObject()
DCdmaMmiCode.java108 newFromDialString(String dialString, CDMAPhone phone, UiccCardApplication app) { in newFromDialString() argument
116 ret = new CdmaMmiCode(phone,app); in newFromDialString()
145 CdmaMmiCode (CDMAPhone phone, UiccCardApplication app) { in CdmaMmiCode() argument
146 super(phone.getHandler().getLooper()); in CdmaMmiCode()
147 mPhone = phone; in CdmaMmiCode()
148 mContext = phone.getContext(); in CdmaMmiCode()
DRuimPhoneBookInterfaceManager.java36 public RuimPhoneBookInterfaceManager(CDMAPhone phone) { in RuimPhoneBookInterfaceManager() argument
37 super(phone); in RuimPhoneBookInterfaceManager()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
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/telephony/java/android/telephony/
DCellLocation.java40 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.getService("phone")); in requestLocationUpdate() local
41 if (phone != null) { in requestLocationUpdate()
42 phone.updateServiceLocation(); in requestLocationUpdate()
/frameworks/base/telecomm/java/android/telecom/
DPhone.java43 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged() argument
53 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground() argument
65 public void onCallAdded(Phone phone, Call call) { } in onCallAdded() argument
76 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved() argument
86 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterDeactivateAll.java68 DcTesterDeactivateAll(PhoneBase phone, DcController dcc, Handler handler) { in DcTesterDeactivateAll() argument
69 mPhone = phone; in DcTesterDeactivateAll()
81 phone.getContext().registerReceiver(sIntentReceiver, filter, null, handler); in DcTesterDeactivateAll()
DDcTesterFailBringUpAll.java77 DcTesterFailBringUpAll(PhoneBase phone, Handler handler) { in DcTesterFailBringUpAll() argument
78 mPhone = phone; in DcTesterFailBringUpAll()
91 phone.getContext().registerReceiver(mIntentReceiver, filter, null, handler); in DcTesterFailBringUpAll()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java232 newFromDialString(String dialString, ImsPhone phone) { in newFromDialString() argument
240 ret = new ImsPhoneMmiCode(phone); in newFromDialString()
257 ret = new ImsPhoneMmiCode(phone); in newFromDialString()
265 ret = new ImsPhoneMmiCode(phone); in newFromDialString()
267 } else if (isTwoDigitShortCode(phone.getContext(), dialString)) { in newFromDialString()
270 } else if (isShortCode(dialString, phone)) { in newFromDialString()
272 ret = new ImsPhoneMmiCode(phone); in newFromDialString()
281 boolean isUssdRequest, ImsPhone phone) { in newNetworkInitiatedUssd() argument
284 ret = new ImsPhoneMmiCode(phone); in newNetworkInitiatedUssd()
301 ImsPhone phone) { in newFromUssdUserInput() argument
[all …]
/frameworks/base/docs/html/training/keyboard-input/
Dstyle.jd27 email address, phone number, or just plain text. So it's important
47 <img src="{@docRoot}images/ui/edittext-phone.png" alt="" />
48 <p class="img-caption"><strong>Figure 1.</strong> The {@code phone} input type.</p>
51 <p>For example, if you'd like an input method for entering a phone number,
52 use the {@code "phone"} value:</p>
55 android:id="@+id/phone"
59 android:inputType="phone" />
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBrightnessMirrorController.java21 import com.android.systemui.statusbar.phone.PhoneStatusBar;
22 import com.android.systemui.statusbar.phone.StatusBarWindowView;

1234567891011