/packages/providers/ContactsProvider/tests/assets/test1/ |
D | expected_data.txt | 4 4 mimetype=vnd.android.cursor.item/name 31 31 mimetype=vnd.android.cursor.item/name 58 58 mimetype=vnd.android.cursor.item/name 85 85 mimetype=vnd.android.cursor.item/note 112 112 mimetype=vnd.android.cursor.item/name 139 139 mimetype=vnd.android.cursor.item/organization 166 166 mimetype=vnd.android.cursor.item/phone_v2 193 193 mimetype=vnd.android.cursor.item/phone_v2 220 220 mimetype=vnd.android.cursor.item/phone_v2 247 247 mimetype=vnd.android.cursor.item/phone_v2 [all …]
|
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
D | expected_data.txt | 4 4 mimetype=vnd.android.cursor.item/name 31 31 mimetype=vnd.android.cursor.item/name 58 58 mimetype=vnd.android.cursor.item/name 85 85 mimetype=vnd.android.cursor.item/name 112 112 mimetype=vnd.android.cursor.item/name 139 139 mimetype=vnd.android.cursor.item/name 166 166 mimetype=vnd.android.cursor.item/name 193 193 mimetype=vnd.android.cursor.item/name 220 220 mimetype=vnd.android.cursor.item/phone_v2 247 247 mimetype=vnd.android.cursor.item/phone_v2 [all …]
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
D | expected_data.txt | 4 4 mimetype=vnd.android.cursor.item/name 31 31 mimetype=vnd.android.cursor.item/name 58 58 mimetype=vnd.android.cursor.item/name 85 85 mimetype=vnd.android.cursor.item/phone_v2 112 112 mimetype=vnd.android.cursor.item/phone_v2 139 139 mimetype=vnd.android.cursor.item/phone_v2 166 166 mimetype=vnd.android.cursor.item/email_v2 193 193 mimetype=vnd.android.cursor.item/email_v2 220 220 mimetype=vnd.android.cursor.item/email_v2 247 247 mimetype=vnd.android.cursor.item/group_membership [all …]
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | TypePrecedence.java | 78 public static int getTypePrecedence(String mimetype, int type) { in getTypePrecedence() argument 79 int[] typePrecedence = getTypePrecedenceList(mimetype); in getTypePrecedence() 93 private static int[] getTypePrecedenceList(String mimetype) { in getTypePrecedenceList() argument 94 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 96 } else if (mimetype.equals(Constants.MIME_SMS_ADDRESS)) { in getTypePrecedenceList() 98 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 100 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 102 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 104 } else if (mimetype.equals(Organization.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | TypePrecedence.java | 86 public static int getTypePrecedence(String mimetype, int type) { in getTypePrecedence() argument 87 int[] typePrecedence = getTypePrecedenceList(mimetype); in getTypePrecedence() 101 private static int[] getTypePrecedenceList(String mimetype) { in getTypePrecedenceList() argument 102 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 104 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 106 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 108 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList() 110 } else if (mimetype.equals(MIME_TYPE_VIDEO_CHAT)) { in getTypePrecedenceList() 112 } else if (mimetype.equals(Organization.CONTENT_ITEM_TYPE)) { in getTypePrecedenceList()
|
D | SplitAggregateView.java | 171 String mimetype = cursor.getString(SplitQuery.MIMETYPE); in loadData() local 172 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimetype)) { in loadData() 174 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { in loadData() 176 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { in loadData() 178 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) { in loadData()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppUtility.java | 167 public static void openReceivedFile(Context context, String fileName, String mimetype, in openReceivedFile() argument 169 if (fileName == null || mimetype == null) { in openReceivedFile() 195 if (isRecognizedFileType(context, path, mimetype)) { in openReceivedFile() 197 activityIntent.setDataAndTypeAndNormalize(path, mimetype); in openReceivedFile() 201 if (V) Log.d(TAG, "ACTION_VIEW intent sent out: " + path + " / " + mimetype); in openReceivedFile() 204 if (V) Log.d(TAG, "no activity for handling ACTION_VIEW intent: " + mimetype, ex); in openReceivedFile() 219 public static boolean isRecognizedFileType(Context context, Uri fileUri, String mimetype) { in isRecognizedFileType() argument 222 if (D) Log.d(TAG, "RecognizedFileType() fileUri: " + fileUri + " mimetype: " + mimetype); in isRecognizedFileType() 225 mimetypeIntent.setDataAndTypeAndNormalize(fileUri, mimetype); in isRecognizedFileType() 230 if (D) Log.d(TAG, "NO application to handle MIME type " + mimetype); in isRecognizedFileType()
|
D | BluetoothOppShareInfo.java | 71 public BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, in BluetoothOppShareInfo() argument 78 mMimetype = mimetype; in BluetoothOppShareInfo()
|
/packages/apps/Browser/src/com/android/browser/ |
D | DownloadHandler.java | 59 String userAgent, String contentDisposition, String mimetype, in onDownloadStart() argument 69 intent.setDataAndType(Uri.parse(url), mimetype); in onDownloadStart() local 87 Log.d(LOGTAG, "activity not found for " + mimetype in onDownloadStart() 98 mimetype, referer, privateBrowsing); in onDownloadStart() 144 String mimetype, String referer, boolean privateBrowsing) { in onDownloadStartNoStream() argument 147 contentDisposition, mimetype); in onDownloadStartNoStream() 195 request.setMimeType(mimetype); in onDownloadStartNoStream() 211 if (mimetype == null) { in onDownloadStartNoStream()
|
D | Tab.java | 1165 String contentDisposition, String mimetype, String referer, in Tab() 1168 mimetype, referer, contentLength); in Tab() 1361 String contentDisposition, String mimetype, String referer, in createSubWindow() 1364 contentDisposition, mimetype, referer, contentLength); in createSubWindow()
|
/packages/apps/Music/src/com/android/music/ |
D | QueryBrowserActivity.java | 391 String mimetype = cursor.getString(cursor.getColumnIndexOrThrow( in bindView() local 394 if (mimetype == null) { in bindView() 395 mimetype = "audio/"; in bindView() 397 if (mimetype.equals("artist")) { in bindView() 417 } else if (mimetype.equals("album")) { in bindView() 435 } else if(mimetype.startsWith("audio/") || in bindView() 436 mimetype.equals("application/ogg") || in bindView() 437 mimetype.equals("application/x-ogg")) { in bindView()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactFragment.java | 557 entry.mimetype = mimeType; in fromValues() 596 if (TypePrecedence.getTypePrecedence(mimetype, type) in collapseWith() 597 > TypePrecedence.getTypePrecedence(entry.mimetype, entry.type)) { in collapseWith() 628 if (!ContactsUtils.areDataEqual(context, mimetype, data, entry.mimetype, entry.data)) { in shouldCollapseWith() 632 if (!TextUtils.equals(mimetype, entry.mimetype) in shouldCollapseWith() 720 if (entry.mimetype.equals(Phone.CONTENT_ITEM_TYPE) in bindView() 721 || entry.mimetype.equals(Constants.MIME_SMS_ADDRESS)) { in bindView()
|
D | ContactEntryAdapter.java | 48 public String mimetype; field in ContactEntryAdapter.Entry 60 p.writeString(mimetype); in writeToParcel() 74 mimetype = p.readString(); in readFromParcel()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailFragment.java | 733 entry.intent.setDataAndType(entry.uri, entry.mimetype); in buildEntries() 765 entry.mimetype = GroupMembership.MIMETYPE; in buildEntries() 1227 public String mimetype; field in ContactDetailFragment.DetailViewEntry 1252 .add("mimetype", mimetype) in toString() 1285 entry.mimetype = item.getMimeType(); in fromValues() 1329 if (TypePrecedence.getTypePrecedence(mimetype, type) in collapseWith() 1330 > TypePrecedence.getTypePrecedence(entry.mimetype, entry.type)) { in collapseWith() 1361 if (!MoreContactUtils.shouldCollapse(mimetype, data, entry.mimetype, entry.data)) { in shouldCollapseWith() 1365 if (!TextUtils.equals(mimetype, entry.mimetype) in shouldCollapseWith() 1905 String selectedMimeType = selectedEntry.mimetype; in onCreateContextMenu()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | ContactsUtils.java | 81 public static final CharSequence getDisplayLabel(Context context, String mimetype, int type, in getDisplayLabel() argument 88 if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { in getDisplayLabel() 92 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { in getDisplayLabel() 96 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimetype)) { in getDisplayLabel() 100 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimetype)) { in getDisplayLabel()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AggregationSuggestionEngine.java | 401 String mimetype = mDataCursor.getString(DataQuery.MIMETYPE); in getSuggestions() local 402 if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { in getSuggestions() 409 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { in getSuggestions() 416 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) { in getSuggestions() 421 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) { in getSuggestions()
|
D | EditorUiUtils.java | 72 public static int getLayoutResourceId(String mimetype) { in getLayoutResourceId() argument 73 final Integer id = mimetypeLayoutMap.get(mimetype); in getLayoutResourceId()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | SuggestedMemberListAdapter.java | 274 String mimetype = memberDataCursor.getString(MIMETYPE_COLUMN_INDEX); in performFiltering() local 275 if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) { in performFiltering() 279 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype) || in performFiltering() 280 Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { in performFiltering()
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
D | FileContentProvider.java | 45 String mimetype = uri.getQuery(); in getType() local 46 return mimetype == null ? "" : mimetype; in getType()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 3519 final long mimetype = lookupMimeTypeId(db, GroupMembership.CONTENT_ITEM_TYPE); in upgradeToVersion411() local 3527 " WHERE mimetype_id=" + mimetype + in upgradeToVersion411() 4327 public long getMimeTypeId(String mimetype) { in getMimeTypeId() argument 4329 if (mMimetypeCache.containsKey(mimetype)) return mMimetypeCache.get(mimetype); in getMimeTypeId() 4331 return lookupMimeTypeId(mimetype, getWritableDatabase()); in getMimeTypeId() 4334 private long lookupMimeTypeId(String mimetype, SQLiteDatabase db) { in lookupMimeTypeId() argument 4346 return lookupAndCacheId(mimetypeQuery, mimetypeInsert, mimetype, mMimetypeCache); in lookupMimeTypeId() 4410 String mimetype = mDataMimetypeQuery.simpleQueryForString(); in getDataMimeType() local 4411 return mimetype; in getDataMimeType() 4534 long mimetype = getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in updateContactVisible() local [all …]
|
D | DataRowHandlerForCustomMimetype.java | 25 ContactsDatabaseHelper dbHelper, ContactAggregator aggregator, String mimetype) { in DataRowHandlerForCustomMimetype() argument 26 super(context, dbHelper, aggregator, mimetype); in DataRowHandlerForCustomMimetype()
|
D | DataRowHandlerForCommonDataKind.java | 37 ContactAggregator aggregator, String mimetype, String typeColumn, String labelColumn) { in DataRowHandlerForCommonDataKind() argument 38 super(context, dbHelper, aggregator, mimetype); in DataRowHandlerForCommonDataKind()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 1210 String mimetype = c.getString(0); in dumpData() local 1211 if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) { in dumpData() 1214 mimetype = mimetype.substring(mimetype.indexOf('/') + 1); in dumpData() 1215 Log.i("Data ", String.format(" %-10s %s,%s,%s", mimetype, in dumpData()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadDrmHelper.java | 41 public static boolean isDrmConvertNeeded(String mimetype) { in isDrmConvertNeeded() argument 42 return MIMETYPE_DRM_MESSAGE.equals(mimetype); in isDrmConvertNeeded()
|
/packages/providers/MediaProvider/tools/genfiles/ |
D | genfiles.sh | 57 while read format mediatype mimetype data; 120 echo ignored: $format '|' $mediatype '|' $mimetype '|' $data
|