/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardImporterTests.java | 25 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 …]
|
D | VCardExporterTests.java | 32 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 …]
|
D | VCardJapanizationTests.java | 21 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/ |
D | PhoneNotifier.java | 30 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 …]
|
D | TelephonyCapabilities.java | 21 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()
|
D | DefaultPhoneNotifier.java | 36 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 …]
|
D | CallManager.java | 94 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 …]
|
D | PhoneFactory.java | 194 public static Phone getCdmaPhone(int phoneId) { in getCdmaPhone() 195 Phone phone; in getCdmaPhone() 203 public static Phone getGsmPhone(int phoneId) { in getGsmPhone() 205 Phone phone = new GSMPhone(sContext, sCommandsInterfaces[phoneId], in getGsmPhone() 211 public static Phone getDefaultPhone() { in getDefaultPhone() 220 public static Phone getPhone(int phoneId) { in getPhone() 221 Phone phone; in getPhone() 242 public static Phone[] getPhones() { in getPhones() 405 public static ImsPhone makeImsPhone(PhoneNotifier phoneNotifier, Phone defaultPhone) { in makeImsPhone()
|
D | PhoneSubInfoController.java | 31 import com.android.internal.telephony.Phone; 36 private Phone[] mPhone; 38 public PhoneSubInfoController(Phone[] phone) { in PhoneSubInfoController() 51 Phone phone = getPhone(phoneId); in getDeviceIdForPhone()
|
D | UiccPhoneBookController.java | 27 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/ |
D | TestPhoneNotifier.java | 19 import com.android.internal.telephony.Phone; 33 public void notifyPhoneState(Phone sender) { in notifyPhoneState() 36 public void notifyServiceState(Phone sender) { in notifyServiceState() 39 public void notifyCellLocation(Phone sender) { in notifyCellLocation() 42 public void notifySignalStrength(Phone sender) { in notifySignalStrength() 45 public void notifyMessageWaitingChanged(Phone sender) { in notifyMessageWaitingChanged() 48 public void notifyCallForwardingChanged(Phone sender) { in notifyCallForwardingChanged() 51 public void notifyDataConnection(Phone sender, String reason, String apnType) { in notifyDataConnection() 54 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() 58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | Queries.java | 23 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/opt/vcard/java/com/android/vcard/ |
D | VCardUtils.java | 19 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 …]
|
D | VCardBuilder.java | 25 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/base/telecomm/java/android/telecom/ |
D | Phone.java | 34 public final class Phone { class 43 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged() 53 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground() 65 public void onCallAdded(Phone phone, Call call) { } in onCallAdded() 76 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved() 86 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged() 108 Phone(InCallAdapter adapter) { in Phone() method in Phone
|
D | InCallService.java | 69 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj)); 151 private Phone mPhone; 164 Phone oldPhone = mPhone; in onUnbind() 180 public Phone getPhone() { in getPhone() 192 public void onPhoneCreated(Phone phone) { in onPhoneCreated() 203 public void onPhoneDestroyed(Phone phone) { in onPhoneDestroyed()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 33 import android.provider.ContactsContract.CommonDataKinds.Phone; 488 cursor = resolver.query(Phone.CONTENT_URI, in addCall() 489 new String[] { Phone._ID }, in addCall() 490 Phone.CONTACT_ID + " =? AND " + Phone.NORMALIZED_NUMBER + " =?", in addCall() 499 new String[] { Phone._ID }, in addCall() 500 Phone.CONTACT_ID + " =?", in addCall() 616 values.put(Phone.NORMALIZED_NUMBER, normalizedNumber); in updateNormalizedNumber()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmCallTracker.java | 40 import com.android.internal.telephony.Phone; 484 if (Phone.DEBUG_PHONE) log( in handlePollCalls() 610 if (Phone.DEBUG_PHONE) { in handlePollCalls() 712 if (Phone.DEBUG_PHONE) log("hangup: set hangupPendingMO to true"); in hangup() 768 if (Phone.DEBUG_PHONE) log("(ringing) hangup waiting or background"); in hangup() 772 if (Phone.DEBUG_PHONE) { in hangup() 785 if (Phone.DEBUG_PHONE) { in hangup() 803 if (Phone.DEBUG_PHONE) log("hangupWaitingOrBackground"); in hangupWaitingOrBackground() 809 if (Phone.DEBUG_PHONE) log("hangupForegroundResumeBackground"); in hangupForegroundResumeBackground() 853 private Phone.SuppService getFailedService(int what) { in getFailedService() [all …]
|
D | GsmCall.java | 23 import com.android.internal.telephony.Phone; 54 public Phone
|
D | GsmConnection.java | 274 if (Phone.DEBUG_PHONE) { in proceedAfterWildChar() 426 if (Phone.DEBUG_PHONE) log("update: mOrigConnection is not null"); in update() 431 if (Phone.DEBUG_PHONE) log("update: phone # changed!"); in update() 448 if (Phone.DEBUG_PHONE) log("--dssds----"+mCnapName); in update() 467 if (Phone.DEBUG_PHONE) log( in update() 526 if (Phone.DEBUG_PHONE) { in onConnectedInOrOut()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneFactory.java | 19 import com.android.internal.telephony.Phone; 38 PhoneNotifier phoneNotifier, Phone defaultPhone) { in makePhone()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaCallTracker.java | 39 import com.android.internal.telephony.Phone; 488 if (Phone.DEBUG_PHONE) { in updatePhoneState() 564 if (Phone.DEBUG_PHONE) log( in handlePollCalls() 576 if (Phone.DEBUG_PHONE) { in handlePollCalls() 605 if (Phone.DEBUG_PHONE) log("adding fgCall cn " + n + " to droppedDuringPoll"); in handlePollCalls() 613 if (Phone.DEBUG_PHONE) log("adding rgCall cn " + n + " to droppedDuringPoll"); in handlePollCalls() 711 if (Phone.DEBUG_PHONE) { in handlePollCalls() 775 if (Phone.DEBUG_PHONE) log("hangup: set hangupPendingMO to true"); in hangup() 848 if (Phone.DEBUG_PHONE) log("(ringing) hangup waiting or background"); in hangup() 852 if (Phone.DEBUG_PHONE) { in hangup() [all …]
|
D | CdmaCall.java | 25 import com.android.internal.telephony.Phone; 53 public Phone
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | DataUsageStatUpdater.java | 27 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()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 66 import com.android.internal.telephony.Phone; 679 notifyDataConnection(Phone.REASON_DATA_DETACHED); in onDataConnectionDetached() 690 notifyDataConnection(Phone.REASON_DATA_ATTACHED); in onDataConnectionAttached() 693 notifyOffApnsOfAvailability(Phone.REASON_DATA_ATTACHED); in onDataConnectionAttached() 698 setupDataOnConnectableApns(Phone.REASON_DATA_ATTACHED); in onDataConnectionAttached() 930 specificdisable = reason.equals(Phone.REASON_DATA_SPECIFIC_DISABLED); in cleanUpAllConnections() 1307 if (cleanUpAllConnections(true, Phone.REASON_SINGLE_PDN_ARBITRATION)) { in setupData() 1369 setupDataOnConnectableApns(Phone.REASON_APN_CHANGED); in onApnChanged() 1436 cleanUpAllConnections(true, Phone.REASON_RADIO_TURNED_OFF); in restartRadio() 1461 if ( Phone.REASON_RADIO_TURNED_OFF.equals(reason) || in retryAfterDisconnected() [all …]
|