Home
last modified time | relevance | path

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

1234567

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java47 public static boolean supportsEcm(Phone phone) { in supportsEcm() argument
48 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsEcm()
68 public static boolean supportsOtasp(Phone phone) { in supportsOtasp() argument
69 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp()
77 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount() argument
78 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsVoiceMessageCount()
89 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection() argument
90 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM); in supportsNetworkSelection()
101 public static int getDeviceIdLabel(Phone phone) { in getDeviceIdLabel() argument
102 if (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM) { in getDeviceIdLabel()
[all …]
DCallManager.java193 private static Phone getPhoneBase(Phone phone) { in getPhoneBase() argument
194 if (phone instanceof PhoneProxy) { in getPhoneBase()
195 return phone.getForegroundCall().getPhone(); in getPhoneBase()
197 return phone; in getPhoneBase()
242 for (Phone phone : mPhones) { in getState()
243 if (phone.getState() == PhoneConstants.State.RINGING) { in getState()
245 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) { in getState()
265 for (Phone phone : mPhones) { in getServiceState()
266 int serviceState = phone.getServiceState().getState(); in getServiceState()
292 public boolean registerPhone(Phone phone) { in registerPhone() argument
[all …]
DImsSMSDispatcher.java52 public ImsSMSDispatcher(PhoneBase phone, SmsStorageMonitor storageMonitor, in ImsSMSDispatcher() argument
54 super(phone, usageMonitor, null); in ImsSMSDispatcher()
59 mCdmaDispatcher = new CdmaSMSDispatcher(phone, usageMonitor, this); in ImsSMSDispatcher()
60 mGsmInboundSmsHandler = GsmInboundSmsHandler.makeInboundSmsHandler(phone.getContext(), in ImsSMSDispatcher()
61 storageMonitor, phone); in ImsSMSDispatcher()
62 mCdmaInboundSmsHandler = CdmaInboundSmsHandler.makeInboundSmsHandler(phone.getContext(), in ImsSMSDispatcher()
63 storageMonitor, phone, (CdmaSMSDispatcher) mCdmaDispatcher); in ImsSMSDispatcher()
64 mGsmDispatcher = new GsmSMSDispatcher(phone, usageMonitor, this, mGsmInboundSmsHandler); in ImsSMSDispatcher()
65 Thread broadcastThread = new Thread(new SmsBroadcastUndelivered(phone.getContext(), in ImsSMSDispatcher()
75 protected void updatePhoneObject(PhoneBase phone) { in updatePhoneObject() argument
[all …]
DPhoneFactory.java171 Phone phone; in getCdmaPhone() local
175 phone = new CDMALTEPhone(sContext, sCommandsInterface, sPhoneNotifier); in getCdmaPhone()
181 phone = new CDMAPhone(sContext, sCommandsInterface, sPhoneNotifier); in getCdmaPhone()
186 return phone; in getCdmaPhone()
191 Phone phone = new GSMPhone(sContext, sCommandsInterface, sPhoneNotifier); in getGsmPhone() local
192 return phone; in getGsmPhone()
DTelephonyTester.java59 TelephonyTester(PhoneBase phone) { in TelephonyTester() argument
60 mPhone = phone; in TelephonyTester()
71 phone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone.getHandler()); in TelephonyTester()
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()
DSmsStorageMonitor.java70 public SmsStorageMonitor(PhoneBase phone) { in SmsStorageMonitor() argument
71 mContext = phone.getContext(); in SmsStorageMonitor()
72 mCi = phone.mCi; in SmsStorageMonitor()
DIccSmsInterfaceManager.java117 protected IccSmsInterfaceManager(PhoneBase phone) { in IccSmsInterfaceManager() argument
118 mPhone = phone; in IccSmsInterfaceManager()
119 mContext = phone.getContext(); in IccSmsInterfaceManager()
121 mDispatcher = new ImsSMSDispatcher(phone, in IccSmsInterfaceManager()
122 phone.mSmsStorageMonitor, phone.mSmsUsageMonitor); in IccSmsInterfaceManager()
161 protected void updatePhoneObject(PhoneBase phone) { in updatePhoneObject() argument
162 mPhone = phone; in updatePhoneObject()
163 mDispatcher.updatePhoneObject(phone); in updatePhoneObject()
DCellBroadcastHandler.java38 protected CellBroadcastHandler(String debugTag, Context context, PhoneBase phone) { in CellBroadcastHandler() argument
39 super(debugTag, context, phone); in CellBroadcastHandler()
DPhoneSubInfo.java44 public PhoneSubInfo(Phone phone) { in PhoneSubInfo() argument
45 mPhone = phone; in PhoneSubInfo()
46 mContext = phone.getContext(); in PhoneSubInfo()
DIccPhoneBookInterfaceManager.java110 public IccPhoneBookInterfaceManager(PhoneBase phone) { in IccPhoneBookInterfaceManager() argument
111 this.mPhone = phone; in IccPhoneBookInterfaceManager()
112 IccRecords r = phone.mIccRecords.get(); in IccPhoneBookInterfaceManager()
DInboundSmsHandler.java167 PhoneBase phone, CellBroadcastHandler cellBroadcastHandler) { in InboundSmsHandler() argument
172 mPhone = phone; in InboundSmsHandler()
206 public void updatePhoneObject(PhoneBase phone) { in updatePhoneObject() argument
207 sendMessage(EVENT_UPDATE_PHONE_OBJECT, phone); in updatePhoneObject()
491 protected void onUpdatePhoneObject(PhoneBase phone) { in onUpdatePhoneObject() argument
492 mPhone = phone; in onUpdatePhoneObject()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java45 PhoneBase phone) { in GsmInboundSmsHandler() argument
46 super("GsmInboundSmsHandler", context, storageMonitor, phone, in GsmInboundSmsHandler()
47 GsmCellBroadcastHandler.makeGsmCellBroadcastHandler(context, phone)); in GsmInboundSmsHandler()
48 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null); in GsmInboundSmsHandler()
49 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi); in GsmInboundSmsHandler()
68 SmsStorageMonitor storageMonitor, PhoneBase phone) { in makeInboundSmsHandler() argument
69 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone); in makeInboundSmsHandler()
151 protected void onUpdatePhoneObject(PhoneBase phone) { in onUpdatePhoneObject() argument
152 super.onUpdatePhoneObject(phone); in onUpdatePhoneObject()
156 .makeGsmCellBroadcastHandler(mContext, phone); in onUpdatePhoneObject()
DGsmCellBroadcastHandler.java45 protected GsmCellBroadcastHandler(Context context, PhoneBase phone) { in GsmCellBroadcastHandler() argument
46 super("GsmCellBroadcastHandler", context, phone); in GsmCellBroadcastHandler()
47 phone.mCi.setOnNewGsmBroadcastSms(getHandler(), EVENT_NEW_SMS_MESSAGE, null); in GsmCellBroadcastHandler()
62 PhoneBase phone) { in makeGsmCellBroadcastHandler() argument
63 GsmCellBroadcastHandler handler = new GsmCellBroadcastHandler(context, phone); in makeGsmCellBroadcastHandler()
DGsmMmiCode.java183 newFromDialString(String dialString, GSMPhone phone, UiccCardApplication app) { in newFromDialString() argument
191 ret = new GsmMmiCode(phone, app); in newFromDialString()
208 ret = new GsmMmiCode(phone, app); in newFromDialString()
216 ret = new GsmMmiCode(phone, app); in newFromDialString()
218 } else if (isTwoDigitShortCode(phone.getContext(), dialString)) { in newFromDialString()
221 } else if (isShortCode(dialString, phone)) { in newFromDialString()
223 ret = new GsmMmiCode(phone, app); in newFromDialString()
232 boolean isUssdRequest, GSMPhone phone, UiccCardApplication app) { in newNetworkInitiatedUssd() argument
235 ret = new GsmMmiCode(phone, app); in newNetworkInitiatedUssd()
252 GSMPhone phone, in newFromUssdUserInput() argument
[all …]
DSimPhoneBookInterfaceManager.java36 public SimPhoneBookInterfaceManager(GSMPhone phone) { in SimPhoneBookInterfaceManager() argument
37 super(phone); in SimPhoneBookInterfaceManager()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java61 PhoneBase phone, CdmaSMSDispatcher smsDispatcher) { in CdmaInboundSmsHandler() argument
62 super("CdmaInboundSmsHandler", context, storageMonitor, phone, in CdmaInboundSmsHandler()
66 phone.mCi); in CdmaInboundSmsHandler()
67 phone.mCi.setOnNewCdmaSms(getHandler(), EVENT_NEW_SMS, null); in CdmaInboundSmsHandler()
86 SmsStorageMonitor storageMonitor, PhoneBase phone, CdmaSMSDispatcher smsDispatcher) { in makeInboundSmsHandler() argument
88 phone, smsDispatcher); in makeInboundSmsHandler()
221 protected void onUpdatePhoneObject(PhoneBase phone) { in onUpdatePhoneObject() argument
222 super.onUpdatePhoneObject(phone); in onUpdatePhoneObject()
223 mCellBroadcastHandler.updatePhoneObject(phone); in onUpdatePhoneObject()
DCdmaMmiCode.java107 newFromDialString(String dialString, CDMAPhone phone, UiccCardApplication app) { in newFromDialString() argument
115 ret = new CdmaMmiCode(phone,app); in newFromDialString()
144 CdmaMmiCode (CDMAPhone phone, UiccCardApplication app) { in CdmaMmiCode() argument
145 super(phone.getHandler().getLooper()); in CdmaMmiCode()
146 mPhone = phone; in CdmaMmiCode()
147 mContext = phone.getContext(); in CdmaMmiCode()
DRuimPhoneBookInterfaceManager.java36 public RuimPhoneBookInterfaceManager(CDMAPhone phone) { in RuimPhoneBookInterfaceManager() argument
37 super(phone); in RuimPhoneBookInterfaceManager()
/frameworks/base/telephony/java/android/telephony/
DCellLocation.java43 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.getService("phone")); in requestLocationUpdate() local
44 if (phone != null) { in requestLocationUpdate()
45 phone.updateServiceLocation(); in requestLocationUpdate()
/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()
DDcController.java76 private DcController(String name, PhoneBase phone, DcTrackerBase dct, in DcController() argument
81 mPhone = phone; in DcController()
88 static DcController makeDcc(PhoneBase phone, DcTrackerBase dct, Handler handler) { in makeDcc() argument
89 DcController dcc = new DcController("Dcc", phone, dct, handler); in makeDcc()
/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/services/java/com/android/server/power/
DShutdownThread.java388 final ITelephony phone = in shutdownRadios()
418 radioOff = phone == null || !phone.isRadioOn(); in shutdownRadios()
421 phone.setRadio(false); in shutdownRadios()
444 radioOff = !phone.isRadioOn(); in shutdownRadios()

1234567