Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/
DEventControlThread.cpp35 pthread_setname_np(mThread.native_handle(), "EventControlThread"); in EventControlThread()
37 pid_t tid = pthread_gettid_np(mThread.native_handle()); in EventControlThread()
DEventThread.cpp62 pthread_setname_np(mThread.native_handle(), threadName); in EventThread()
64 pid_t tid = pthread_gettid_np(mThread.native_handle()); in EventThread()
70 if (pthread_setschedparam(mThread.native_handle(), SCHED_FIFO, &param) != 0) { in EventThread()
DBufferLayerConsumer.h236 const native_handle* graphicBufferHandle() { in graphicBufferHandle()
/frameworks/native/libs/sensor/include/sensor/
DISensorServer.h28 struct native_handle;
29 typedef struct native_handle native_handle_t;
DSensorManager.h41 struct native_handle;
42 typedef struct native_handle native_handle_t;
/frameworks/av/media/libmedia/
DIOMX.cpp331 buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
342 *native_handle = NULL; in allocateSecureBuffer()
349 *native_handle = NativeHandle::create( in allocateSecureBuffer()
352 *native_handle = NULL; in allocateSecureBuffer()
517 void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
519 port_index, size, buffer, buffer_data, native_handle); in allocateSecureBuffer()
865 sp<NativeHandle> native_handle; in onTransact() local
867 port_index, size, &buffer, &buffer_data, &native_handle); in onTransact()
874 … reply->writeNativeHandle(native_handle == NULL ? NULL : native_handle->handle()); in onTransact()
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer.h15 struct native_handle;
Ddvr_api.h71 struct native_handle;
143 typedef const struct native_handle* (*DvrWriteBufferGetNativeHandlePtr)(
159 typedef const struct native_handle* (*DvrReadBufferGetNativeHandlePtr)(
166 typedef const struct native_handle* (*DvrBufferGetNativeHandlePtr)(
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_client.h78 return LocalHandle(dup(native_handle()->data[0])); in GetBlobFd()
103 native_handle_t* native_handle() const { in native_handle() function
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp142 void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
148 [&fnStatus, buffer, native_handle]( in allocateSecureBuffer()
154 *native_handle = outNativeHandle.getNativeHandle() == nullptr ? in allocateSecureBuffer()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxNode.cpp145 void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
151 [&fnStatus, buffer, native_handle]( in allocateSecureBuffer()
157 *native_handle = outNativeHandle.getNativeHandle() == nullptr ? in allocateSecureBuffer()
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_client.cpp240 size_t numFds = static_cast<size_t>(native_handle()->numFds); in GetBlobFds()
242 std::copy(native_handle()->data, native_handle()->data + *fds_count, fds); in GetBlobFds()
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp50 native_handle_delete(const_cast<struct native_handle*>(mMem.handle)); in destroy()
DSensorService.h198 uint32_t size, int32_t type, int32_t format, const native_handle *resource);
/frameworks/av/media/libmedia/include/media/
DIOMX.h136 void **buffer_data, sp<NativeHandle> *native_handle) = 0;
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h316 const native_handle* graphicBufferHandle() { in graphicBufferHandle()
/frameworks/av/include/media/
DIOMX.h136 void **buffer_data, sp<NativeHandle> *native_handle) = 0;
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxNode.h89 void **buffer_data, sp<NativeHandle> *native_handle) override;
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWOmxNode.h90 void **buffer_data, sp<NativeHandle> *native_handle) override;
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp1463 nativeHandle == NULL ? NULL : const_cast<native_handle*>(nativeHandle->handle()); in updateNativeHandleInMeta_l()
1532 void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
1533 if (buffer == NULL || buffer_data == NULL || native_handle == NULL) { in allocateSecureBuffer()
1578 *native_handle = NativeHandle::create( in allocateSecureBuffer()
1582 *native_handle = NULL; in allocateSecureBuffer()
1593 *native_handle == NULL ? NULL : (*native_handle)->handle())); in allocateSecureBuffer()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMXNodeInstance.h78 void **buffer_data, sp<NativeHandle> *native_handle);
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp419 native_handle* rawHandle = native_handle_create(1 /*numFds*/, 1 /*numInts*/); in increment()
701 native_handle* handle = native_handle_create(1 /*numFds*/, 1 /*numInts*/); in TEST_F()
/frameworks/native/libs/binder/
DParcel.cpp1130 status_t Parcel::writeNativeHandle(const native_handle* handle) in writeNativeHandle()
1132 if (!handle || handle->version != sizeof(native_handle)) in writeNativeHandle()
2180 native_handle* Parcel::readNativeHandle() const in readNativeHandle()
2189 native_handle* h = native_handle_create(numFds, numInts); in readNativeHandle()
/frameworks/native/libs/binder/include/binder/
DParcel.h192 status_t writeNativeHandle(const native_handle* handle);
352 native_handle* readNativeHandle() const;
/frameworks/native/libs/ui/
DGraphicBuffer.cpp436 native_handle* h = native_handle_create( in unflatten()

12