/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 260 int Agc2Init(preproc_effect_t* effect) { in Agc2Init() argument 262 effect->session->config = effect->session->apm->GetConfig(); in Agc2Init() 263 effect->session->config.gain_controller2.fixed_digital.gain_db = 0.f; in Agc2Init() 264 effect->session->apm->ApplyConfig(effect->session->config); in Agc2Init() 268 int AgcInit(preproc_effect_t* effect) { in AgcInit() argument 270 effect->session->config = effect->session->apm->GetConfig(); in AgcInit() 271 effect->session->config.gain_controller1.target_level_dbfs = kAgcDefaultTargetLevel; in AgcInit() 272 effect->session->config.gain_controller1.compression_gain_db = kAgcDefaultCompGain; in AgcInit() 273 effect->session->config.gain_controller1.enable_limiter = kAgcDefaultLimiter; in AgcInit() 274 effect->session->apm->ApplyConfig(effect->session->config); in AgcInit() [all …]
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectHalAidl.cpp | 58 using ::aidl::android::hardware::audio::effect::CommandId; 59 using ::aidl::android::hardware::audio::effect::Descriptor; 60 using ::aidl::android::hardware::audio::effect::IEffect; 61 using ::aidl::android::hardware::audio::effect::IFactory; 62 using ::aidl::android::hardware::audio::effect::kEventFlagDataMqNotEmpty; 63 using ::aidl::android::hardware::audio::effect::kEventFlagDataMqUpdate; 64 using ::aidl::android::hardware::audio::effect::kEventFlagNotEmpty; 65 using ::aidl::android::hardware::audio::effect::kReopenSupportedVersion; 66 using ::aidl::android::hardware::audio::effect::State; 69 namespace effect { namespace [all …]
|
D | EffectProxy.h | 28 namespace effect { 41 class EffectProxy final : public ::aidl::android::hardware::audio::effect::BnEffect { 45 const std::vector<::aidl::android::hardware::audio::effect::Descriptor>& descriptors, 46 const std::shared_ptr<::aidl::android::hardware::audio::effect::IFactory>& factory); 60 const ::aidl::android::hardware::audio::effect::Parameter::Common& common, 61 const std::optional<::aidl::android::hardware::audio::effect::Parameter::Specific>& 63 ::aidl::android::hardware::audio::effect::IEffect::OpenEffectReturn* ret) override; 66 ::aidl::android::hardware::audio::effect::IEffect::OpenEffectReturn* ret) override; 68 ::aidl::android::hardware::audio::effect::Descriptor* desc) override; 69 ndk::ScopedAStatus command(::aidl::android::hardware::audio::effect::CommandId id) override; [all …]
|
D | EffectHalAidl.h | 31 namespace effect { 61 const std::shared_ptr<::aidl::android::hardware::audio::effect::IEffect> getIEffect() const { in getIEffect() 71 const std::shared_ptr<::aidl::android::hardware::audio::effect::IFactory> mFactory; 72 const std::shared_ptr<::aidl::android::hardware::audio::effect::IEffect> mEffect; 83 std::shared_ptr<::aidl::android::hardware::audio::effect::IEffect> effect, 85 const ::aidl::android::hardware::audio::effect::Descriptor& desc); 88 const std::shared_ptr<::aidl::android::hardware::audio::effect::IFactory>& factory, 89 const std::shared_ptr<::aidl::android::hardware::audio::effect::IEffect>& effect, 91 const ::aidl::android::hardware::audio::effect::Descriptor& desc,
|
D | EffectProxy.cpp | 30 using ::aidl::android::hardware::audio::effect::Capability; 31 using ::aidl::android::hardware::audio::effect::CommandId; 32 using ::aidl::android::hardware::audio::effect::Descriptor; 33 using ::aidl::android::hardware::audio::effect::Flags; 34 using ::aidl::android::hardware::audio::effect::IEffect; 35 using ::aidl::android::hardware::audio::effect::IFactory; 36 using ::aidl::android::hardware::audio::effect::Parameter; 37 using ::aidl::android::hardware::audio::effect::State; 40 namespace android::effect { namespace 73 return runWithAllSubEffects([&](std::shared_ptr<IEffect>& effect) { in destroy() argument [all …]
|
/frameworks/av/media/audioaidlconversion/include/media/ |
D | AidlConversionEffect.h | 51 aidl::android::hardware::audio::effect::Parameter::Specific::_tag, \ 55 UNION_MAKE(aidl::android::hardware::audio::effect::Parameter, specific, \ 56 UNION_MAKE(aidl::android::hardware::audio::effect::Parameter::Specific, _tag, \ 60 UNION_MAKE(aidl::android::hardware::audio::effect::Parameter::Id, _tag, \ 64 UNION_MAKE(aidl::android::hardware::audio::effect::Parameter::Id, _tag, \ 69 aidl::android::hardware::audio::effect::VendorExtension _extId = VALUE_OR_RETURN_STATUS( \ 71 aidl::android::hardware::audio::effect::Parameter::Id _id = \ 73 aidl::android::hardware::audio::effect::Parameter _aidlParam; \ 75 aidl::android::hardware::audio::effect::VendorExtension _ext = \ 83 ::aidl::android::hardware::audio::effect::Flags::Type type); [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 164 AudioEffect effect = new AudioEffect(desc[0].type, in test1_0ConstructorFromType() local 168 assertNotNull(msg + ": could not create AudioEffect", effect); in test1_0ConstructorFromType() 170 assertTrue(msg +": invalid effect ID", (effect.getId() != 0)); in test1_0ConstructorFromType() 175 effect.release(); in test1_0ConstructorFromType() 206 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_NULL, in test1_1ConstructorFromUuid() local 210 assertNotNull(msg + ": could not create AudioEffect", effect); in test1_1ConstructorFromUuid() 211 effect.release(); in test1_1ConstructorFromUuid() 232 AudioEffect effect = new AudioEffect(UUID.randomUUID(), in test1_2ConstructorUnknownType() local 237 if (effect != null) { in test1_2ConstructorUnknownType() 238 effect.release(); in test1_2ConstructorUnknownType() [all …]
|
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/ |
D | VibrationEffectXmlSerializationTest.java | 73 VibrationEffect effect = VibrationEffect.startComposition() in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag() local 91 assertParseElementSucceeds(parser, effect); in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag() 100 assertParseElementSucceeds(parser, effect); in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag() 105 assertParseElementSucceeds(parser, effect); in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag() 110 assertParseElementSucceeds(parser, effect); in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag() 233 VibrationEffect effect = VibrationEffect.startComposition() in testPrimitives_allSucceed() local 246 assertPublicApisParserSucceeds(xml, effect); in testPrimitives_allSucceed() 247 assertPublicApisSerializerSucceeds(effect, "click", "tick", "low_tick", "spin"); in testPrimitives_allSucceed() 248 assertPublicApisRoundTrip(effect); in testPrimitives_allSucceed() 250 assertHiddenApisParseVibrationEffectSucceeds(xml, effect); in testPrimitives_allSucceed() [all …]
|
/frameworks/av/services/audioflinger/ |
D | DeviceEffectManager.cpp | 48 const sp<EffectHalInterface>& effect) { in addEffectToHal() argument 49 return mAfDeviceEffectManagerCallback->addEffectToHal(device, effect); in addEffectToHal() 53 const sp<EffectHalInterface>& effect) { in removeEffectFromHal() argument 54 return mAfDeviceEffectManagerCallback->removeEffectFromHal(device, effect); in removeEffectFromHal() 64 for (auto& effect : effectProxies.second) { in onCreateAudioPatch() local 65 const status_t status = effect->onCreatePatch(handle, patch); in onCreateAudioPatch() 76 for (auto& effect : effectProxies.second) { in onReleaseAudioPatch() local 77 effect->onReleasePatch(handle); in onReleaseAudioPatch() 89 for (auto& effect : effectProxies.second) { in onUpdateAudioPatch() local 90 const status_t status = effect->onUpdatePatch(oldHandle, newHandle, patch); in onUpdateAudioPatch() [all …]
|
D | DeviceEffectManager.h | 31 const struct audio_port_config* device, const sp<EffectHalInterface>& effect) 34 const struct audio_port_config* device, const sp<EffectHalInterface>& effect) 58 size_t removeEffect(const sp<IAfDeviceEffectProxy>& effect); 61 sp<EffectHalInterface> *effect); 63 const sp<EffectHalInterface>& effect); 65 const sp<EffectHalInterface>& effect); 101 int32_t sessionId, int32_t deviceId, sp<EffectHalInterface> *effect) final { in createEffectHal() argument 102 return mManager.createEffectHal(pEffectUuid, sessionId, deviceId, effect); in createEffectHal() 106 bool updateOrphanEffectChains(const sp<IAfEffectBase>& effect __unused) final { in updateOrphanEffectChains() 140 void checkSuspendOnEffectEnabled(const sp<IAfEffectBase>& effect __unused, in checkSuspendOnEffectEnabled() [all …]
|
/frameworks/base/core/tests/vibrator/src/android/os/ |
D | VibrationEffectTest.java | 77 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnEvenIndices() local 83 assertArrayEq(expectedPattern, effect.computeCreateWaveformOffOnTimingsOrNull()); in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnEvenIndices() 88 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnOddIndices() local 95 assertArrayEq(expectedPattern, effect.computeCreateWaveformOffOnTimingsOrNull()); in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnOddIndices() 100 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheStart() local 106 assertArrayEq(expectedPattern, effect.computeCreateWaveformOffOnTimingsOrNull()); in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheStart() 111 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheEnd() local 117 assertArrayEq(expectedPattern, effect.computeCreateWaveformOffOnTimingsOrNull()); in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheEnd() 122 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allDefaultAmplitudes() local 129 assertArrayEq(expectedPattern, effect.computeCreateWaveformOffOnTimingsOrNull()); in computeLegacyPattern_timingsAndAmplitudes_allDefaultAmplitudes() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | EffectDescriptor.cpp | 190 sp<EffectDescriptor> effect = valueAt(i); in moveEffects() local 191 if (effect->mSession == sessionId && effect->mIo == srcIo) { in moveEffects() 192 effect->mIo = dstIo; in moveEffects() 194 effect->mIsOrphan = (dstIo == AUDIO_IO_HANDLE_NONE); in moveEffects() 205 sp<EffectDescriptor> effect = valueAt(i); in moveEffects() local 206 if (std::find(begin(ids), end(ids), effect->mId) != end(ids)) { in moveEffects() 207 effect->mIo = dstIo; in moveEffects() 208 effect->mIsOrphan = (dstIo == AUDIO_IO_HANDLE_NONE); in moveEffects() 216 sp<EffectDescriptor> effect = valueAt(i); in hasOrphansForSession() local 217 if (effect->mSession == sessionId && effect->mIsOrphan) { in hasOrphansForSession() [all …]
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionDynamicsProcessing.h | 23 namespace effect { 27 AidlConversionDp(std::shared_ptr<::aidl::android::hardware::audio::effect::IEffect> effect, in AidlConversionDp() argument 29 const ::aidl::android::hardware::audio::effect::Descriptor& desc, in AidlConversionDp() 31 : EffectConversionHelperAidl(effect, sessionId, ioId, desc, isProxyEffect) {} in AidlConversionDp() 35 aidl::android::hardware::audio::effect::DynamicsProcessing::EngineArchitecture mEngine; 41 aidl::android::hardware::audio::effect::DynamicsProcessing::ChannelConfig> 43 ConversionResult<aidl::android::hardware::audio::effect::DynamicsProcessing::EqBandConfig> 46 aidl::android::hardware::audio::effect::DynamicsProcessing::MbcBandConfig> 49 aidl::android::hardware::audio::effect::DynamicsProcessing::LimiterConfig> 52 aidl::android::hardware::audio::effect::DynamicsProcessing::EngineArchitecture> [all …]
|
D | AidlConversionEq.h | 23 namespace effect { 27 AidlConversionEq(std::shared_ptr<::aidl::android::hardware::audio::effect::IEffect> effect, in AidlConversionEq() argument 29 const ::aidl::android::hardware::audio::effect::Descriptor& desc, in AidlConversionEq() 31 : EffectConversionHelperAidl(effect, sessionId, ioId, desc, isProxyEffect) {} in AidlConversionEq() 37 ConversionResult<::aidl::android::hardware::audio::effect::Parameter> getAidlParameter( 38 ::aidl::android::hardware::audio::effect::Equalizer::Tag tag);
|
/frameworks/base/libs/hwui/jni/ |
D | PathEffect.cpp | 12 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); in destructor() local 13 SkSafeUnref(effect); in destructor() 20 SkPathEffect* effect = SkPathEffect::MakeCompose(sk_ref_sp(outer), in Compose_constructor() local 22 return reinterpret_cast<jlong>(effect); in Compose_constructor() 29 SkPathEffect* effect = SkPathEffect::MakeSum(sk_ref_sp(first), in Sum_constructor() local 31 return reinterpret_cast<jlong>(effect); in Sum_constructor() 39 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); in Dash_constructor() local 40 return reinterpret_cast<jlong>(effect); in Dash_constructor() 47 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor() local 49 return reinterpret_cast<jlong>(effect); in OneD_constructor() [all …]
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | DeviceAdapterTest.java | 92 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() local 101 assertThat(mAdapter.adaptToVibrator(EMPTY_VIBRATOR_ID, effect)).isEqualTo(effect); in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() 102 assertThat(mAdapter.adaptToVibrator(PWLE_VIBRATOR_ID, effect)).isEqualTo(effect); in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() 107 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() local 118 (VibrationEffect.Composed) mAdapter.adaptToVibrator(EMPTY_VIBRATOR_ID, effect); in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() 119 assertThat(adaptedEffect.getSegments().size()).isGreaterThan(effect.getSegments().size()); in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() 120 assertThat(adaptedEffect.getRepeatIndex()).isAtLeast(effect.getRepeatIndex()); in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() 129 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps() local 146 assertThat(mAdapter.adaptToVibrator(PWLE_VIBRATOR_ID, effect)).isEqualTo(expected); in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps() 151 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsAmplitudesWithResonantFreq() local [all …]
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandCompose.cpp | 59 CompositeEffect effect; in doArgs() local 60 if (auto delay = args.pop<decltype(effect.delayMs)>()) { in doArgs() 61 effect.delayMs = *delay; in doArgs() 62 std::cout << "Delay: " << effect.delayMs << std::endl; in doArgs() 67 if (auto primitive = args.pop<decltype(effect.primitive)>()) { in doArgs() 68 effect.primitive = *primitive; in doArgs() 69 std::cout << "Primitive: " << toString(effect.primitive) << std::endl; in doArgs() 74 if (auto scale = args.pop<decltype(effect.scale)>(); in doArgs() 76 effect.scale = *scale; in doArgs() 77 std::cout << "Scale: " << effect.scale << std::endl; in doArgs() [all …]
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | StartSequentialEffectStep.java | 59 CombinedVibration.Sequential effect) { in StartSequentialEffectStep() argument 60 this(conductor, SystemClock.uptimeMillis() + effect.getDelays().get(0), effect, in StartSequentialEffectStep() 66 CombinedVibration.Sequential effect, int index) { in StartSequentialEffectStep() argument 68 sequentialEffect = effect; in StartSequentialEffectStep() 87 CombinedVibration effect = sequentialEffect.getEffects().get(currentIndex); in play() local 88 DeviceEffectMap effectMapping = createEffectToVibratorMapping(effect); in play() 142 CombinedVibration effect) { in createEffectToVibratorMapping() argument 143 if (effect instanceof CombinedVibration.Mono) { in createEffectToVibratorMapping() 144 return new DeviceEffectMap((CombinedVibration.Mono) effect); in createEffectToVibratorMapping() 146 if (effect instanceof CombinedVibration.Stereo) { in createEffectToVibratorMapping() [all …]
|
/frameworks/base/core/java/android/content/integrity/ |
D | Rule.java | 66 public Rule(@NonNull IntegrityFormula formula, @Effect int effect) { in Rule() argument 67 checkArgument(isValidEffect(effect), "Unknown effect: %d", effect); in Rule() local 69 this.mEffect = effect; in Rule() 133 private static String effectToString(int effect) { in effectToString() argument 134 switch (effect) { in effectToString() 140 throw new IllegalArgumentException("Unknown effect " + effect); in effectToString() 144 private static boolean isValidEffect(int effect) { in isValidEffect() argument 145 return effect == DENY || effect == FORCE_ALLOW; in isValidEffect()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | VibratorHelper.java | 127 VibrationEffect effect = waveformBuilder.build(); in createPwleWaveformVibration() local 130 .repeatEffectIndefinitely(effect) in createPwleWaveformVibration() 133 return effect; in createPwleWaveformVibration() 145 public VibrationEffect scale(VibrationEffect effect, float scale) { in scale() argument 146 return effect.resolve(mDefaultVibrationAmplitude).scale(scale); in scale() 154 public void vibrate(VibrationEffect effect, AudioAttributes attrs, String reason) { in vibrate() argument 156 effect, reason, new VibrationAttributes.Builder(attrs).build()); in vibrate() 173 VibrationEffect effect = createPwleWaveformVibration(mFallbackPwlePattern, insistent); in createFallbackVibration() local 174 if (effect != null) { in createFallbackVibration() 175 return effect; in createFallbackVibration() [all …]
|
/frameworks/base/core/java/android/os/vibrator/persistence/ |
D | VibrationXmlSerializer.java | 95 public static void serialize(@NonNull VibrationEffect effect, @NonNull Writer writer) in serialize() argument 97 serialize(effect, writer, /* flags= */ 0); in serialize() 108 public static void serialize(@NonNull VibrationEffect effect, @NonNull Writer writer, in serialize() argument 112 toSerializedVibration(effect, flags); in serialize() 122 VibrationEffect effect, @Flags int flags) throws SerializationFailedException { in toSerializedVibration() argument 130 serializedVibration = VibrationEffectXmlSerializer.serialize(effect, serializerFlags); in toSerializedVibration() 131 XmlValidator.checkSerializedVibration(serializedVibration, effect); in toSerializedVibration() 134 throw new SerializationFailedException(effect, e); in toSerializedVibration() 151 SerializationFailedException(VibrationEffect effect, Throwable cause) { in SerializationFailedException() argument 152 super("Serialization failed for vibration effect " + effect, cause); in SerializationFailedException()
|
/frameworks/av/media/libeffects/spatializer/tests/ |
D | SpatializerTest.cpp | 106 EffectTestHelper effect(mUuid, mInputChMask, mOutputChMask, mSampleRate, mFrameCount, in TEST_P() local 108 ASSERT_NO_FATAL_FAILURE(effect.createEffect()); in TEST_P() 109 ASSERT_NO_FATAL_FAILURE(effect.setConfig()); in TEST_P() 119 ASSERT_NO_FATAL_FAILURE(effect.process(input.data(), output.data())); in TEST_P() 120 ASSERT_NO_FATAL_FAILURE(effect.releaseEffect()); in TEST_P() 206 EffectTestHelper effect(&kSpatializerEffectUuids[0], kSpatializerChMasks[0], in TEST() local 209 ASSERT_NO_FATAL_FAILURE(effect.createEffect()); in TEST() 213 int status = effect.getParam<true>(SPATIALIZER_PARAM_SUPPORTED_CHANNEL_MASKS, channelMasks); in TEST() 222 status = effect.getParam<true>(SPATIALIZER_PARAM_SUPPORTED_LEVELS, spatializationLevels); in TEST() 231 status = effect.getParam<true>(SPATIALIZER_PARAM_SUPPORTED_SPATIALIZATION_MODES, in TEST() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioEffect.h | 651 explicit EffectClient(const sp<AudioEffect>& effect) : mEffect(effect){} in EffectClient() argument 655 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() local 656 if (effect != 0) { in controlStatusChanged() 657 effect->controlStatusChanged(controlGranted); in controlStatusChanged() 662 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() local 663 if (effect != 0) { in enableStatusChanged() 664 effect->enableStatusChanged(enabled); in enableStatusChanged() 671 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() local 672 if (effect != 0) { in commandExecuted() 673 effect->commandExecuted(cmdCode, cmdData, replyData); in commandExecuted() [all …]
|
/frameworks/av/media/libaudiohal/tests/ |
D | EffectHalVersionCompatibility_test.cpp | 36 using aidl::android::hardware::audio::effect::CommandId; 37 using aidl::android::hardware::audio::effect::Descriptor; 38 using aidl::android::hardware::audio::effect::IEffect; 39 using aidl::android::hardware::audio::effect::IFactory; 40 using aidl::android::hardware::audio::effect::kReopenSupportedVersion; 41 using aidl::android::hardware::audio::effect::Parameter; 42 using aidl::android::hardware::audio::effect::Processing; 43 using aidl::android::hardware::audio::effect::State; 47 using android::effect::EffectHalAidl; 253 ::aidl::android::hardware::audio::effect::getEffectTypeUuidAcousticEchoCanceler(), [all …]
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | VibrationEffectXmlSerializer.java | 77 VibrationEffect.Composed effect, @XmlConstants.Flags int flags) in serializePredefinedEffect() argument 79 List<VibrationEffectSegment> segments = effect.getSegments(); in serializePredefinedEffect() 80 XmlValidator.checkSerializerCondition(effect.getRepeatIndex() == -1, in serializePredefinedEffect() 81 "Unsupported repeating predefined effect %s", effect); in serializePredefinedEffect() local 83 "Unsupported multiple segments in predefined effect %s", effect); in serializePredefinedEffect() local 88 VibrationEffect.Composed effect) throws XmlSerializerException { in serializePrimitiveEffect() argument 89 List<VibrationEffectSegment> segments = effect.getSegments(); in serializePrimitiveEffect() 90 XmlValidator.checkSerializerCondition(effect.getRepeatIndex() == -1, in serializePrimitiveEffect() 91 "Unsupported repeating primitive composition %s", effect); in serializePrimitiveEffect() local 102 VibrationEffect.Composed effect) throws XmlSerializerException { in serializeWaveformEffect() argument [all …]
|