/frameworks/base/core/java/android/content/ |
D | MimeTypeFilter.java | 116 @Nullable String[] mimeTypes, @NonNull String filter) { in matches() 117 if (mimeTypes == null) { in matches() 122 for (String mimeType : mimeTypes) { in matches() 138 @Nullable String[] mimeTypes, @NonNull String filter) { in matchesMany() 139 if (mimeTypes == null) { in matchesMany() 145 for (String mimeType : mimeTypes) { in matchesMany()
|
D | ClipDescription.java | 115 public ClipDescription(CharSequence label, String[] mimeTypes) { in ClipDescription() argument 116 if (mimeTypes == null) { in ClipDescription() 120 mMimeTypes = new ArrayList<String>(Arrays.asList(mimeTypes)); in ClipDescription() 249 void addMimeTypes(String[] mimeTypes) { in addMimeTypes() argument 250 for (int i=0; i!=mimeTypes.length; i++) { in addMimeTypes() 251 final String mimeType = mimeTypes[i]; in addMimeTypes()
|
D | ClipData.java | 704 public ClipData(CharSequence label, String[] mimeTypes, Item item) { in ClipData() argument 705 mClipDescription = new ClipDescription(label, mimeTypes); in ClipData() 816 String[] mimeTypes = getMimeTypes(resolver, uri); in newUri() local 817 return new ClipData(label, mimeTypes, item); in newUri() 828 String[] mimeTypes = null; in getMimeTypes() local 831 mimeTypes = resolver.getStreamTypes(uri, "*/*"); in getMimeTypes() 833 if (mimeTypes == null) { in getMimeTypes() 834 mimeTypes = new String[] { realType }; in getMimeTypes() 835 } else if (!ArrayUtils.contains(mimeTypes, realType)) { in getMimeTypes() 836 String[] tmp = new String[mimeTypes.length + 1]; in getMimeTypes() [all …]
|
D | Intent.java | 1035 String[] mimeTypes; in createChooser() local 1037 mimeTypes = new String[] { target.getType() }; in createChooser() 1039 mimeTypes = new String[] { }; in createChooser() 1041 targetClipData = new ClipData(null, mimeTypes, item); in createChooser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSetting.java | 146 ArraySet<String> mimeTypes = newMimeGroups.get(mimeGroup); in copyMimeGroups() local 148 if (mimeTypes != null) { in copyMimeGroups() 149 mimeGroups.put(mimeGroup, new ArraySet<>(mimeTypes)); in copyMimeGroups() 244 public boolean setMimeGroup(String mimeGroup, List<String> mimeTypes) { in setMimeGroup() argument 251 ArraySet<String> newMimeTypes = new ArraySet<>(mimeTypes); in setMimeGroup() 258 ArraySet<String> mimeTypes = getMimeGroupInternal(mimeGroup); in getMimeGroup() local 259 if (mimeTypes == null) { in getMimeGroup() 263 return new ArrayList<>(mimeTypes); in getMimeGroup()
|
D | ComponentResolver.java | 1264 List<String> mimeTypes = sPackageManagerInternal.getMimeGroup( in applyMimeGroups() local 1267 for (int typeIndex = mimeTypes.size() - 1; typeIndex >= 0; typeIndex--) { in applyMimeGroups() 1268 String mimeType = mimeTypes.get(typeIndex); in applyMimeGroups()
|
D | Settings.java | 4005 ArraySet<String> mimeTypes = mimeGroups.get(groupName); in readMimeGroupLPw() local 4006 if (mimeTypes == null) { in readMimeGroupLPw() 4007 mimeTypes = new ArraySet<>(); in readMimeGroupLPw() 4008 mimeGroups.put(groupName, mimeTypes); in readMimeGroupLPw() 4022 mimeTypes.add(typeName); in readMimeGroupLPw()
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 181 public static void scanFile(Context context, String[] paths, String[] mimeTypes, in scanFile() argument 236 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { in ClientProxy() argument 238 mMimeTypes = mimeTypes; in ClientProxy()
|
/frameworks/av/drm/drmserver/ |
D | DrmManager.cpp | 155 std::vector<std::string> mimeTypes(metrics.mMimeTypes.begin(), metrics.mMimeTypes.end()); in flushEngineMetrics() local 156 std::string mimeTypesStr(mimeTypes.empty() ? "" : mimeTypes[0]); in flushEngineMetrics() 157 for (size_t i = 1; i < mimeTypes.size() ; i++) { in flushEngineMetrics() 158 mimeTypesStr.append(",").append(mimeTypes[i]); in flushEngineMetrics()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 1094 final String[] mimeTypes = new String[idToMime.size()]; 1097 mimeTypes[i] = idToMime.valueAt(i); 1101 mimeTypes);
|
D | ApplicationPackageManager.java | 3380 public void setMimeGroup(String mimeGroup, Set<String> mimeTypes) { in setMimeGroup() argument 3382 mPM.setMimeGroup(mContext.getPackageName(), mimeGroup, new ArrayList<>(mimeTypes)); in setMimeGroup()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 783 void setMimeGroup(String packageName, String group, in List<String> mimeTypes); in setMimeGroup() argument
|
D | PackageManager.java | 7993 public void setMimeGroup(@NonNull String mimeGroup, @NonNull Set<String> mimeTypes) { in setMimeGroup() argument
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |