Lines Matching refs:Result
48 Result retval = Result::NOT_INITIALIZED; in queryAllDescriptors()
50 [&](Result r, const hidl_vec<EffectDescriptor>& result) { in queryAllDescriptors()
52 if (retval == Result::OK) { in queryAllDescriptors()
57 return retval == Result::OK ? OK : NO_INIT; in queryAllDescriptors()
91 Result retval = Result::NOT_INITIALIZED; in getDescriptor()
93 [&](Result r, const EffectDescriptor& result) { in getDescriptor()
95 if (retval == Result::OK) { in getDescriptor()
100 if (retval == Result::OK) return OK; in getDescriptor()
101 else if (retval == Result::INVALID_ARGUMENTS) return NAME_NOT_FOUND; in getDescriptor()
113 Result retval = Result::NOT_INITIALIZED; in createEffect()
116 [&](Result r, const sp<IEffect>& result, uint64_t effectId) { in createEffect()
118 if (retval == Result::OK) { in createEffect()
123 if (retval == Result::OK) return OK; in createEffect()
124 else if (retval == Result::INVALID_ARGUMENTS) return NAME_NOT_FOUND; in createEffect()