/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 | 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 | 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/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/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/base/media/java/android/media/ |
D | VolumeShaper.java | 48 public final class VolumeShaper implements AutoCloseable { class 53 /* package */ VolumeShaper( in VolumeShaper() method in VolumeShaper 80 /* void */ applyPlayer(new VolumeShaper.Configuration(mId), operation); in apply() 147 new VolumeShaper.Configuration(mId), in close() 171 @NonNull VolumeShaper.Configuration configuration, in applyPlayer() 172 @NonNull VolumeShaper.Operation operation) { in applyPlayer() 203 private @NonNull VolumeShaper.State getStatePlayer(int id) { in getStatePlayer() 204 final VolumeShaper.State state; in getStatePlayer() 352 public static final Configuration LINEAR_RAMP = new VolumeShaper.Configuration.Builder() 365 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; 32 float volume, boolean looping, in @nullable VolumeShaper.Configuration volumeShaperConfig); in playWithVolumeShaping()
|
/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/libmediaplayer2/include/mediaplayer2/ |
D | JAudioTrack.h | 225 media::VolumeShaper::Status applyVolumeShaper( 226 const sp<media::VolumeShaper::Configuration>& configuration, 227 const sp<media::VolumeShaper::Operation>& operation); 444 const sp<media::VolumeShaper::Configuration>& config); 448 const sp<media::VolumeShaper::Operation>& operation);
|
/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/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/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()
|
/frameworks/av/media/libmediaplayer2/ |
D | JAudioTrack.cpp | 272 media::VolumeShaper::Status JAudioTrack::applyVolumeShaper( in applyVolumeShaper() 273 const sp<media::VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 274 const sp<media::VolumeShaper::Operation>& operation) { in applyVolumeShaper() 280 return media::VolumeShaper::Status(BAD_VALUE); in applyVolumeShaper() 295 return media::VolumeShaper::Status(NO_ERROR); in applyVolumeShaper() 626 const sp<media::VolumeShaper::Configuration>& config) { in createVolumeShaperConfigurationObj() 629 if (config == NULL || config->getType() == media::VolumeShaper::Configuration::TYPE_ID) { in createVolumeShaperConfigurationObj() 638 if (config->getType() == media::VolumeShaper::Configuration::TYPE_SCALE) { in createVolumeShaperConfigurationObj() 676 const sp<media::VolumeShaper::Operation>& operation) { in createVolumeShaperOperationObj() 694 bool join = (flags | media::VolumeShaper::Operation::FLAG_JOIN) != 0; in createVolumeShaperOperationObj() [all …]
|
/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 | 135 virtual media::VolumeShaper::Status applyVolumeShaper( 136 const sp<media::VolumeShaper::Configuration>& configuration, 137 … const sp<media::VolumeShaper::Operation>& operation) override; 138 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) override; 353 virtual media::VolumeShaper::Status applyVolumeShaper( 354 const sp<media::VolumeShaper::Configuration>& configuration, 355 … const sp<media::VolumeShaper::Operation>& operation) override; 356 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) override;
|