/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAudioManager.java | 19 public int getStreamMaxVolume(int streamType) { 24 public int getStreamVolume(int streamType) { 29 public void setStreamVolume(int streamType, int index, int flags) { 35 public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener l, int streamType, int durationHint) { 36 lastAudioFocusRequest = new AudioFocusRequest(l, streamType, durationHint); 84 public final int streamType; 87 private AudioFocusRequest(AudioManager.OnAudioFocusChangeListener listener, int streamType, int durationHint) { 89 this.streamType = streamType;
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsEmptyValuesTest.java | 112 Class<?> streamType = getClassOrSkipTest(streamFqcn); 115 Object stream = mock(streamType); 116 Object optional = streamType.getMethod("findAny").invoke(stream); 151 Class<?> streamType = getClassOrSkipTest(streamFqcn); 154 Object stream = values.returnValueFor(streamType); 155 long count = (Long) streamType.getMethod("count").invoke(stream);
|
/frameworks/av/media/libeffects/config/src/ |
EffectsConfig.cpp | 225 const char* streamType = xmlStream.Attribute("type"); 226 if (streamType == nullptr) { 231 if (!stringToStreamType(streamType, &stream.type)) { 232 ALOGE("Invalid stream type %s: %s", streamType, dump(xmlStream));
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
DecoderConfigDescriptor.java | 34 * bit(6) streamType;
51 int streamType;
67 streamType = data >>> 2;
117 int flags = (streamType << 2) | (upStream << 1) | 1;
151 return streamType;
154 public void setStreamType(int streamType) {
155 this.streamType = streamType;
195 sb.append(", streamType=").append(streamType);
[all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowAudioManager.java | 50 public int getStreamMaxVolume(int streamType) { 51 AudioStream stream = streamStatus.get(streamType); 56 public int getStreamVolume(int streamType) { 57 AudioStream stream = streamStatus.get(streamType); 62 public void setStreamVolume(int streamType, int index, int flags) { 63 AudioStream stream = streamStatus.get(streamType); 71 public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener l, int streamType, int durationHint) { 72 lastAudioFocusRequest = new AudioFocusRequest(l, streamType, durationHint); 197 public final int streamType; 200 private AudioFocusRequest(AudioManager.OnAudioFocusChangeListener listener, int streamType, int durationHint) [all...] |
ShadowActivity.java | 73 private int streamType = -1; 651 public final void setVolumeControlStream(int streamType) { 652 this.streamType = streamType; 657 return streamType;
|
/frameworks/av/media/libaudioclient/ |
ToneGenerator.cpp | [all...] |
AudioTrack.cpp | 106 audio_stream_type_t streamType, 120 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); 123 streamType, status); 127 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); 130 streamType, status); 134 status = AudioSystem::getOutputLatency(&afLatency, streamType); 137 streamType, status); 150 ALOGE("AudioTrack::getMinFrameCount failed for streamType %d, sampleRate %u", 151 streamType, sampleRate); 189 static constexpr char kAudioTrackStreamType[] = "android.media.audiotrack.streamtype"; [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
VolumeCurve.h | 224 audio_stream_type_t streamType = volumeCurve->getStreamType(); 225 return editCurvesFor(streamType).add(volumeCurve);
|
/frameworks/base/cmds/bootanimation/ |
audioplay.cpp | 192 SLint32 streamType = SL_ANDROID_STREAM_SYSTEM; 194 SL_ANDROID_KEY_STREAM_TYPE, &streamType, sizeof(SLint32));
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
see_helper.h | 89 uint8_t streamType;
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
ContextTest.java | 261 ResolvedType streamType = JavaParserFacade.get(typeSolver).convert(streamJavaParserType, method); 263 assertEquals("java.util.stream.Stream<java.lang.String>", streamType.describe());
|
/frameworks/av/media/extractors/mpeg2/ |
MPEG2PSExtractor.cpp | 539 unsigned streamType; 545 streamType = mStreamTypeByESID.valueAt(streamTypeIndex); 549 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO; 552 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO; 554 streamType = ATSParser::STREAMTYPE_RESERVED; 558 stream_id, new Track(this, stream_id, streamType));
|
/frameworks/av/services/audioflinger/ |
PlaybackTracks.h | 27 audio_stream_type_t streamType, 63 audio_stream_type_t streamType() const { 281 audio_stream_type_t streamType,
|
/frameworks/wilhelm/src/android/ |
android_defs.h | 71 audio_stream_type_t streamType;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDriver.cpp | 968 audio_stream_type_t streamType = AUDIO_STREAM_MUSIC; 970 streamType = mAudioSink->getAudioStreamType(); 972 if (streamType == AUDIO_STREAM_NOTIFICATION) { [all...] |
NuPlayer.cpp | [all...] |
/frameworks/av/media/libstagefright/ |
MPEG2TSWriter.cpp | 43 unsigned streamType() const; 118 unsigned MPEG2TSWriter::SourceInfo::streamType() const { 777 *ptr++ = mSources.editItemAt(i)->streamType(); 840 mSources.editItemAt(sourceIndex)->streamType() == 0x0f ? 0xc0 : 0xe0;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
Serializer.cpp | 538 audio_stream_type_t streamType; 539 if (!StreamTypeConverter::fromString(streamTypeLiteral, streamType)) { 565 element = new Element(deviceCategory, streamType);
|
/frameworks/base/media/jni/soundpool/ |
SoundPool.cpp | 742 audio_stream_type_t streamType = audio_attributes_to_stream_type(mSoundPool->attributes()); 743 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { 746 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { 788 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), 795 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrackLatencyTest.java | 130 public int streamType = AudioManager.STREAM_MUSIC; 146 mTrack = new AudioTrack(streamType, sampleRate, config, format,
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
NuPlayer2Driver.cpp | 917 audio_stream_type_t streamType = AUDIO_STREAM_MUSIC; 919 streamType = mAudioSink->getAudioStreamType(); 921 if (streamType == AUDIO_STREAM_NOTIFICATION) { [all...] |
NuPlayer2.cpp | [all...] |
/frameworks/base/core/java/android/preference/ |
SeekBarVolumizer.java | 96 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { 107 mStreamType = streamType; 436 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 438 updateVolumeSlider(streamType, streamValue); 447 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 448 int streamVolume = mAudioManager.getStreamVolume(streamType); 449 updateVolumeSlider(streamType, streamVolume); 465 private void updateVolumeSlider(int streamType, int streamValue) { 466 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType) 467 : (streamType == mStreamType) [all...] |
/device/google/marlin/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 148 * @streamType : stream type 160 int32_t QCamera3Channel::addStream(cam_stream_type_t streamType, 192 rc = pStream->init(streamType, streamFormat, streamDim, streamRotation, [all...] |