/hardware/interfaces/automotive/can/1.0/vts/functional/ |
D | VtsHalCanBusV1_0TargetTest.cpp | 106 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 …]
|
D | VtsHalCanBusVirtualV1_0TargetTest.cpp | 57 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/ |
D | AutomotiveCanV1_0Fuzzer.h | 46 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/ |
D | goldfish_address_space.h | 44 static void closeHandle(address_space_handle_t handle); 106 …static void closeHandle(address_space_handle_t handle) { GoldfishAddressSpaceBlockProvider::closeH… in closeHandle() function
|
D | goldfish_address_space_android.impl | 157 void GoldfishAddressSpaceBlockProvider::closeHandle(address_space_handle_t handle)
|
/hardware/interfaces/automotive/audiocontrol/2.0/default/ |
D | AudioControl.cpp | 44 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/ |
D | VtsHalAudioControlV2_0TargetTest.cpp | 141 const sp<ICloseHandle>& closeHandle = hidlResult2; in TEST_P() local 142 closeHandle->close(); in TEST_P()
|
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanBus.cpp | 70 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()
|
D | CanBus.h | 82 wp<ICloseHandle> closeHandle; member
|
/hardware/interfaces/automotive/audiocontrol/2.0/ |
D | IAudioControl.hal | 36 * @return closeHandle A handle to unregister observer. 38 registerFocusListener(IFocusListener listener) generates (ICloseHandle closeHandle);
|
/hardware/interfaces/broadcastradio/2.0/vts/functional/ |
D | VtsHalBroadcastradioV2_0TargetTest.cpp | 951 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/ |
D | IBroadcastRadio.hal | 119 * @return closeHandle A handle to unregister observer, 127 ICloseHandle closeHandle
|
/hardware/interfaces/broadcastradio/aidl/vts/src/ |
D | VtsHalBroadcastradioAidlTargetTest.cpp | 1282 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()
|