Home
last modified time | relevance | path

Searched refs:hidl_handle (Results 1 – 11 of 11) sorted by relevance

/system/libhidl/base/
DHidlSupport.cpp38 hidl_handle::hidl_handle() : mHandle(nullptr), mOwnsHandle(false) { in hidl_handle() function in android::hardware::hidl_handle
42 hidl_handle::~hidl_handle() { in ~hidl_handle()
46 hidl_handle::hidl_handle(const native_handle_t* handle) : hidl_handle() { in hidl_handle() function in android::hardware::hidl_handle
52 hidl_handle::hidl_handle(const hidl_handle& other) : hidl_handle() { in hidl_handle() function in android::hardware::hidl_handle
58 hidl_handle::hidl_handle(hidl_handle&& other) noexcept : hidl_handle() { in hidl_handle() function in android::hardware::hidl_handle
64 hidl_handle &hidl_handle::operator=(const hidl_handle &other) { in operator =()
82 hidl_handle &hidl_handle::operator=(const native_handle_t *native_handle) { in operator =()
89 hidl_handle& hidl_handle::operator=(hidl_handle&& other) noexcept { in operator =()
100 void hidl_handle::setTo(native_handle_t* handle, bool shouldOwn) { in setTo()
106 const native_handle_t* hidl_handle::operator->() const { in operator ->()
[all …]
/system/libhidl/transport/
DHidlBinderSupport.cpp53 const size_t hidl_handle::kOffsetOfNativeHandle = offsetof(hidl_handle, mHandle);
54 static_assert(hidl_handle::kOffsetOfNativeHandle == 0, "wrong offset");
56 status_t readEmbeddedFromParcel(const hidl_handle& /* handle */, in readEmbeddedFromParcel() argument
61 parentOffset + hidl_handle::kOffsetOfNativeHandle, in readEmbeddedFromParcel()
67 status_t writeEmbeddedToParcel(const hidl_handle &handle, in writeEmbeddedToParcel()
72 parentOffset + hidl_handle::kOffsetOfNativeHandle); in writeEmbeddedToParcel()
/system/libhidl/base/include/hidl/
DHidlSupport.h97 struct hidl_handle { struct
98 hidl_handle();
99 ~hidl_handle();
101 hidl_handle(const native_handle_t *handle);
104 hidl_handle(const hidl_handle &other);
107 hidl_handle(hidl_handle &&other) noexcept;
110 hidl_handle &operator=(const hidl_handle &other); argument
112 hidl_handle &operator=(const native_handle_t *native_handle); argument
114 hidl_handle &operator=(hidl_handle &&other) noexcept; argument
232 hidl_memory(const hidl_string& name, hidl_handle&& handle, size_t size) in hidl_memory()
[all …]
/system/core/healthd/
Dcharger_test.cpp109 ::android::hardware::hidl_handle createHidlHandle(const char* filepath) { in createHidlHandle()
114 ::android::hardware::hidl_handle handle; in createHidlHandle()
/system/chre/host/hal_generic/
Dgeneric_context_hub.h47 using ::android::hardware::hidl_handle;
57 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) override;
Dgeneric_context_hub.cc66 int hidlHandleToFileDescriptor(const hidl_handle& hh) { in hidlHandleToFileDescriptor()
94 const hidl_handle& hh_fd, const hidl_vec<hidl_string>& /*options*/) { in debug()
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h53 status_t readEmbeddedFromParcel(const hidl_handle &handle,
56 status_t writeEmbeddedToParcel(const hidl_handle &handle,
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp53 using ::android::hardware::hidl_handle;
898 safeUnion, hidl_handle(nullptr), [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F()
917 std::vector<hidl_handle> testHandlesVector(256); in TEST_F()
952 safeUnion, hidl_handle(h), [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F()
990 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
1004 std::array<hidl_handle, 5> testArray; in TEST_F()
1009 std::vector<hidl_handle> testVector(256); in TEST_F()
1017 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
1065 hidl_vec<hidl_handle> testHandles(testStrings.size()); in TEST_F()
1123 hidl_handle testHandle; in TEST_F()
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp44 using android::hardware::hidl_handle;
220 EXPECT_OK(base.service->debug(hidl_handle(), {})) in TEST_F()
/system/libhidl/
Dtest_main.cpp667 using ::android::hardware::hidl_handle; in TEST_F()
668 static_assert(sizeof(hidl_handle) == 16); in TEST_F()
671 uninitTest<hidl_handle, 9, 16>(); in TEST_F()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp110 using ::android::hardware::hidl_handle;
2296 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
2310 std::array<hidl_handle, 5> testArray; in TEST_F()
2315 std::vector<hidl_handle> testVector(256); in TEST_F()
2323 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
2371 hidl_vec<hidl_handle> testHandles(testStrings.size()); in TEST_F()
2429 hidl_handle testHandle; in TEST_F()