Home
last modified time | relevance | path

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

/system/libhidl/base/
DHidlSupport.cpp38 hidl_handle::hidl_handle() { in hidl_handle() function in android::hardware::hidl_handle
44 hidl_handle::~hidl_handle() { in ~hidl_handle()
48 hidl_handle::hidl_handle(const native_handle_t* handle) : hidl_handle() { in hidl_handle() function in android::hardware::hidl_handle
54 hidl_handle::hidl_handle(const hidl_handle& other) : hidl_handle() { in hidl_handle() function in android::hardware::hidl_handle
60 hidl_handle::hidl_handle(hidl_handle&& other) noexcept : hidl_handle() { in hidl_handle() function in android::hardware::hidl_handle
66 hidl_handle &hidl_handle::operator=(const hidl_handle &other) { in operator =()
84 hidl_handle &hidl_handle::operator=(const native_handle_t *native_handle) { in operator =()
91 hidl_handle& hidl_handle::operator=(hidl_handle&& other) noexcept { in operator =()
102 void hidl_handle::setTo(native_handle_t* handle, bool shouldOwn) { in setTo()
108 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.h91 struct hidl_handle { struct
92 hidl_handle();
93 ~hidl_handle();
95 hidl_handle(const native_handle_t *handle);
98 hidl_handle(const hidl_handle &other);
101 hidl_handle(hidl_handle &&other) noexcept;
104 hidl_handle &operator=(const hidl_handle &other); argument
106 hidl_handle &operator=(const native_handle_t *native_handle); argument
108 hidl_handle &operator=(hidl_handle &&other) noexcept; argument
224 hidl_memory(const hidl_string& name, hidl_handle&& handle, size_t size) in hidl_memory()
[all …]
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspend.h38 using ::android::hardware::hidl_handle;
76 Return<void> debug(const hidl_handle& handle, const hidl_vec<hidl_string>& options) override;
DSystemSuspend.cpp179 Return<void> SystemSuspend::debug(const hidl_handle& handle, in debug()
/system/core/healthd/
Dcharger_test.cpp100 ::android::hardware::hidl_handle createHidlHandle(const char* filepath) { in createHidlHandle()
105 ::android::hardware::hidl_handle handle; in createHidlHandle()
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp29 using android::hardware::hidl_handle;
154 EXPECT_OK(base.service->debug(hidl_handle(), {})) in TEST_F()
/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/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp46 using ::android::hardware::hidl_handle;
729 safeUnion, hidl_handle(nullptr), [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F()
748 std::vector<hidl_handle> testHandlesVector(256); in TEST_F()
783 safeUnion, hidl_handle(h), [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F()
821 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
835 std::array<hidl_handle, 5> testArray; in TEST_F()
840 std::vector<hidl_handle> testVector(256); in TEST_F()
848 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
896 hidl_vec<hidl_handle> testHandles(testStrings.size()); in TEST_F()
954 hidl_handle testHandle; in TEST_F()
/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/hidl_test/
Dhidl_test_client.cpp115 using ::android::hardware::hidl_handle;
2270 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
2284 std::array<hidl_handle, 5> testArray; in TEST_F()
2289 std::vector<hidl_handle> testVector(256); in TEST_F()
2297 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
2345 hidl_vec<hidl_handle> testHandles(testStrings.size()); in TEST_F()
2403 hidl_handle testHandle; in TEST_F()