Home
last modified time | relevance | path

Searched refs:hidl_handle (Results 1 – 25 of 82) 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/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h40 using ::android::hardware::hidl_handle;
143 hidl_handle inHidlHandle(native_handle_t const* nh);
289 size_t getFenceFlattenedSize(hidl_handle const& fence);
298 size_t getFenceFdCount(hidl_handle const& fence);
315 status_t unflattenFence(hidl_handle* fence, native_handle_t** nh,
328 status_t flattenFence(hidl_handle const& fence,
342 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l);
354 bool convertTo(Fence* l, hidl_handle const& t);
DWGraphicBufferProducer.h37 using ::android::hardware::hidl_handle;
98 hidl_handle tFence{}; in dequeueBuffer()
147 hidl_handle tFence{}; in detachNextBuffer()
220 Return<int32_t> cancelBuffer(int32_t slot, const hidl_handle& fence) override { in cancelBuffer()
274 Return<int32_t> setSidebandStream(const hidl_handle& stream) override { in setSidebandStream()
326 hidl_handle tOutFence{}; in getLastQueuedBuffer()
/frameworks/ml/nn/driver/sample/
DSampleDriver.h90 const hal::hidl_vec<hal::hidl_handle>& modelCache,
91 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token,
96 const hal::hidl_vec<hal::hidl_handle>& modelCache,
97 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token,
100 const hal::hidl_vec<hal::hidl_handle>& modelCache,
101 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token,
105 const hal::hidl_vec<hal::hidl_handle>& modelCache,
106 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token,
166 const hal::hidl_vec<hal::hidl_handle>& wait_for,
DSampleDriverPartial.cpp53 const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>&, in prepareModel_1_3() argument
54 const hidl_vec<hidl_handle>&, const CacheToken&, in prepareModel_1_3()
DSampleDriverPartial.h46 const hal::hidl_vec<hal::hidl_handle>& modelCache,
47 const hal::hidl_vec<hal::hidl_handle>& dataCache, const hal::CacheToken& token,
DSampleDriver.cpp185 const V1_2::Model& model, ExecutionPreference preference, const hidl_vec<hidl_handle>&, in prepareModel_1_2() argument
186 const hidl_vec<hidl_handle>&, const CacheToken&, in prepareModel_1_2()
196 const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>&, in prepareModel_1_3() argument
197 const hidl_vec<hidl_handle>&, const CacheToken&, in prepareModel_1_3()
204 const hidl_vec<hidl_handle>&, const hidl_vec<hidl_handle>&, const CacheToken&, in prepareModelFromCache() argument
213 const OptionalTimePoint& /*deadline*/, const hidl_vec<hidl_handle>&, in prepareModelFromCache_1_3() argument
214 const hidl_vec<hidl_handle>&, const CacheToken&, in prepareModelFromCache_1_3()
647 const hal::Request& request, const hidl_vec<hidl_handle>& waitFor, MeasureTiming measure, in executeFenced()
658 cb(ErrorStatus::INVALID_ARGUMENT, hidl_handle(nullptr), nullptr); in executeFenced()
663 cb(ErrorStatus::MISSED_DEADLINE_PERSISTENT, hidl_handle(nullptr), nullptr); in executeFenced()
[all …]
/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/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDrmFactory.h33 using ::android::hardware::hidl_handle;
59 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& args);
/frameworks/ml/nn/runtime/test/
DTestCompilationCaching.cpp134 Return<void> executeFenced(const hal::Request&, const hidl_vec<hidl_handle>&, MeasureTiming, in executeFenced() argument
137 cb(ErrorStatus::DEVICE_UNAVAILABLE, hidl_handle(nullptr), nullptr); in executeFenced()
190 const hidl_vec<hidl_handle>& modelCacheHandle, in prepareModel_1_3()
191 const hidl_vec<hidl_handle>& dataCacheHandle, const CacheToken&, in prepareModel_1_3()
208 const OptionalTimePoint&, const hidl_vec<hidl_handle>& modelCacheHandle, in prepareModelFromCache_1_3()
209 const hidl_vec<hidl_handle>& dataCacheHandle, const CacheToken&, in prepareModelFromCache_1_3()
239 void writeToCache(const hidl_vec<hidl_handle>& handles, const std::vector<uint8_t>& cache) { in writeToCache()
247 void readFromCache(const hidl_vec<hidl_handle>& handles, const std::vector<uint8_t>& expected) { in readFromCache()
/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/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 …]
DConversion.cpp118 hidl_handle inHidlHandle(native_handle_t const* nh) { in inHidlHandle()
119 return hidl_handle(nh); in inHidlHandle()
190 t->nativeHandle = hidl_handle(l.handle); in wrapAs()
329 size_t getFenceFlattenedSize(hidl_handle const& /* fence */) { in getFenceFlattenedSize()
340 size_t getFenceFdCount(hidl_handle const& fence) { in getFenceFdCount()
359 status_t unflattenFence(hidl_handle* fence, native_handle_t** nh, in unflattenFence()
386 *fence = hidl_handle(); in unflattenFence()
402 status_t flattenFence(hidl_handle const& fence, in flattenFence()
432 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l) { in wrapAs()
477 bool convertTo(Fence* l, hidl_handle const& t) { in convertTo()
[all …]
/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;
DConversion.h63 using ::android::hardware::hidl_handle;
314 inline bool wrapAs(hidl_handle* t, native_handle_t** nh, in wrapAs()
331 inline void wrapAs(OMXFenceParcelable* l, hidl_handle const& t) { in wrapAs()
346 inline bool convertTo(OMXFenceParcelable* l, hidl_handle const& t) { in convertTo()
412 t->nativeHandle = hidl_handle(); in wrapAs()
444 t->nativeHandle = hidl_handle(); in wrapAs()
/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/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;
DConversion.h60 using ::android::hardware::hidl_handle;
307 inline hidl_handle inHidlHandle(native_handle_t const* nh) { in inHidlHandle()
308 return hidl_handle(nh); in inHidlHandle()
456 inline bool wrapAs(hidl_handle* t, native_handle_t** nh, in wrapAs()
473 inline void wrapAs(OMXFenceParcelable* l, hidl_handle const& t) { in wrapAs()
488 inline bool convertTo(OMXFenceParcelable* l, hidl_handle const& t) { in convertTo()
613 t->nativeHandle = hidl_handle(l.handle); in wrapAs()
687 t->nativeHandle = hidl_handle(); in wrapAs()
/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;
/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp415 std::tuple<int, hal::hidl_handle, sp<hal::IFencedExecutionCallback>, hal::Timing>
417 const hal::Request& request, const hal::hidl_vec<hal::hidl_handle>& waitFor, in executeFenced()
422 hal::hidl_handle syncFence; in executeFenced()
431 ErrorStatus error, const hidl_handle& handle, in executeFenced()
439 return std::make_tuple(ANEURALNETWORKS_OP_FAILED, hal::hidl_handle(nullptr), nullptr, in executeFenced()
446 hal::hidl_handle(nullptr), nullptr, timing); in executeFenced()
456 return std::make_tuple(ANEURALNETWORKS_BAD_DATA, hal::hidl_handle(nullptr), nullptr, in executeFenced()
461 return std::make_tuple(ANEURALNETWORKS_BAD_DATA, hal::hidl_handle(nullptr), nullptr, in executeFenced()
467 return std::make_tuple(ANEURALNETWORKS_OP_FAILED, hal::hidl_handle(nullptr), nullptr, in executeFenced()
474 return std::make_tuple(errorCode, hal::hidl_handle(nullptr), nullptr, timing); in executeFenced()
[all …]
/frameworks/native/libs/gui/bufferqueue/2.0/
Dtypes.cpp121 hidl_handle HFenceWrapper::getHandle() const { in getHandle()
122 return hidl_handle{mHandle}; in getHandle()
125 HFenceWrapper::operator hidl_handle() const { in operator hidl_handle()

1234