Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libmedia/include/media/
DOMXFenceParcelable.h28 struct hidl_handle;
32 ::android::hardware::hidl_handle const& t);
34 ::android::hardware::hidl_handle const& t);
38 ::android::hardware::hidl_handle const& t);
40 ::android::hardware::hidl_handle const& t);
63 ::android::hardware::hidl_handle const& t);
66 ::android::hardware::hidl_handle const& t);
69 ::android::hardware::hidl_handle const& t);
72 ::android::hardware::hidl_handle const& t);
/frameworks/av/include/media/
DOMXFenceParcelable.h28 struct hidl_handle;
32 ::android::hardware::hidl_handle const& t);
34 ::android::hardware::hidl_handle const& t);
38 ::android::hardware::hidl_handle const& t);
40 ::android::hardware::hidl_handle const& t);
63 ::android::hardware::hidl_handle const& t);
66 ::android::hardware::hidl_handle const& t);
69 ::android::hardware::hidl_handle const& t);
72 ::android::hardware::hidl_handle const& t);
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferHubService.h36 using hardware::hidl_handle;
49 Return<void> importBuffer(const hidl_handle& tokenHandle, importBuffer_cb _hidl_cb) override;
51 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& args) override;
55 hidl_handle registerToken(const wp<BufferClient>& client);
61 hidl_handle buildBufferInfo(char* bufferInfoStorage, int bufferId, uint32_t clientBitMask,
/frameworks/ml/nn/runtime/
DManager.cpp75 const hidl_vec<hidl_handle>& modelCache,
76 const hidl_vec<hidl_handle>& dataCache, const HidlToken& token,
78 int prepareModelFromCache(const hidl_vec<hidl_handle>& modelCache,
79 const hidl_vec<hidl_handle>& dataCache, const HidlToken& token,
250 const hidl_vec<hidl_handle>& modelCache, in prepareModel()
251 const hidl_vec<hidl_handle>& dataCache, const HidlToken& token, in prepareModel()
262 int DriverDevice::prepareModelFromCache(const hidl_vec<hidl_handle>& modelCache, in prepareModelFromCache()
263 const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache()
308 const hidl_vec<hidl_handle>& modelCache,
309 const hidl_vec<hidl_handle>& dataCache, const HidlToken&,
[all …]
DManager.h71 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
75 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
DVersionedInterfaces.h241 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
312 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
/frameworks/native/services/bufferhub/
DBufferClient.cpp28 using hardware::hidl_handle;
70 _hidl_cb(/*token=*/hidl_handle(), /*status=*/BufferHubStatus::CLIENT_CLOSED); in duplicate()
77 _hidl_cb(/*token=*/hidl_handle(), /*status=*/BufferHubStatus::BUFFER_FREED); in duplicate()
81 const hidl_handle token = getService()->registerToken(this); in duplicate()
DBufferHubService.cpp72 hidl_handle bufferInfo = in allocateBuffer()
83 /*bufferHandle=*/hidl_handle(node->bufferHandle()), in allocateBuffer()
91 Return<void> BufferHubService::importBuffer(const hidl_handle& tokenHandle, in importBuffer()
172 hidl_handle bufferInfo = buildBufferInfo(bufferInfoStorage, node->id(), clientStateMask, in importBuffer()
176 /*bufferHandle=*/hidl_handle(node->bufferHandle()), in importBuffer()
184 Return<void> BufferHubService::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& args) { in debug()
317 hidl_handle BufferHubService::registerToken(const wp<BufferClient>& client) { in registerToken()
339 hidl_handle returnToken; in registerToken()
362 hidl_handle BufferHubService::buildBufferInfo(char* bufferInfoStorage, int bufferId, in buildBufferInfo()
377 hidl_handle bufferInfo; in buildBufferInfo()
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h42 using ::android::hardware::hidl_handle;
154 hidl_handle inHidlHandle(native_handle_t const* nh);
300 size_t getFenceFlattenedSize(hidl_handle const& fence);
309 size_t getFenceFdCount(hidl_handle const& fence);
326 status_t unflattenFence(hidl_handle* fence, native_handle_t** nh,
339 status_t flattenFence(hidl_handle const& fence,
353 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l);
365 bool convertTo(Fence* l, hidl_handle const& t);
DWGraphicBufferProducer.h37 using ::android::hardware::hidl_handle;
99 hidl_handle tFence{}; in dequeueBuffer()
148 hidl_handle tFence{}; in detachNextBuffer()
221 Return<int32_t> cancelBuffer(int32_t slot, const hidl_handle& fence) override { in cancelBuffer()
275 Return<int32_t> setSidebandStream(const hidl_handle& stream) override { in setSidebandStream()
327 hidl_handle tOutFence{}; in getLastQueuedBuffer()
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_tethering_OffloadHardwareInterface.cpp33 using hardware::hidl_handle;
74 hidl_handle handleFromFileDescriptor(base::unique_fd fd) { in handleFromFileDescriptor()
75 hidl_handle h; in handleFromFileDescriptor()
113 hidl_handle h1(handleFromFileDescriptor(std::move(fd1))), in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload()
/frameworks/av/camera/ndk/ndk_vendor/impl/
Dutils.h28 using android::hardware::hidl_handle;
51 bool areWindowNativeHandlesEqual(hidl_vec<hidl_handle> handles1, hidl_vec<hidl_handle>handles2);
53 bool areWindowNativeHandlesLessThan(hidl_vec<hidl_handle> handles1, hidl_vec<hidl_handle>handles2);
Dutils.cpp169 bool areWindowNativeHandlesEqual(hidl_vec<hidl_handle> handles1, hidl_vec<hidl_handle> handles2) { in areWindowNativeHandlesEqual()
181 bool areWindowNativeHandlesLessThan(hidl_vec<hidl_handle> handles1, hidl_vec<hidl_handle>handles2) { in areWindowNativeHandlesLessThan()
/frameworks/ml/nn/driver/sample/
DSampleDriver.h61 const hidl_vec<hidl_handle>& modelCache,
62 const hidl_vec<hidl_handle>& dataCache,
66 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp32 using ::android::hardware::hidl_handle;
188 hidl_handle token; in TEST_F()
217 hidl_handle token; in TEST_F()
254 hidl_handle nullToken; in TEST_F()
277 hidl_handle invalidToken(tokenHandle); in TEST_F()
312 hidl_handle token; in TEST_F()
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
DSensorManager.h39 using ::android::hardware::hidl_handle;
53 …Return<void> createGrallocDirectChannel(const hidl_handle& buffer, uint64_t size, createGrallocDir…
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp64 using ::android::hardware::hidl_handle;
315 hidl_handle &hidlHandle,
321 hidl_handle &hidlHandle,
332 const hidl_handle mHidlHandle;
344 hidl_handle &hidlHandle, in C2AllocationGralloc()
361 hidl_handle &hidlHandle, in C2AllocationGralloc()
493 hidl_handle(), in map()
510 hidl_handle(), in map()
606 hidl_handle(), in map()
623 hidl_handle(), in map()
[all …]
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp138 t->nativeHandle = hidl_handle(l.handle); in wrapAs()
205 inline size_t getFenceFlattenedSize(hidl_handle const& /* fence */) { in getFenceFlattenedSize()
216 inline size_t getFenceFdCount(hidl_handle const& fence) { in getFenceFdCount()
235 inline status_t unflattenFence(hidl_handle* fence, native_handle_t** nh, in unflattenFence()
262 *fence = hidl_handle(); in unflattenFence()
278 inline status_t flattenFence(hidl_handle const& fence, in flattenFence()
308 inline bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l) { in wrapAs()
353 inline bool convertTo(Fence* l, hidl_handle const& t) { in convertTo()
389 if (flattenFence(hidl_handle(nh), buffer, size, fds, numFds) != NO_ERROR) { in convertTo()
643 return flattenFence(hidl_handle(*nh), buffer, size, fds, numFds); in flatten()
[all …]
/frameworks/ml/nn/runtime/test/
DTestCompilationCaching.cpp140 const hidl_vec<hidl_handle>& modelCacheHandle, in prepareModel_1_2()
141 const hidl_vec<hidl_handle>& dataCacheHandle, in prepareModel_1_2()
159 const hidl_vec<hidl_handle>& modelCacheHandle, in prepareModelFromCache()
160 const hidl_vec<hidl_handle>& dataCacheHandle, const HidlToken&, in prepareModelFromCache()
191 void writeToCache(const hidl_vec<hidl_handle>& handles, const std::vector<uint8_t>& cache) { in writeToCache()
199 void readFromCache(const hidl_vec<hidl_handle>& handles, const std::vector<uint8_t>& expected) { in readFromCache()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxBufferSource.cpp54 hidl_handle fence; in onInputBufferEmptied()
95 uint32_t buffer, hidl_handle const& fence) { in onInputBufferEmptied()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxBufferSource.cpp54 hidl_handle fence; in onInputBufferEmptied()
95 uint32_t buffer, hidl_handle const& fence) { in onInputBufferEmptied()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxBufferSource.h42 using ::android::hardware::hidl_handle;
79 uint32_t buffer, hidl_handle const& fence) override;
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWOmxBufferSource.h42 using ::android::hardware::hidl_handle;
79 uint32_t buffer, hidl_handle const& fence) override;
/frameworks/av/media/codec2/vndk/include/
Dtypes.h65 hidl_handle getHandle() const;
66 operator hidl_handle() const;
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
Dtypes.h64 hidl_handle getHandle() const;
65 operator hidl_handle() const;

1234