Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 25 of 144) sorted by relevance

123456

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java73 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
117 private TYPE mSmsType;
126 Sms.TYPE,
135 Sms.TYPE
185 private TYPE getSmsType() { in getSmsType()
186 TYPE smsType = null; in getSmsType()
190 smsType = TYPE.SMS_GSM; in getSmsType()
192 smsType = TYPE.SMS_CDMA; in getSmsType()
238 TYPE msgType;
243 String oldFolder, TYPE msgType) { in Event()
[all …]
DBluetoothMapContent.java41 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
105 Sms.TYPE,
189 mSmsColFolder = c.getColumnIndex(Sms.TYPE); in setSmsColumns()
194 mSmsColType = c.getColumnIndex(Sms.TYPE); in setSmsColumns()
229 "\n " + Sms.TYPE + " : " + c.getInt(c.getColumnIndex(Sms.TYPE)) + in printSms()
551 TYPE type = null; in setType()
554 type = TYPE.SMS_GSM; in setType()
556 type = TYPE.SMS_CDMA; in setType()
559 type = TYPE.MMS; in setType()
561 type = TYPE.EMAIL; in setType()
[all …]
DBluetoothMapUtils.java43 public enum TYPE{ enum in BluetoothMapUtils
74 public static String getMapHandle(long cpHandle, TYPE messageType){ in getMapHandle()
127 static public TYPE getMsgTypeFromHandle(String mapHandle) { in getMsgTypeFromHandle()
131 return TYPE.MMS; in getMsgTypeFromHandle()
133 return TYPE.EMAIL; in getMsgTypeFromHandle()
135 return TYPE.SMS_GSM; in getMsgTypeFromHandle()
137 return TYPE.SMS_CDMA; in getMsgTypeFromHandle()
DBluetoothMapObexServer.java31 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
326 type = (String)request.getHeader(HeaderSet.TYPE); in onPut()
485 … if ((message.getType().equals(TYPE.EMAIL) && (folderElement.getEmailFolderId() == -1)) || in pushMessage()
486 … ((message.getType().equals(TYPE.SMS_GSM) || message.getType().equals(TYPE.SMS_CDMA) || in pushMessage()
487 message.getType().equals(TYPE.MMS)) && !folderElement.hasSmsMmsContent()) ) { in pushMessage()
540 BluetoothMapUtils.TYPE msgType; in setMessageStatus()
651 type = (String)request.getHeader(HeaderSet.TYPE); in onGet()
941 if ((BluetoothMapUtils.getMsgTypeFromHandle(handle).equals(TYPE.EMAIL)) && in sendGetMessageRsp()
1010 Log.v(TAG, "TYPE : " + hs.getHeader(HeaderSet.TYPE)); in logHeader()
DBluetoothMapbMessage.java31 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
47 protected TYPE mType = null; // SMS/MMS/EMAIL
400 TYPE type = null; in parse()
490 … type = TYPE.valueOf(value); // Will throw IllegalArgumentException if value is wrong in parse()
492 && type != TYPE.SMS_CDMA && type != TYPE.SMS_GSM) { in parse()
703 public void setType(TYPE type) { in setType()
710 public TYPE getType() { in getType()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java148 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization()
155 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization()
191 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone()
198 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone()
239 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testEmailCrud()
262 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testPrimaryEmail()
271 values.put(ContactMethods.TYPE, ContactMethods.TYPE_WORK); in testPrimaryEmail()
330 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsInsert()
340 assertPersonIdConstraint(Organizations.CONTENT_URI, Organizations.TYPE, in testOrganizationsInsert()
344 Organizations.TYPE, Organizations.TYPE_CUSTOM, Organizations.TYPE_OTHER, in testOrganizationsInsert()
[all …]
DCallLogProviderTest.java110 values.put(Calls.TYPE, Calls.VOICEMAIL_TYPE); in testInsert_VoicemailCallRecord()
130 values.put(Calls.TYPE, Calls.OUTGOING_TYPE); in testUpdate()
192 values.put(Calls.TYPE, Calls.OUTGOING_TYPE); in testAddCall()
248 String[] projection = new String[] {Calls._ID, Calls.TYPE}; in testLimitAndOffsetParamReturnsCorrectEntries()
425 values.put(Calls.TYPE, callType); in getDefaultValues()
511 values.put(Calls.TYPE, Calls.MISSED_TYPE);
522 values.put(Calls.TYPE, Calls.INCOMING_TYPE);
533 values.put(Calls.TYPE, Calls.OUTGOING_TYPE);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java104 phoneKind.typeColumn = Phone.TYPE; in MockContactsSource()
970 mockNameValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in testMigrateEventCommon()
982 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventCommon()
995 mockNameValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in testMigrateEventFromGoogleToExchange2()
1001 mockNameValues.put(Event.TYPE, Event.TYPE_ANNIVERSARY); in testMigrateEventFromGoogleToExchange2()
1014 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventFromGoogleToExchange2()
1025 mockNameValues.put(Email.TYPE, Email.TYPE_CUSTOM); in testMigrateEmailFromGoogleToExchange()
1031 mockNameValues.put(Email.TYPE, Email.TYPE_HOME); in testMigrateEmailFromGoogleToExchange()
1036 mockNameValues.put(Email.TYPE, Email.TYPE_WORK); in testMigrateEmailFromGoogleToExchange()
1042 mockNameValues.put(Email.TYPE, Email.TYPE_OTHER); in testMigrateEmailFromGoogleToExchange()
[all …]
DContactsUtilsTests.java84 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentCustom()
107 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntent()
125 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentWithAudio()
146 values.put(Im.TYPE, Im.TYPE_HOME); in testImIntentWithVideo()
171 values.put(Email.TYPE, Email.TYPE_HOME); in testImEmailIntent()
DRawContactDeltaTests.java78 phone.put(Phone.TYPE, Phone.TYPE_HOME); in getRawContact()
110 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testParcelChangesInsert()
184 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testEntityDiffNoneInsert()
224 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testEntityDiffUpdateInsert()
349 phone.put(Phone.TYPE, Phone.TYPE_WORK); in testEntityDiffInsertInsert()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/
DDataItemTests.java125 mValues1.put(Email.TYPE, Email.TYPE_MOBILE); in testDataItemCollapsing_email()
126 mValues2.put(Email.TYPE, Email.TYPE_HOME); in testDataItemCollapsing_email()
127 mValues3.put(Email.TYPE, Email.TYPE_WORK); in testDataItemCollapsing_email()
157 mValues1.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
158 mValues2.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
159 mValues3.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
160 mValues4.put(Event.TYPE, Event.TYPE_ANNIVERSARY); in testDataItemCollapsing_event()
310 mValues1.put(Phone.TYPE, Phone.TYPE_MOBILE); in testDataItemCollapsing_phone()
311 mValues2.put(Phone.TYPE, Phone.TYPE_HOME); in testDataItemCollapsing_phone()
312 mValues3.put(Phone.TYPE, Phone.TYPE_WORK); in testDataItemCollapsing_phone()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java386 sPeopleProjectionMap.put(People.TYPE, People.TYPE); in sPeopleProjectionMap.put() argument
412 sOrganizationProjectionMap.put(android.provider.Contacts.Organizations.TYPE, in sOrganizationProjectionMap.put() argument
413 android.provider.Contacts.Organizations.TYPE); in sOrganizationProjectionMap.put()
424 sContactMethodProjectionMap.put(ContactMethods.TYPE, ContactMethods.TYPE); in sContactMethodProjectionMap.put() argument
438 sPhoneProjectionMap.put(android.provider.Contacts.Phones.TYPE, in sPhoneProjectionMap.put() argument
439 android.provider.Contacts.Phones.TYPE); in sPhoneProjectionMap.put()
589 "phone." + Phone.TYPE in createViews()
590 + " AS " + People.TYPE + ", " + in createViews()
616 Organization.TYPE in createViews()
617 + " AS " + android.provider.Contacts.Organizations.TYPE + ", " + in createViews()
[all …]
DCallLogProvider.java61 Calls.TYPE, Calls.VOICEMAIL_TYPE);
67 Calls.TYPE,
100 sCallsProjectionMap.put(Calls.TYPE, Calls.TYPE); in sCallsProjectionMap.put() argument
353 return VOICEMAIL_TYPE.equals(values.getAsInteger(Calls.TYPE)); in hasVoicemailValue()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DBaseAccountType.java91 static final String TYPE = "Type"; field
99 static final String TYPE = "type"; field
247 kind.defaultValues.put(Nickname.TYPE, Nickname.TYPE_DEFAULT); in addDataKindNickname()
264 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
300 kind.typeColumn = Email.TYPE; in addDataKindEmail()
320 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
348 kind.defaultValues.put(Im.TYPE, Im.TYPE_OTHER); in addDataKindIm()
413 kind.defaultValues.put(Website.TYPE, Website.TYPE_OTHER); in addDataKindWebsite()
509 return Phone.TYPE; in getTypeColumn()
816 if (Tag.TYPE.equals(tag)) { in parseTypes()
[all …]
DGoogleAccountType.java86 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
109 kind.typeColumn = Email.TYPE; in addDataKindEmail()
129 kind.typeColumn = Relation.TYPE; in addDataKindRelation()
149 kind.defaultValues.put(Relation.TYPE, Relation.TYPE_SPOUSE); in addDataKindRelation()
164 kind.typeColumn = Event.TYPE; in addDataKindEvent()
175 kind.defaultValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in addDataKindEvent()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DContactsSyncParser.java72 private static final String COMMON_TYPE_ROW = Phone.TYPE; // Could have been any typed row
763 builder.withValue(Phone.TYPE, type);
890 } else if (type < 0 || !cv.containsKey(Email.TYPE) ||
891 cv.getAsInteger(Email.TYPE) == type) {
931 final int subtype = cv.getAsInteger(Phone.TYPE);
1079 builder.withValue(Event.TYPE, Event.TYPE_BIRTHDAY);
1160 builder.withValue(Phone.TYPE, type);
1171 builder.withValue(Website.TYPE, Website.TYPE_WORK);
1182 builder.withValue(Relation.TYPE, type);
1194 builder.withValue(Nickname.TYPE, Nickname.TYPE_DEFAULT);
[all …]
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSyncContacts.java502 if (value == null || !cv.containsKey(Phone.TYPE)) { in sendPhone()
505 switch (cv.getAsInteger(Phone.TYPE)) { in sendPhone()
557 if (value == null || !cv.containsKey(Relation.TYPE)) { in sendRelation()
560 switch (cv.getAsInteger(Relation.TYPE)) { in sendRelation()
618 if (!cv.containsKey(StructuredPostal.TYPE)) { in sendStructuredPostal()
621 switch (cv.getAsInteger(StructuredPostal.TYPE)) { in sendStructuredPostal()
904 if (cv.containsKey(Phone.TYPE)) { in setUpsyncCommands()
905 final int type = cv.getAsInteger(Phone.TYPE); in setUpsyncCommands()
925 if (cv.containsKey(Event.TYPE)) { in setUpsyncCommands()
926 final Integer eventType = cv.getAsInteger(Event.TYPE); in setUpsyncCommands()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapbMessageTest.java20 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
89 msg.setType(TYPE.SMS_GSM); in testSmsEncodeText()
191 msg.setType(TYPE.SMS_GSM); in testSmsEncodeNativeDeliverPdu()
261 msg.setType(TYPE.SMS_GSM); in testSmsEncodeDecodeNativeSubmitPdu()
353 msg.setType(TYPE.SMS_GSM); in testFolderLengthTruncation()
487 msg.setType(TYPE.MMS); in testMmsEncodeText()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java211 MailboxColumns.TYPE,
234 MailboxColumns.TYPE
281 MailboxColumns.TYPE + "=? and " + MailboxColumns.ACCOUNT_KEY + "=?";
294 + MailboxColumns.TYPE + "=" + Mailbox.TYPE_OUTBOX + " or "
299 MailboxColumns.SYNC_INTERVAL + "=1 and " + MailboxColumns.TYPE + "=? and " +
609 values.put(MailboxColumns.TYPE, mType); in toContentValues()
897 new String[] { Long.toString(accountId) }, MailboxColumns.TYPE + " ASC"); in getMailboxIdsForSync()
947 MailboxColumns.TYPE, in resyncMailbox()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java59 Phone._ID, Phone.DISPLAY_NAME, Phone.NUMBER, Phone.TYPE
66 private static final String OUTGOING_CALL_WHERE = Calls.TYPE + "=" + Calls.OUTGOING_TYPE;
67 private static final String INCOMING_CALL_WHERE = Calls.TYPE + "=" + Calls.INCOMING_TYPE;
68 private static final String MISSED_CALL_WHERE = Calls.TYPE + "=" + Calls.MISSED_TYPE;
125 Calls.TYPE + "=" + Calls.OUTGOING_TYPE, null, Calls.DEFAULT_SORT_ORDER + in getLastDialledNumber()
439 pbr.typeColumn = pbr.cursor.getColumnIndex(Phone.TYPE); in queryPhonebook()
522 new String[] {PhoneLookup.DISPLAY_NAME, PhoneLookup.TYPE}, in processCpbrCommand()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DFallbackSource.java168 kind.defaultValues.put(Nickname.TYPE, Nickname.TYPE_DEFAULT); in inflateNickname()
190 kind.typeColumn = Phone.TYPE; in inflatePhone()
233 kind.typeColumn = Email.TYPE; in inflateEmail()
261 kind.typeColumn = StructuredPostal.TYPE; in inflateStructuredPostal()
322 kind.defaultValues.put(Im.TYPE, Im.TYPE_OTHER); in inflateIm()
354 kind.typeColumn = Organization.TYPE; in inflateOrganization()
416 kind.defaultValues.put(Website.TYPE, Website.TYPE_OTHER); in inflateWebsite()
505 return Phone.TYPE; in getTypeColumn()
/packages/apps/Email/src/com/android/email/provider/
DDBHelper.java279 + "(select " + MailboxColumns.TYPE + " from " + Mailbox.TABLE_NAME in createDeleteDuplicateMessagesTrigger()
293 + " and (select " + Mailbox.TABLE_NAME + "." + MailboxColumns.TYPE + " from " in createDeleteDuplicateMessagesTrigger()
595 + MailboxColumns.TYPE + " integer, " in createMailboxTable()
1167 Mailbox.DRAFTS_DEFAULT_TOUCH_TIME + " WHERE " + MailboxColumns.TYPE + in onUpgrade()
1171 Mailbox.SENT_DEFAULT_TOUCH_TIME + " WHERE " + MailboxColumns.TYPE + in onUpgrade()
1304 db.execSQL("delete from " + Mailbox.TABLE_NAME + " where " + MailboxColumns.TYPE in onUpgrade()
1394 + "=0 where " + MailboxColumns.TYPE + "=" + Mailbox.TYPE_DRAFTS); in onUpgrade()
1401 + MailboxColumns.TYPE + "=" + Mailbox.TYPE_DRAFTS + ")"); in onUpgrade()
1419 + Mailbox.TYPE + "=" + Mailbox.TYPE_SEARCH); in onUpgrade()
1870 Mailbox.DRAFTS_DEFAULT_TOUCH_TIME + " WHERE " + MailboxColumns.TYPE + in upgradeToEmail2()
[all …]
DEmailProvider.java931 if (values.containsKey(MailboxColumns.TYPE)) { in insert()
932 if (values.getAsInteger(MailboxColumns.TYPE) < in insert()
2664 private static final String FOLDER_TYPE = "CASE " + MailboxColumns.TYPE
2677 private static final String FOLDER_ICON = "CASE " + MailboxColumns.TYPE
2693 + MailboxColumns.TYPE + "=" + Mailbox.TYPE_DRAFTS + " OR "
2694 + MailboxColumns.TYPE + "=" + Mailbox.TYPE_OUTBOX + " OR "
2695 + MailboxColumns.TYPE + "=" + Mailbox.TYPE_TRASH
2717 .add(UIProvider.FolderColumns.TYPE, FOLDER_TYPE) in getFolderListMap()
2818 private static final String MAILBOX_ORDER_BY = "CASE " + MailboxColumns.TYPE
3113 " FROM " + Mailbox.TABLE_NAME + " WHERE " + MailboxColumns.TYPE + in getVirtualMailboxMessagesCursor()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DUIProvider.java140 .put(AccountColumns.TYPE, String.class)
346 public static final String TYPE = "type"; field in UIProvider.AccountColumns
724 FolderColumns.TYPE,
972 public static final String TYPE = "type"; field in UIProvider.FolderColumns
1902 AttachmentColumns.TYPE,
2093 public static final String TYPE = "type"; field in UIProvider.AttachmentColumns
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java116 map.put(PartnerBookmarksContract.Bookmarks.TYPE, in map.put() argument
117 PartnerBookmarksContract.Bookmarks.TYPE); in map.put()
173 PartnerBookmarksContract.Bookmarks.TYPE + in createTable()
247 values.put(PartnerBookmarksContract.Bookmarks.TYPE, in addRootFolder()
268 PartnerBookmarksContract.Bookmarks.TYPE); in addDefaultBookmarks()

123456