/frameworks/av/include/media/ |
D | VolumeShaper.h | 51 class VolumeShaper { 575 VolumeShaper( in VolumeShaper() function 576 const sp<VolumeShaper::Configuration> &configuration, in VolumeShaper() 577 const sp<VolumeShaper::Operation> &operation) in VolumeShaper() 585 && (getFlags() & VolumeShaper::Operation::FLAG_DELAY) == 0) { in VolumeShaper() 591 VolumeShaper::Operation::Flag getFlags() const { in getFlags() 593 ? VolumeShaper::Operation::FLAG_NONE : mOperation->getFlags(); in getFlags() 600 sp<VolumeShaper::State> getState() const { in getState() 605 return new VolumeShaper::State(volume, mDelayXOffset); in getState() 607 return new VolumeShaper::State(mLastVolume, mLastXOffset); in getState() [all …]
|
D | MediaPlayerInterface.h | 151 virtual media::VolumeShaper::Status applyVolumeShaper( 152 const sp<media::VolumeShaper::Configuration>& configuration, 153 const sp<media::VolumeShaper::Operation>& operation) = 0; 154 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
/frameworks/base/media/jni/ |
D | android_media_VolumeShaper.h | 24 using media::VolumeShaper; 106 static sp<VolumeShaper::Configuration> convertJobjectToConfiguration( in convertJobjectToConfiguration() 108 sp<VolumeShaper::Configuration> configuration = new VolumeShaper::Configuration(); in convertJobjectToConfiguration() 111 (VolumeShaper::Configuration::Type)env->GetIntField(jshaper, fields.coTypeId)); in convertJobjectToConfiguration() 114 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertJobjectToConfiguration() 116 (VolumeShaper::Configuration::OptionFlag) in convertJobjectToConfiguration() 121 (VolumeShaper::Configuration::InterpolatorType) in convertJobjectToConfiguration() 150 const sp<VolumeShaper::Configuration> &configuration) { in convertVolumeShaperToJobject() 153 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertVolumeShaperToJobject() 181 static sp<VolumeShaper::Operation> convertJobjectToOperation( in convertJobjectToOperation() [all …]
|
/frameworks/base/media/java/android/media/ |
D | VolumeShaper.java | 47 public final class VolumeShaper implements AutoCloseable { class 52 /* package */ VolumeShaper( in VolumeShaper() method in VolumeShaper 79 /* void */ applyPlayer(new VolumeShaper.Configuration(mId), operation); in apply() 146 new VolumeShaper.Configuration(mId), in close() 170 @NonNull VolumeShaper.Configuration configuration, in applyPlayer() 171 @NonNull VolumeShaper.Operation operation) { in applyPlayer() 202 private @NonNull VolumeShaper.State getStatePlayer(int id) { in getStatePlayer() 203 final VolumeShaper.State state; in getStatePlayer() 351 public static final Configuration LINEAR_RAMP = new VolumeShaper.Configuration.Builder() 364 public static final Configuration CUBIC_RAMP = new VolumeShaper.Configuration.Builder() [all …]
|
D | VolumeAutomation.java | 20 import android.media.VolumeShaper.Configuration; 38 public @NonNull VolumeShaper createVolumeShaper( in createVolumeShaper() 39 @NonNull VolumeShaper.Configuration configuration); in createVolumeShaper()
|
D | HwAudioSource.java | 81 @NonNull VolumeShaper.Configuration configuration, in playerApplyVolumeShaper() 82 @NonNull VolumeShaper.Operation operation) { in playerApplyVolumeShaper() 96 VolumeShaper.State playerGetVolumeShaperState(int id) { in playerGetVolumeShaperState() 97 return new VolumeShaper.State(1f, 1f); in playerGetVolumeShaperState()
|
D | VolumeShaper.aidl | 18 parcelable VolumeShaper; 19 parcelable VolumeShaper.Configuration;
|
D | PlayerProxy.java | 21 import android.media.VolumeShaper; 143 @NonNull VolumeShaper.Configuration configuration, in applyVolumeShaper() 144 @NonNull VolumeShaper.Operation operation) { in applyVolumeShaper()
|
D | IRingtonePlayer.aidl | 20 import android.media.VolumeShaper; 33 float volume, boolean looping, in @nullable VolumeShaper.Configuration volumeShaperConfig); in playWithVolumeShaping()
|
/frameworks/av/media/libaudioclient/ |
D | TrackPlayerBase.cpp | 21 using media::VolumeShaper; 109 const VolumeShaper::Configuration& configuration, in applyVolumeShaper() 110 const VolumeShaper::Operation& operation) { in applyVolumeShaper() 112 … sp<VolumeShaper::Configuration> spConfiguration = new VolumeShaper::Configuration(configuration); in applyVolumeShaper() 113 sp<VolumeShaper::Operation> spOperation = new VolumeShaper::Operation(operation); in applyVolumeShaper() 117 VolumeShaper::Status status = mAudioTrack->applyVolumeShaper(spConfiguration, spOperation); in applyVolumeShaper()
|
D | IAudioTrack.cpp | 31 using media::VolumeShaper; 165 virtual VolumeShaper::Status applyVolumeShaper( in applyVolumeShaper() 166 const sp<VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 167 const sp<VolumeShaper::Operation>& operation) { in applyVolumeShaper() 176 return VolumeShaper::Status(status); in applyVolumeShaper() 184 return VolumeShaper::Status(status); in applyVolumeShaper() 191 return VolumeShaper::Status(status ?: remoteVolumeShaperStatus); in applyVolumeShaper() 194 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) { in getVolumeShaperState() 203 sp<VolumeShaper::State> state = new VolumeShaper::State; in getVolumeShaperState() 280 sp<VolumeShaper::Configuration> configuration; in onTransact() [all …]
|
D | PlayerBase.cpp | 25 using media::VolumeShaper; 181 const VolumeShaper::Configuration& configuration __unused, in applyVolumeShaper() 182 const VolumeShaper::Operation& operation __unused) { in applyVolumeShaper()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioTrack.h | 83 virtual media::VolumeShaper::Status applyVolumeShaper( 84 const sp<media::VolumeShaper::Configuration>& configuration, 85 const sp<media::VolumeShaper::Operation>& operation) = 0; 88 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
D | TrackPlayerBase.h | 36 const media::VolumeShaper::Configuration& configuration, 37 const media::VolumeShaper::Operation& operation);
|
D | PlayerBase.h | 43 const media::VolumeShaper::Configuration& configuration, 44 const media::VolumeShaper::Operation& operation) override;
|
/frameworks/av/media/libmedia/include/media/ |
D | IMediaPlayer.h | 95 virtual media::VolumeShaper::Status applyVolumeShaper( 96 const sp<media::VolumeShaper::Configuration>& configuration, 97 const sp<media::VolumeShaper::Operation>& operation) = 0; 98 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
D | mediaplayer.h | 264 media::VolumeShaper::Status applyVolumeShaper( 265 const sp<media::VolumeShaper::Configuration>& configuration, 266 const sp<media::VolumeShaper::Operation>& operation); 267 sp<media::VolumeShaper::State> getVolumeShaperState(int id);
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IPlayer.aidl | 19 import android.media.VolumeShaper.Configuration; 20 import android.media.VolumeShaper.Operation;
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 517 using namespace android::media::VolumeShaper; 520 const VolumeShaper::Configuration& configuration, in applyVolumeShaper() 521 const VolumeShaper::Operation& operation) { in applyVolumeShaper() 523 … sp<VolumeShaper::Configuration> spConfiguration = new VolumeShaper::Configuration(configuration); in applyVolumeShaper() 524 sp<VolumeShaper::Operation> spOperation = new VolumeShaper::Operation(operation); in applyVolumeShaper()
|
D | AudioStreamTrack.h | 94 const android::media::VolumeShaper::Configuration& configuration, 95 const android::media::VolumeShaper::Operation& operation) override;
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 28 import android.media.VolumeShaper; 57 private static final VolumeShaper.Configuration DUCK_VSHAPE = 58 new VolumeShaper.Configuration.Builder() 62 .setOptionFlags(VolumeShaper.Configuration.OPTION_FLAG_CLOCK_TIME) 68 private static final VolumeShaper.Configuration DUCK_ID = 69 new VolumeShaper.Configuration(VOLUME_SHAPER_SYSTEM_DUCK_ID); 70 private static final VolumeShaper.Operation PLAY_CREATE_IF_NEEDED = 71 new VolumeShaper.Operation.Builder(VolumeShaper.Operation.PLAY) 82 private static final VolumeShaper.Operation PLAY_SKIP_RAMP = 83 new VolumeShaper.Operation.Builder(PLAY_CREATE_IF_NEEDED).setXOffset(1.0f).build(); [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 137 virtual media::VolumeShaper::Status applyVolumeShaper( 138 const sp<media::VolumeShaper::Configuration>& configuration, 139 … const sp<media::VolumeShaper::Operation>& operation) override; 140 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) override; 355 virtual media::VolumeShaper::Status applyVolumeShaper( 356 const sp<media::VolumeShaper::Configuration>& configuration, 357 … const sp<media::VolumeShaper::Operation>& operation) override; 358 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) override;
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayer.cpp | 38 using media::VolumeShaper; 486 virtual VolumeShaper::Status applyVolumeShaper( in applyVolumeShaper() 487 const sp<VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 488 const sp<VolumeShaper::Operation>& operation) { in applyVolumeShaper() 498 return VolumeShaper::Status(status); in applyVolumeShaper() 506 return VolumeShaper::Status(status); in applyVolumeShaper() 515 return VolumeShaper::Status(status); in applyVolumeShaper() 517 return VolumeShaper::Status(remoteVolumeShaperStatus); in applyVolumeShaper() 520 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) { in getVolumeShaperState() 529 sp<VolumeShaper::State> state = new VolumeShaper::State(); in getVolumeShaperState() [all …]
|
/frameworks/av/media/libmediaplayerservice/include/ |
D | MediaPlayerInterface.h | 151 virtual media::VolumeShaper::Status applyVolumeShaper( 152 const sp<media::VolumeShaper::Configuration>& configuration, 153 const sp<media::VolumeShaper::Operation>& operation) = 0; 154 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.h | 331 const ::android::media::VolumeShaper::Configuration& configuration __unused, 332 const ::android::media::VolumeShaper::Operation& operation __unused); 423 const ::android::media::VolumeShaper::Configuration& configuration, in applyVolumeShaper() 424 const ::android::media::VolumeShaper::Operation& operation) { in applyVolumeShaper()
|