HomeSort by relevance Sort by last modified time
    Searched refs:streamType (Results 1 - 25 of 232) sorted by null

1 2 3 4 5 6 7 8 910

  /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;
  /frameworks/base/media/java/android/media/
IVolumeController.aidl 28 void volumeChanged(int streamType, int flags);
AudioManagerInternal.java 30 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction,
33 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags,
36 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags,
IAudioService.aidl 64 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage);
66 void setStreamVolume(int streamType, int index, int flags, String callingPackage);
68 boolean isStreamMute(int streamType);
76 int getStreamVolume(int streamType);
78 int getStreamMinVolume(int streamType);
80 int getStreamMaxVolume(int streamType);
82 int getLastAudibleStreamVolume(int streamType);
145 void forceVolumeControlStream(int streamType, IBinder cb);
168 boolean isStreamAffectedByRingerMode(int streamType);
170 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 798 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL},
808 public void adjustStreamVolume(int streamType, int direction, int flags) {
811 service.adjustStreamVolume(streamType, direction, flags,
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/include/
SessionRoute.h 33 // streamType argument
42 audio_stream_type_t streamType,
52 mStreamType(streamType),
102 audio_devices_t getActiveDeviceForStream(audio_stream_type_t streamType,
107 // in the streamType argument.
109 audio_stream_type_t streamType,
  /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...]
  /frameworks/av/media/libaudioclient/include/media/
AudioPolicyHelper.h 68 void stream_type_to_audio_attributes(audio_stream_type_t streamType,
72 switch (streamType) {
115 ALOGE("invalid stream type %d when converting to attributes", streamType);
  /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) {
113 route = new SessionRoute(session, streamType, source, descriptor, uid);
122 audio_devices_t SessionRouteMap::getActiveDeviceForStream(audio_stream_type_t streamType,
129 if (streamType == route->mStreamType && route->isActiveOrChanged()
  /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);
  /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/av/media/libmedia/include/media/
JAudioAttributes.h 30 audio_stream_type_t streamType) {
37 // If pAttributes is not null, streamType is ignored.
65 jBuilderObj = env->CallObjectMethod(jBuilderObj, jSetLegacyStreamType, streamType);
  /packages/apps/TV/tuner/src/com/android/tv/tuner/data/
PsiData.java 60 int streamType,
64 mStreamType = streamType;
  /frameworks/base/services/core/java/com/android/server/audio/
AudioService.java     [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowAudioManager.java 88 public int getDevicesForStream(int streamType) {
89 switch (streamType) {
  /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/HAL/
QCameraMem.h 96 cam_stream_type_t streamType = CAM_STREAM_TYPE_DEFAULT,
147 cam_stream_type_t streamType, uint32_t is_secure);
149 cam_stream_type_t streamType);
156 cam_stream_type_t streamType);
197 cam_stream_type_t streamType = CAM_STREAM_TYPE_DEFAULT,
QCameraParametersIntf.h 85 int32_t getStreamRotation(cam_stream_type_t streamType,
88 int32_t getStreamFormat(cam_stream_type_t streamType,
90 int32_t getStreamDimension(cam_stream_type_t streamType,
169 int getFlipMode(cam_stream_type_t streamType);
  /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/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));
  /frameworks/av/media/libstagefright/include/
ESDS.h 38 status_t getStreamType(uint8_t *streamType) const;
  /system/chre/platform/slpi/see/
platform_sensor.cc 328 bool isStreamTypeCorrect(SensorType sensorType, uint8_t streamType) {
331 && streamType != SNS_STD_SENSOR_STREAM_TYPE_STREAMING)
333 && streamType != SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE)
335 && streamType != SNS_STD_SENSOR_STREAM_TYPE_SINGLE_OUTPUT)) {
338 static_cast<uint8_t>(sensorType), streamType);
366 attr.streamType, attr.passiveRequest);
449 if (isStreamTypeCorrect(sensorType, attr.streamType)) {
  /hardware/qcom/camera/msm8998/QCamera2/HAL/
QCameraMem.h 121 cam_stream_type_t streamType = CAM_STREAM_TYPE_DEFAULT,
171 cam_stream_type_t streamType, bool is_secure);
173 cam_stream_type_t streamType);
180 cam_stream_type_t streamType);
222 cam_stream_type_t streamType = CAM_STREAM_TYPE_DEFAULT,
QCameraParametersIntf.h 87 int32_t getStreamRotation(cam_stream_type_t streamType,
90 int32_t getStreamFormat(cam_stream_type_t streamType,
94 cam_stream_type_t streamType, cam_sub_format_type_t &sub_format);
97 int32_t getStreamDimension(cam_stream_type_t streamType,
181 int getFlipMode(cam_stream_type_t streamType);

Completed in 954 milliseconds

1 2 3 4 5 6 7 8 910