Home
last modified time | relevance | path

Searched defs:nativeObject (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DLongMultiStateCounter.java219 private static native void native_setEnabled(long nativeObject, boolean enabled, in native_setEnabled()
223 private static native void native_setState(long nativeObject, int state, long timestampMs); in native_setState()
226 private static native long native_updateValue(long nativeObject, long value, long timestampMs); in native_updateValue()
229 private static native void native_incrementValue(long nativeObject, long increment, in native_incrementValue()
233 private static native void native_addCount(long nativeObject, long count); in native_addCount()
236 private static native void native_reset(long nativeObject); in native_reset()
239 private static native long native_getCount(long nativeObject, int state); in native_getCount()
242 private static native String native_toString(long nativeObject); in native_toString()
245 private static native void native_writeToParcel(long nativeObject, Parcel dest, int flags); in native_writeToParcel()
251 private static native int native_getStateCount(long nativeObject); in native_getStateCount()
DLongArrayMultiStateCounter.java149 private static native void native_setValues(long nativeObject, long[] array); in native_setValues()
152 private static native void native_getValues(long nativeObject, long[] array); in native_getValues()
155 private static native boolean native_combineValues(long nativeObject, long[] array, in native_combineValues()
383 private static native void native_setEnabled(long nativeObject, boolean enabled, in native_setEnabled()
387 private static native void native_setState(long nativeObject, int state, long timestampMs); in native_setState()
394 private static native void native_setValues(long nativeObject, int state, in native_setValues()
398 private static native void native_updateValues(long nativeObject, in native_updateValues()
402 private static native void native_incrementValues(long nativeObject, in native_incrementValues()
406 private static native void native_addCounts(long nativeObject, in native_addCounts()
410 private static native void native_reset(long nativeObject); in native_reset()
[all …]
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp174 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease()
179 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsValid()
184 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsConsumerRunningBehind()
197 jlong nativeObject, jobject canvasObj, jobject dirtyRectObj) { in nativeLockCanvas()
252 jlong nativeObject, jobject canvasObj) { in nativeUnlockCanvasAndPost()
270 jlong nativeObject) { in nativeAllocateBuffers()
292 jlong nativeObject, in nativeGetFromSurfaceControl()
312 static jlong nativeGetFromBlastBufferQueue(JNIEnv* env, jclass clazz, jlong nativeObject, in nativeGetFromBlastBufferQueue()
333 jlong nativeObject, jobject parcelObj) { in nativeReadFromParcel()
375 jlong nativeObject, jobject parcelObj) { in nativeWriteToParcel()
[all …]
Dandroid_hardware_HardwareBuffer.cpp134 jlong nativeObject) { in GraphicBufferWrapper_to_GraphicBuffer()
139 jlong nativeObject) { in android_hardware_HardwareBuffer_getWidth()
145 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getHeight()
151 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getFormat()
158 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getLayers()
164 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getUsage()
169 static jlong android_hardware_HardwareBuffer_estimateSize(jlong nativeObject) { in android_hardware_HardwareBuffer_estimateSize()
183 static jlong android_hardware_HardwareBuffer_getId(jlong nativeObject) { in android_hardware_HardwareBuffer_getId()
193 jlong nativeObject, jobject dest) { in android_hardware_HardwareBuffer_write()
Dandroid_view_SurfaceControl.cpp526 static void nativeDisconnect(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeDisconnect()
533 static void nativeSetDefaultBufferSize(JNIEnv* env, jclass clazz, jlong nativeObject, in nativeSetDefaultBufferSize()
576 jlong nativeObject, jint zorder) { in nativeSetLayer()
584 jlong nativeObject, in nativeSetRelativeLayer()
594 jlong nativeObject, jfloat x, jfloat y) { in nativeSetPosition()
601 static void nativeSetScale(JNIEnv* env, jclass clazz, jlong transactionObj, jlong nativeObject, in nativeSetScale()
609 static void nativeSetGeometry(JNIEnv* env, jclass clazz, jlong transactionObj, jlong nativeObject, in nativeSetGeometry()
680 static void nativeSetBuffer(JNIEnv* env, jclass clazz, jlong transactionObj, jlong nativeObject, in nativeSetBuffer()
697 static void nativeUnsetBuffer(JNIEnv* env, jclass clazz, jlong transactionObj, jlong nativeObject) { in nativeUnsetBuffer()
704 jlong nativeObject, jint transform) { in nativeSetBufferTransform()
[all …]
Dandroid_hardware_OverlayProperties.cpp55 jlong nativeObject, in android_hardware_OverlayProperties_isCombinationSupported()
78 jlong nativeObject) { in android_hardware_OverlayProperties_supportMixedColorSpaces()
102 static void android_hardware_OverlayProperties_write(JNIEnv* env, jclass, jlong nativeObject, in android_hardware_OverlayProperties_write()
Dandroid_graphics_GraphicBuffer.cpp235 jlong nativeObject = env->GetLongField(obj, gGraphicBufferClassInfo.mNativeObject); in android_graphics_GraphicBuffer_getNativeGraphicsBuffer() local
Dandroid_window_ScreenCapture.cpp240 static void nativeWriteListenerToParcel(JNIEnv* env, jclass clazz, jlong nativeObject, in nativeWriteListenerToParcel()
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java229 long nativeObject = nCreateHardwareBuffer(width, height, format, layers, usage); in create() local
276 long nativeObject = nCreateFromGraphicBuffer(graphicBuffer); in createFromGraphicBuffer() local
285 private HardwareBuffer(long nativeObject) { in HardwareBuffer()
447 private static native void nWriteHardwareBufferToParcel(long nativeObject, Parcel dest); in nWriteHardwareBufferToParcel()
450 private static native int nGetWidth(long nativeObject); in nGetWidth()
452 private static native int nGetHeight(long nativeObject); in nGetHeight()
454 private static native int nGetFormat(long nativeObject); in nGetFormat()
456 private static native int nGetLayers(long nativeObject); in nGetLayers()
458 private static native long nGetUsage(long nativeObject); in nGetUsage()
462 private static native long nEstimateSize(long nativeObject); in nEstimateSize()
[all …]
DOverlayProperties.java53 private OverlayProperties(long nativeObject) { in OverlayProperties()
138 private static native boolean nSupportMixedColorSpaces(long nativeObject); in nSupportMixedColorSpaces()
140 long nativeObject, int dataspace, int format); in nIsCombinationSupported()
141 private static native void nWriteOverlayPropertiesToParcel(long nativeObject, Parcel dest); in nWriteOverlayPropertiesToParcel()
/frameworks/base/core/java/android/view/
DSurface.java77 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) in nativeLockCanvas()
79 private static native void nativeUnlockCanvasAndPost(long nativeObject, Canvas canvas); in nativeUnlockCanvasAndPost()
82 private static native void nativeRelease(long nativeObject); in nativeRelease()
83 private static native boolean nativeIsValid(long nativeObject); in nativeIsValid()
84 private static native boolean nativeIsConsumerRunningBehind(long nativeObject); in nativeIsConsumerRunningBehind()
85 private static native long nativeReadFromParcel(long nativeObject, Parcel source); in nativeReadFromParcel()
86 private static native void nativeWriteToParcel(long nativeObject, Parcel dest); in nativeWriteToParcel()
88 private static native void nativeAllocateBuffers(long nativeObject); in nativeAllocateBuffers()
90 private static native int nativeGetWidth(long nativeObject); in nativeGetWidth()
91 private static native int nativeGetHeight(long nativeObject); in nativeGetHeight()
[all …]
DSurfaceControl.java111 private static native long nativeCopyFromSurfaceControl(long nativeObject); in nativeCopyFromSurfaceControl()
112 private static native void nativeWriteToParcel(long nativeObject, Parcel out); in nativeWriteToParcel()
114 private static native void nativeDisconnect(long nativeObject); in nativeDisconnect()
115 …private static native void nativeUpdateDefaultBufferSize(long nativeObject, int width, int height); in nativeUpdateDefaultBufferSize()
130 private static native void nativeSetLayer(long transactionObj, long nativeObject, int zorder); in nativeSetLayer()
131 private static native void nativeSetRelativeLayer(long transactionObj, long nativeObject, in nativeSetRelativeLayer()
133 private static native void nativeSetPosition(long transactionObj, long nativeObject, in nativeSetPosition()
135 private static native void nativeSetScale(long transactionObj, long nativeObject, in nativeSetScale()
138 long nativeObject, Region region); in nativeSetTransparentRegionHint()
139 private static native void nativeSetAlpha(long transactionObj, long nativeObject, float alpha); in nativeSetAlpha()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp47 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jobjectArray keys, in android_media_MediaMuxer_addTrack()
77 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex, in android_media_MediaMuxer_writeSampleData()
178 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint degrees) { in android_media_MediaMuxer_setOrientationHint()
196 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { in android_media_MediaMuxer_setLocation()
208 jlong nativeObject) { in android_media_MediaMuxer_start()
226 jlong nativeObject) { in android_media_MediaMuxer_stop()
245 JNIEnv* /* env */, jclass clazz, jlong nativeObject) { in android_media_MediaMuxer_native_release()
/frameworks/base/media/java/android/media/
DMediaMuxer.java291 private static native void nativeRelease(long nativeObject); in nativeRelease()
292 private static native void nativeStart(long nativeObject); in nativeStart()
293 private static native void nativeStop(long nativeObject); in nativeStop()
295 long nativeObject, @NonNull String[] keys, @NonNull Object[] values); in nativeAddTrack()
297 long nativeObject, int degrees); in nativeSetOrientationHint()
298 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation()
300 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, in nativeWriteSampleData()
/frameworks/base/core/java/android/window/
DInputTransferToken.java57 private static native void nativeWriteToParcel(long nativeObject, Parcel out); in nativeWriteToParcel()
59 private static native IBinder nativeGetBinderToken(long nativeObject); in nativeGetBinderToken()
60 private static native long nativeGetBinderTokenRef(long nativeObject); in nativeGetBinderTokenRef()
73 private InputTransferToken(long nativeObject) { in InputTransferToken()
DScreenCapture.java56 private static native void nativeWriteListenerToParcel(long nativeObject, Parcel out); in nativeWriteListenerToParcel()
/frameworks/base/graphics/java/android/graphics/
DGraphicBuffer.java81 long nativeObject = nCreateGraphicBuffer(width, height, format, usage); in create() local
92 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { in GraphicBuffer()
299 private static native void nDestroyGraphicBuffer(long nativeObject); in nDestroyGraphicBuffer()
300 private static native void nWriteGraphicBufferToParcel(long nativeObject, Parcel dest); in nWriteGraphicBufferToParcel()
302 private static native boolean nLockCanvas(long nativeObject, Canvas canvas, Rect dirty); in nLockCanvas()
303 private static native boolean nUnlockCanvasAndPost(long nativeObject, Canvas canvas); in nUnlockCanvasAndPost()
/frameworks/base/libs/hwui/jni/
DGainmap.cpp176 static void Gainmap_writeToParcel(JNIEnv* env, jobject, jlong nativeObject, jobject parcel) { in Gainmap_writeToParcel()
216 static void Gainmap_readFromParcel(JNIEnv* env, jobject, jlong nativeObject, jobject parcel) { in Gainmap_readFromParcel()