/frameworks/base/core/jni/ |
D | android_view_Surface.cpp | 166 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease() argument 167 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeRelease() 171 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsValid() argument 172 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsValid() 176 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeIsConsumerRunningBehind() argument 177 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsConsumerRunningBehind() 189 jlong nativeObject, jobject canvasObj, jobject dirtyRectObj) { in nativeLockCanvas() argument 190 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeLockCanvas() 244 jlong nativeObject, jobject canvasObj) { in nativeUnlockCanvasAndPost() argument 245 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeUnlockCanvasAndPost() [all …]
|
D | android_hardware_HardwareBuffer.cpp | 134 jlong nativeObject) { in GraphicBufferWrapper_to_GraphicBuffer() argument 135 return reinterpret_cast<GraphicBufferWrapper*>(nativeObject)->buffer.get(); in GraphicBufferWrapper_to_GraphicBuffer() 139 jlong nativeObject) { in android_hardware_HardwareBuffer_getWidth() argument 140 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getWidth() 145 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getHeight() argument 146 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getHeight() 151 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getFormat() argument 152 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getFormat() 158 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getLayers() argument 159 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getLayers() [all …]
|
D | android_view_SurfaceControl.cpp | 439 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeRelease() argument 440 sp<SurfaceControl> ctrl(reinterpret_cast<SurfaceControl *>(nativeObject)); in nativeRelease() 444 static void nativeDisconnect(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeDisconnect() argument 445 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeDisconnect() 451 static void nativeSetDefaultBufferSize(JNIEnv* env, jclass clazz, jlong nativeObject, in nativeSetDefaultBufferSize() argument 453 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetDefaultBufferSize() 589 jlong nativeObject, jint zorder) { in nativeSetLayer() argument 592 SurfaceControl* const ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetLayer() 597 jlong nativeObject, in nativeSetRelativeLayer() argument 600 auto ctrl = reinterpret_cast<SurfaceControl *>(nativeObject); in nativeSetRelativeLayer() [all …]
|
D | android_graphics_GraphicBuffer.cpp | 235 jlong nativeObject = env->GetLongField(obj, gGraphicBufferClassInfo.mNativeObject); in android_graphics_GraphicBuffer_getNativeGraphicsBuffer() local 236 GraphicBufferWrapper* wrapper = (GraphicBufferWrapper*) nativeObject; in android_graphics_GraphicBuffer_getNativeGraphicsBuffer()
|
/frameworks/base/core/java/android/hardware/ |
D | HardwareBuffer.java | 206 long nativeObject = nCreateHardwareBuffer(width, height, format, layers, usage); in create() local 207 if (nativeObject == 0) { in create() 212 return new HardwareBuffer(nativeObject); in create() 256 long nativeObject = nCreateFromGraphicBuffer(graphicBuffer); in createFromGraphicBuffer() local 257 return new HardwareBuffer(nativeObject); in createFromGraphicBuffer() 265 private HardwareBuffer(long nativeObject) { in HardwareBuffer() argument 266 mNativeObject = nativeObject; in HardwareBuffer() 267 long bufferSize = nEstimateSize(nativeObject); in HardwareBuffer() 398 long nativeObject = nReadHardwareBufferFromParcel(in); 399 if (nativeObject != 0) { [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | GraphicBuffer.java | 81 long nativeObject = nCreateGraphicBuffer(width, height, format, usage); in create() local 82 if (nativeObject != 0) { in create() 83 return new GraphicBuffer(width, height, format, usage, nativeObject); in create() 92 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { in GraphicBuffer() argument 97 mNativeObject = nativeObject; in GraphicBuffer() 285 long nativeObject = nReadGraphicBufferFromParcel(in); 286 if (nativeObject != 0) { 287 return new GraphicBuffer(width, height, format, usage, nativeObject); 298 private static native void nDestroyGraphicBuffer(long nativeObject); in nDestroyGraphicBuffer() argument 299 private static native void nWriteGraphicBufferToParcel(long nativeObject, Parcel dest); in nWriteGraphicBufferToParcel() argument [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaMuxer.cpp | 47 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jobjectArray keys, in android_media_MediaMuxer_addTrack() argument 49 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_addTrack() 77 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex, in android_media_MediaMuxer_writeSampleData() argument 79 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_writeSampleData() 174 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint degrees) { in android_media_MediaMuxer_setOrientationHint() argument 175 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_setOrientationHint() 192 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { in android_media_MediaMuxer_setLocation() argument 193 MediaMuxer* muxer = reinterpret_cast<MediaMuxer *>(nativeObject); in android_media_MediaMuxer_setLocation() 204 jlong nativeObject) { in android_media_MediaMuxer_start() argument 205 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_start() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LongMultiStateCounter.java | 201 private static native void native_setEnabled(long nativeObject, boolean enabled, in native_setEnabled() argument 205 private static native void native_setState(long nativeObject, int state, long timestampMs); in native_setState() argument 208 private static native long native_updateValue(long nativeObject, long value, long timestampMs); in native_updateValue() argument 211 private static native void native_incrementValue(long nativeObject, long increment, in native_incrementValue() argument 215 private static native void native_addCount(long nativeObject, long count); in native_addCount() argument 218 private static native void native_reset(long nativeObject); in native_reset() argument 221 private static native long native_getCount(long nativeObject, int state); in native_getCount() argument 224 private native String native_toString(long nativeObject); in native_toString() argument 227 private native void native_writeToParcel(long nativeObject, Parcel dest, int flags); in native_writeToParcel() argument 233 private static native int native_getStateCount(long nativeObject); in native_getStateCount() argument
|
D | LongArrayMultiStateCounter.java | 115 private native void native_setValues(long nativeObject, long[] array); in native_setValues() argument 118 private native void native_getValues(long nativeObject, long[] array); in native_getValues() argument 269 private static native void native_setEnabled(long nativeObject, boolean enabled, in native_setEnabled() argument 273 private static native void native_setState(long nativeObject, int state, long timestampMs); in native_setState() argument 276 private static native void native_updateValues(long nativeObject, in native_updateValues() argument 280 private static native void native_addCounts(long nativeObject, in native_addCounts() argument 284 private static native void native_reset(long nativeObject); in native_reset() argument 287 private static native void native_getCounts(long nativeObject, in native_getCounts() argument 291 private native String native_toString(long nativeObject); in native_toString() argument 294 private native void native_writeToParcel(long nativeObject, Parcel dest, int flags); in native_writeToParcel() argument [all …]
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 75 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) in nativeLockCanvas() argument 77 private static native void nativeUnlockCanvasAndPost(long nativeObject, Canvas canvas); in nativeUnlockCanvasAndPost() argument 80 private static native void nativeRelease(long nativeObject); in nativeRelease() argument 81 private static native boolean nativeIsValid(long nativeObject); in nativeIsValid() argument 82 private static native boolean nativeIsConsumerRunningBehind(long nativeObject); in nativeIsConsumerRunningBehind() argument 83 private static native long nativeReadFromParcel(long nativeObject, Parcel source); in nativeReadFromParcel() argument 84 private static native void nativeWriteToParcel(long nativeObject, Parcel dest); in nativeWriteToParcel() argument 86 private static native void nativeAllocateBuffers(long nativeObject); in nativeAllocateBuffers() argument 88 private static native int nativeGetWidth(long nativeObject); in nativeGetWidth() argument 89 private static native int nativeGetHeight(long nativeObject); in nativeGetHeight() argument [all …]
|
D | SurfaceControl.java | 105 private static native long nativeCopyFromSurfaceControl(long nativeObject); in nativeCopyFromSurfaceControl() argument 106 private static native void nativeWriteToParcel(long nativeObject, Parcel out); in nativeWriteToParcel() argument 107 private static native void nativeRelease(long nativeObject); in nativeRelease() argument 108 private static native void nativeDisconnect(long nativeObject); in nativeDisconnect() argument 109 …private static native void nativeUpdateDefaultBufferSize(long nativeObject, int width, int height); in nativeUpdateDefaultBufferSize() argument 126 private static native void nativeSetLayer(long transactionObj, long nativeObject, int zorder); in nativeSetLayer() argument 127 private static native void nativeSetRelativeLayer(long transactionObj, long nativeObject, in nativeSetRelativeLayer() argument 129 private static native void nativeSetPosition(long transactionObj, long nativeObject, in nativeSetPosition() argument 131 private static native void nativeSetScale(long transactionObj, long nativeObject, in nativeSetScale() argument 133 private static native void nativeSetSize(long transactionObj, long nativeObject, int w, int h); in nativeSetSize() argument [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 291 private static native void nativeRelease(long nativeObject); in nativeRelease() argument 292 private static native void nativeStart(long nativeObject); in nativeStart() argument 293 private static native void nativeStop(long nativeObject); in nativeStop() argument 295 long nativeObject, @NonNull String[] keys, @NonNull Object[] values); in nativeAddTrack() argument 297 long nativeObject, int degrees); in nativeSetOrientationHint() argument 298 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation() argument 300 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, in nativeWriteSampleData() argument
|