Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/Scheduler/
DEventControlThread.cpp35 pthread_setname_np(mThread.native_handle(), "EventControlThread"); in EventControlThread()
37 pid_t tid = pthread_gettid_np(mThread.native_handle()); in EventControlThread()
DEventThread.cpp175 pthread_setname_np(mThread.native_handle(), threadName); in EventThread()
177 pid_t tid = pthread_gettid_np(mThread.native_handle()); in EventThread()
183 if (pthread_setschedparam(mThread.native_handle(), SCHED_FIFO, &param) != 0) { in EventThread()
/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.cpp257 buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
268 *native_handle = NULL; in allocateSecureBuffer()
275 *native_handle = NativeHandle::create( in allocateSecureBuffer()
278 *native_handle = NULL; in allocateSecureBuffer()
443 void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
445 port_index, size, buffer, buffer_data, native_handle); in allocateSecureBuffer()
714 sp<NativeHandle> native_handle; in onTransact() local
716 port_index, size, &buffer, &buffer_data, &native_handle); in onTransact()
723 … reply->writeNativeHandle(native_handle == NULL ? NULL : native_handle->handle()); in onTransact()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_base.h39 return LocalHandle(dup(native_handle()->data[0])); in GetBlobFd()
60 native_handle_t* native_handle() const { in native_handle() function
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer.h15 struct native_handle;
Ddvr_api.h78 struct native_handle;
150 typedef const struct native_handle* (*DvrWriteBufferGetNativeHandlePtr)(
166 typedef const struct native_handle* (*DvrReadBufferGetNativeHandlePtr)(
173 typedef const struct native_handle* (*DvrBufferGetNativeHandlePtr)(
/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/base/libs/hwui/surfacetexture/
DEGLConsumer.h185 const native_handle* graphicBufferHandle() { in graphicBufferHandle()
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.h64 void **buffer_data, sp<NativeHandle> *native_handle) override;
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp50 native_handle_delete(const_cast<struct native_handle*>(mMem.handle)); in destroy()
DSensorService.h226 uint32_t size, int32_t type, int32_t format, const native_handle *resource);
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h316 const native_handle* graphicBufferHandle() { in graphicBufferHandle()
/frameworks/av/include/media/
DIOMX.h135 void **buffer_data, sp<NativeHandle> *native_handle) = 0;
/frameworks/av/media/libmedia/include/media/
DIOMX.h135 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.cpp1501 nativeHandle == NULL ? NULL : const_cast<native_handle*>(nativeHandle->handle()); in updateNativeHandleInMeta_l()
1573 void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
1574 if (buffer == NULL || buffer_data == NULL || native_handle == NULL) { in allocateSecureBuffer()
1622 *native_handle = NativeHandle::create( in allocateSecureBuffer()
1626 *native_handle = NULL; in allocateSecureBuffer()
1637 *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/services/inputflinger/
DInputClassifier.cpp149 pthread_setname_np(mHalThread.native_handle(), "InputClassifier"); in MotionClassifier()
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp426 native_handle* rawHandle = native_handle_create(1 /*numFds*/, 1 /*numInts*/); in increment()
717 native_handle* handle = native_handle_create(1 /*numFds*/, 1 /*numInts*/); in TEST_F()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp174 pthread_setname_np(mThread.native_handle(), "RegionSamplingThread");
/frameworks/native/libs/binder/include/binder/
DParcel.h195 status_t writeNativeHandle(const native_handle* handle);
361 native_handle* readNativeHandle() const;

12