/frameworks/base/core/java/android/content/integrity/ |
D | Rule.java | 64 private final @Effect int mEffect; field in Rule 69 this.mEffect = effect; in Rule() 74 mEffect = in.readInt(); in Rule() 99 dest.writeInt(mEffect); in writeToParcel() 108 return mEffect; in getEffect() 113 return String.format("Rule: %s, %s", mFormula, effectToString(mEffect)); in toString() 125 return mEffect == that.mEffect && Objects.equals(mFormula, that.mFormula); in equals() 130 return Objects.hash(mFormula, mEffect); in hashCode()
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectHalHidl.cpp | 51 mEffect(effect), mEffectId(effectId), mBuffersChanged(true), mEfGroup(nullptr) { in EffectHalHidl() 71 if (mEffect != 0) { in ~EffectHalHidl() 73 mEffect.clear(); in ~EffectHalHidl() 124 Return<void> ret = mEffect->prepareForProcessing( in prepareForProcessing() 158 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl() 190 Return<Result> ret = mEffect->setProcessBuffers( in setProcessBuffers() 204 if (mEffect == 0) return NO_INIT; in command() 221 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command() 237 if (mEffect == 0) return NO_INIT; in getDescriptor() 239 Return<void> ret = mEffect->getDescriptor( in getDescriptor() [all …]
|
D | EffectConversionHelperAidl.cpp | 84 mEffect(std::move(effect)), in EffectConversionHelperAidl() 185 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getState(&state))); in handleSetConfig() 192 statusTFromBinderStatus(mEffect->open(common, std::nullopt, &openReturn))); in handleSetConfig() 198 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); in handleSetConfig() 208 mStatusQ = std::static_pointer_cast<EffectProxy>(mEffect)->getStatusMQ(); in updateMqsAndEventFlags() 218 mInputQ = std::static_pointer_cast<EffectProxy>(mEffect)->getInputMQ(); in updateDataMqs() 219 mOutputQ = std::static_pointer_cast<EffectProxy>(mEffect)->getOutputMQ(); in updateDataMqs() 236 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter( in handleGetConfig() 262 return *(int *)pReplyData = statusTFromBinderStatus(mEffect->command(CommandId::RESET)); in handleReset() 274 return *(int *)pReplyData = statusTFromBinderStatus(mEffect->command(CommandId::START)); in handleEnable() [all …]
|
D | EffectHalAidl.cpp | 75 mEffect(effect), in EffectHalAidl() 80 assert(mEffect != nullptr); in EffectHalAidl() 85 if (mEffect) { in ~EffectHalAidl() 87 std::static_pointer_cast<EffectProxy>(mEffect)->destroy(); in ~EffectHalAidl() 89 mFactory->destroyEffect(mEffect); in ~EffectHalAidl() 179 if (mConversion->isBypassing() || !mEffect->getState(&state).isOk() || in process() 328 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getDescriptor(&aidlDesc))); in getDescriptor() 337 mEffect->command(CommandId::STOP); in close() 338 return statusTFromBinderStatus(mEffect->close()); in close() 343 return mEffect->dump(fd, nullptr, 0); in dump()
|
D | EffectHalAidl.h | 62 return mEffect; in getIEffect() 72 const std::shared_ptr<::aidl::android::hardware::audio::effect::IEffect> mEffect; variable
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandAlwaysOnEnable.cpp | 53 if (auto effect = args.pop<decltype(mEffect)>()) { in doArgs() 54 mEffect = *effect; in doArgs() 55 std::cout << "Effect: " << toString(mEffect) << std::endl; in doArgs() 79 auto status = hal->call(&aidl::IVibrator::alwaysOnEnable, mId, mEffect, mStrength); in doMain() 93 Effect mEffect; member in android::idlcli::vibrator::CommandAlwaysOnEnable
|
D | CommandPerform.cpp | 88 if (auto effect = args.pop<decltype(mEffect)>()) { in doArgs() 89 mEffect = *effect; in doArgs() 90 std::cout << "Effect: " << toString(mEffect) << std::endl; in doArgs() 127 auto status = hal->call(&aidl::IVibrator::perform, mEffect, mStrength, callback, in doMain() 143 hal->call(&V1_3::IVibrator::perform_1_3, static_cast<V1_3::Effect>(mEffect), in doMain() 147 hal->call(&V1_2::IVibrator::perform_1_2, static_cast<V1_2::Effect>(mEffect), in doMain() 151 static_cast<V1_1::Effect_1_1>(mEffect), in doMain() 154 hidlRet = hal->call(&V1_0::IVibrator::perform, static_cast<V1_0::Effect>(mEffect), in doMain() 179 Effect mEffect; member in android::idlcli::vibrator::CommandPerform
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionAgc1.cpp | 49 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameterLevel() 57 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameterGain() 65 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameterLimiterEnable() 96 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 105 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameterLevel() 116 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameterGain() 127 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameterLimiterEnable()
|
D | AidlConversionVisualizer.cpp | 83 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 99 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 108 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 119 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 127 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 150 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in visualizerCapture() 168 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in visualizerMeasure()
|
D | AidlConversionAgc2.cpp | 78 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 94 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 103 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 112 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionAec.cpp | 73 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); in setParameter() 78 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 98 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 108 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionSpatializer.cpp | 64 mEffect->getParameter(id, &aidlParam).getStatus() != in isSpatializerParameterSupported() 139 if (status_t status = statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 147 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 163 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 202 statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 228 statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 239 statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 302 statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 310 statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 345 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionNoiseSuppression.cpp | 71 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 87 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 97 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionVirtualizer.cpp | 85 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 107 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 128 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 148 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionVendorExtension.cpp | 56 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 64 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionDownmix.cpp | 68 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 83 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionLoudnessEnhancer.cpp | 66 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 82 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionPresetReverb.cpp | 68 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 84 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionBassBoost.cpp | 75 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 92 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter()
|
D | AidlConversionEnvReverb.cpp | 67 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); \ 86 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); \ 174 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->setParameter(aidlParam))); in setParameter()
|
D | AidlConversionDynamicsProcessing.cpp | 129 return statusTFromBinderStatus(mEffect->setParameter(aidlParam)); in setParameter() 142 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 160 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getParameter() 316 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getChannelConfig() 371 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getEqBandConfig() 406 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getMbcBandConfig() 440 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mEffect->getParameter(id, &aidlParam))); in getLimiterConfig()
|
/frameworks/base/core/java/android/os/ |
D | CombinedVibration.java | 360 private final VibrationEffect mEffect; field in CombinedVibration.Mono 363 mEffect = VibrationEffect.CREATOR.createFromParcel(in); in Mono() 367 mEffect = effect; in Mono() 372 return mEffect; in getEffect() 377 return mEffect.getDuration(); in getDuration() 383 return mEffect.isHapticFeedbackCandidate(); in isHapticFeedbackCandidate() 389 mEffect.validate(); in validate() 396 VibrationEffect newEffect = transformation.transform(mEffect, param); in transform() 397 if (mEffect.equals(newEffect)) { in transform() 410 VibrationEffect newEffect = adapter.adaptToVibrator(vibratorId, mEffect); in adapt() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioEffect.h | 651 explicit EffectClient(const sp<AudioEffect>& effect) : mEffect(effect){} in EffectClient() 655 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() 662 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() 671 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() 678 sp<AudioEffect> effect = mEffect.promote(); in framesProcessed() 688 sp<AudioEffect> effect = mEffect.promote(); in binderDied() 695 wp<AudioEffect> mEffect;
|
/frameworks/base/services/core/java/com/android/server/integrity/model/ |
D | IntegrityCheckResult.java | 41 private final Effect mEffect; field in IntegrityCheckResult 45 this.mEffect = effect; in IntegrityCheckResult() 50 return mEffect; in getEffect()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 48 private AudioEffect mEffect = null; field in MediaAudioEffectTest 1151 mEffect = null; in test5_2ControlStatusListener() 1200 mEffect = null; in test5_3EnableStatusListener() 1212 mEffect.setEnabled(true); in test5_3EnableStatusListener() 1252 mEffect = null; in test5_4ParameterChangedListener() 1425 mEffect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in createListenerLooper() 1429 assertNotNull("could not create AudioEffect", mEffect); in createListenerLooper() 1432 … mEffect.setControlStatusListener(new AudioEffect.OnControlStatusChangeListener() { in createListenerLooper() 1435 if (effect == mEffect) { in createListenerLooper() 1444 mEffect.setEnableStatusListener(new AudioEffect.OnEnableStatusChangeListener() { in createListenerLooper() [all …]
|