Home
last modified time | relevance | path

Searched refs:closeHandle (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanBusV1_0TargetTest.cpp106 sp<ICloseHandle> closeHandle; in listen() local
107 mCanBus->listen(filter, listener, hidl_utils::fill(&halResult, &closeHandle)).assertOk(); in listen()
109 return {halResult, closeHandle}; in listen()
153 const auto [result, closeHandle] = listen({}, new CanMessageListener()); in TEST_P()
156 closeHandle->close().assertOk(); in TEST_P()
166 const auto [result, closeHandle] = listen(filters, new CanMessageListener()); in TEST_P()
169 closeHandle->close().assertOk(); in TEST_P()
173 const auto [result, closeHandle] = listen({}, nullptr); in TEST_P()
178 const auto [result, closeHandle] = listen({}, new CanMessageListener()); in TEST_P()
181 closeHandle->close().assertOk(); in TEST_P()
[all …]
DVtsHalCanBusVirtualV1_0TargetTest.cpp57 void assignCloseHandle(sp<ICloseHandle> closeHandle) { in assignCloseHandle()
58 EXPECT_TRUE(closeHandle); in assignCloseHandle()
60 mCloseHandle = closeHandle; in assignCloseHandle()
114 sp<ICloseHandle> closeHandle; in listen() local
115 mBus->listen(filter, listener, hidl_utils::fill(&result, &closeHandle)).assertOk(); in listen()
117 listener->assignCloseHandle(closeHandle); in listen()
/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/
DAutomotiveCanV1_0Fuzzer.h46 void assignCloseHandle(sp<ICloseHandle> closeHandle) { mCloseHandle = closeHandle; } in assignCloseHandle()
87 sp<ICloseHandle> closeHandle; in listen() local
88 mBus->listen(filter, listener, hidl_utils::fill(&result, &closeHandle)).assertOk(); in listen()
89 listener->assignCloseHandle(closeHandle); in listen()
/hardware/google/gfxstream/guest/GoldfishAddressSpace/include/
Dgoldfish_address_space.h44 static void closeHandle(address_space_handle_t handle);
106 …static void closeHandle(address_space_handle_t handle) { GoldfishAddressSpaceBlockProvider::closeH… in closeHandle() function
Dgoldfish_address_space_android.impl157 void GoldfishAddressSpaceBlockProvider::closeHandle(address_space_handle_t handle)
/hardware/interfaces/automotive/audiocontrol/2.0/default/
DAudioControl.cpp44 sp<ICloseHandle> closeHandle(nullptr); in registerFocusListener() local
49 closeHandle = new CloseHandle([this, listener]() { in registerFocusListener()
58 return closeHandle; in registerFocusListener()
/hardware/interfaces/automotive/audiocontrol/2.0/vts/functional/
DVtsHalAudioControlV2_0TargetTest.cpp141 const sp<ICloseHandle>& closeHandle = hidlResult2; in TEST_P() local
142 closeHandle->close(); in TEST_P()
/hardware/interfaces/automotive/can/1.0/default/
DCanBus.cpp70 sp<CloseHandle> closeHandle = new CloseHandle([this, listenerCb]() { in listen() local
74 mMsgListeners.emplace_back(CanMessageListener{listenerCb, filter, closeHandle}); in listen()
81 _hidl_cb(Result::OK, closeHandle); in listen()
155 [](const auto& e) { return e.closeHandle; }); in clearMsgListeners()
DCanBus.h82 wp<ICloseHandle> closeHandle; member
/hardware/interfaces/automotive/audiocontrol/2.0/
DIAudioControl.hal36 * @return closeHandle A handle to unregister observer.
38 registerFocusListener(IFocusListener listener) generates (ICloseHandle closeHandle);
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp951 sp<ICloseHandle> closeHandle = nullptr; in TEST_P() local
954 closeHandle = closeHandle_; in TEST_P()
962 ASSERT_EQ(nullptr, closeHandle.get()); in TEST_P()
968 ASSERT_NE(nullptr, closeHandle.get()); in TEST_P()
970 closeHandle->close(); in TEST_P()
/hardware/interfaces/broadcastradio/2.0/
DIBroadcastRadio.hal119 * @return closeHandle A handle to unregister observer,
127 ICloseHandle closeHandle
/hardware/interfaces/broadcastradio/aidl/vts/src/
DVtsHalBroadcastradioAidlTargetTest.cpp1282 std::shared_ptr<ICloseHandle> closeHandle = nullptr; in TEST_P() local
1285 &closeHandle); in TEST_P()
1288 ASSERT_EQ(closeHandle.get(), nullptr); in TEST_P()
1293 ASSERT_NE(closeHandle.get(), nullptr); in TEST_P()
1295 closeHandle->close(); in TEST_P()