Home
last modified time | relevance | path

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

12

/frameworks/rs/toolkit/
DJniEntryPoints.cpp195 JNIEnv* /*env*/, jobject /*thiz*/, jlong native_handle) { in Java_android_renderscript_toolkit_Toolkit_destroyNative() argument
196 RenderScriptToolkit* toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_android_renderscript_toolkit_Toolkit_destroyNative()
201 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jint jmode, jbyteArray source_array, in Java_android_renderscript_toolkit_Toolkit_nativeBlend() argument
203 auto toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_android_renderscript_toolkit_Toolkit_nativeBlend()
213 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jint jmode, jobject source_bitmap, in Java_android_renderscript_toolkit_Toolkit_nativeBlendBitmap() argument
215 auto toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_android_renderscript_toolkit_Toolkit_nativeBlendBitmap()
225 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jbyteArray input_array, jint vectorSize, in Java_android_renderscript_toolkit_Toolkit_nativeBlur() argument
227 RenderScriptToolkit* toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_android_renderscript_toolkit_Toolkit_nativeBlur()
236 JNIEnv* env, jobject /*thiz*/, jlong native_handle, jobject input_bitmap, in Java_android_renderscript_toolkit_Toolkit_nativeBlurBitmap() argument
238 RenderScriptToolkit* toolkit = reinterpret_cast<RenderScriptToolkit*>(native_handle); in Java_android_renderscript_toolkit_Toolkit_nativeBlurBitmap()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_biometrics_SurfaceToNativeHandleConverter.cpp86 native_handle_t* native_handle = convertHalTokenToNativeHandle(halToken); in acquireSurfaceHandle() local
87 if (native_handle == nullptr) { in acquireSurfaceHandle()
91 jobject jHandle = JNativeHandle::MakeJavaNativeHandleObj(env, native_handle); in acquireSurfaceHandle()
92 native_handle_delete(native_handle); in acquireSurfaceHandle()
/frameworks/native/services/surfaceflinger/
DBackgroundExecutor.cpp62 pthread_setname_np(mThread.native_handle(), "BckgrndExec HP"); in BackgroundExecutor()
64 pthread_setname_np(mThread.native_handle(), "BckgrndExec LP"); in BackgroundExecutor()
/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.cpp256 buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
267 *native_handle = NULL; in allocateSecureBuffer()
274 *native_handle = NativeHandle::create( in allocateSecureBuffer()
277 *native_handle = NULL; in allocateSecureBuffer()
442 void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
444 port_index, size, buffer, buffer_data, native_handle); in allocateSecureBuffer()
713 sp<NativeHandle> native_handle; in onTransact() local
715 port_index, size, &buffer, &buffer_data, &native_handle); in onTransact()
722 … 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/services/gpuservice/tracing/
DGpuMemTracer.cpp48 pthread_setname_np(tracerThread.native_handle(), "GpuMemTracerThread"); in initialize()
60 pthread_setname_np(tracerThread.native_handle(), "GpuMemTracerThreadForTest"); in initializeForTest()
/frameworks/av/media/libstagefright/renderfright/gl/
DImageManager.cpp37 pthread_setname_np(mThread.native_handle(), "ImageManager"); in initThread()
42 if (pthread_setschedparam(mThread.native_handle(), SCHED_FIFO, &param) != 0) { in initThread()
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_buffer.h15 struct native_handle;
Ddvr_api.h78 struct native_handle;
152 typedef const struct native_handle* (*DvrWriteBufferGetNativeHandlePtr)(
168 typedef const struct native_handle* (*DvrReadBufferGetNativeHandlePtr)(
175 typedef const struct native_handle* (*DvrBufferGetNativeHandlePtr)(
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DHwcAsyncWorker.cpp32 pthread_setname_np(mThread.native_handle(), "HwcAsyncWorker"); in HwcAsyncWorker()
/frameworks/native/libs/gui/
DFenceMonitor.cpp29 pthread_setname_np(thread.native_handle(), mName); in FenceMonitor()
/frameworks/native/libs/nativedisplay/include/surfacetexture/
DEGLConsumer.h183 const native_handle* graphicBufferHandle() { in graphicBufferHandle()
/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/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/codec2/sfplugin/
DC2OMXNode.h63 void **buffer_data, sp<NativeHandle> *native_handle) override;
/frameworks/av/media/libmedia/include/media/
DIOMX.h143 void **buffer_data, sp<NativeHandle> *native_handle) = 0;
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h320 const native_handle* graphicBufferHandle() { in graphicBufferHandle()
/frameworks/av/media/utils/
DTimerThread.cpp326 pthread_setname_np(mThread.native_handle(), "TimerThread");
327 pthread_setschedprio(mThread.native_handle(), PRIORITY_URGENT_AUDIO);
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWOmxNode.h90 void **buffer_data, sp<NativeHandle> *native_handle) override;
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxNode.h89 void **buffer_data, sp<NativeHandle> *native_handle) override;
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp292 pthread_setname_np(mThread.native_handle(), mThreadName); in EventThread()
294 pid_t tid = pthread_gettid_np(mThread.native_handle()); in EventThread()
300 if (pthread_setschedparam(mThread.native_handle(), SCHED_FIFO, &param) != 0) { in EventThread()
/frameworks/av/media/libstagefright/omx/
DOMXNodeInstance.cpp1636 nativeHandle == NULL ? NULL : const_cast<native_handle*>(nativeHandle->handle()); in updateNativeHandleInMeta_l()
1708 void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() argument
1709 if (buffer == NULL || buffer_data == NULL || native_handle == NULL) { in allocateSecureBuffer()
1757 *native_handle = NativeHandle::create( in allocateSecureBuffer()
1761 *native_handle = NULL; in allocateSecureBuffer()
1772 *native_handle == NULL ? NULL : (*native_handle)->handle())); in allocateSecureBuffer()
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp55 native_handle_delete(const_cast<struct native_handle*>(mMem.handle)); in destroy()

12