Home
last modified time | relevance | path

Searched refs:streamTypes (Results 1 – 9 of 9) sorted by relevance

/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
H A DStubProvider.java411 for (final String mimeType : document.streamTypes) { in openTypedDocument()
442 if (document.streamTypes == null) { in getStreamTypes()
445 return document.streamTypes.toArray(new String[document.streamTypes.size()]); in getStreamTypes()
606 List<String> streamTypes) throws FileNotFoundException { in createDocument() argument
612 flags, streamTypes); in createDocument()
743 file, mimeType, streamTypes, parent); in createVirtualFile()
821 public final List<String> streamTypes; field in StubProvider.StubDocument
831 this.streamTypes = streamTypes; in StubDocument()
841 this.streamTypes = new ArrayList<>(); in StubDocument()
864 List<String> streamTypes) { in createDocumentWithFlags() argument
[all …]
H A DDocumentsProviderHelper.java121 String... streamTypes) in createDocumentWithFlags() argument
128 in.putStringArrayList(StubProvider.EXTRA_STREAM_TYPES, Lists.newArrayList(streamTypes)); in createDocumentWithFlags()
325 RootInfo root, String path, String mimeType, byte[] content, String... streamTypes) in createVirtualFile() argument
332 args.putStringArrayList(StubProvider.EXTRA_STREAM_TYPES, Lists.newArrayList(streamTypes)); in createVirtualFile()
/aosp12/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioVolumeGroup.java180 int[] streamTypes = new int[nbStreamTypes];
182 streamTypes[index] = in.readInt();
184 return new AudioVolumeGroup(name, id, audioAttributes, streamTypes);
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
H A DDebugView.java108 protected void onPostExecute(String[] streamTypes) { in accept() argument
110 streamTypes != null ? Arrays.toString(streamTypes) : "[]"); in accept()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/base/
H A DDocumentInfo.java453 final String[] streamTypes = resolver.getStreamTypes(uri, "*/*"); in addMimeTypes() local
454 if (streamTypes != null) { in addMimeTypes()
455 mimeTypes.addAll(Arrays.asList(streamTypes)); in addMimeTypes()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/services/
H A DCopyJob.java400 String[] streamTypes = null; in byteCopyDocument() local
402 streamTypes = src.userId.getContentResolver(service).getStreamTypes(src.derivedUri, in byteCopyDocument()
411 if (streamTypes != null && streamTypes.length > 0) { in byteCopyDocument()
412 dstMimeType = streamTypes[0]; in byteCopyDocument()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioOutputDescriptor.cpp439 VolumeSource vs, const StreamTypeVector &streamTypes, in setVolume() argument
444 StreamTypeVector streams = streamTypes; in setVolume()
445 if (!AudioOutputDescriptor::setVolume(volumeDb, vs, streamTypes, deviceTypes, delayMs, force)) { in setVolume()
/aosp12/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp1484 LiveSession::StreamType streamTypes[] = in onDownloadNext() local
1490 LiveSession::StreamType streamType = streamTypes[i]; in onDownloadNext()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java6493 final int[] streamTypes = mAudioVolumeGroup.getLegacyStreamTypes(); in VolumeGroupState() local
6494 if (streamTypes.length != 0) { in VolumeGroupState()
6496 mLegacyStreamType = streamTypes[0]; in VolumeGroupState()
6497 for (final int streamType : streamTypes) { in VolumeGroupState()