/frameworks/av/include/media/ |
D | VolumeShaper.h | 52 class VolumeShaper { 576 VolumeShaper( in VolumeShaper() function 577 const sp<VolumeShaper::Configuration> &configuration, in VolumeShaper() 578 const sp<VolumeShaper::Operation> &operation) in VolumeShaper() 586 && (getFlags() & VolumeShaper::Operation::FLAG_DELAY) == 0) { in VolumeShaper() 592 VolumeShaper::Operation::Flag getFlags() const { in getFlags() 594 ? VolumeShaper::Operation::FLAG_NONE : mOperation->getFlags(); in getFlags() 601 sp<VolumeShaper::State> getState() const { in getState() 606 return new VolumeShaper::State(volume, mDelayXOffset); in getState() 608 return new VolumeShaper::State(mLastVolume, mLastXOffset); in getState() [all …]
|
D | IAudioTrack.h | 80 virtual VolumeShaper::Status applyVolumeShaper( 81 const sp<VolumeShaper::Configuration>& configuration, 82 const sp<VolumeShaper::Operation>& operation) = 0; 85 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
D | IMediaPlayer.h | 94 virtual VolumeShaper::Status applyVolumeShaper( 95 const sp<VolumeShaper::Configuration>& configuration, 96 const sp<VolumeShaper::Operation>& operation) = 0; 97 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
D | mediaplayer.h | 269 VolumeShaper::Status applyVolumeShaper( 270 const sp<VolumeShaper::Configuration>& configuration, 271 const sp<VolumeShaper::Operation>& operation); 272 sp<VolumeShaper::State> getVolumeShaperState(int id);
|
D | MediaPlayerInterface.h | 149 virtual VolumeShaper::Status applyVolumeShaper( 150 const sp<VolumeShaper::Configuration>& configuration, 151 const sp<VolumeShaper::Operation>& operation); 152 virtual sp<VolumeShaper::State> getVolumeShaperState(int id);
|
/frameworks/base/media/jni/ |
D | android_media_VolumeShaper.h | 104 static sp<VolumeShaper::Configuration> convertJobjectToConfiguration( in convertJobjectToConfiguration() 106 sp<VolumeShaper::Configuration> configuration = new VolumeShaper::Configuration(); in convertJobjectToConfiguration() 109 (VolumeShaper::Configuration::Type)env->GetIntField(jshaper, fields.coTypeId)); in convertJobjectToConfiguration() 112 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertJobjectToConfiguration() 114 (VolumeShaper::Configuration::OptionFlag) in convertJobjectToConfiguration() 119 (VolumeShaper::Configuration::InterpolatorType) in convertJobjectToConfiguration() 148 const sp<VolumeShaper::Configuration> &configuration) { in convertVolumeShaperToJobject() 151 if (configuration->getType() == VolumeShaper::Configuration::TYPE_SCALE) { in convertVolumeShaperToJobject() 179 static sp<VolumeShaper::Operation> convertJobjectToOperation( in convertJobjectToOperation() 181 VolumeShaper::Operation::Flag flags = in convertJobjectToOperation() [all …]
|
/frameworks/base/media/java/android/media/ |
D | VolumeShaper.java | 46 public final class VolumeShaper implements AutoCloseable { class 51 /* package */ VolumeShaper( in VolumeShaper() method in VolumeShaper 78 /* void */ applyPlayer(new VolumeShaper.Configuration(mId), operation); in apply() 145 new VolumeShaper.Configuration(mId), in close() 169 @NonNull VolumeShaper.Configuration configuration, in applyPlayer() 170 @NonNull VolumeShaper.Operation operation) { in applyPlayer() 201 private @NonNull VolumeShaper.State getStatePlayer(int id) { in getStatePlayer() 202 final VolumeShaper.State state; in getStatePlayer() 350 public static final Configuration LINEAR_RAMP = new VolumeShaper.Configuration.Builder() 363 public static final Configuration CUBIC_RAMP = new VolumeShaper.Configuration.Builder() [all …]
|
D | VolumeShaper.aidl | 19 parcelable VolumeShaper.Configuration; 20 parcelable VolumeShaper.Operation; 21 parcelable VolumeShaper.State;
|
D | VolumeAutomation.java | 20 import android.media.VolumeShaper.Configuration; 38 public @NonNull VolumeShaper createVolumeShaper( in createVolumeShaper() 39 @NonNull VolumeShaper.Configuration configuration); in createVolumeShaper()
|
D | IPlayer.aidl | 19 import android.media.VolumeShaper; 31 oneway void applyVolumeShaper(in VolumeShaper.Configuration configuration, in applyVolumeShaper() 32 in VolumeShaper.Operation operation); in applyVolumeShaper()
|
D | PlayerProxy.java | 21 import android.media.VolumeShaper; 143 @NonNull VolumeShaper.Configuration configuration, in applyVolumeShaper() 144 @NonNull VolumeShaper.Operation operation) { in applyVolumeShaper()
|
D | PlayerBase.java | 24 import android.media.VolumeShaper; 385 @NonNull VolumeShaper.Configuration configuration, in playerApplyVolumeShaper() 386 @NonNull VolumeShaper.Operation operation); in playerApplyVolumeShaper() 396 /* package */ abstract @Nullable VolumeShaper.State playerGetVolumeShaperState(int id); in playerGetVolumeShaperState() 485 @NonNull VolumeShaper.Configuration configuration, in applyVolumeShaper() 486 @NonNull VolumeShaper.Operation operation) { in applyVolumeShaper()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioTrack.cpp | 149 virtual VolumeShaper::Status applyVolumeShaper( in applyVolumeShaper() 150 const sp<VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 151 const sp<VolumeShaper::Operation>& operation) { in applyVolumeShaper() 160 return VolumeShaper::Status(status); in applyVolumeShaper() 168 return VolumeShaper::Status(status); in applyVolumeShaper() 175 return VolumeShaper::Status(status ?: remoteVolumeShaperStatus); in applyVolumeShaper() 178 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) { in getVolumeShaperState() 187 sp<VolumeShaper::State> state = new VolumeShaper::State; in getVolumeShaperState() 259 sp<VolumeShaper::Configuration> configuration; in onTransact() 260 sp<VolumeShaper::Operation> operation; in onTransact() [all …]
|
D | TrackPlayerBase.cpp | 107 const sp<VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 108 const sp<VolumeShaper::Operation>& operation) { in applyVolumeShaper() 111 VolumeShaper::Status status = mAudioTrack->applyVolumeShaper(configuration, operation); in applyVolumeShaper()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioTrack.h | 80 virtual VolumeShaper::Status applyVolumeShaper( 81 const sp<VolumeShaper::Configuration>& configuration, 82 const sp<VolumeShaper::Operation>& operation) = 0; 85 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
D | TrackPlayerBase.h | 36 const sp<VolumeShaper::Configuration>& configuration, 37 const sp<VolumeShaper::Operation>& operation);
|
D | PlayerBase.h | 43 const sp<VolumeShaper::Configuration>& configuration, 44 const sp<VolumeShaper::Operation>& operation) override;
|
/frameworks/native/services/audiomanager/ |
D | IPlayer.cpp | 94 const sp<VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 95 const sp<VolumeShaper::Operation>& operation) { in applyVolumeShaper() 164 sp<VolumeShaper::Configuration> configuration; in onTransact() 165 sp<VolumeShaper::Operation> operation; in onTransact() 170 configuration = new VolumeShaper::Configuration(); in onTransact() 175 operation = new VolumeShaper::Operation(); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 26 import android.media.VolumeShaper; 52 private static final VolumeShaper.Configuration DUCK_VSHAPE = 53 new VolumeShaper.Configuration.Builder() 57 .setOptionFlags(VolumeShaper.Configuration.OPTION_FLAG_CLOCK_TIME) 63 private static final VolumeShaper.Configuration DUCK_ID = 64 new VolumeShaper.Configuration(VOLUME_SHAPER_SYSTEM_DUCK_ID); 65 private static final VolumeShaper.Operation PLAY_CREATE_IF_NEEDED = 66 new VolumeShaper.Operation.Builder(VolumeShaper.Operation.PLAY) 71 private static final VolumeShaper.Operation PLAY_SKIP_RAMP = 72 new VolumeShaper.Operation.Builder(PLAY_CREATE_IF_NEEDED).setXOffset(1.0f).build(); [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | IMediaPlayer.h | 94 virtual VolumeShaper::Status applyVolumeShaper( 95 const sp<VolumeShaper::Configuration>& configuration, 96 const sp<VolumeShaper::Operation>& operation) = 0; 97 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
D | mediaplayer.h | 269 VolumeShaper::Status applyVolumeShaper( 270 const sp<VolumeShaper::Configuration>& configuration, 271 const sp<VolumeShaper::Operation>& operation); 272 sp<VolumeShaper::State> getVolumeShaperState(int id);
|
/frameworks/native/include/audiomanager/ |
D | IPlayer.h | 50 const sp<VolumeShaper::Configuration>& configuration, 51 const sp<VolumeShaper::Operation>& operation) = 0;
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 135 virtual VolumeShaper::Status applyVolumeShaper( 136 const sp<VolumeShaper::Configuration>& configuration, 137 const sp<VolumeShaper::Operation>& operation) override; 138 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) override; 346 virtual VolumeShaper::Status applyVolumeShaper( 347 const sp<VolumeShaper::Configuration>& configuration, 348 const sp<VolumeShaper::Operation>& operation) override; 349 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) override;
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayer.cpp | 468 virtual VolumeShaper::Status applyVolumeShaper( in applyVolumeShaper() 469 const sp<VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 470 const sp<VolumeShaper::Operation>& operation) { in applyVolumeShaper() 480 return VolumeShaper::Status(status); in applyVolumeShaper() 488 return VolumeShaper::Status(status); in applyVolumeShaper() 497 return VolumeShaper::Status(status); in applyVolumeShaper() 499 return VolumeShaper::Status(remoteVolumeShaperStatus); in applyVolumeShaper() 502 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) { in getVolumeShaperState() 511 sp<VolumeShaper::State> state = new VolumeShaper::State(); in getVolumeShaperState() 847 sp<VolumeShaper::Configuration> configuration; in onTransact() [all …]
|
/frameworks/av/services/audioflinger/ |
D | PlaybackTracks.h | 84 VolumeShaper::Status applyVolumeShaper( 85 const sp<VolumeShaper::Configuration>& configuration, 86 const sp<VolumeShaper::Operation>& operation); 87 sp<VolumeShaper::State> getVolumeShaperState(int id);
|