/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibrationThreadTest.java | 158 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_noVibrator_ignoresVibration() local 170 CombinedVibration effect = CombinedVibration.startSequential() in vibrate_missingVibrators_ignoresVibration() local 186 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local 205 VibrationEffect effect = VibrationEffect.createOneShot(10, 100); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local 226 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local 251 VibrationEffect effect = VibrationEffect.createWaveform(new long[]{5, 5, 5}, amplitudes, 0); in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled() local 292 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger() local 319 VibrationEffect effect = VibrationEffect.startWaveform(targetAmplitude(1)) in vibrate_singleVibratorRepeatingPwle_generatesLargestPwles() local 350 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorRepeatingPrimitives_generatesLargestComposition() local 380 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local [all …]
|
D | DeviceVibrationEffectAdapterTest.java | 91 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() local 106 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() local 129 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps() local 156 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsAmplitudesWithResonantFreq() local 187 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValues() local
|
D | VibratorManagerServiceTest.java | 337 CombinedVibration effect = CombinedVibration.createParallel( in createService_doNotCrashIfUsedBeforeSystemReady() local 511 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability() local 532 CombinedVibration effect = CombinedVibration.startParallel() in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability() local 559 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNullEffect_disablesAlwaysOnEffects() local 577 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNonPrebakedEffect_ignoresEffect() local 590 CombinedVibration effect = CombinedVibration.startSequential() in setAlwaysOnEffect_withNonSyncedEffect_ignoresEffect() local 687 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager() local 915 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingHigherImportanceVibration_ignoresEffect() local 946 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingLowerImportanceVibration_cancelsOngoingEffect() local 980 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_withInputDevices_vibratesInputDevices() local [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 166 AudioEffect effect = new AudioEffect(desc[0].type, in test1_0ConstructorFromType() local 208 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_NULL, in test1_1ConstructorFromUuid() local 234 AudioEffect effect = new AudioEffect(UUID.randomUUID(), in test1_2ConstructorUnknownType() local 257 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test1_3GetEnabledAfterRelease() local 286 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test1_4InsertOnMediaPlayer() local 323 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_5AuxiliaryOnMediaPlayer() local 363 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_6AuxiliaryOnMediaPlayerFailure() local 410 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_ENV_REVERB, in test1_7AuxiliaryOnAudioTrack() local 442 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test2_0SetEnabledGetEnabled() local 475 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test2_1SetEnabledAfterRelease() local [all …]
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 259 int Agc2Init(preproc_effect_t* effect) { in Agc2Init() 270 int AgcInit(preproc_effect_t* effect) { in AgcInit() 280 int Agc2Create(preproc_effect_t* effect) { in Agc2Create() 285 int AgcCreate(preproc_effect_t* effect) { in AgcCreate() 290 int Agc2GetParameter(preproc_effect_t* effect, void* pParam, uint32_t* pValueSize, void* pValue) { in Agc2GetParameter() 363 int AgcGetParameter(preproc_effect_t* effect, void* pParam, uint32_t* pValueSize, void* pValue) { in AgcGetParameter() 428 int Agc2SetParameter(preproc_effect_t* effect, void* pParam, void* pValue) { in Agc2SetParameter() 476 int AgcSetParameter(preproc_effect_t* effect, void* pParam, void* pValue) { in AgcSetParameter() 517 void Agc2Enable(preproc_effect_t* effect) { in Agc2Enable() 523 void AgcEnable(preproc_effect_t* effect) { in AgcEnable() [all …]
|
/frameworks/base/core/java/android/os/ |
D | VibratorManager.java | 84 @Nullable CombinedVibration effect, @Nullable VibrationAttributes attributes) { in setAlwaysOnEffect() 102 public final void vibrate(@NonNull CombinedVibration effect) { in vibrate() 124 public final void vibrate(@NonNull CombinedVibration effect, in vibrate() 126 vibrate(Process.myUid(), mPackageName, effect, null, attributes); in vibrate() local 136 public abstract void vibrate(int uid, String opPkg, @NonNull CombinedVibration effect, in vibrate()
|
D | CombinedVibration.java | 57 public static CombinedVibration createParallel(@NonNull VibrationEffect effect) { in createParallel() 155 public ParallelCombination addVibrator(int vibratorId, @NonNull VibrationEffect effect) { in addVibrator() 209 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect) { in addNext() 228 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect, in addNext() 247 public SequentialCombination addNext(@NonNull CombinedVibration effect) { in addNext() 265 public SequentialCombination addNext(@NonNull CombinedVibration effect, int delay) { in addNext() 315 Mono(@NonNull VibrationEffect effect) { in Mono()
|
/frameworks/base/libs/hwui/jni/ |
D | PathEffect.cpp | 12 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); in destructor() local 20 SkPathEffect* effect = SkPathEffect::MakeCompose(sk_ref_sp(outer), in Compose_constructor() local 29 SkPathEffect* effect = SkPathEffect::MakeSum(sk_ref_sp(first), in Sum_constructor() local 43 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); in Dash_constructor() local 51 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor() local 57 SkPathEffect* effect = SkCornerPathEffect::Make(radius).release(); in Corner_constructor() local 63 SkPathEffect* effect = SkDiscretePathEffect::Make(length, deviation).release(); in Discrete_constructor() local
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioEffect.h | 631 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient() 635 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() local 642 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() local 651 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() local 658 sp<AudioEffect> effect = mEffect.promote(); in framesProcessed() local 668 sp<AudioEffect> effect = mEffect.promote(); in binderDied() local
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibrationEffectTest.java | 78 VibrationEffect effect = VibrationEffect.get(Uri.parse(RINGTONE_URI_1), context); in getRingtones_noPrebakedRingtones() local 86 VibrationEffect effect = VibrationEffect.get(Uri.parse(UNKNOWN_URI), context); in getRingtones_noPrebakedRingtoneForUri() local 94 VibrationEffect effect = VibrationEffect.get(Uri.parse(RINGTONE_URI_2), context); in getRingtones_getPrebakedRingtone() local 305 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in testResolvePrebaked() local 311 VibrationEffect effect = VibrationEffect.startComposition() in testResolveComposed() local 347 VibrationEffect effect = VibrationEffect.startComposition() in testApplyEffectStrengthComposed() local 380 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in testScalePrebaked() local 391 VibrationEffect.Composed effect = in testScaleComposed() local
|
D | CombinedVibrationTest.java | 262 CombinedVibration effect = CombinedVibration.createParallel( in testHasVibratorMono_returnsTrueForAnyVibrator() local 270 CombinedVibration effect = CombinedVibration.startParallel() in testHasVibratorStereo_returnsOnlyTheIdsSet() local 280 CombinedVibration effect = CombinedVibration.startSequential() in testHasVibratorSequential_returnsNestedVibrators() local
|
/frameworks/base/core/java/android/content/integrity/ |
D | Rule.java | 66 public Rule(@NonNull IntegrityFormula formula, @Effect int effect) { in Rule() 67 checkArgument(isValidEffect(effect), "Unknown effect: %d", effect); in Rule() local 133 private static String effectToString(int effect) { in effectToString() 144 private static boolean isValidEffect(int effect) { in isValidEffect()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | VibratorHelperTest.java | 110 private void assertRepeatingVibration(VibrationEffect effect) { in assertRepeatingVibration() 114 private void assertSingleVibration(VibrationEffect effect) { in assertSingleVibration() 118 private static int getRepeatIndex(VibrationEffect effect) { in getRepeatIndex()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | StartSequentialEffectStep.java | 60 CombinedVibration.Sequential effect) { in StartSequentialEffectStep() 67 CombinedVibration.Sequential effect, int index) { in StartSequentialEffectStep() 88 CombinedVibration effect = sequentialEffect.getEffects().get(currentIndex); in play() local 143 CombinedVibration effect) { in createEffectToVibratorMapping() 264 VibrationEffect effect = conductor.deviceEffectAdapter.apply( in DeviceEffectMap() local 282 VibrationEffect effect = conductor.deviceEffectAdapter.apply( in DeviceEffectMap() local
|
D | VibrationEffectAdapters.java | 61 VibrationEffect apply(VibrationEffect effect, T modifier); in apply() 74 public static <T> VibrationEffect apply(VibrationEffect effect, in apply()
|
D | Vibration.java | 117 Vibration(IBinder token, int id, CombinedVibration effect, in Vibration() 169 public void addFallback(int effectId, VibrationEffect effect) { in addFallback() 197 VibrationEffect effect = ((CombinedVibration.Mono) combinedEffect).getEffect(); in transformCombinedEffect() local 315 DebugInfo(Status status, VibrationStats stats, @Nullable CombinedVibration effect, in DebugInfo() 391 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect() 399 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect() 416 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect() 423 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect() 433 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
|
D | ComposePrimitivesVibratorStep.java | 42 VibratorController controller, VibrationEffect.Composed effect, int index, in ComposePrimitivesVibratorStep() 94 private List<PrimitiveSegment> unrollPrimitiveSegments(VibrationEffect.Composed effect, in unrollPrimitiveSegments()
|
D | ComposePwleVibratorStep.java | 43 VibratorController controller, VibrationEffect.Composed effect, int index, in ComposePwleVibratorStep() 95 private List<RampSegment> unrollRampSegments(VibrationEffect.Composed effect, int startIndex, in unrollRampSegments()
|
/frameworks/av/services/audioflinger/ |
D | DeviceEffectManager.cpp | 51 for (auto& effect : mDeviceEffects) { in onCreateAudioPatch() local 66 for (auto& effect : mDeviceEffects) { in onReleaseAudioPatch() local 82 sp<DeviceEffectProxy> effect; in createEffect_l() local 144 sp<EffectHalInterface> *effect) { in createEffectHal() 177 size_t AudioFlinger::DeviceEffectManager::removeEffect(const sp<DeviceEffectProxy>& effect) in removeEffect() 191 sp<DeviceEffectProxy> effect = effectBase->asDeviceEffectProxy(); in disconnectEffectHandle() local
|
D | Effects.cpp | 1723 AudioFlinger::EffectHandle::EffectHandle(const sp<EffectBase>& effect, in EffectHandle() 1811 sp<EffectBase> effect = mEffect.promote(); in enable() local 1849 sp<EffectBase> effect = mEffect.promote(); in disable() local 1891 sp<EffectBase> effect = mEffect.promote(); in disconnect() local 1962 sp<EffectBase> effect = mEffect.promote(); in command() local 2253 status_t AudioFlinger::EffectChain::createEffect_l(sp<EffectModule>& effect, in createEffect_l() 2272 status_t AudioFlinger::EffectChain::addEffect_l(const sp<EffectModule>& effect) in addEffect_l() 2278 status_t AudioFlinger::EffectChain::addEffect_ll(const sp<EffectModule>& effect) in addEffect_ll() 2436 size_t AudioFlinger::EffectChain::removeEffect_l(const sp<EffectModule>& effect, in removeEffect_l() 2519 for (const auto &effect : mEffects) { in hasVolumeControlEnabled_l() local [all …]
|
D | DeviceEffectManager.h | 50 sp<EffectHalInterface> effect) { in addEffectToHal() 54 sp<EffectHalInterface> effect) { in removeEffectFromHal() 153 sp<EffectHalInterface> *effect) override { in createEffectHal() 207 audio_module_handle_t hwModuleId, sp<EffectHalInterface> effect) { in addEffectToHal() 211 audio_module_handle_t hwModuleId, sp<EffectHalInterface> effect) { in removeEffectFromHal()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | VibratorHelper.java | 124 VibrationEffect effect = waveformBuilder.build(); in createPwleWaveformVibration() local 143 public void vibrate(VibrationEffect effect, AudioAttributes attrs, String reason) { in vibrate() 162 VibrationEffect effect = createPwleWaveformVibration(mFallbackPwlePattern, insistent); in createFallbackVibration() local 177 VibrationEffect effect = createPwleWaveformVibration(mDefaultPwlePattern, insistent); in createDefaultVibration() local
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VirtualizerTest.java | 183 public void setEffect(Object effect) { in setEffect() 193 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange() 196 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange() 199 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
|
D | BassBoostTest.java | 192 public void setEffect(Object effect) { in setEffect() 202 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange() 205 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange() 208 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 51 bool isStaticCastValid(Effect effect) { in isStaticCastValid() 314 HalResult<void> AidlHalWrapper::alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) { in alwaysOnEnable() 323 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() 349 for (const auto& effect : primitives) { in performComposedEffect() local 556 perform_fn<T> performFn, sp<I> handle, T effect, EffectStrength strength, in performInternal() 586 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() 600 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() 618 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect() 645 Effect effect, EffectStrength strength, const std::function<void()>& completionCallback) { in performEffect()
|