/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | StreamVolumeManager.java | 34 void onStreamTypeChanged(@C.StreamType int streamType); in onStreamTypeChanged() argument 53 @C.StreamType private int streamType; field in StreamVolumeManager 67 streamType = C.STREAM_TYPE_DEFAULT; in StreamVolumeManager() 68 volume = getVolumeFromManager(audioManager, streamType); in StreamVolumeManager() 69 muted = getMutedFromManager(audioManager, streamType); in StreamVolumeManager() 77 public void setStreamType(@C.StreamType int streamType) { in setStreamType() argument 78 if (this.streamType == streamType) { in setStreamType() 81 this.streamType = streamType; in setStreamType() 84 listener.onStreamTypeChanged(streamType); in setStreamType() 92 return Util.SDK_INT >= 28 ? audioManager.getStreamMinVolume(streamType) : 0; in getMinVolume() [all …]
|
D | SimpleExoPlayer.java | 832 public void setAudioStreamType(@C.StreamType int streamType) { in setAudioStreamType() argument 833 @C.AudioUsage int usage = Util.getAudioUsageForStreamType(streamType); in setAudioStreamType() 834 @C.AudioContentType int contentType = Util.getAudioContentTypeForStreamType(streamType); in setAudioStreamType() 2238 public void onStreamTypeChanged(@C.StreamType int streamType) { in onStreamTypeChanged() argument
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowAudioManager.java | 62 protected int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() argument 63 AudioStream stream = streamStatus.get(streamType); in getStreamMaxVolume() 68 protected int getStreamVolume(int streamType) { in getStreamVolume() argument 69 AudioStream stream = streamStatus.get(streamType); in getStreamVolume() 74 protected void setStreamVolume(int streamType, int index, int flags) { in setStreamVolume() argument 75 AudioStream stream = streamStatus.get(streamType); in setStreamVolume() 84 android.media.AudioManager.OnAudioFocusChangeListener l, int streamType, int durationHint) { in requestAudioFocus() argument 85 lastAudioFocusRequest = new AudioFocusRequest(l, streamType, durationHint); in requestAudioFocus() 270 public final int streamType; field in ShadowAudioManager.AudioFocusRequest 274 …private AudioFocusRequest(AudioManager.OnAudioFocusChangeListener listener, int streamType, int du… in AudioFocusRequest() argument [all …]
|
D | ShadowActivity.java | 70 private int streamType = -1; field in ShadowActivity 718 protected final void setVolumeControlStream(int streamType) { in setVolumeControlStream() argument 719 this.streamType = streamType; in setVolumeControlStream() 724 return streamType; in getVolumeControlStream()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/ |
D | Ac3Util.java | 68 public final @StreamType int streamType; field in Ac3Util.SyncFrameInfo 88 @StreamType int streamType, in SyncFrameInfo() argument 94 this.streamType = streamType; in SyncFrameInfo() 249 @StreamType int streamType = SyncFrameInfo.STREAM_TYPE_UNDEFINED; in parseAc3SyncframeInfo() local 261 streamType = SyncFrameInfo.STREAM_TYPE_TYPE0; in parseAc3SyncframeInfo() 264 streamType = SyncFrameInfo.STREAM_TYPE_TYPE1; in parseAc3SyncframeInfo() 267 streamType = SyncFrameInfo.STREAM_TYPE_TYPE2; in parseAc3SyncframeInfo() 270 streamType = SyncFrameInfo.STREAM_TYPE_UNDEFINED; in parseAc3SyncframeInfo() 301 if (streamType == SyncFrameInfo.STREAM_TYPE_TYPE1 && data.readBit()) { // chanmape in parseAc3SyncframeInfo() 317 if (streamType == SyncFrameInfo.STREAM_TYPE_TYPE0) { in parseAc3SyncframeInfo() [all …]
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | TsExtractor.java | 578 int streamType = pmtScratch.readBits(8); in consume() local 584 if (streamType == 0x06 || streamType == 0x05) { in consume() 585 streamType = esInfo.streamType; in consume() 589 int trackId = mode == MODE_HLS ? streamType : elementaryPid; in consume() 596 mode == MODE_HLS && streamType == TS_STREAM_TYPE_ID3 in consume() 598 : payloadReaderFactory.createPayloadReader(streamType, esInfo); in consume() 649 int streamType = -1; in readEsInfo() local 659 streamType = TS_STREAM_TYPE_AC3; in readEsInfo() 661 streamType = TS_STREAM_TYPE_E_AC3; in readEsInfo() 663 streamType = TS_STREAM_TYPE_AC4; in readEsInfo() [all …]
|
D | TsPayloadReader.java | 61 TsPayloadReader createPayloadReader(int streamType, EsInfo esInfo); in createPayloadReader() argument 69 public final int streamType; field in TsPayloadReader.EsInfo 82 int streamType, in EsInfo() argument 86 this.streamType = streamType; in EsInfo()
|
D | DefaultTsPayloadReaderFactory.java | 143 public TsPayloadReader createPayloadReader(int streamType, EsInfo esInfo) { in createPayloadReader() argument 144 switch (streamType) { in createPayloadReader()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
D | DecoderConfigDescriptor.java | 51 int streamType; field in DecoderConfigDescriptor 67 streamType = data >>> 2; in parseDetail() 117 int flags = (streamType << 2) | (upStream << 1) | 1; in serialize() 151 return streamType; in getStreamType() 154 public void setStreamType(int streamType) { in setStreamType() argument 155 this.streamType = streamType; in setStreamType() 195 sb.append(", streamType=").append(streamType); in toString()
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ReturnsEmptyValuesTest.java | 113 Class<?> streamType = getClassOrSkipTest(streamFqcn); in verify_empty_Optional_is_returned() local 116 Object stream = mock(streamType); in verify_empty_Optional_is_returned() 117 Object optional = streamType.getMethod("findAny").invoke(stream); in verify_empty_Optional_is_returned() 152 Class<?> streamType = getClassOrSkipTest(streamFqcn); in verify_empty_Stream_is_returned() local 155 Object stream = values.returnValueFor(streamType); in verify_empty_Stream_is_returned() 156 long count = (Long) streamType.getMethod("count").invoke(stream); in verify_empty_Stream_is_returned()
|
/external/golang-protobuf/protoc-gen-go/grpc/ |
D | grpc.go | 355 streamType := unexport(servName) + methName + "Client" 358 g.P("x := &", streamType, "{stream}") 386 g.P("type ", streamType, " struct {") 392 g.P("func (x *", streamType, ") Send(m *", inType, ") error {") 398 g.P("func (x *", streamType, ") Recv() (*", outType, ", error) {") 406 g.P("func (x *", streamType, ") CloseAndRecv() (*", outType, ", error) {") 487 streamType := unexport(servName) + methName + "Server" 492 g.P("return srv.(", servName, "Server).", methName, "(m, &", streamType, "{stream})") 494 g.P("return srv.(", servName, "Server).", methName, "(&", streamType, "{stream})") 518 g.P("type ", streamType, " struct {") [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/ |
D | TsExtractorTest.java | 230 public TsPayloadReader createPayloadReader(int streamType, EsInfo esInfo) { in createPayloadReader() argument 231 if (provideCustomEsReader && streamType == 3) { in createPayloadReader() 235 return defaultFactory.createPayloadReader(streamType, esInfo); in createPayloadReader()
|
/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/ |
D | StreamVolumeManagerTest.java | 285 public void onStreamTypeChanged(@C.StreamType int streamType) { in onStreamTypeChanged() argument 286 lastStreamType = streamType; in onStreamTypeChanged()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAudioManagerTest.java | 34 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().streamType).isEqualTo(999); in requestAudioFocus_shouldRecordArgumentsOfMostRecentCall() 63 assertThat(shadowOf(audioManager).getLastAudioFocusRequest().streamType).isEqualTo(-1); in requestAudioFocus2_shouldRecordArgumentsOfMostRecentCall()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | Util.java | 1525 public static int getAudioUsageForStreamType(@C.StreamType int streamType) { in getAudioUsageForStreamType() argument 1526 switch (streamType) { in getAudioUsageForStreamType() 1550 public static int getAudioContentTypeForStreamType(@C.StreamType int streamType) { in getAudioContentTypeForStreamType() argument 1551 switch (streamType) { in getAudioContentTypeForStreamType()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | DefaultAudioSink.java | 1497 int streamType = Util.getStreamTypeForAudioUsage(audioAttributes.usage); in buildAudioTrack() local 1501 streamType, in buildAudioTrack() 1511 streamType, in buildAudioTrack()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | ContextTest.java | 266 … ResolvedType streamType = JavaParserFacade.get(typeSolver).convert(streamJavaParserType, method); in resolveReferenceToJreType() local 268 assertEquals("java.util.stream.Stream<java.lang.String>", streamType.describe()); in resolveReferenceToJreType()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 494 streamType() ::= <<
|