Home
last modified time | relevance | path

Searched refs:Phone (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardImporterTests.java25 import android.provider.ContactsContract.CommonDataKinds.Phone;
518 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary()
519 .put(Phone.NUMBER, "1") in testV21PrefToIsPrimary()
520 .put(Phone.TYPE, Phone.TYPE_HOME); in testV21PrefToIsPrimary()
521 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary()
522 .put(Phone.NUMBER, "2") in testV21PrefToIsPrimary()
523 .put(Phone.TYPE, Phone.TYPE_WORK) in testV21PrefToIsPrimary()
524 .put(Phone.IS_PRIMARY, 1); in testV21PrefToIsPrimary()
525 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary()
526 .put(Phone.NUMBER, "3") in testV21PrefToIsPrimary()
[all …]
DVCardExporterTests.java32 import android.provider.ContactsContract.CommonDataKinds.Phone;
408 mVerifier.addInputEntry().addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneBasicCommon()
409 .put(Phone.NUMBER, "1") in testPhoneBasicCommon()
410 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneBasicCommon()
434 mVerifier.addInputEntry().addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneRefrainFormatting()
435 .put(Phone.NUMBER, "1234567890(abcdefghijklmnopqrstuvwxyz)") in testPhoneRefrainFormatting()
436 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneRefrainFormatting()
448 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneVariousTypeSupport()
449 .put(Phone.NUMBER, "10") in testPhoneVariousTypeSupport()
450 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneVariousTypeSupport()
[all …]
DVCardJapanizationTests.java21 import android.provider.ContactsContract.CommonDataKinds.Phone;
365 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberCommon()
366 .put(Phone.NUMBER, "0312341234") in testJapanesePhoneNumberCommon()
367 .put(Phone.TYPE, Phone.TYPE_HOME); in testJapanesePhoneNumberCommon()
368 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberCommon()
369 .put(Phone.NUMBER, "09012341234") in testJapanesePhoneNumberCommon()
370 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberCommon()
387 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberDoCoMo()
388 .put(Phone.NUMBER, "0312341234") in testJapanesePhoneNumberDoCoMo()
389 .put(Phone.TYPE, Phone.TYPE_HOME); in testJapanesePhoneNumberDoCoMo()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneNotifier.java30 public void notifyPhoneState(Phone sender); in notifyPhoneState()
32 public void notifyServiceState(Phone sender); in notifyServiceState()
34 public void notifyCellLocation(Phone sender); in notifyCellLocation()
36 public void notifySignalStrength(Phone sender); in notifySignalStrength()
38 public void notifyMessageWaitingChanged(Phone sender); in notifyMessageWaitingChanged()
40 public void notifyCallForwardingChanged(Phone sender); in notifyCallForwardingChanged()
43 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection()
46 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); in notifyDataConnectionFailed()
48 public void notifyDataActivity(Phone sender); in notifyDataActivity()
50 public void notifyOtaspChanged(Phone sender, int otaspMode); in notifyOtaspChanged()
[all …]
DTelephonyCapabilities.java21 import com.android.internal.telephony.Phone;
47 public static boolean supportsEcm(Phone phone) { in supportsEcm()
71 public static boolean supportsOtasp(Phone phone) { in supportsOtasp()
80 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount()
92 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection()
104 public static int getDeviceIdLabel(Phone phone) { in getDeviceIdLabel()
126 public static boolean supportsConferenceCallManagement(Phone phone) { in supportsConferenceCallManagement()
140 public static boolean supportsHoldAndUnhold(Phone phone) { in supportsHoldAndUnhold()
160 public static boolean supportsAnswerAndHold(Phone phone) { in supportsAnswerAndHold()
DDefaultPhoneNotifier.java36 import com.android.internal.telephony.Phone;
58 public void notifyPhoneState(Phone sender) { in notifyPhoneState()
76 public void notifyServiceState(Phone sender) { in notifyServiceState()
97 public void notifySignalStrength(Phone sender) { in notifySignalStrength()
111 public void notifyMessageWaitingChanged(Phone sender) { in notifyMessageWaitingChanged()
126 public void notifyCallForwardingChanged(Phone sender) { in notifyCallForwardingChanged()
139 public void notifyDataActivity(Phone sender) { in notifyDataActivity()
152 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection()
157 private void doNotifyDataConnection(Phone sender, String reason, String apnType, in doNotifyDataConnection()
197 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed()
[all …]
DCallManager.java94 private final ArrayList<Phone> mPhones;
109 private final HashMap<Phone, CallManagerHandler> mHandlerMap = new HashMap<>();
112 private Phone mDefaultPhone;
189 mPhones = new ArrayList<Phone>(); in CallManager()
212 private static Phone getPhoneBase(Phone phone) { in getPhoneBase()
240 public static boolean isSamePhone(Phone p1, Phone p2) { in isSamePhone()
248 public List<Phone> getAllPhones() { in getAllPhones()
256 private Phone getPhone(int subId) { in getPhone()
257 Phone p = null; in getPhone()
258 for (Phone phone : mPhones) { in getPhone()
[all …]
DPhoneFactory.java202 public static Phone getCdmaPhone(int phoneId) { in getCdmaPhone()
203 Phone phone; in getCdmaPhone()
211 public static Phone getGsmPhone(int phoneId) { in getGsmPhone()
213 Phone phone = new GSMPhone(sContext, sCommandsInterfaces[phoneId], in getGsmPhone()
219 public static Phone getDefaultPhone() { in getDefaultPhone()
228 public static Phone getPhone(int phoneId) { in getPhone()
229 Phone phone; in getPhone()
253 public static Phone[] getPhones() { in getPhones()
416 public static ImsPhone makeImsPhone(PhoneNotifier phoneNotifier, Phone defaultPhone) { in makeImsPhone()
DUiccPhoneBookController.java27 import com.android.internal.telephony.Phone;
36 private Phone[] mPhone;
39 public UiccPhoneBookController(Phone[] phone) { in UiccPhoneBookController()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestPhoneNotifier.java.broken19 import com.android.internal.telephony.Phone;
33 public void notifyPhoneState(Phone sender) {
36 public void notifyServiceState(Phone sender) {
39 public void notifyCellLocation(Phone sender) {
42 public void notifySignalStrength(Phone sender) {
45 public void notifyMessageWaitingChanged(Phone sender) {
48 public void notifyCallForwardingChanged(Phone sender) {
51 public void notifyDataConnection(Phone sender, String reason, String apnType) {
54 public void notifyDataConnection(Phone sender, String reason, String apnType,
58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) {
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DQueries.java23 import android.provider.ContactsContract.CommonDataKinds.Phone;
33 Phone.NUMBER, // 1
34 Phone.TYPE, // 2
35 Phone.LABEL, // 3
36 Phone.CONTACT_ID, // 4
37 Phone._ID, // 5
42 }, Phone.CONTENT_FILTER_URI, Phone.CONTENT_URI) {
46 return Phone.getTypeLabel(res, type, label);
/frameworks/base/telecomm/java/android/telecom/
DInCallService.java87 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj));
170 private Phone.Listener mPhoneListener = new Phone.Listener() {
173 public void onAudioStateChanged(Phone phone, AudioState audioState) {
177 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
183 public void onBringToForeground(Phone phone, boolean showDialpad) {
189 public void onCallAdded(Phone phone, Call call) {
195 public void onCallRemoved(Phone phone, Call call) {
201 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
207 private Phone mPhone;
220 Phone oldPhone = mPhone; in onUnbind()
[all …]
DPhone.java36 public final class Phone { class
48 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged()
56 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { } in onCallAudioStateChanged()
66 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground()
78 public void onCallAdded(Phone phone, Call call) { } in onCallAdded()
89 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved()
99 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged()
120 Phone(InCallAdapter adapter) { in Phone() method in Phone
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java19 import android.provider.ContactsContract.CommonDataKinds.Phone;
132 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_CAR, VCardConstants.PARAM_TYPE_CAR); in sKnownPhoneTypesMap_ItoS.put()
133 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CAR, Phone.TYPE_CAR); in sKnownPhoneTypeMap_StoI.put()
134 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_PAGER, VCardConstants.PARAM_TYPE_PAGER); in sKnownPhoneTypesMap_ItoS.put()
135 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_PAGER, Phone.TYPE_PAGER); in sKnownPhoneTypeMap_StoI.put()
136 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_ISDN, VCardConstants.PARAM_TYPE_ISDN); in sKnownPhoneTypesMap_ItoS.put()
137 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_ISDN, Phone.TYPE_ISDN); in sKnownPhoneTypeMap_StoI.put()
139 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_HOME, Phone.TYPE_HOME); in sKnownPhoneTypeMap_StoI.put()
140 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_WORK, Phone.TYPE_WORK); in sKnownPhoneTypeMap_StoI.put()
141 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE); in sKnownPhoneTypeMap_StoI.put()
[all …]
DVCardBuilder.java25 import android.provider.ContactsContract.CommonDataKinds.Phone;
80 public static final int DEFAULT_PHONE_TYPE = Phone.TYPE_HOME;
792 final Integer typeAsObject = contentValues.getAsInteger(Phone.TYPE); in appendPhones()
793 final String label = contentValues.getAsString(Phone.LABEL); in appendPhones()
794 final Integer isPrimaryAsInteger = contentValues.getAsInteger(Phone.IS_PRIMARY); in appendPhones()
797 String phoneNumber = contentValues.getAsString(Phone.NUMBER); in appendPhones()
816 } else if (type == Phone.TYPE_PAGER || in appendPhones()
879 appendTelLine(Phone.TYPE_HOME, "", "", false); in appendPhones()
1579 type = Phone.TYPE_OTHER; in appendTelLine()
1586 case Phone.TYPE_HOME: { in appendTelLine()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/example/Settings/
Ddevice_for_strategy_sonification_respectful.pfw53 # Follows Phone Strategy if call
154 # SonificationRespectful Follows Phone strategy if in call
181 # SonificationRespectful Follows Phone strategy if in call
208 # SonificationRespectful Follows Phone strategy if in call
237 # SonificationRespectful Follows Phone strategy if in call
301 # SonificationRespectful Follows Phone strategy if in call
338 # SonificationRespectful Follows Phone strategy if in call
374 # SonificationRespectful Follows Phone strategy if in call (widely speaking)
404 # SonificationRespectful Follows Phone strategy if in call (widely speaking)
434 # SonificationRespectful Follows Phone strategy if in call (widely speaking)
[all …]
Ddevice_for_strategy_dtmf.pfw155 # DTMF falls through Phone strategy if in call
184 # DTMF falls through Phone strategy if in call
214 # DTMF falls through Phone strategy if in call
278 # DTMF falls through Phone strategy if in call
315 # DTMF falls through Phone strategy if in call (widely speaking)
354 # DTMF falls through Phone strategy if in call (widely speaking)
385 # DTMF falls through Phone strategy if in call (widely speaking)
415 # DTMF falls through Phone strategy if in call (widely speaking)
445 # DTMF falls through Phone strategy if in call (widely speaking)
477 # DTMF falls through Phone strategy if in call
[all …]
Ddevice_for_strategy_sonification.pfw220 # Sonification follows Phone strategy if in call (widely speaking)
249 # Sonification follows Phone strategy if in call (widely speaking)
293 # Sonification Follows Phone Strategy if in call (widely speaking)
330 # Sonification Follows Phone Strategy if in call (widely speaking)
359 # Sonification Follows Phone Strategy if in call (widely speaking)
388 # Sonification Follows Phone Strategy if in call (widely speaking)
417 # Sonification Follows Phone Strategy if in call (widely speaking)
444 # Sonification Follows Phone Strategy if in call
/frameworks/base/core/java/android/provider/
DCallLog.java33 import android.provider.ContactsContract.CommonDataKinds.Phone;
566 cursor = resolver.query(Phone.CONTENT_URI, in addCall()
567 new String[] { Phone._ID }, in addCall()
568 Phone.CONTACT_ID + " =? AND " + Phone.NORMALIZED_NUMBER + " =?", in addCall()
577 new String[] { Phone._ID }, in addCall()
578 Phone.CONTACT_ID + " =?", in addCall()
694 values.put(Phone.NORMALIZED_NUMBER, normalizedNumber); in updateNormalizedNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCallTracker.java42 import com.android.internal.telephony.Phone;
495 if (Phone.DEBUG_PHONE) log( in handlePollCalls()
621 if (Phone.DEBUG_PHONE) { in handlePollCalls()
723 if (Phone.DEBUG_PHONE) log("hangup: set hangupPendingMO to true"); in hangup()
779 if (Phone.DEBUG_PHONE) log("(ringing) hangup waiting or background"); in hangup()
783 if (Phone.DEBUG_PHONE) { in hangup()
796 if (Phone.DEBUG_PHONE) { in hangup()
814 if (Phone.DEBUG_PHONE) log("hangupWaitingOrBackground"); in hangupWaitingOrBackground()
820 if (Phone.DEBUG_PHONE) log("hangupForegroundResumeBackground"); in hangupForegroundResumeBackground()
864 private Phone.SuppService getFailedService(int what) { in getFailedService()
[all …]
DGsmConnection.java275 if (Phone.DEBUG_PHONE) { in proceedAfterWildChar()
429 if (Phone.DEBUG_PHONE) log("update: mOrigConnection is not null"); in update()
434 if (Phone.DEBUG_PHONE) log("update: phone # changed!"); in update()
451 if (Phone.DEBUG_PHONE) log("--dssds----"+mCnapName); in update()
470 if (Phone.DEBUG_PHONE) log( in update()
529 if (Phone.DEBUG_PHONE) { in onConnectedInOrOut()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneFactory.java19 import com.android.internal.telephony.Phone;
38 PhoneNotifier phoneNotifier, Phone defaultPhone) { in makePhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaCallTracker.java40 import com.android.internal.telephony.Phone;
489 if (Phone.DEBUG_PHONE) { in updatePhoneState()
565 if (Phone.DEBUG_PHONE) log( in handlePollCalls()
577 if (Phone.DEBUG_PHONE) { in handlePollCalls()
606 if (Phone.DEBUG_PHONE) log("adding fgCall cn " + n + " to droppedDuringPoll"); in handlePollCalls()
614 if (Phone.DEBUG_PHONE) log("adding rgCall cn " + n + " to droppedDuringPoll"); in handlePollCalls()
713 if (Phone.DEBUG_PHONE) { in handlePollCalls()
777 if (Phone.DEBUG_PHONE) log("hangup: set hangupPendingMO to true"); in hangup()
850 if (Phone.DEBUG_PHONE) log("(ringing) hangup waiting or background"); in hangup()
854 if (Phone.DEBUG_PHONE) { in hangup()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java64 import com.android.internal.telephony.Phone;
681 notifyDataConnection(Phone.REASON_DATA_DETACHED); in onDataConnectionDetached()
692 notifyDataConnection(Phone.REASON_DATA_ATTACHED); in onDataConnectionAttached()
695 notifyOffApnsOfAvailability(Phone.REASON_DATA_ATTACHED); in onDataConnectionAttached()
700 setupDataOnConnectableApns(Phone.REASON_DATA_ATTACHED); in onDataConnectionAttached()
953 specificdisable = reason.equals(Phone.REASON_DATA_SPECIFIC_DISABLED); in cleanUpAllConnections()
1283 if (cleanUpAllConnections(true, Phone.REASON_SINGLE_PDN_ARBITRATION)) { in setupData()
1345 setupDataOnConnectableApns(Phone.REASON_APN_CHANGED); in onApnChanged()
1412 cleanUpAllConnections(true, Phone.REASON_RADIO_TURNED_OFF); in restartRadio()
1437 if ( Phone.REASON_RADIO_TURNED_OFF.equals(reason) || in retryAfterDisconnected()
[all …]
/frameworks/ex/common/java/com/android/common/contacts/
DDataUsageStatUpdater.java27 import android.provider.ContactsContract.CommonDataKinds.Phone;
167 whereBuilder.append(Phone.DATA1 + " IN (") in updateWithPhoneNumber()
170 final Cursor cursor = mResolver.query(Phone.CONTENT_URI, in updateWithPhoneNumber()
171 new String[] {Phone.CONTACT_ID, Phone._ID}, whereBuilder.toString(), in updateWithPhoneNumber()

12345