Home
last modified time | relevance | path

Searched refs:CompletionCallback (Results 1 – 7 of 7) sorted by relevance

/hardware/google/gfxstream/host/
DPostCommands.h35 using CompletionCallback = member
40 std::unique_ptr<CompletionCallback> completionCallback = nullptr;
DPostWorker.cpp137 void PostWorker::post(ColorBuffer* cb, std::unique_ptr<Post::CompletionCallback> postCallback) { in post()
138 auto packagedPostCallback = std::shared_ptr<Post::CompletionCallback>(std::move(postCallback)); in post()
156 std::unique_ptr<Post::CompletionCallback> composeCallback) { in compose()
160 std::shared_ptr<Post::CompletionCallback>(std::move(composeCallback)); in compose()
DPostWorker.h45 void post(ColorBuffer* cb, std::unique_ptr<Post::CompletionCallback> postCallback);
57 std::unique_ptr<Post::CompletionCallback> composeCallback);
DFrameBuffer.h318 …void postWithCallback(HandleType p_colorbuffer, Post::CompletionCallback callback, bool needLockAn…
380 Post::CompletionCallback callback);
698 AsyncResult postImpl(HandleType p_colorbuffer, Post::CompletionCallback callback,
DFrameBuffer.cpp687 std::shared_ptr<Post::CompletionCallback>(std::move(post.completionCallback)); in postWorkerFunc()
688 std::unique_ptr<Post::CompletionCallback> postCallback = in postWorkerFunc()
689 std::make_unique<Post::CompletionCallback>( in postWorkerFunc()
707 std::unique_ptr<Post::CompletionCallback> composeCallback; in postWorkerFunc()
715 std::shared_ptr<Post::CompletionCallback>(std::move(post.completionCallback)); in postWorkerFunc()
716 composeCallback = std::make_unique<Post::CompletionCallback>( in postWorkerFunc()
1719 void FrameBuffer::postWithCallback(HandleType p_colorbuffer, Post::CompletionCallback callback, in postWithCallback()
1757 AsyncResult FrameBuffer::postImpl(HandleType p_colorbuffer, Post::CompletionCallback callback, in postImpl()
1792 postCmd.completionCallback = std::make_unique<Post::CompletionCallback>(callback); in postImpl()
2177 Post::CompletionCallback callback) { in composeWithCallback()
[all …]
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorManagerTargetTest.cpp48 class CompletionCallback : public BnVibratorCallback { class
50 CompletionCallback(const std::function<void()>& callback) : mCallback(callback) {} in CompletionCallback() function in CompletionCallback
180 sp<CompletionCallback> callback = in TEST_P()
181 new CompletionCallback([&completionPromise] { completionPromise.set_value(); }); in TEST_P()
208 sp<CompletionCallback> callback = new CompletionCallback([] {}); in TEST_P()
DVtsHalVibratorTargetTest.cpp79 class CompletionCallback : public BnVibratorCallback { class
81 CompletionCallback(const std::function<void()> &callback) : mCallback(callback) {} in CompletionCallback() function in CompletionCallback
226 sp<CompletionCallback> callback = in TEST_P()
227 new CompletionCallback([&completionPromise] { completionPromise.set_value(); }); in TEST_P()
237 sp<CompletionCallback> callback = new CompletionCallback([] {}); in TEST_P()
281 sp<CompletionCallback> callback = in TEST_P()
282 new CompletionCallback([&completionPromise] { completionPromise.set_value(); }); in TEST_P()
310 sp<CompletionCallback> callback = new CompletionCallback([] {}); in TEST_P()
604 sp<CompletionCallback> callback = in TEST_P()
605 new CompletionCallback([&completionPromise] { completionPromise.set_value(); }); in TEST_P()
[all …]