/frameworks/av/include/media/ |
D | VolumeShaper.h | 56 class VolumeShaper { 701 VolumeShaper( in VolumeShaper() function 702 const sp<VolumeShaper::Configuration> &configuration, in VolumeShaper() 703 const sp<VolumeShaper::Operation> &operation) in VolumeShaper() 711 && (getFlags() & VolumeShaper::Operation::FLAG_DELAY) == 0) { in VolumeShaper() 717 VolumeShaper::Operation::Flag getFlags() const { in getFlags() 719 ? VolumeShaper::Operation::FLAG_NONE : mOperation->getFlags(); in getFlags() 726 sp<VolumeShaper::State> getState() const { in getState() 731 return new VolumeShaper::State(volume, mDelayXOffset); in getState() 733 return new VolumeShaper::State(mLastVolume, mLastXOffset); in getState() [all …]
|
D | MediaPlayerInterface.h | 152 virtual media::VolumeShaper::Status applyVolumeShaper( 153 const sp<media::VolumeShaper::Configuration>& configuration, 154 const sp<media::VolumeShaper::Operation>& operation) = 0; 155 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 | 49 public final class VolumeShaper implements AutoCloseable { class 54 /* package */ VolumeShaper( in VolumeShaper() method in VolumeShaper 81 /* void */ applyPlayer(new VolumeShaper.Configuration(mId), operation); in apply() 148 new VolumeShaper.Configuration(mId), in close() 172 @NonNull VolumeShaper.Configuration configuration, in applyPlayer() 173 @NonNull VolumeShaper.Operation operation) { in applyPlayer() 204 private @NonNull VolumeShaper.State getStatePlayer(int id) { in getStatePlayer() 205 final VolumeShaper.State state; in getStatePlayer() 353 public static final Configuration LINEAR_RAMP = new VolumeShaper.Configuration.Builder() 366 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 | VolumeShaper.aidl | 18 parcelable VolumeShaper; 19 parcelable VolumeShaper.Configuration;
|
D | HwAudioSource.java | 89 @NonNull VolumeShaper.Configuration configuration, in playerApplyVolumeShaper() 90 @NonNull VolumeShaper.Operation operation) { in playerApplyVolumeShaper() 104 VolumeShaper.State playerGetVolumeShaperState(int id) { in playerGetVolumeShaperState() 105 return new VolumeShaper.State(1f, 1f); in playerGetVolumeShaperState()
|
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()
|
D | PlayerBase.java | 337 @NonNull VolumeShaper.Configuration configuration, in playerApplyVolumeShaper() 338 @NonNull VolumeShaper.Operation operation); in playerApplyVolumeShaper() 348 /* package */ abstract @Nullable VolumeShaper.State playerGetVolumeShaperState(int id); in playerGetVolumeShaperState() 421 pb.playerApplyVolumeShaper(VolumeShaper.Configuration.fromParcelable(configuration), in applyVolumeShaper() 422 VolumeShaper.Operation.fromParcelable(operation)); in applyVolumeShaper()
|
D | SoundPool.java | 397 @NonNull VolumeShaper.Configuration configuration, in playerApplyVolumeShaper() 398 @Nullable VolumeShaper.Operation operation) { in playerApplyVolumeShaper() 403 /* package */ @Nullable VolumeShaper.State playerGetVolumeShaperState(int id) { in playerGetVolumeShaperState()
|
D | Ringtone.java | 66 private VolumeShaper.Configuration mVolumeShaperConfig; 67 private VolumeShaper mVolumeShaper; 357 public void setUri(Uri uri, @Nullable VolumeShaper.Configuration volumeShaperConfig) { in setUri() 481 mVolumeShaper.apply(VolumeShaper.Operation.PLAY); in startLocalPlayer()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | FadeOutManager.java | 23 import android.media.VolumeShaper; 43 private static final VolumeShaper.Configuration FADEOUT_VSHAPE = 44 new VolumeShaper.Configuration.Builder() 48 .setOptionFlags(VolumeShaper.Configuration.OPTION_FLAG_CLOCK_TIME) 51 private static final VolumeShaper.Operation PLAY_CREATE_IF_NEEDED = 52 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(); 261 VolumeShaper.Operation.REVERSE); in removeUnfadeAll()
|
D | PlaybackActivityMonitor.java | 28 import android.media.VolumeShaper; 58 private static final VolumeShaper.Configuration DUCK_VSHAPE = 59 new VolumeShaper.Configuration.Builder() 63 .setOptionFlags(VolumeShaper.Configuration.OPTION_FLAG_CLOCK_TIME) 69 private static final VolumeShaper.Configuration DUCK_ID = 70 new VolumeShaper.Configuration(VOLUME_SHAPER_SYSTEM_DUCK_ID); 71 private static final VolumeShaper.Operation PLAY_CREATE_IF_NEEDED = 72 new VolumeShaper.Operation.Builder(VolumeShaper.Operation.PLAY) 83 private static final VolumeShaper.Operation PLAY_SKIP_RAMP = 84 new VolumeShaper.Operation.Builder(PLAY_CREATE_IF_NEEDED).setXOffset(1.0f).build(); [all …]
|
/frameworks/av/media/libaudioclient/ |
D | TrackPlayerBase.cpp | 21 using media::VolumeShaper; 132 sp<VolumeShaper::Configuration> spConfiguration = new VolumeShaper::Configuration(); in applyVolumeShaper() 133 sp<VolumeShaper::Operation> spOperation = new VolumeShaper::Operation(); in applyVolumeShaper() 143 VolumeShaper::Status status = mAudioTrack->applyVolumeShaper(spConfiguration, spOperation); in applyVolumeShaper()
|
/frameworks/av/media/libmedia/include/media/ |
D | IMediaPlayer.h | 96 virtual media::VolumeShaper::Status applyVolumeShaper( 97 const sp<media::VolumeShaper::Configuration>& configuration, 98 const sp<media::VolumeShaper::Operation>& operation) = 0; 99 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
D | mediaplayer.h | 273 media::VolumeShaper::Status applyVolumeShaper( 274 const sp<media::VolumeShaper::Configuration>& configuration, 275 const sp<media::VolumeShaper::Operation>& operation); 276 sp<media::VolumeShaper::State> getVolumeShaperState(int id);
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 562 using namespace android::media::VolumeShaper; 565 const VolumeShaper::Configuration& configuration, in applyVolumeShaper() 566 const VolumeShaper::Operation& operation) { in applyVolumeShaper() 568 … sp<VolumeShaper::Configuration> spConfiguration = new VolumeShaper::Configuration(configuration); in applyVolumeShaper() 569 sp<VolumeShaper::Operation> spOperation = new VolumeShaper::Operation(operation); in applyVolumeShaper()
|
D | AudioStreamTrack.h | 95 const android::media::VolumeShaper::Configuration& configuration, 96 const android::media::VolumeShaper::Operation& operation) override;
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 141 virtual media::VolumeShaper::Status applyVolumeShaper( 142 const sp<media::VolumeShaper::Configuration>& configuration, 143 … const sp<media::VolumeShaper::Operation>& operation) override; 144 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) override; 359 virtual media::VolumeShaper::Status applyVolumeShaper( 360 const sp<media::VolumeShaper::Configuration>& configuration, 361 … const sp<media::VolumeShaper::Operation>& operation) override; 362 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) override;
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayer.cpp | 36 using media::VolumeShaper; 472 virtual VolumeShaper::Status applyVolumeShaper( in applyVolumeShaper() 473 const sp<VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 474 const sp<VolumeShaper::Operation>& operation) { in applyVolumeShaper() 484 return VolumeShaper::Status(status); in applyVolumeShaper() 492 return VolumeShaper::Status(status); in applyVolumeShaper() 501 return VolumeShaper::Status(status); in applyVolumeShaper() 503 return VolumeShaper::Status(remoteVolumeShaperStatus); in applyVolumeShaper() 506 virtual sp<VolumeShaper::State> getVolumeShaperState(int id) { in getVolumeShaperState() 515 sp<VolumeShaper::State> state = new VolumeShaper::State(); in getVolumeShaperState() [all …]
|
D | mediaplayer.cpp | 42 using media::VolumeShaper; 1005 VolumeShaper::Status MediaPlayer::applyVolumeShaper( in applyVolumeShaper() 1006 const sp<VolumeShaper::Configuration>& configuration, in applyVolumeShaper() 1007 const sp<VolumeShaper::Operation>& operation) in applyVolumeShaper() 1011 return VolumeShaper::Status(NO_INIT); in applyVolumeShaper() 1013 VolumeShaper::Status status = mPlayer->applyVolumeShaper(configuration, operation); in applyVolumeShaper() 1017 sp<VolumeShaper::State> MediaPlayer::getVolumeShaperState(int id) in getVolumeShaperState()
|
/frameworks/av/media/libmediaplayerservice/include/ |
D | MediaPlayerInterface.h | 152 virtual media::VolumeShaper::Status applyVolumeShaper( 153 const sp<media::VolumeShaper::Configuration>& configuration, 154 const sp<media::VolumeShaper::Operation>& operation) = 0; 155 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) = 0;
|
/frameworks/av/services/audioflinger/ |
D | PlaybackTracks.h | 140 media::VolumeShaper::Status applyVolumeShaper( 141 const sp<media::VolumeShaper::Configuration>& configuration, 142 const sp<media::VolumeShaper::Operation>& operation); 143 sp<media::VolumeShaper::State> getVolumeShaperState(int id);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | RingtonePlayer.java | 28 import android.media.VolumeShaper; 91 @Nullable VolumeShaper.Configuration volumeShaperConfig) { in Client() 117 boolean looping, @Nullable VolumeShaper.Configuration volumeShaperConfig)
|