/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 58 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 164 private TYPE mSmsType; 193 Sms.TYPE, 200 Sms._ID, Sms.THREAD_ID, Sms.TYPE, Sms.READ 204 Sms._ID, Sms.THREAD_ID, Sms.ADDRESS, Sms.BODY, Sms.DATE, Sms.READ, Sms.TYPE, 263 if (mAccount.getType() == TYPE.IM) { in BluetoothMapContentObserver() 448 private TYPE getSmsType() { in getSmsType() 449 TYPE smsType = null; in getSmsType() 454 smsType = TYPE.SMS_CDMA; in getSmsType() 456 smsType = TYPE.SMS_GSM; in getSmsType() [all …]
|
D | BluetoothMapUtils.java | 105 public enum TYPE { enum in BluetoothMapUtils 107 private static TYPE[] sAllValues = values(); 109 public static TYPE fromOrdinal(int n) { in fromOrdinal() 266 public static String getMapHandle(long cpHandle, TYPE messageType) { in getMapHandle() 306 public static String getMapConvoHandle(long cpHandle, TYPE messageType) { in getMapConvoHandle() 358 public static TYPE getMsgTypeFromHandle(String mapHandle) { in getMsgTypeFromHandle() 362 return TYPE.MMS; in getMsgTypeFromHandle() 365 return TYPE.EMAIL; in getMsgTypeFromHandle() 368 return TYPE.SMS_GSM; in getMsgTypeFromHandle() 371 return TYPE.SMS_CDMA; in getMsgTypeFromHandle() [all …]
|
D | BluetoothMapObexServer.java | 33 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 150 if (account.getType() == TYPE.EMAIL) { in BluetoothMapObexServer() 191 if (mAccount.getType() == TYPE.IM) { in buildFolderStructure() 194 if (mAccount.getType() == TYPE.EMAIL) { in buildFolderStructure() 469 type = (String) request.getHeader(HeaderSet.TYPE); in onPut() 690 if (message.getType().equals(TYPE.SMS_GSM) || message.getType().equals(TYPE.SMS_CDMA)) { in pushMessage() 695 message.setType(TYPE.SMS_GSM); in pushMessage() 697 message.setType(TYPE.SMS_CDMA); in pushMessage() 712 if ((message.getType().equals(TYPE.EMAIL) && (folderElement.getFolderId() == -1)) || ( in pushMessage() 713 (message.getType().equals(TYPE.SMS_GSM) || message.getType() in pushMessage() [all …]
|
D | BluetoothMapAccountLoader.java | 31 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 85 BluetoothMapUtils.TYPE msgType = (Objects.equals(searchIntent.getAction(), in parsePackages() 87 ? BluetoothMapUtils.TYPE.EMAIL : BluetoothMapUtils.TYPE.IM; in parsePackages() 130 BluetoothMapUtils.TYPE type) { in createAppItem() 173 if (app.getType() == TYPE.IM) { in parseAccounts() 208 if (app.getType() == TYPE.IM) { in parseAccounts()
|
D | BluetoothMapAccountItem.java | 38 private final BluetoothMapUtils.TYPE mType; 45 Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) { in BluetoothMapAccountItem() 59 String authority, Drawable icon, BluetoothMapUtils.TYPE appType) { in create() 65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, in create() 227 public BluetoothMapUtils.TYPE getType() { in getType()
|
D | BluetoothMapContent.java | 42 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 163 Sms.TYPE, 191 Sms.TYPE, 401 mSmsColFolder = c.getColumnIndex(Sms.TYPE); in setSmsColumns() 406 mSmsColType = c.getColumnIndex(Sms.TYPE); in setSmsColumns() 473 TYPE type = TYPE.SMS_GSM; // Just used for handle encoding in setThreadId() 478 type = TYPE.MMS; // Just used for handle encoding in setThreadId() 481 type = TYPE.EMAIL; // Just used for handle encoding in setThreadId() 739 private TYPE getType(Cursor c, FilterInfo fi) { in getType() 740 TYPE type = null; in getType() [all …]
|
D | BluetoothMapMessageListingElement.java | 18 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 41 private TYPE mType = null; 140 public TYPE getType() { in getType() 144 public void setType(TYPE type, boolean appParamSet) { in setType() 234 public void setThreadId(long threadId, TYPE type) { in setThreadId()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 113 mValues1.put(Email.TYPE, Email.TYPE_MOBILE); in testDataItemCollapsing_email() 114 mValues2.put(Email.TYPE, Email.TYPE_HOME); in testDataItemCollapsing_email() 115 mValues3.put(Email.TYPE, Email.TYPE_WORK); in testDataItemCollapsing_email() 145 mValues1.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event() 146 mValues2.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event() 147 mValues3.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event() 148 mValues4.put(Event.TYPE, Event.TYPE_ANNIVERSARY); in testDataItemCollapsing_event() 298 mValues1.put(Phone.TYPE, Phone.TYPE_MOBILE); in testDataItemCollapsing_phone() 299 mValues2.put(Phone.TYPE, Phone.TYPE_HOME); in testDataItemCollapsing_phone() 300 mValues3.put(Phone.TYPE, Phone.TYPE_WORK); in testDataItemCollapsing_phone() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 165 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization() 172 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization() 208 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone() 215 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone() 257 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testEmailCrud() 280 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testPrimaryEmail() 289 values.put(ContactMethods.TYPE, ContactMethods.TYPE_WORK); in testPrimaryEmail() 349 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsInsert() 359 assertPersonIdConstraint(Organizations.CONTENT_URI, Organizations.TYPE, in testOrganizationsInsert() 363 Organizations.TYPE, Organizations.TYPE_CUSTOM, Organizations.TYPE_OTHER, in testOrganizationsInsert() [all …]
|
D | CallLogProviderTest.java | 117 values.put(Calls.TYPE, Calls.VOICEMAIL_TYPE); in testInsert_VoicemailCallRecord() 139 values.put(Calls.TYPE, Calls.OUTGOING_TYPE); in testUpdate() 204 values.put(Calls.TYPE, Calls.OUTGOING_TYPE); in testAddCall() 260 String[] projection = new String[] {Calls._ID, Calls.TYPE}; in testLimitAndOffsetParamReturnsCorrectEntries() 443 values.put(Calls.TYPE, callType); in getDefaultValues() 487 values.put(Calls.TYPE, Calls.MISSED_TYPE); in getTestCallLogValues() 498 values.put(Calls.TYPE, Calls.INCOMING_TYPE); in getTestCallLogValues() 509 values.put(Calls.TYPE, Calls.OUTGOING_TYPE); in getTestCallLogValues()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 97 phoneKind.typeColumn = Phone.TYPE; in MockContactsSource() 935 mockNameValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in testMigrateEventCommon() 947 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventCommon() 960 mockNameValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in testMigrateEventFromGoogleToExchange2() 966 mockNameValues.put(Event.TYPE, Event.TYPE_ANNIVERSARY); in testMigrateEventFromGoogleToExchange2() 979 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventFromGoogleToExchange2() 990 mockNameValues.put(Email.TYPE, Email.TYPE_CUSTOM); in testMigrateEmailFromGoogleToExchange() 996 mockNameValues.put(Email.TYPE, Email.TYPE_HOME); in testMigrateEmailFromGoogleToExchange() 1001 mockNameValues.put(Email.TYPE, Email.TYPE_WORK); in testMigrateEmailFromGoogleToExchange() 1007 mockNameValues.put(Email.TYPE, Email.TYPE_OTHER); in testMigrateEmailFromGoogleToExchange() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/compat/ |
D | CompatUtilsTest.java | 77 Integer.TYPE)); in testIsMethodAvailable_OverloadedMethod() 82 Boolean.TYPE)); in testIsMethodAvailable_NonexistentOverload() 107 new Class<?>[] {Integer.TYPE}, new Object[] {1})); in testInvokeMethod_MethodWithNoParameters_WithParameters() 112 new Class<?>[] {Integer.TYPE}, new Object[] {})); in testInvokeMethod_MethodWithParameters_WithEmptyParameterList() 117 new Class<?>[] {Integer.TYPE}, new Object[] {2})); in testInvokeMethod_InvokeSimpleMethod()
|
/packages/apps/Bluetooth/tests/unit/res/raw/ |
D | unknown_number_call.vcf | 5 TEL;TYPE=0: 6 X-IRMC-CALL-DATETIME;TYPE=RECEIVED:20170101T010200 12 TEL;TYPE=0:Unknown 13 X-IRMC-CALL-DATETIME;TYPE=RECEIVED:20170101T010300
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | SamsungAccountType.java | 91 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal() 129 kind.typeColumn = Phone.TYPE; in addDataKindPhone() 153 kind.typeColumn = Email.TYPE; in addDataKindEmail() 173 kind.typeColumn = Relation.TYPE; in addDataKindRelation() 193 kind.defaultValues.put(Relation.TYPE, Relation.TYPE_SPOUSE); in addDataKindRelation() 207 kind.typeColumn = Event.TYPE; in addDataKindEvent() 218 kind.defaultValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in addDataKindEvent()
|
D | GoogleAccountType.java | 85 kind.typeColumn = Phone.TYPE; in addDataKindPhone() 108 kind.typeColumn = Email.TYPE; in addDataKindEmail() 133 kind.typeColumn = Relation.TYPE; in addDataKindRelation() 153 kind.defaultValues.put(Relation.TYPE, Relation.TYPE_SPOUSE); in addDataKindRelation() 168 kind.typeColumn = Event.TYPE; in addDataKindEvent() 179 kind.defaultValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in addDataKindEvent()
|
D | BaseAccountType.java | 297 kind.defaultValues.put(Nickname.TYPE, Nickname.TYPE_DEFAULT); in addDataKindNickname() 315 kind.typeColumn = Phone.TYPE; in addDataKindPhone() 352 kind.typeColumn = Email.TYPE; in addDataKindEmail() 377 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal() 406 kind.defaultValues.put(Im.TYPE, Im.TYPE_OTHER); in addDataKindIm() 478 kind.defaultValues.put(Website.TYPE, Website.TYPE_OTHER); in addDataKindWebsite() 556 String TYPE = "Type"; field 565 String TYPE = "type"; field 649 return Phone.TYPE; in getTypeColumn() 930 if (Tag.TYPE.equals(tag)) { in parseTypes() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | SamsungAccountType.java | 94 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal() 132 kind.typeColumn = Phone.TYPE; in addDataKindPhone() 156 kind.typeColumn = Email.TYPE; in addDataKindEmail() 176 kind.typeColumn = Relation.TYPE; in addDataKindRelation() 196 kind.defaultValues.put(Relation.TYPE, Relation.TYPE_SPOUSE); in addDataKindRelation() 211 kind.typeColumn = Event.TYPE; in addDataKindEvent() 222 kind.defaultValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in addDataKindEvent()
|
D | GoogleAccountType.java | 89 kind.typeColumn = Phone.TYPE; in addDataKindPhone() 112 kind.typeColumn = Email.TYPE; in addDataKindEmail() 132 kind.typeColumn = Relation.TYPE; in addDataKindRelation() 152 kind.defaultValues.put(Relation.TYPE, Relation.TYPE_SPOUSE); in addDataKindRelation() 167 kind.typeColumn = Event.TYPE; in addDataKindEvent() 178 kind.defaultValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in addDataKindEvent()
|
D | BaseAccountType.java | 93 static final String TYPE = "Type"; field 101 static final String TYPE = "type"; field 239 kind.defaultValues.put(Nickname.TYPE, Nickname.TYPE_DEFAULT); in addDataKindNickname() 256 kind.typeColumn = Phone.TYPE; in addDataKindPhone() 292 kind.typeColumn = Email.TYPE; in addDataKindEmail() 312 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal() 340 kind.defaultValues.put(Im.TYPE, Im.TYPE_OTHER); in addDataKindIm() 405 kind.defaultValues.put(Website.TYPE, Website.TYPE_OTHER); in addDataKindWebsite() 507 return Phone.TYPE; in getTypeColumn() 814 if (Tag.TYPE.equals(tag)) { in parseTypes() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 355 sPeopleProjectionMap.put(People.TYPE, People.TYPE); in sPeopleProjectionMap.put() argument 381 sOrganizationProjectionMap.put(android.provider.Contacts.Organizations.TYPE, in sOrganizationProjectionMap.put() argument 382 android.provider.Contacts.Organizations.TYPE); in sOrganizationProjectionMap.put() 393 sContactMethodProjectionMap.put(ContactMethods.TYPE, ContactMethods.TYPE); in sContactMethodProjectionMap.put() argument 407 sPhoneProjectionMap.put(android.provider.Contacts.Phones.TYPE, in sPhoneProjectionMap.put() argument 408 android.provider.Contacts.Phones.TYPE); in sPhoneProjectionMap.put() 560 "phone." + Phone.TYPE in createViews() 561 + " AS " + People.TYPE + ", " + in createViews() 587 Organization.TYPE in createViews() 588 + " AS " + android.provider.Contacts.Organizations.TYPE + ", " + in createViews() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItem.java | 56 public static final int TYPE = 5; field in SpeedDialUiItem 68 Phone.TYPE, 81 Phone.TYPE, 141 .setPhoneType(cursor.getInt(TYPE)) in fromCursor() 161 int numberType = cursor.getInt(TYPE); in getLabel()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 83 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentCustom() 106 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntent() 124 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentWithAudio() 145 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentWithVideo() 170 values.put(Email.TYPE, Email.TYPE_HOME); in testImEmailIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | RequestSetNotificationRegistration.java | 28 private static final String TYPE = "x-bt/MAP-NotificationRegistration"; field in RequestSetNotificationRegistration 35 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestSetNotificationRegistration()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallLogManagerTest.java | 329 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoing() 354 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncoming() 380 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionMissed() 409 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionRejected() 542 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapability() 545 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapability() 576 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncomingWithMultiUserCapability() 579 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionIncomingWithMultiUserCapability() 610 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingWithMultiUserCapabilityFromManagedProfile() 641 assertEquals(insertedValues.getAsInteger(CallLog.Calls.TYPE), in testLogCallDirectionOutgoingFromManagedProfile() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapRequestPullPhoneBookSize.java | 29 private static final String TYPE = "x-bt/phonebook"; field in BluetoothPbapRequestPullPhoneBookSize 36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullPhoneBookSize()
|