Lines Matching refs:ndk

49                   ndk::ScopedAStatus status = ndk::ScopedAStatus::ok();  in EffectProxy()
70 ndk::ScopedAStatus EffectProxy::destroy() { in destroy()
74 ndk::ScopedAStatus status = mFactory->destroyEffect(effect); in destroy()
82 ndk::ScopedAStatus EffectProxy::setOffloadParam(const effect_offload_param_t* offload) { in setOffloadParam()
90 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_NULL_POINTER, in setOffloadParam()
105 ndk::ScopedAStatus EffectProxy::open(const Parameter::Common& common, in open()
108 ndk::ScopedAStatus status = in open()
109 ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, "nullEffectHandle"); in open()
132 ndk::ScopedAStatus EffectProxy::reopen(OpenEffectReturn* ret __unused) { in reopen()
133 ndk::ScopedAStatus status = in reopen()
134 ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_STATE, "nullEffectHandle"); in reopen()
157 ndk::ScopedAStatus EffectProxy::close() { in close()
164 ndk::ScopedAStatus EffectProxy::getDescriptor(Descriptor* desc) { in getDescriptor()
167 return ndk::ScopedAStatus::ok(); in getDescriptor()
170 ndk::ScopedAStatus EffectProxy::buildDescriptor(const AudioUuid& uuid, in buildDescriptor()
175 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_NULL_POINTER, "nullptr"); in buildDescriptor()
180 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_ILLEGAL_ARGUMENT, in buildDescriptor()
185 return ndk::ScopedAStatus::ok(); in buildDescriptor()
220 ndk::ScopedAStatus EffectProxy::command(CommandId id) { in command()
222 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in command()
228 ndk::ScopedAStatus EffectProxy::getState(State* state) { in getState()
230 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in getState()
236 ndk::ScopedAStatus EffectProxy::setParameter(const Parameter& param) { in setParameter()
238 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in setParameter()
244 ndk::ScopedAStatus EffectProxy::getParameter(const Parameter::Id& id, Parameter* param) { in getParameter()
246 [&](const std::shared_ptr<IEffect>& effect) -> ndk::ScopedAStatus { in getParameter()
251 ndk::ScopedAStatus EffectProxy::runWithActiveSubEffectThenOthers( in runWithActiveSubEffectThenOthers()
252 std::function<ndk::ScopedAStatus(const std::shared_ptr<IEffect>&)> const& func) { in runWithActiveSubEffectThenOthers()
253 ndk::ScopedAStatus status = runWithActiveSubEffect(func); in runWithActiveSubEffectThenOthers()
273 ndk::ScopedAStatus EffectProxy::runWithActiveSubEffect( in runWithActiveSubEffect()
274 std::function<ndk::ScopedAStatus(const std::shared_ptr<IEffect>&)> const& func) { in runWithActiveSubEffect()
278 return ndk::ScopedAStatus::fromExceptionCodeWithMessage(EX_NULL_POINTER, in runWithActiveSubEffect()
284 ndk::ScopedAStatus EffectProxy::runWithAllSubEffects( in runWithAllSubEffects()
285 std::function<ndk::ScopedAStatus(std::shared_ptr<IEffect>&)> const& func) { in runWithAllSubEffects()
286 ndk::ScopedAStatus status = ndk::ScopedAStatus::ok(); in runWithAllSubEffects()
293 ndk::ScopedAStatus temp = func(sub.handle); in runWithAllSubEffects()
295 status = ndk::ScopedAStatus::fromStatus(temp.getStatus()); in runWithAllSubEffects()
315 return ndk::ScopedAStatus::fromStatus(effect->dump(fd, args, numArgs)); in dump()