Home
last modified time | relevance | path

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

1234567

/hardware/interfaces/tetheroffload/config/1.0/vts/functional/
DVtsHalTetheroffloadConfigV1_0TargetTest.cpp35 using android::hardware::hidl_handle;
105 hidl_handle h1; in TEST_P()
115 hidl_handle h2; in TEST_P()
127 hidl_handle h1; in TEST_P()
130 hidl_handle h2; in TEST_P()
147 hidl_handle h1; in TEST_P()
151 hidl_handle h2; in TEST_P()
162 hidl_handle h1; in TEST_P()
172 hidl_handle h2; in TEST_P()
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/inc/
DHAL.h51 using ::android::hardware::hidl_handle;
129 const hidl_handle& /* fd1 */,
130 const hidl_handle& /* fd2 */,
165 Return<void> debug(const hidl_handle& /* fd */, const hidl_vec<hidl_string>& /* options */);
194 hidl_handle mHandle1;
195 hidl_handle mHandle2;
/hardware/qcom/sm8150/display/gralloc/
DQtiAllocator.cpp46 using android::hardware::hidl_handle;
70 hidl_cb(err, 0, hidl_vec<hidl_handle>()); in allocate()
74 std::vector<hidl_handle> buffers; in allocate()
83 buffers.emplace_back(hidl_handle(buffer)); in allocate()
87 hidl_vec<hidl_handle> hidl_buffers; in allocate()
DQtiMapper.h48 using ::android::hardware::hidl_handle;
76 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
79 const hidl_handle &acquire_fence, lock_cb hidl_cb) override;
81 const hidl_handle &acquire_fence, lockYCbCr_cb hidl_cb) override;
100 bool GetFenceFd(const hidl_handle &fence_handle, int *outFenceFd);
102 Error LockBuffer(void *buffer, uint64_t usage, const hidl_handle &acquire_fence);
DQtiMapper.cpp94 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer()
130 bool QtiMapper::GetFenceFd(const hidl_handle &fence_handle, int *outFenceFd) { in GetFenceFd()
156 Error QtiMapper::LockBuffer(void *buffer, uint64_t usage, const hidl_handle &acquire_fence) { in LockBuffer()
177 const hidl_handle &acquire_fence, lock_cb hidl_cb) { in lock()
193 const hidl_handle &acquire_fence, lockYCbCr_cb hidl_cb) { in lockYCbCr()
222 hidl_cb(err, hidl_handle(nullptr)); in unlock()
/hardware/qcom/sdm845/display/gralloc/
DQtiAllocator.cpp46 using android::hardware::hidl_handle;
70 hidl_cb(err, 0, hidl_vec<hidl_handle>()); in allocate()
74 std::vector<hidl_handle> buffers; in allocate()
83 buffers.emplace_back(hidl_handle(buffer)); in allocate()
87 hidl_vec<hidl_handle> hidl_buffers; in allocate()
DQtiMapper.h52 using ::android::hardware::hidl_handle;
74 Return<void> importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) override;
77 const hidl_handle &acquire_fence, lock_cb hidl_cb) override;
79 const hidl_handle &acquire_fence, lockYCbCr_cb hidl_cb) override;
107 bool GetFenceFd(const hidl_handle &fence_handle, int *outFenceFd);
109 Error LockBuffer(void *buffer, uint64_t usage, const hidl_handle &acquire_fence);
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/inc/
DHAL.h51 using ::android::hardware::hidl_handle;
130 const hidl_handle& /* fd1 */,
131 const hidl_handle& /* fd2 */,
193 hidl_handle mHandle1;
194 hidl_handle mHandle2;
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/inc/
DHAL.h51 using ::android::hardware::hidl_handle;
129 const hidl_handle& /* fd1 */,
130 const hidl_handle& /* fd2 */,
192 hidl_handle mHandle1;
193 hidl_handle mHandle2;
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCompilationCachingTests.cpp76 const std::vector<AccessMode>& mode, hidl_vec<hidl_handle>* handles) { in createCacheHandles()
102 hidl_vec<hidl_handle>* handles) { in createCacheHandles()
258 hidl_vec<hidl_handle> modelHandle, dataHandle, tmpHandle; in SetUp()
319 void saveModelToCache(const Model& model, const hidl_vec<hidl_handle>& modelCache, in saveModelToCache()
320 const hidl_vec<hidl_handle>& dataCache, in saveModelToCache()
366 void prepareModelFromCache(const hidl_vec<hidl_handle>& modelCache, in prepareModelFromCache()
367 const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache()
431 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P()
441 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P()
471 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P()
[all …]
DVtsHalNeuralnetworks.cpp59 hidl_vec<hidl_handle>(), hidl_vec<hidl_handle>(), HidlToken(), preparedModelCallback); in createPreparedModel()
138 request, {hidl_handle(nullptr)}, V1_2::MeasureTiming::NO, {}, {}, {}, in validateExecuteFenced()
139 [](ErrorStatus error, const hidl_handle& handle, in validateExecuteFenced()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp73 const std::vector<AccessMode>& mode, hidl_vec<hidl_handle>* handles) { in createCacheHandles()
99 hidl_vec<hidl_handle>* handles) { in createCacheHandles()
255 hidl_vec<hidl_handle> modelHandle, dataHandle, tmpHandle; in SetUp()
316 void saveModelToCache(const Model& model, const hidl_vec<hidl_handle>& modelCache, in saveModelToCache()
317 const hidl_vec<hidl_handle>& dataCache, in saveModelToCache()
363 void prepareModelFromCache(const hidl_vec<hidl_handle>& modelCache, in prepareModelFromCache()
364 const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache()
428 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P()
438 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P()
469 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h57 Return<void> importBuffer(const hidl_handle& rawHandle, in importBuffer()
96 const hidl_handle& acquireFence, IMapper::lock_cb hidl_cb) override { in lock()
117 const hidl_handle& acquireFence, in lockYCbCr()
176 static Error getFenceFd(const hidl_handle& fenceHandle, base::unique_fd* outFenceFd) { in getFenceFd()
196 static hidl_handle getFenceHandle(const base::unique_fd& fenceFd, char* handleStorage) { in getFenceHandle()
203 return hidl_handle(handle); in getFenceHandle()
/hardware/interfaces/tests/safeunion/1.0/default/
DSafeUnion.h60 Return<void> setInterfaceF(const InterfaceTypeSafeUnion& myUnion, const hidl_handle& f,
63 const hidl_vec<hidl_handle>& g, setInterfaceG_cb _hidl_cb) override;
66 Return<void> setHandleA(const HandleTypeSafeUnion& myUnion, const hidl_handle& a,
68 Return<void> setHandleB(const HandleTypeSafeUnion& myUnion, const hidl_array<hidl_handle, 5>& b,
70 Return<void> setHandleC(const HandleTypeSafeUnion& myUnion, const hidl_vec<hidl_handle>& c,
DSafeUnion.cpp237 Return<void> SafeUnion::setInterfaceF(const InterfaceTypeSafeUnion& myUnion, const hidl_handle& f, in setInterfaceF()
249 const hidl_vec<hidl_handle>& g, setInterfaceG_cb _hidl_cb) { in setInterfaceG()
269 const hidl_handle& a, setHandleA_cb _hidl_cb) { in setHandleA()
280 const hidl_array<hidl_handle, 5>& b, setHandleB_cb _hidl_cb) { in setHandleB() argument
291 const hidl_vec<hidl_handle>& c, setHandleC_cb _hidl_cb) { in setHandleC()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h82 Return<Error> setReadbackBuffer(Display display, const hidl_handle& buffer, in setReadbackBuffer()
83 const hidl_handle& releaseFence) override { in setReadbackBuffer()
156 Return<void> executeCommands_2_2(uint32_t inLength, const hidl_vec<hidl_handle>& inHandles, in executeCommands_2_2()
161 hidl_vec<hidl_handle> outHandles; in executeCommands_2_2()
183 static Error getFenceFd(const hidl_handle& fenceHandle, base::unique_fd* outFenceFd) { in getFenceFd()
203 static hidl_handle getFenceHandle(const base::unique_fd& fenceFd, char* handleStorage) { in getFenceHandle()
210 return hidl_handle(handle); in getFenceHandle()
/hardware/interfaces/health/storage/1.0/default/
DStorage.h31 using ::android::hardware::hidl_handle;
39 Return<void> debug(const hidl_handle& handle, const hidl_vec<hidl_string>&) override;
/hardware/interfaces/dumpstate/1.0/default/
DDumpstateDevice.h31 using ::android::hardware::hidl_handle;
40 Return<void> dumpstateBoard(const hidl_handle& h) override;
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DEmulatedVehicleConnector.cpp40 bool onDump(const hidl_handle& fd, const hidl_vec<hidl_string>& options) override;
43 bool EmulatedPassthroughConnector::onDump(const hidl_handle& handle, in onDump()
/hardware/interfaces/dumpstate/1.1/default/
Dmain.cpp28 using ::android::hardware::hidl_handle;
42 Return<DumpstateStatus> dumpstateBoard_1_1(const hidl_handle& handle, const DumpstateMode mode, in dumpstateBoard_1_1()
85 Return<void> dumpstateBoard(const hidl_handle& h) override { in dumpstateBoard()
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/
DMapperVts.h90 const native_handle_t* importBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance);
91 const native_handle_t* importBuffer(const hidl_handle& rawHandle) { in importBuffer()
137 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle, enum Tolerance tolerance);
138 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer()
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp47 using ::android::hardware::hidl_handle;
128 native_handle_t* importBuffer(const hidl_handle& rawHandle);
137 auto callback = [&](auto error, uint32_t /*stride*/, const hidl_vec<hidl_handle>& buffers) { in allocate()
186 const hidl_handle& rawHandle) { in importBuffer()
205 hidl_handle acquireFenceHandle; // No fence needed, already safe to lock in lock()
223 mMapper->unlock(bufferHandle, [&](auto error, const hidl_handle& /*releaseFence*/) { in unlock() argument
/hardware/interfaces/graphics/allocator/2.0/utils/hal/include/allocator-hal/2.0/
DAllocator.h63 hidl_cb(error, 0, hidl_vec<hidl_handle>()); in allocate()
67 hidl_vec<hidl_handle> hidlBuffers(buffers.cbegin(), buffers.cend()); in allocate()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h65 const native_handle_t* importBuffer(const hidl_handle& rawHandle);
79 const native_handle_t* cloneBuffer(const hidl_handle& rawHandle);
/hardware/interfaces/audio/effect/all-versions/default/
DEffectsFactory.h60 const hidl_handle& fd); //< in CPP_VERSION::IEffectsFactory only, alias of debug
61 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) override;

1234567