Home
last modified time | relevance | path

Searched refs:getStreamType (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp48 androidAa.push_back({attr.getGroupId(), attr.getStreamType(), attr.getAttributes()}); in listVolumeGroupAttributes()
82 return supportedAttr.getStreamType() == streamType; }); in getAttributesForStreamType()
96 if (std::find(begin(streams), end(streams), supportedAttr.getStreamType()) in getSupportedStreams()
97 == end(streams) && supportedAttr.getStreamType() != AUDIO_STREAM_DEFAULT) { in getSupportedStreams()
98 streams.push_back(supportedAttr.getStreamType()); in getSupportedStreams()
108 return supportedAttr.getStreamType() == streamType; }) != end(mAttributesVector); in supportStreamType()
114 if (supportedAttr.getStreamType() == stream) { in getVolumeGroupForStreamType()
139 android::toString(attr.getStreamType()).c_str()); in dump()
268 attr, /* fallbackOnDefault= */ true).getStreamType(); in getStreamTypeForAttributes()
/frameworks/base/core/jni/
Dandroid_media_AudioProductStrategies.cpp92 int streamType = attr.getStreamType(); in convertAudioProductStrategiesFromNative()
96 return (frontAttr.getGroupId() == groupId && frontAttr.getStreamType() == streamType); in convertAudioProductStrategiesFromNative()
114 jint jLegacyStreamType = volumeGroupAttributes.front().getStreamType(); in convertAudioProductStrategiesFromNative()
/frameworks/av/media/libaudioclient/tests/
Daudioclient_serialization_tests.cpp152 EXPECT_EQ(avec[i].getStreamType(), volumeGroupAttrVector[i].getStreamType()); in TEST_F()
311 EXPECT_EQ(volumeGroupAttrCopy.getStreamType(), volumeGroupAttr.getStreamType()) << msg; in TEST_P()
Daudiosystem_tests.cpp360 (uint32_t(attribute.getStreamType()) >= AUDIO_STREAM_PUBLIC_CNT)) { in isPublicStrategy()
/frameworks/av/media/libaudioclient/include/media/
DVolumeGroupAttributes.h51 audio_stream_type_t getStreamType() const { return mStreamType; } in getStreamType() function
/frameworks/av/media/libaudioclient/
DVolumeGroupAttributes.cpp53 legacy2aidl_audio_stream_type_t_AudioStreamType(legacy.getStreamType())); in legacy2aidl_VolumeGroupAttributes_AudioAttributesEx()
DAudioSystem.cpp2232 return attributes.getStreamType() == stream; in streamTypeToAttributes()
2258 return iter->getStreamType(); in attributesToStreamType()
/frameworks/av/media/module/esds/include/media/esds/
DESDS.h38 status_t getStreamType(uint8_t *streamType) const;
/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java297 return aag.getStreamType(); in getLegacyStreamTypeForAudioAttributes()
485 public int getStreamType() { in getStreamType() method in AudioProductStrategy.AudioAttributesGroup
/frameworks/base/media/java/android/media/
DVolumeInfo.java87 public @AudioManager.PublicStreamTypes int getStreamType() { in getStreamType() method in VolumeInfo
DRingtone.java131 public int getStreamType() { in getStreamType() method in Ringtone
DAudioTrack.java2150 public int getStreamType() { in getStreamType() method in AudioTrack
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAbsoluteVolumeBehaviorTest.java296 argThat((VolumeInfo v) -> v.getStreamType() == AudioManager.STREAM_MUSIC), in adjustStreamVolume_handlesAdjust_noAbsVolFlag_noVolChange_dispatchesVolumeAdjusted()
/frameworks/base/media/java/android/media/metrics/
DPlaybackMetrics.java236 public int getStreamType() { in getStreamType() method in PlaybackMetrics
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java825 && volumeInfo.getStreamType() == streamType; in getMatchingVolumeInfoForStream()
3917 && (vss.getStreamType() in muteAliasStreams()
4191 final int currDev = getDeviceForStream(vi.getStreamType()); in setDeviceVolume()
4195 AudioService.sVolumeLogger.enqueue(new DeviceVolumeEvent(vi.getStreamType(), index, ada, in setDeviceVolume()
4206 if (vi.hasMuteCommand() && vi.isMuted() && !isStreamMute(vi.getStreamType())) { in setDeviceVolume()
4207 setStreamVolumeWithAttributionInt(vi.getStreamType(), in setDeviceVolume()
4208 mStreamStates[vi.getStreamType()].getMinIndex(), in setDeviceVolume()
4222 if ((index * 10) < mStreamStates[vi.getStreamType()].getMinIndex() in setDeviceVolume()
4223 || (index * 10) > mStreamStates[vi.getStreamType()].getMaxIndex()) { in setDeviceVolume()
4225 + " not between min/max for stream " + vi.getStreamType()); in setDeviceVolume()
[all …]
DSoundDoseHelper.java825 streamState.getStreamType(), isAbsoluteVolume); in handleMessage()
/frameworks/base/services/core/java/com/android/server/media/metrics/
DMediaMetricsManagerService.java183 .writeInt(metrics.getStreamType()) in reportPlaybackMetrics()
/frameworks/base/core/api/
Dsystem-current.txt7416 method public int getStreamType();
Dcurrent.txt21897 method public int getStreamType();
24916 method @Deprecated public int getStreamType();
26260 method public int getStreamType();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14245 method public int getStreamType();
15612 method public deprecated int getStreamType();
/frameworks/base/services/
Dart-wear-profile8164 PLcom/android/server/audio/AudioService$VolumeStreamState;->getStreamType()I