Home
last modified time | relevance | path

Searched refs:native_handle (Results 1 – 25 of 62) sorted by relevance

123

/hardware/libhardware/modules/gralloc/
Dgralloc_priv.h59 struct private_handle_t : public native_handle {
62 struct native_handle nativeHandle;
92 version = sizeof(native_handle); in private_handle_t()
100 static int validate(const native_handle* h) { in validate()
102 if (!h || h->version != sizeof(native_handle) || in validate()
/hardware/qcom/display/msm8960/libgralloc/
Dgralloc_priv.h131 struct private_handle_t : public native_handle {
201 version = sizeof(native_handle); in fd()
213 static int validate(const native_handle* h) { in validate()
215 if (!h || h->version != sizeof(native_handle) || in validate()
222 h ? h->version : -1, sizeof(native_handle), in validate()
242 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast()
/hardware/google/gchips/gralloc4/src/
Dmali_gralloc_buffer.h40 #define NUM_INTS_IN_PRIVATE_HANDLE ((sizeof(struct private_handle_t) - sizeof(native_handle)) / siz…
135 struct private_handle_t : public native_handle
147 struct native_handle nativeHandle;
281 version = sizeof(native_handle); in private_handle_t()
305 (sizeof(struct private_handle_t) - sizeof(native_handle)) / sizeof(int); in set_numfds()
320 static int validate(const native_handle *h) in validate()
326 if (!h || h->version != sizeof(native_handle) || in validate()
429 static private_handle_t *dynamicCast(const native_handle *in) in dynamicCast()
Dmali_gralloc_buffer4.h40 #define NUM_INTS_IN_PRIVATE_HANDLE ((sizeof(struct private_handle_t) - sizeof(native_handle)) / siz…
135 struct private_handle_t : public native_handle
147 struct native_handle nativeHandle;
281 version = sizeof(native_handle); in private_handle_t()
305 (sizeof(struct private_handle_t) - sizeof(native_handle)) / sizeof(int); in set_numfds()
320 static int validate(const native_handle *h) in validate()
326 if (!h || h->version != sizeof(native_handle) || in validate()
429 static private_handle_t *dynamicCast(const native_handle *in) in dynamicCast()
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc_priv.h171 struct private_handle_t : public native_handle {
245 version = (int) sizeof(native_handle); in fd()
257 static int validate(const native_handle* h) { in validate()
259 if (!h || h->version != sizeof(native_handle) || in validate()
267 h ? h->version : -1, sizeof(native_handle), in validate()
287 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast()
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc_priv.h171 struct private_handle_t : public native_handle {
242 version = (int) sizeof(native_handle); in fd()
254 static int validate(const native_handle* h) { in validate()
256 if (!h || h->version != sizeof(native_handle) || in validate()
264 h ? h->version : -1, sizeof(native_handle), in validate()
284 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast()
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/arm_arm64/source-based/
Dlibimapper_stablec_abicheck.so.lsdump10 "source_file" : "system/core/include/cutils/native_handle.h"
197 …"name" : "AIMapper_Error (const native_handle *, AIMapper_MetadataType, const void *, unsigned int…
221 "name" : "AIMapper_Error (const native_handle *)",
236 …"name" : "AIMapper_Error (const native_handle *, void (*)(void *, AIMapper_MetadataType, const voi…
257 "name" : "AIMapper_Error (const native_handle *, void **, unsigned long long *)",
278 "name" : "AIMapper_Error (const native_handle *, const native_handle **)",
296 "name" : "AIMapper_Error (const native_handle *, int *)",
314 "name" : "AIMapper_Error (const native_handle *, unsigned int *, unsigned int *)",
335 "name" : "AIMapper_Error (const native_handle *, long long, const void *, unsigned int)",
359 "name" : "AIMapper_Error (const native_handle *, unsigned long long, ARect, int, void **)",
[all …]
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/x86_64/source-based/
Dlibimapper_stablec_abicheck.so.lsdump10 "source_file" : "system/core/include/cutils/native_handle.h"
205 …"name" : "AIMapper_Error (const native_handle *, AIMapper_MetadataType, const void *, unsigned lon…
229 "name" : "AIMapper_Error (const native_handle *)",
244 …"name" : "AIMapper_Error (const native_handle *, void (*)(void *, AIMapper_MetadataType, const voi…
265 "name" : "AIMapper_Error (const native_handle *, void **, unsigned long *)",
286 "name" : "AIMapper_Error (const native_handle *, const native_handle **)",
304 "name" : "AIMapper_Error (const native_handle *, int *)",
322 "name" : "AIMapper_Error (const native_handle *, unsigned int *, unsigned int *)",
343 "name" : "AIMapper_Error (const native_handle *, long, const void *, unsigned long)",
367 "name" : "AIMapper_Error (const native_handle *, unsigned long, ARect, int, void **)",
[all …]
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/x86_x86_64/source-based/
Dlibimapper_stablec_abicheck.so.lsdump10 "source_file" : "system/core/include/cutils/native_handle.h"
196 …"name" : "AIMapper_Error (const native_handle *, AIMapper_MetadataType, const void *, unsigned int…
220 "name" : "AIMapper_Error (const native_handle *)",
235 …"name" : "AIMapper_Error (const native_handle *, void (*)(void *, AIMapper_MetadataType, const voi…
256 "name" : "AIMapper_Error (const native_handle *, void **, unsigned long long *)",
277 "name" : "AIMapper_Error (const native_handle *, const native_handle **)",
295 "name" : "AIMapper_Error (const native_handle *, int *)",
313 "name" : "AIMapper_Error (const native_handle *, unsigned int *, unsigned int *)",
334 "name" : "AIMapper_Error (const native_handle *, long long, const void *, unsigned int)",
358 "name" : "AIMapper_Error (const native_handle *, unsigned long long, ARect, int, void **)",
[all …]
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/arm64/source-based/
Dlibimapper_stablec_abicheck.so.lsdump10 "source_file" : "system/core/include/cutils/native_handle.h"
206 …"name" : "AIMapper_Error (const native_handle *, AIMapper_MetadataType, const void *, unsigned lon…
230 "name" : "AIMapper_Error (const native_handle *)",
245 …"name" : "AIMapper_Error (const native_handle *, void (*)(void *, AIMapper_MetadataType, const voi…
266 "name" : "AIMapper_Error (const native_handle *, void **, unsigned long *)",
287 "name" : "AIMapper_Error (const native_handle *, const native_handle **)",
305 "name" : "AIMapper_Error (const native_handle *, int *)",
323 "name" : "AIMapper_Error (const native_handle *, unsigned int *, unsigned int *)",
344 "name" : "AIMapper_Error (const native_handle *, long, const void *, unsigned long)",
368 "name" : "AIMapper_Error (const native_handle *, unsigned long, ARect, int, void **)",
[all …]
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/x86/source-based/
Dlibimapper_stablec_abicheck.so.lsdump10 "source_file" : "system/core/include/cutils/native_handle.h"
196 …"name" : "AIMapper_Error (const native_handle *, AIMapper_MetadataType, const void *, unsigned int…
220 "name" : "AIMapper_Error (const native_handle *)",
235 …"name" : "AIMapper_Error (const native_handle *, void (*)(void *, AIMapper_MetadataType, const voi…
256 "name" : "AIMapper_Error (const native_handle *, void **, unsigned long long *)",
277 "name" : "AIMapper_Error (const native_handle *, const native_handle **)",
295 "name" : "AIMapper_Error (const native_handle *, int *)",
313 "name" : "AIMapper_Error (const native_handle *, unsigned int *, unsigned int *)",
334 "name" : "AIMapper_Error (const native_handle *, long long, const void *, unsigned int)",
358 "name" : "AIMapper_Error (const native_handle *, unsigned long long, ARect, int, void **)",
[all …]
/hardware/interfaces/graphics/mapper/stable-c/abi-dumps/arm/source-based/
Dlibimapper_stablec_abicheck.so.lsdump10 "source_file" : "system/core/include/cutils/native_handle.h"
197 …"name" : "AIMapper_Error (const native_handle *, AIMapper_MetadataType, const void *, unsigned int…
221 "name" : "AIMapper_Error (const native_handle *)",
236 …"name" : "AIMapper_Error (const native_handle *, void (*)(void *, AIMapper_MetadataType, const voi…
257 "name" : "AIMapper_Error (const native_handle *, void **, unsigned long long *)",
278 "name" : "AIMapper_Error (const native_handle *, const native_handle **)",
296 "name" : "AIMapper_Error (const native_handle *, int *)",
314 "name" : "AIMapper_Error (const native_handle *, unsigned int *, unsigned int *)",
335 "name" : "AIMapper_Error (const native_handle *, long long, const void *, unsigned int)",
359 "name" : "AIMapper_Error (const native_handle *, unsigned long long, ARect, int, void **)",
[all …]
/hardware/qcom/display/msm8994/libgralloc/
Dgralloc_priv.h177 struct private_handle_t : public native_handle {
263 version = (int) sizeof(native_handle); in fd()
275 static int validate(const native_handle* h) { in validate()
277 if (!h || h->version != sizeof(native_handle) || in validate()
285 h ? h->version : -1, sizeof(native_handle), in validate()
305 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast()
/hardware/qcom/display/msm8996/libgralloc/
Dgralloc_priv.h183 struct private_handle_t : public native_handle {
266 version = (int) sizeof(native_handle); in fd()
274 static int validate(const native_handle* h) { in validate()
276 if (!h || h->version != sizeof(native_handle) || in validate()
284 h ? h->version : -1, sizeof(native_handle), in validate()
304 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgralloc_priv.h195 struct private_handle_t : public native_handle {
270 version = (int) sizeof(native_handle); in private_handle_t()
300 static int validate(const native_handle* h) { in validate()
302 if (!h || h->version != sizeof(native_handle) || in validate()
310 h ? h->version : -1, sizeof(native_handle), in validate()
330 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast()
/hardware/qcom/display/msm8998/libgralloc/
Dgralloc_priv.h202 struct private_handle_t : public native_handle {
279 version = (int) sizeof(native_handle); in private_handle_t()
313 static int validate(const native_handle* h) { in validate()
315 if (!h || h->version != sizeof(native_handle) || in validate()
319 h, h ? h->version : -1, sizeof(native_handle), in validate()
339 static private_handle_t* dynamicCast(const native_handle* in) { in dynamicCast()
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_reference.cpp130 reinterpret_cast<private_handle_t *>(const_cast<native_handle *>(handle)); in map_buffer_locked()
160 reinterpret_cast<private_handle_t *>(const_cast<native_handle *>(handle)); in map_metadata_locked()
177 const auto *hnd = reinterpret_cast<private_handle_t *>(const_cast<native_handle *>(handle)); in validate_locked()
212 reinterpret_cast<private_handle_t *>(const_cast<native_handle *>(handle)); in get_validated_data_locked()
231 reinterpret_cast<private_handle_t *>(const_cast<native_handle *>(buf)); in buffer_lock_retain()
241 reinterpret_cast<private_handle_t *>(const_cast<native_handle *>(buf)); in buffer_lock_release()
262 reinterpret_cast<private_handle_t *>(const_cast<native_handle *>(handle)); in retain()
309 reinterpret_cast<private_handle_t *>(const_cast<native_handle *>(handle)); in release()
/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/
DComposerResources.h77 const native_handle** outReplacedHandle);
81 const native_handle_t** outHandle, const native_handle** outReplacedHandle);
97 const native_handle_t** outHandle, const native_handle** outReplacedHandle);
100 const native_handle** outReplacedHandle);
127 const native_handle** outReplacedHandle);
131 const native_handle** outReplacedHandle);
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_priv_handle.h131 version = static_cast<int>(sizeof(native_handle)); in fd()
152 static int validate(const native_handle *h) { in validate()
154 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
157 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_priv_handle.h129 version = static_cast<int>(sizeof(native_handle)); in fd()
146 static int validate(const native_handle *h) { in validate()
148 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
153 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/qcom/display/msm8909/gralloc/
Dgr_priv_handle.h135 version = static_cast<int>(sizeof(native_handle)); in fd()
152 static int validate(const native_handle *h) { in validate()
154 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
159 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_priv_handle.h136 version = static_cast<int>(sizeof(native_handle)); in fd()
153 static int validate(const native_handle *h) { in validate()
155 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
160 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/interfaces/nfc/aidl/vts/functional/
DCondVar.cpp76 int const res = pthread_cond_wait(&mCondition, mutex.native_handle()); in wait()
108 int waitResult = pthread_cond_timedwait(&mCondition, mutex.native_handle(), &absoluteTime); in wait()
/hardware/google/gfxstream/guest/gralloc_cb/include/
Dgralloc_cb_bp.h47 version = sizeof(native_handle); in cb_handle_t()
59 return (version == sizeof(native_handle)) in isValid()
/hardware/google/gfxstream/guest/fuchsia/include/cutils/
Dnative_handle.h4 typedef struct native_handle { struct

123