HomeSort by relevance Sort by last modified time
    Searched refs:MIMETYPE (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/
DataItemTests.java 93 final DataKind kind = new DataKind("test.mimetype", 0, 0, false);
117 mValues1.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);
118 mValues2.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);
119 mValues3.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);
147 mValues1.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE);
148 mValues2.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE);
149 mValues3.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE);
150 mValues4.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE);
183 mValues1.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE);
184 mValues2.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE)
    [all...]
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ContactEntry.java 33 public ContentValuesBuilder addContentValues(String mimeType) {
35 contentValues.put(Data.MIMETYPE, mimeType);
ContentValuesVerifierElem.java 35 public ContentValuesBuilder addExpected(String mimeType) {
37 contentValues.put(Data.MIMETYPE, mimeType);
ImportTestProvider.java 45 final String mimeType = expectedContentValues.getAsString(Data.MIMETYPE);
48 if (mMimeTypeToExpectedContentValues.containsKey(mimeType)) {
49 contentValuesCollection = mMimeTypeToExpectedContentValues.get(mimeType);
52 mMimeTypeToExpectedContentValues.put(mimeType, contentValuesCollection);
86 final String mimeType = actualContentValues.getAsString(Data.MIMETYPE);
87 if (!mMimeTypeToExpectedContentValues.containsKey(mimeType)) {
88 TestCase.fail("Unregistered MimeType " + mimeType);
    [all...]
  /external/libmicrohttpd/doc/examples/
responseheaders.c 20 #define MIMETYPE "image/png"
63 MHD_add_response_header (response, "Content-Type", MIMETYPE);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactOperations.java 137 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
141 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
145 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
165 mValues.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE);
183 mValues.put(Phone.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
198 mValues.put(GroupMembership.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE);
209 mValues.put(Photo.MIMETYPE, Photo.CONTENT_ITEM_TYPE);
230 mValues.put(Data.MIMETYPE, SampleSyncAdapterColumns.MIME_PROFILE);
337 mValues.put(Photo.MIMETYPE, Photo.CONTENT_ITEM_TYPE);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
DataUtil.java 43 values.put(ContactsContract.Data.MIMETYPE,
52 values.put(ContactsContract.Data.MIMETYPE, CommonDataKinds.Phone.CONTENT_ITEM_TYPE);
59 values.put(ContactsContract.Data.MIMETYPE, CommonDataKinds.Email.CONTENT_ITEM_TYPE);
  /frameworks/opt/chips/src/com/android/ex/chips/
Queries.java 41 ContactsContract.CommonDataKinds.Email.MIMETYPE // 9
61 ContactsContract.CommonDataKinds.Email.MIMETYPE // 9
  /packages/apps/EmergencyInfo/tests/src/com/android/emergency/
ContactTestUtils.java 82 values.put(ContactsContract.Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
92 values.put(ContactsContract.Data.MIMETYPE,
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
RawContactModifierTests.java 491 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
514 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
636 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
642 second.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
    [all...]
ContactsUtilsTests.java 83 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE);
106 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE);
124 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE);
145 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE);
170 values.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE);
RawContactDeltaTests.java 74 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
106 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
182 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
225 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
359 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothShare.java 118 public static final String MIMETYPE = "mimetype";
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_DataTest.java 81 Data.MIMETYPE,
144 cv1.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);
151 cv2.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
158 cv3.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);
165 cv4.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);
172 cv5.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);
179 cv6.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
186 cv7.put(Data.MIMETYPE, SipAddress.CONTENT_ITEM_TYPE);
295 Data.MIMETYPE,
388 Data.MIMETYPE,
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
SuggestedMemberListAdapter.java 67 Data.MIMETYPE, // 2
264 "(" + Data.MIMETYPE + "=? OR " + Data.MIMETYPE + "=? OR " + Data.MIMETYPE +
277 String mimetype = memberDataCursor.getString(MIMETYPE_COLUMN_INDEX); local
278 if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) {
282 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype) ||
283 Phone.CONTENT_ITEM_TYPE.equals(mimetype)) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
StructuredNameDataItem.java 32 getContentValues().put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
DataItem.java 56 * Factory for creating subclasses of DataItem objects based on the mimetype in the
60 final String mimeType = values.getAsString(Data.MIMETYPE);
61 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) {
63 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) {
65 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) {
67 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) {
69 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) {
71 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) {
73 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) {
    [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
MapTestData.java 213 item.put(ContactsContract.Data.MIMETYPE,
222 item.put(ContactsContract.Data.MIMETYPE,
231 item.put(ContactsContract.Data.MIMETYPE,
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandler.java 49 MimetypesColumns.MIMETYPE,
57 MimetypesColumns.MIMETYPE,
64 public static final int MIMETYPE = 1;
71 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE };
75 int MIMETYPE = 2;
87 AbstractContactAggregator aggregator, String mimetype) {
91 mMimetype = mimetype;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
BaseContactsProvider2Test.java 243 values.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE);
278 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
314 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);
336 values.put(Data.MIMETYPE, SipAddress.CONTENT_ITEM_TYPE);
349 values.put(Data.MIMETYPE, Nickname.CONTENT_ITEM_TYPE);
360 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE);
369 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE);
377 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE);
386 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE);
395 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE)
1307 String mimetype = c.getString(0); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PhonebookPullRequest.java 57 int mimeTypeIndex = c.getColumnIndex(Data.MIMETYPE);
68 String mimeType = c.getString(mimeTypeIndex);
69 if (mimeType.equals(StructuredName.CONTENT_ITEM_TYPE)) {
75 } else if (mimeType.equals(Phone.CONTENT_ITEM_TYPE)) {
139 .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE)
151 .withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE)
  /packages/apps/Contacts/src/com/android/contacts/
SplitAggregateView.java 57 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET, Data.RAW_CONTACT_ID,
62 int MIMETYPE = 0;
174 String mimetype = cursor.getString(SplitQuery.MIMETYPE); local
175 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimetype)) {
177 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) {
179 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) {
181 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) {
  /packages/apps/Messaging/tests/src/com/android/messaging/util/
ContactUtilTest.java 79 .withValue(ContactsContract.Data.MIMETYPE,
87 .withValue(ContactsContract.Data.MIMETYPE,
98 .withValue(ContactsContract.Data.MIMETYPE,
  /developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/
ContactablesLoaderCallbacks.java 104 int typeColumnIndex = cursor.getColumnIndex(CommonDataKinds.Contactables.MIMETYPE);
123 String mimeType = cursor.getString(typeColumnIndex);
124 if (mimeType.equals(CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) {
126 } else if (mimeType.equals(CommonDataKinds.Email.CONTENT_ITEM_TYPE)) {
  /developers/samples/android/content/contacts/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/
ContactablesLoaderCallbacks.java 104 int typeColumnIndex = cursor.getColumnIndex(CommonDataKinds.Contactables.MIMETYPE);
123 String mimeType = cursor.getString(typeColumnIndex);
124 if (mimeType.equals(CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) {
126 } else if (mimeType.equals(CommonDataKinds.Email.CONTENT_ITEM_TYPE)) {

Completed in 1639 milliseconds

1 2 3 4