Home
last modified time | relevance | path

Searched refs:Closure (Results 1 – 8 of 8) sorted by relevance

/hardware/google/aemu/base/include/aemu/base/async/
DThreadLooper.h44 using Closure = std::function<void()>; variable
45 static void runOnMainLooper(Closure&& func);
51 static void runOnMainLooperAndWaitForCompletion(Closure&& func);
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsScriptTests.cpp458 Closure closure1 = context->invokeClosureCreate(invokeID, params, fieldIDS1, values1, sizes1); in TEST_P()
459 ASSERT_NE(Closure(0), closure1); in TEST_P()
468 hidl_vec<Closure> depClosures2 = {closure1}; in TEST_P()
470 Closure closure2 = context->closureCreate(kernelID, allocation /* returnValue */, fieldIDS2, in TEST_P()
472 ASSERT_NE(Closure(0), closure2); in TEST_P()
481 hidl_vec<Closure> closures = {closure1, closure2}; in TEST_P()
529 hidl_vec<Closure> depClosures = {Closure(0)}; in TEST_P()
531 Closure closure = context->closureCreate(kernelID, allocation /* returnValue */, fieldIDS, in TEST_P()
533 ASSERT_NE(Closure(0), closure); in TEST_P()
541 hidl_vec<Closure> closures = {closure}; in TEST_P()
DVtsHalRenderscriptV1_0TargetTest.h35 using ::android::hardware::renderscript::V1_0::Closure;
/hardware/interfaces/renderscript/1.0/default/
DContext.h102Closure> closureCreate(ScriptKernelID kernelID, Allocation returnValue, const hidl_vec<ScriptField…
103 …Return<Closure> invokeClosureCreate(ScriptInvokeID invokeID, const hidl_vec<uint8_t>& params, cons…
104 Return<void> closureSetArg(Closure closure, uint32_t index, Ptr value, int32_t size) override;
105 …Return<void> closureSetGlobal(Closure closure, ScriptFieldID fieldID, int64_t value, int32_t size)…
110 …ate(const hidl_string& name, const hidl_string& cacheDir, const hidl_vec<Closure>& closures) overr…
DContext.cpp510Closure> Context::closureCreate(ScriptKernelID kernelID, Allocation returnValue, const hidl_vec<Sc… in closureCreate()
517 …std::vector<RsClosure> _depClosures = hidl_to_rs<RsClosure>(depClosures, [](Closure va… in closureCreate()
520 return rs_to_hidl<Closure>(_closure); in closureCreate()
523 Return<Closure> Context::invokeClosureCreate(ScriptInvokeID invokeID, const hidl_vec<uint8_t>& para… in invokeClosureCreate()
532 return rs_to_hidl<Closure>(_closure); in invokeClosureCreate()
535 Return<void> Context::closureSetArg(Closure closure, uint32_t index, Ptr value, int32_t size) { in closureSetArg()
544 Return<void> Context::closureSetGlobal(Closure closure, ScriptFieldID fieldID, int64_t value, int32… in closureSetGlobal()
585 …p2Create(const hidl_string& name, const hidl_string& cacheDir, const hidl_vec<Closure>& closures) { in scriptGroup2Create()
588 …std::vector<RsClosure> _closures = hidl_to_rs<RsClosure>(closures, [](Closure val) { return hidl_t… in scriptGroup2Create()
/hardware/interfaces/renderscript/1.0/
DIContext.hal794 * Creates a Closure which represents a function call to a ForEach Kernel
798 * @param returnValue Allocation used in output of Closure
804 * @return closure Created Closure
809 vec<int32_t> sizes, vec<Closure> depClosures,
811 generates (Closure closure);
814 * Creates a Closure which represents a function call to a invocable
822 * @return closure Created Closure
828 generates (Closure closure);
831 * Sets the argument of a Closure at specified index and size to provided
834 * @param closure Closure to be modified
[all …]
Dtypes.hal40 typedef OpaqueHandle Closure;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
Dmemorymodel.adoc161 * (Transitive Closure): If dynamic instance A of any instruction is