Home
last modified time | relevance | path

Searched refs:mMimeTypes (Results 1 – 8 of 8) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/model/
DVideoMediaQuery.java41 if (mMimeTypes == null) { in VideoMediaQuery()
43 mMimeTypes = new ArrayList<String>(); in VideoMediaQuery()
44 mMimeTypes.add("video/*"); in VideoMediaQuery()
47 mMimeTypes.removeIf(mimeType -> !MimeUtils.isVideoMimeType(mimeType)); in VideoMediaQuery()
57 if (mMimeTypes != null && mMimeTypes.isEmpty()) { in shouldDisplayVideosAlbum()
DMediaQuery.java52 protected List<String> mMimeTypes; field in MediaQuery
66 mMimeTypes = queryArgs.getStringArrayList("mime_types") != null in MediaQuery()
86 return mMimeTypes; in getMimeTypes()
100 if (mMimeTypes != null) { in prepareCMPQueryArgs()
101 queryArgs.putStringArray(Intent.EXTRA_MIME_TYPES, mMimeTypes.toArray(new String[0])); in prepareCMPQueryArgs()
172 if (mMimeTypes == null || mMimeTypes.isEmpty()) { in addMimeTypeClause()
177 for (String mimeType : mMimeTypes) { in addMimeTypeClause()
/packages/modules/HealthFitness/tests/integrationtests/utils/HealthConnectDocumentProviderTestUtils/src/android/healthconnect/tests/documentprovider/utils/
DDocumentProviderRoot.java32 @Nullable private String mMimeTypes; field in DocumentProviderRoot
49 mMimeTypes = bundle.getString(DocumentsContract.Root.COLUMN_MIME_TYPES); in DocumentProviderRoot()
74 if (mMimeTypes != null) { in build()
75 row.add(DocumentsContract.Root.COLUMN_MIME_TYPES, mMimeTypes); in build()
111 mMimeTypes = mimeTypes; in setMimeTypes()
139 if (mMimeTypes != null) { in toBundle()
140 bundle.putString(DocumentsContract.Root.COLUMN_MIME_TYPES, mMimeTypes); in toBundle()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipData.java27 private final String[] mMimeTypes; field in SearchChipData
32 mMimeTypes = mimeTypes; in SearchChipData()
40 return mMimeTypes; in getMimeTypes()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderQueryExtras.java49 private final String[] mMimeTypes; field in CloudProviderQueryExtras
69 mMimeTypes = STRING_ARRAY_DEFAULT; in CloudProviderQueryExtras()
92 mMimeTypes = mimeTypes; in CloudProviderQueryExtras()
183 qfb.setMimeTypes(mMimeTypes); in toQueryFilter()
201 extras.putStringArray(Intent.EXTRA_MIME_TYPES, mMimeTypes); in toCloudMediaBundle()
238 return mMimeTypes; in getMimeTypes()
DPickerDbFacade.java713 private final String[] mMimeTypes; field in PickerDbFacade.QueryFilter
734 this.mMimeTypes = mimeTypes; in QueryFilter()
1075 addMimeTypesToQueryBuilderAndSelectionArgs(qb, selectionArgs, query.mMimeTypes); in getMergedAlbums()
1114 String[] mimeTypes = query.mMimeTypes; in hideVideosAlbum()
1437 addMimeTypesToQueryBuilderAndSelectionArgs(qb, selectArgs, query.mMimeTypes); in buildSelectionArgs()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/metrics/
DStorageAccessMetricsTest.java62 assertThat(stats.mMimeTypes.stream().toArray()) in testLogMimeType()
80 assertThat(stats.mMimeTypes.stream().toArray()) in testIncrementAccessViaFuse()
100 assertThat(stats.mMimeTypes.size()).isEqualTo(0); in testIncrementAccessViaMediaProvider_externalVolumes()
127 assertThat(stats.mMimeTypes.size()).isEqualTo(0); in testIncrementAccessViaMediaProvider_secondaryVolumes()
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DStorageAccessMetrics.java80 getOrGeneratePackageStatsObjectLocked(uid).mMimeTypes.add(mimeType); in logMimeType()
227 final ArraySet<String> mMimeTypes = new ArraySet<>(); field in StorageAccessMetrics.PackageStorageAccessStats
254 for (int i = 0; i < mMimeTypes.size(); i++) { in getMimeTypesAsProto()
255 String mime = mMimeTypes.valueAt(i); in getMimeTypesAsProto()