/external/robolectric/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;
|
/frameworks/base/media/java/android/media/ |
IVolumeController.aidl | 28 void volumeChanged(int streamType, int flags);
|
AudioManagerInternal.java | 29 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, 32 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, 35 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags,
|
IAudioService.aidl | 46 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); 48 void setStreamVolume(int streamType, int index, int flags, String callingPackage); 52 boolean isStreamMute(int streamType); 60 int getStreamVolume(int streamType); 62 int getStreamMinVolume(int streamType); 64 int getStreamMaxVolume(int streamType); 66 int getLastAudibleStreamVolume(int streamType); 181 void forceVolumeControlStream(int streamType, IBinder cb); 200 boolean isStreamAffectedByRingerMode(int streamType); 202 boolean isStreamAffectedByMute(int streamType); [all...] |
ToneGenerator.java | 741 * @param streamType The streame type used for tone playback (e.g. STREAM_MUSIC). 745 public ToneGenerator(int streamType, int volume) { 746 native_setup(streamType, volume); 880 private native final void native_setup(int streamType, int volume);
|
AudioManager.java | 795 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL}, 805 public void adjustStreamVolume(int streamType, int direction, int flags) { 808 service.adjustStreamVolume(streamType, direction, flags, [all...] |
AudioAttributes.java | 460 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL}, 466 public Builder setLegacyStreamType(int streamType) { 467 return setInternalLegacyStreamType(streamType); 473 * @param streamType 476 public Builder setInternalLegacyStreamType(int streamType) { 477 switch(streamType) { 510 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes"); 512 mUsage = usageForLegacyStreamType(streamType); 703 public static int usageForLegacyStreamType(int streamType) { 704 switch(streamType) { [all...] |
/frameworks/av/include/media/ |
AudioPolicyHelper.h | 64 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, 68 switch (streamType) { 111 ALOGE("invalid stream type %d when converting to attributes", streamType);
|
AudioTrack.h | 143 audio_stream_type_t streamType, 167 * streamType: Select the type of audio stream this track is attached to 195 * pAttributes: If not NULL, supersedes streamType for use case selection. 203 AudioTrack( audio_stream_type_t streamType, 232 AudioTrack( audio_stream_type_t streamType, 275 status_t set(audio_stream_type_t streamType, 309 audio_stream_type_t streamType() const; [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
SessionRoute.h | 32 // streamType argument 41 audio_stream_type_t streamType, 51 mStreamType(streamType), 105 // in the streamType argument. 107 audio_stream_type_t streamType,
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
Engine.cpp | 118 bool Engine::setVolumeProfileForStream(const audio_stream_type_t &streamType, 122 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); 124 ALOGE("%s: stream %d not found", __FUNCTION__, streamType); 203 audio_stream_type_t streamType, 206 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); 208 ALOGE("%s: Element indexed by key=%d not found", __FUNCTION__, streamType); 214 status_t Engine::initStreamVolume(audio_stream_type_t streamType, 217 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); 219 ALOGE("%s: Stream Type %d not found", __FUNCTION__, streamType); 222 mApmObserver->getStreamDescriptors().setVolumeIndexMin(streamType, indexMin) [all...] |
/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...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
AudioService.java | [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
SessionRoute.cpp | 91 audio_stream_type_t streamType, 96 if (mMapType == MAPTYPE_INPUT && streamType != SessionRoute::STREAM_TYPE_NA) { 115 route = new SessionRoute(session, streamType, source, descriptor, uid);
|
/device/moto/shamu/camera/QCamera2/HAL/ |
QCameraMem.h | 70 cam_stream_type_t streamType = CAM_STREAM_TYPE_DEFAULT); 117 cam_stream_type_t streamType, 120 cam_stream_type_t streamType); 129 cam_stream_type_t streamType); 162 cam_stream_type_t streamType = CAM_STREAM_TYPE_DEFAULT);
|
QCameraMem.cpp | 63 cam_stream_type_t streamType) 66 mStreamType(streamType) 460 * @streamType: Type of stream the buffers belongs to 466 cam_stream_type_t streamType) 470 mPools[streamType].push_back(memInfo); 522 cam_stream_type_t streamType) 526 if (mPools[streamType].empty()) { 531 it = mPools[streamType].begin(); 532 for ( ; it != mPools[streamType].end() ; it++) { 537 mPools[streamType].erase(it) [all...] |
/frameworks/av/services/audioflinger/ |
PlaybackTracks.h | 27 audio_stream_type_t streamType, 55 audio_stream_type_t streamType() const { 165 audio_stream_type_t streamType, 208 audio_stream_type_t streamType, 296 audio_stream_type_t streamType,
|
/hardware/qcom/camera/QCamera2/HAL/ |
QCameraMem.h | 80 cam_stream_type_t streamType = CAM_STREAM_TYPE_DEFAULT, 133 cam_stream_type_t streamType, uint32_t is_secure); 135 cam_stream_type_t streamType); 142 cam_stream_type_t streamType); 175 cam_stream_type_t streamType = CAM_STREAM_TYPE_DEFAULT,
|
/frameworks/base/core/jni/ |
android_media_ToneGenerator.cpp | 89 jint streamType, jint volume) { 90 ToneGenerator *lpToneGen = new ToneGenerator((audio_stream_type_t) streamType, AudioSystem::linearToLog(volume), true);
|
/frameworks/av/media/libstagefright/include/ |
ESDS.h | 38 status_t getStreamType(uint8_t *streamType) const;
|
/frameworks/wilhelm/src/android/ |
android_defs.h | 69 audio_stream_type_t streamType;
|
/frameworks/av/media/libmedia/ |
AudioTrack.cpp | 110 audio_stream_type_t streamType, 124 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); 127 streamType, status); 131 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); 134 streamType, status); 138 status = AudioSystem::getOutputLatency(&afLatency, streamType); 141 streamType, status); 153 ALOGE("AudioTrack::getMinFrameCount failed for streamType %d, sampleRate %u", 154 streamType, sampleRate); 179 audio_stream_type_t streamType, [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
TSPacketizer.cpp | 37 unsigned PID, unsigned streamType, unsigned streamID); 40 unsigned streamType() const; 88 unsigned PID, unsigned streamType, unsigned streamID) 91 mStreamType(streamType), 134 unsigned TSPacketizer::Track::streamType() const { 398 unsigned streamType; 403 streamType = 0x1b; 407 streamType = 0x0f; 411 streamType = 0x83; 424 if (track->streamType() == streamType) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
SoundPlayerObject.java | 100 public void setStreamType(int streamType) { 101 mStreamType = streamType;
|
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 189 int32_t QCamera3Channel::addStream(cam_stream_type_t streamType, 216 rc = pStream->init(streamType, streamFormat, streamDim, NULL, minStreamBufNum, 579 cam_stream_type_t streamType; 591 streamType = CAM_STREAM_TYPE_VIDEO; 594 streamType = CAM_STREAM_TYPE_PREVIEW; 601 streamType = CAM_STREAM_TYPE_SNAPSHOT; 605 streamType = CAM_STREAM_TYPE_CALLBACK; 626 rc = QCamera3Channel::addStream(streamType, streamFormat, streamDim, 947 cam_stream_type_t streamType; 964 streamType = CAM_STREAM_TYPE_NON_ZSL_SNAPSHOT [all...] |