/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioEffectTest.java | 505 AudioEffect effect = null; in test3_0SetParameterByteArrayByteArray() local 539 AudioEffect effect = null; in test3_1SetParameterIntInt() local 572 AudioEffect effect = null; in test3_2SetParameterIntShort() local 605 AudioEffect effect = null; in test3_3SetParameterIntByteArray() local 639 AudioEffect effect = null; in test3_4SetParameterIntArrayIntArray() local 676 AudioEffect effect = null; in test3_5SetParameterIntArrayShortArray() local 713 AudioEffect effect = null; in test3_6SetParameterIntArrayByteArray() local 749 AudioEffect effect = null; in test3_7SetParameterAfterRelease() local 783 AudioEffect effect = null; in test4_0GetParameterByteArrayByteArray() local 817 AudioEffect effect = null; in test4_1GetParameterIntIntArray() local [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
H A D | VibrationThreadTest.java | 137 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_noVibrator_ignoresVibration() local 205 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local 265 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForASecond() local 287 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local 310 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn() local 338 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorPredefinedCancel_cancelsVibrationImmediately() local 450 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorComposed_runsVibration() local 471 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorComposedAndNoCapability_ignoresVibration() local 553 VibrationEffect effect = VibrationEffect.startWaveform() in vibrate_singleVibratorPwle_runsComposePwle() local 589 VibrationEffect effect = VibrationEffect.startWaveform() in vibrate_singleVibratorLargePwle_splitsVibratorComposeCalls() local [all …]
|
H A D | DeviceVibrationEffectAdapterTest.java | 74 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() local 89 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() local 112 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps() local 139 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsSameAmplitudesAndZeroFreq() local 170 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValues() local
|
/aosp12/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 258 int Agc2Init(preproc_effect_t* effect) { in Agc2Init() 269 int AgcInit(preproc_effect_t* effect) { in AgcInit() 279 int Agc2Create(preproc_effect_t* effect) { in Agc2Create() 284 int AgcCreate(preproc_effect_t* effect) { in AgcCreate() 522 void AgcEnable(preproc_effect_t* effect) { in AgcEnable() 552 int AecInit(preproc_effect_t* effect) { in AecInit() 560 int AecCreate(preproc_effect_t* effect) { in AecCreate() 616 void AecEnable(preproc_effect_t* effect) { in AecEnable() 649 int NsInit(preproc_effect_t* effect) { in NsInit() 658 int NsCreate(preproc_effect_t* effect) { in NsCreate() [all …]
|
/aosp12/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioEffect.h | 568 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient() 572 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() local 579 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() local 588 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() local 595 sp<AudioEffect> effect = mEffect.promote(); in framesProcessed() local 605 sp<AudioEffect> effect = mEffect.promote(); in binderDied() local
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | VibrationEffectTest.java | 71 VibrationEffect effect = VibrationEffect.get(Uri.parse(RINGTONE_URI_1), context); in getRingtones_noPrebakedRingtones() local 79 VibrationEffect effect = VibrationEffect.get(Uri.parse(UNKNOWN_URI), context); in getRingtones_noPrebakedRingtoneForUri() local 87 VibrationEffect effect = VibrationEffect.get(Uri.parse(RINGTONE_URI_2), context); in getRingtones_getPrebakedRingtone() local 214 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in testResolvePrebaked() local 220 VibrationEffect effect = VibrationEffect.startComposition() in testResolveComposed() local 256 VibrationEffect effect = VibrationEffect.startComposition() in testApplyEffectStrengthComposed() local 289 VibrationEffect effect = VibrationEffect.get(VibrationEffect.EFFECT_CLICK); in testScalePrebaked() local 300 VibrationEffect.Composed effect = in testScaleComposed() local
|
H A D | CombinedVibrationTest.java | 179 CombinedVibration effect = CombinedVibration.createParallel( in testHasVibratorMono_returnsTrueForAnyVibrator() local 187 CombinedVibration effect = CombinedVibration.startParallel() in testHasVibratorStereo_returnsOnlyTheIdsSet() local 197 CombinedVibration effect = CombinedVibration.startSequential() in testHasVibratorSequential_returnsNestedVibrators() local
|
/aosp12/hardware/interfaces/vibrator/1.3/example/ |
H A D | Vibrator.cpp | 67 Return<void> Vibrator::perform(V1_0::Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() 73 Return<void> Vibrator::perform_1_1(V1_1::Effect_1_1 effect, EffectStrength strength, in perform_1_1() 80 Return<void> Vibrator::perform_1_2(V1_2::Effect effect, EffectStrength strength, in perform_1_2() 103 Return<void> Vibrator::perform_1_3(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform_1_3() 109 Return<void> Vibrator::perform(Effect effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() 136 Return<void> Vibrator::perform(T effect, EffectStrength strength, perform_cb _hidl_cb) { in perform() 206 const std::string Vibrator::effectToName(Effect effect) { in effectToName() 210 uint32_t Vibrator::effectToMs(Effect effect, Status* status) { in effectToMs()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A 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()
|
H A D | CombinedVibration.java | 57 public static CombinedVibration createParallel(@NonNull VibrationEffect effect) { in createParallel() 141 public ParallelCombination addVibrator(int vibratorId, @NonNull VibrationEffect effect) { in addVibrator() 195 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect) { in addNext() 214 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect, in addNext() 233 public SequentialCombination addNext(@NonNull CombinedVibration effect) { in addNext() 251 public SequentialCombination addNext(@NonNull CombinedVibration effect, int delay) { in addNext() 301 Mono(@NonNull VibrationEffect effect) { in Mono() 553 CombinedVibration effect = mEffects.get(i); in getDuration() local
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A 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
|
/aosp12/frameworks/base/core/java/android/content/integrity/ |
H A 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()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A 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()
|
/aosp12/frameworks/av/services/audioflinger/ |
H A 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
|
H A D | Effects.cpp | 2475 for (const auto &effect : mEffects) { in hasVolumeControlEnabled_l() local 2868 for (const auto &effect : mEffects) { in isRawCompatible() local 2880 for (const auto &effect : mEffects) { in isFastCompatible() local 2905 sp<EffectHalInterface> *effect) { in createEffectHal() 2926 sp<EffectHalInterface> effect) { in addEffectToHal() 2942 sp<EffectHalInterface> effect) { in removeEffectFromHal() 3327 sp<EffectHalInterface> effect) { in addEffectToHal() 3336 sp<EffectHalInterface> effect) { in removeEffectFromHal() 3448 sp<EffectHalInterface> *effect) { in createEffectHal() 3453 sp<EffectHalInterface> effect) { in addEffectToHal() [all …]
|
H A 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()
|
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | Vibration.java | 95 Vibration(IBinder token, int id, CombinedVibration effect, in Vibration() 138 public void addFallback(int effectId, VibrationEffect effect) { in addFallback() 166 VibrationEffect effect = ((CombinedVibration.Mono) combinedEffect).getEffect(); in transformCombinedEffect() local 228 DebugInfo(long startTimeDebug, long endTimeDebug, CombinedVibration effect, in DebugInfo() 294 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect() 302 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect() 319 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect() 326 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect() 336 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
|
H A D | VibrationThread.java | 129 CombinedVibration effect = vib.getEffect(); in VibrationThread() local 369 private static CombinedVibration.Sequential toSequential(CombinedVibration effect) { in toSequential() 679 StartVibrateStep(CombinedVibration.Sequential effect) { in StartVibrateStep() 755 CombinedVibration effect) { in createEffectToVibratorMapping() 905 public final VibrationEffect.Composed effect; field in VibrationThread.SingleVibratorStep 923 VibrationEffect.Composed effect, int index, long vibratorOffTimeout) { in SingleVibratorStep() 1020 VibrationEffect.Composed effect, int index, long vibratorOffTimeout) { in PerformStep() 1023 super(Math.max(startTime, vibratorOffTimeout), controller, effect, index, in PerformStep() local 1098 super(Math.max(startTime, vibratorOffTimeout), controller, effect, index, in ComposePrimitivesStep() local 1155 super(Math.max(startTime, vibratorOffTimeout), controller, effect, index, in ComposePwleStep() local [all …]
|
H A D | VibrationEffectAdapters.java | 61 VibrationEffect apply(VibrationEffect effect, T modifier); in apply() 74 public static <T> VibrationEffect apply(VibrationEffect effect, in apply()
|
/aosp12/hardware/interfaces/vibrator/1.2/vts/functional/ |
H A D | VtsHalVibratorV1_2TargetTest.cpp | 74 for (const auto& effect : hidl_enum_range<Effect>()) { in TEST_P() local 85 Effect effect = *std::prev(hidl_enum_range<Effect>().end()); in TEST_P() local 95 Effect effect = *hidl_enum_range<Effect>().begin(); in TEST_P() local
|
/aosp12/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | BassBoostTest.java | 186 public void setEffect(Object effect) { in setEffect() 196 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange() 199 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange() 202 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
|
H A 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()
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | VibratorHelper.java | 137 public void vibrate(VibrationEffect effect, AudioAttributes attrs, String reason) { in vibrate() 156 VibrationEffect effect = createPwleWaveformVibration(mFallbackPwlePattern, insistent); in createFallbackVibration() local 171 VibrationEffect effect = createPwleWaveformVibration(mDefaultPwlePattern, insistent); in createDefaultVibration() local
|
/aosp12/hardware/interfaces/vibrator/1.3/vts/functional/ |
H A D | VtsHalVibratorV1_3TargetTest.cpp | 87 for (const auto& effect : hidl_enum_range<Effect>()) { in TEST_P() local 98 Effect effect = *std::prev(hidl_enum_range<Effect>().end()); in TEST_P() local 108 Effect effect = *hidl_enum_range<Effect>().begin(); in TEST_P() local
|
/aosp12/hardware/qcom/audio/voice_processing/ |
H A D | voice_processing.c | 171 static int effect_set_state(struct effect_s *effect, uint32_t state) in effect_set_state() 245 static int effect_init(struct effect_s *effect, uint32_t id) in effect_init() 253 static int effect_create(struct effect_s *effect, in effect_create() 262 static int effect_release(struct effect_s *effect) in effect_release() 495 struct effect_s *effect = (struct effect_s *)self; in fx_process() local 527 struct effect_s *effect = (struct effect_s *)self; in fx_command() local 656 struct effect_s *effect = (struct effect_s *)self; in fx_get_descriptor() local
|