/frameworks/av/media/codec2/vndk/include/ |
D | C2SurfaceSyncObj.h | 170 struct HandleSyncMem : public native_handle_t { 172 native_handle_t(cHeader), in HandleSyncMem() 192 static bool isValid(const native_handle_t * const o); 208 version = sizeof(native_handle_t) 210 const static native_handle_t cHeader; 219 static std::shared_ptr<C2SurfaceSyncMemory> Import(native_handle_t *handle); 234 native_handle_t *handle();
|
D | types.h | 58 HFenceWrapper(native_handle_t* h); 62 HFenceWrapper& set(native_handle_t* h); 63 HFenceWrapper& operator=(native_handle_t* h); 68 native_handle_t* mHandle{nullptr}; 75 bool h2b(native_handle_t const* from, sp<BFence>* to);
|
D | C2AllocatorGralloc.h | 51 native_handle_t *UnwrapNativeCodec2GrallocHandle(const C2Handle *const handle); 61 const native_handle_t *const handle, 72 native_handle_t *handle, 91 const native_handle_t *const handle,
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | Conversion.h | 80 native_handle_t* native_handle_create_from_fd(int fd); 93 int native_handle_read_fd(native_handle_t const* nh, int index = 0); 143 hidl_handle inHidlHandle(native_handle_t const* nh); 315 status_t unflattenFence(hidl_handle* fence, native_handle_t** nh, 342 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l); 408 HGraphicBufferProducer::FenceTimeSnapshot* t, native_handle_t** nh, 447 std::vector<native_handle_t*>* nh, 506 std::vector<std::vector<native_handle_t*> >* nh, 540 std::vector<std::vector<native_handle_t*> >* nh, 638 native_handle_t** nh, [all …]
|
/frameworks/av/media/module/bufferpool/1.0/vts/ |
D | allocator.cpp | 34 struct HandleAshmem : public native_handle_t { 36 : native_handle_t(cHeader), in HandleAshmem() 46 static bool isValid(const native_handle_t * const o); 63 version = sizeof(native_handle_t) 65 const static native_handle_t cHeader; 68 const native_handle_t HandleAshmem::cHeader = { 75 bool HandleAshmem::isValid(const native_handle_t * const o) { in isValid() 164 bool TestBufferPoolAllocator::Fill(const native_handle_t *handle, const unsigned char val) { in Fill() 182 bool TestBufferPoolAllocator::Verify(const native_handle_t *handle, const unsigned char val) { in Verify()
|
D | single.cpp | 101 native_handle_t *allocHandle = nullptr; in TEST_F() 124 native_handle_t *allocHandle = nullptr; in TEST_F() 142 native_handle_t *allocHandle = nullptr; in TEST_F() 143 native_handle_t *recvHandle = nullptr; in TEST_F()
|
/frameworks/av/media/module/bufferpool/2.0/tests/ |
D | allocator.cpp | 34 struct HandleAshmem : public native_handle_t { 36 : native_handle_t(cHeader), in HandleAshmem() 46 static bool isValid(const native_handle_t * const o); 63 version = sizeof(native_handle_t) 65 const static native_handle_t cHeader; 68 const native_handle_t HandleAshmem::cHeader = { 75 bool HandleAshmem::isValid(const native_handle_t * const o) { in isValid() 182 bool TestBufferPoolAllocator::Fill(const native_handle_t *handle, const unsigned char val) { in Fill() 200 bool TestBufferPoolAllocator::Verify(const native_handle_t *handle, const unsigned char val) { in Verify() 222 bool TestBufferPoolAllocator::MapMemoryForMutex(const native_handle_t *handle, void **mem) { in MapMemoryForMutex()
|
D | allocator.h | 54 static bool Fill(const native_handle_t *handle, const unsigned char val); 56 static bool Verify(const native_handle_t *handle, const unsigned char val); 58 static bool MapMemoryForMutex(const native_handle_t *handle, void **mem);
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | native_handle_wrapper.h | 26 explicit NativeHandleWrapper(const native_handle_t* handle) { in NativeHandleWrapper() 45 native_handle_t* DuplicateHandle() const { in DuplicateHandle() 63 native_handle_t* TakeHandle() { in TakeHandle() 75 static native_handle_t* FromFdsAndInts(std::vector<FileHandleType> fds, in FromFdsAndInts() 77 native_handle_t* handle = native_handle_create(fds.size(), ints.size()); in FromFdsAndInts()
|
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/ |
D | types.h | 57 HFenceWrapper(native_handle_t* h); 61 HFenceWrapper& set(native_handle_t* h); 62 HFenceWrapper& operator=(native_handle_t* h); 67 native_handle_t* mHandle{nullptr}; 74 bool h2b(native_handle_t const* from, sp<BFence>* to);
|
/frameworks/base/services/core/jni/ |
D | com_android_server_biometrics_SurfaceToNativeHandleConverter.cpp | 34 native_handle_t* convertHalTokenToNativeHandle(const HalToken& halToken) { in convertHalTokenToNativeHandle() 49 native_handle_t* nh = native_handle_create(0, numInts); in convertHalTokenToNativeHandle() 59 HalToken convertNativeHandleToHalToken(native_handle_t* handle) { in convertNativeHandleToHalToken() 86 native_handle_t* native_handle = convertHalTokenToNativeHandle(halToken); in acquireSurfaceHandle() 102 native_handle_t* handle = in releaseSurfaceHandle()
|
/frameworks/av/camera/tests/fuzzer/ |
D | camera_fuzzer.cpp | 74 native_handle_t* /*handle*/) override { in postRecordingFrameHandleTimestamp() argument 79 const std::vector<native_handle_t*>& /*handles*/) override { in postRecordingFrameHandleTimestampBatch() argument 92 native_handle_t* createNativeHandle(); 100 void recordingFrameHandleCallbackTimestamp(nsecs_t, native_handle_t*) override { return; }; in recordingFrameHandleCallbackTimestamp() argument 102 const std::vector<native_handle_t*>&) override { in recordingFrameHandleCallbackTimestampBatch() argument 107 native_handle_t* CameraFuzzer::createNativeHandle() { in createNativeHandle() 110 native_handle_t* handle = native_handle_create(numFds, numInts); in createNativeHandle() 307 native_handle_t* handle = createNativeHandle(); in invokeCamera() 311 native_handle_t* handle = createNativeHandle(); in invokeCamera() 316 std::vector<native_handle_t*> handles; in invokeCamera() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 82 bool native_handle_is_invalid(const native_handle_t *const handle) { in native_handle_is_invalid() 88 return ((size_t)handle->version != sizeof(native_handle_t) || in native_handle_is_invalid() 150 const native_handle_t *const handle, in WrapAndMoveNativeHandle() 163 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts + NUM_INTS); in WrapAndMoveNativeHandle() 172 const native_handle_t *const handle, in WrapNativeHandle() 178 native_handle_t *clone = native_handle_clone(handle); in WrapNativeHandle() 200 native_handle_t *handle, in MigrateNativeHandle() 215 static native_handle_t* UnwrapNativeHandle( in UnwrapNativeHandle() 221 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts - NUM_INTS); in UnwrapNativeHandle() 301 const native_handle_t *const handle, in WrapAndMoveNativeHandle() [all …]
|
D | types.cpp | 111 HFenceWrapper::HFenceWrapper(native_handle_t* h) : mHandle{h} { in HFenceWrapper() 118 HFenceWrapper& HFenceWrapper::set(native_handle_t* h) { in set() 124 HFenceWrapper& HFenceWrapper::operator=(native_handle_t* h) { in operator =() 146 native_handle_t* nh = native_handle_create(1, 0); in b2h() 155 bool h2b(native_handle_t const* from, sp<BFence>* to) { in h2b() 274 const_cast<native_handle_t*>( in b2h() 291 native_handle_t const* handle = from.nativeHandle; in h2b()
|
/frameworks/av/camera/include/camera/ |
D | Camera.h | 46 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle) = 0; 49 const std::vector<native_handle_t*>& handles) = 0; 120 void releaseRecordingFrameHandle(native_handle_t *handle); 124 const std::vector<native_handle_t*> handles); 175 …virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* hand… 178 const std::vector<native_handle_t*>& handles);
|
/frameworks/av/media/module/bufferpool/1.0/ |
D | BufferPoolClient.cpp | 62 native_handle_t **handle, 68 native_handle_t **handle, std::shared_ptr<BufferPoolData> *buffer); 92 native_handle_t **handle); 96 native_handle_t **handle); 170 native_handle_t *mHandle; 179 ConnectionId connectionId, BufferId id, native_handle_t *handle) in ClientBuffer() 202 std::shared_ptr<BufferPoolData> fetchCache(native_handle_t **pHandle) { in fetchCache() 215 native_handle_t **pHandle) { in createCache() 303 native_handle_t **pHandle, in allocate() 309 native_handle_t *handle = nullptr; in allocate() [all …]
|
D | AccessorImpl.h | 51 const native_handle_t** handle); 56 const native_handle_t** handle); 258 BufferId *pId, const native_handle_t **handle); 278 const native_handle_t **handle);
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | types.cpp | 104 HFenceWrapper::HFenceWrapper(native_handle_t* h) : mHandle{h} { in HFenceWrapper() 111 HFenceWrapper& HFenceWrapper::set(native_handle_t* h) { in set() 117 HFenceWrapper& HFenceWrapper::operator=(native_handle_t* h) { in operator =() 139 native_handle_t* nh = native_handle_create(1, 0); in b2h() 148 bool h2b(native_handle_t const* from, sp<BFence>* to) { in h2b() 267 const_cast<native_handle_t*>( in b2h() 284 native_handle_t const* handle = from.nativeHandle; in h2b()
|
/frameworks/av/media/module/bufferpool/1.0/include/bufferpool/ |
D | BufferPoolTypes.h | 67 const native_handle_t *mHandle; 69 const native_handle_t *handle() { in handle() 73 BufferPoolAllocation(const native_handle_t *handle) : mHandle(handle) {} in BufferPoolAllocation()
|
/frameworks/av/media/module/bufferpool/2.0/include/bufferpool/ |
D | BufferPoolTypes.h | 72 const native_handle_t *mHandle; 74 const native_handle_t *handle() { in handle() 78 BufferPoolAllocation(const native_handle_t *handle) : mHandle(handle) {} in BufferPoolAllocation()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2FenceTest.cpp | 118 native_handle_t *handle = _C2FenceFactory::CreateNativeHandle(fence); in validateNullFence() 161 native_handle_t *handle = _C2FenceFactory::CreateNativeHandle(fence); in validateSingleFdFence() 247 native_handle_t *handle = native_handle_create(3 /* numfds */, 1 /* numints */); in TEST_F() 277 native_handle_t *handle = _C2FenceFactory::CreateNativeHandle(fence); in validateTwoFdUnorderedFence() 353 native_handle_t *handle = _C2FenceFactory::CreateNativeHandle(fence); in validateThreeFdFence() 373 native_handle_t *handle = native_handle_create(1 /* numfds */, 1 /* numints */); in TEST_F() 389 native_handle_t *handle = native_handle_create(2 /* numfds */, 1 /* numints */); in TEST_F() 404 native_handle_t *handle = native_handle_create(1 /* numfds */, 1 /* numints */); in TEST_F() 421 native_handle_t *handle = native_handle_create(3 /* numfds */, 1 /* numints */); in TEST_F() 444 native_handle_t *handle = native_handle_create(3 /* numfds */, 1 /* numints */); in TEST_F()
|
/frameworks/base/core/jni/ |
D | android_os_NativeHandle.h | 33 static jobject MakeJavaNativeHandleObj(JNIEnv *env, const native_handle_t *handle); 41 static native_handle_t* MakeCppNativeHandle(JNIEnv *env, jobject jHandle,
|
/frameworks/av/media/module/bufferpool/2.0/ |
D | BufferPoolClient.cpp | 68 native_handle_t **handle, 74 native_handle_t **handle, std::shared_ptr<BufferPoolData> *buffer); 102 native_handle_t **handle); 106 native_handle_t **handle); 188 native_handle_t *mHandle; 197 ConnectionId connectionId, BufferId id, native_handle_t *handle) in ClientBuffer() 223 std::shared_ptr<BufferPoolData> fetchCache(native_handle_t **pHandle) { in fetchCache() 236 native_handle_t **pHandle) { in createCache() 358 native_handle_t **pHandle, in allocate() 364 native_handle_t *handle = nullptr; in allocate() [all …]
|
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorManager.h | 42 typedef struct native_handle native_handle_t; typedef 71 int createDirectChannel(size_t size, int channelType, const native_handle_t *channelData); 73 int deviceId, size_t size, int channelType, const native_handle_t *channelData);
|
/frameworks/av/media/utils/ |
D | AImageReaderUtils.cpp | 28 const native_handle_t *handle) { in convertNativeHandleToHGBP() 40 const native_handle_t *handle) { in AImageReader_getHGBPFromHandle()
|