Home
last modified time | relevance | path

Searched refs:hidl_handle (Results 1 – 10 of 10) 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.cpp56 const size_t hidl_handle::kOffsetOfNativeHandle = offsetof(hidl_handle, mHandle);
57 static_assert(hidl_handle::kOffsetOfNativeHandle == 0, "wrong offset");
59 status_t readEmbeddedFromParcel(const hidl_handle& /* handle */, in readEmbeddedFromParcel() argument
64 parentOffset + hidl_handle::kOffsetOfNativeHandle, in readEmbeddedFromParcel()
70 status_t writeEmbeddedToParcel(const hidl_handle &handle, in writeEmbeddedToParcel()
75 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/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.cpp52 using ::android::hardware::hidl_handle;
890 safeUnion, hidl_handle(nullptr), [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F()
909 std::vector<hidl_handle> testHandlesVector(256); in TEST_F()
944 safeUnion, hidl_handle(h), [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F()
979 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
993 std::array<hidl_handle, 5> testArray; in TEST_F()
998 std::vector<hidl_handle> testVector(256); in TEST_F()
1006 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
1054 hidl_vec<hidl_handle> testHandles(testStrings.size()); in TEST_F()
1112 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/chre/host/hal_generic/common/
Dgeneric_context_hub_base.h47 using ::android::hardware::hidl_handle;
84 inline int hidlHandleToFileDescriptor(const hidl_handle &hh) { in hidlHandleToFileDescriptor()
103 Return<void> debug(const hidl_handle &fd, in debug()
/system/libhidl/
Dtest_main.cpp681 using ::android::hardware::hidl_handle; in TEST_F()
682 static_assert(sizeof(hidl_handle) == 16); in TEST_F()
685 uninitTest<hidl_handle, 9, 16>(); in TEST_F()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp109 using ::android::hardware::hidl_handle;
2276 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
2290 std::array<hidl_handle, 5> testArray; in TEST_F()
2295 std::vector<hidl_handle> testVector(256); in TEST_F()
2303 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F()
2351 hidl_vec<hidl_handle> testHandles(testStrings.size()); in TEST_F()
2409 hidl_handle testHandle; in TEST_F()