/aosp14/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 167 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeRelease() 172 sp<Surface> sur(reinterpret_cast<Surface *>(nativeObject)); in nativeIsValid() 244 jlong nativeObject, jobject canvasObj) { in nativeUnlockCanvasAndPost() argument 262 jlong nativeObject) { in nativeAllocateBuffers() argument 284 jlong nativeObject, in nativeGetFromSurfaceControl() argument 286 Surface* self(reinterpret_cast<Surface *>(nativeObject)); in nativeGetFromSurfaceControl() 293 return nativeObject; in nativeGetFromSurfaceControl() 306 Surface* self(reinterpret_cast<Surface*>(nativeObject)); in nativeGetFromBlastBufferQueue() 313 return nativeObject; in nativeGetFromBlastBufferQueue() 325 jlong nativeObject, jobject parcelObj) { in nativeReadFromParcel() argument [all …]
|
H A 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 151 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getFormat() argument 158 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getLayers() argument 164 jobject clazz, jlong nativeObject) { in android_hardware_HardwareBuffer_getUsage() argument 169 static jlong android_hardware_HardwareBuffer_estimateSize(jlong nativeObject) { in android_hardware_HardwareBuffer_estimateSize() argument 183 static jlong android_hardware_HardwareBuffer_getId(jlong nativeObject) { in android_hardware_HardwareBuffer_getId() argument [all …]
|
H A D | android_view_SurfaceControl.cpp | 506 jlong nativeObject, jint zorder) { in nativeSetLayer() argument 514 jlong nativeObject, in nativeSetRelativeLayer() argument 524 jlong nativeObject, jfloat x, jfloat y) { in nativeSetPosition() argument 733 jlong nativeObject, jint priority) { in nativeSetFrameRateSelectionPriority() argument 741 jlong nativeObject, jobject regionObj) { in nativeSetTransparentRegionHint() argument 805 jlong nativeObject, jfloat alpha) { in nativeSetAlpha() argument 862 jlong nativeObject, in nativeSetMatrix() argument 893 jlong nativeObject, in nativeSetWindowCrop() argument 911 jlong nativeObject, jint blurRadius) { in nativeSetBackgroundBlurRadius() argument 919 jlong nativeObject, jint layerStack) { in nativeSetLayerStack() argument [all …]
|
H A D | android_hardware_OverlayProperties.cpp | 56 jlong nativeObject) { in android_hardware_OverlayProperties_supportFp16ForHdr() argument 57 gui::OverlayProperties* properties = reinterpret_cast<gui::OverlayProperties*>(nativeObject); in android_hardware_OverlayProperties_supportFp16ForHdr() 80 jlong nativeObject) { in android_hardware_OverlayProperties_supportMixedColorSpaces() argument 81 gui::OverlayProperties* properties = reinterpret_cast<gui::OverlayProperties*>(nativeObject); in android_hardware_OverlayProperties_supportMixedColorSpaces() 92 static void android_hardware_OverlayProperties_write(JNIEnv* env, jclass, jlong nativeObject, in android_hardware_OverlayProperties_write() argument 100 reinterpret_cast<gui::OverlayProperties*>(nativeObject); in android_hardware_OverlayProperties_write()
|
H A 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()
|
H A D | android_window_ScreenCapture.cpp | 242 static void nativeWriteListenerToParcel(JNIEnv* env, jclass clazz, jlong nativeObject, in nativeWriteListenerToParcel() argument 250 reinterpret_cast<ScreenCaptureListenerWrapper*>(nativeObject); in nativeWriteListenerToParcel()
|
/aosp14/frameworks/base/core/java/android/hardware/ |
H A D | HardwareBuffer.java | 204 if (nativeObject == 0) { in create() 209 return new HardwareBuffer(nativeObject); in create() 251 return new HardwareBuffer(nativeObject); in createFromGraphicBuffer() 259 private HardwareBuffer(long nativeObject) { in HardwareBuffer() argument 260 mNativeObject = nativeObject; in HardwareBuffer() 261 long bufferSize = nEstimateSize(nativeObject); in HardwareBuffer() 403 if (nativeObject != 0) { 404 return new HardwareBuffer(nativeObject); 421 private static native int nGetWidth(long nativeObject); in nGetWidth() argument 423 private static native int nGetHeight(long nativeObject); in nGetHeight() argument [all …]
|
H A D | OverlayProperties.java | 44 public OverlayProperties(long nativeObject) { in OverlayProperties() argument 45 if (nativeObject != 0) { in OverlayProperties() 46 mCloser = sRegistry.registerNativeAllocation(this, nativeObject); in OverlayProperties() 48 mNativeObject = nativeObject; in OverlayProperties() 118 private static native boolean nSupportFp16ForHdr(long nativeObject); in nSupportFp16ForHdr() argument 119 private static native boolean nSupportMixedColorSpaces(long nativeObject); in nSupportMixedColorSpaces() argument 120 private static native void nWriteOverlayPropertiesToParcel(long nativeObject, Parcel dest); in nWriteOverlayPropertiesToParcel() argument
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A 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() 286 long nativeObject = nReadGraphicBufferFromParcel(in); 287 if (nativeObject != 0) { 288 return new GraphicBuffer(width, height, format, usage, nativeObject); 299 private static native void nDestroyGraphicBuffer(long nativeObject); in nDestroyGraphicBuffer() argument 300 private static native void nWriteGraphicBufferToParcel(long nativeObject, Parcel dest); in nWriteGraphicBufferToParcel() argument [all …]
|
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 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() 179 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_setOrientationHint() 197 MediaMuxer* muxer = reinterpret_cast<MediaMuxer *>(nativeObject); in android_media_MediaMuxer_setLocation() 208 jlong nativeObject) { in android_media_MediaMuxer_start() argument 209 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_start() 226 jlong nativeObject) { in android_media_MediaMuxer_stop() argument 227 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_stop() 245 JNIEnv* /* env */, jclass clazz, jlong nativeObject) { in android_media_MediaMuxer_native_release() argument [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A 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
|
H A D | LongArrayMultiStateCounter.java | 127 private native void native_setValues(long nativeObject, long[] array); in native_setValues() argument 130 private native void native_getValues(long nativeObject, long[] array); in native_getValues() argument 133 private native boolean native_combineValues(long nativeObject, long[] array, in native_combineValues() argument 285 private static native void native_setEnabled(long nativeObject, boolean enabled, in native_setEnabled() argument 292 private static native void native_updateValues(long nativeObject, in native_updateValues() argument 296 private static native void native_addCounts(long nativeObject, in native_addCounts() argument 300 private static native void native_reset(long nativeObject); in native_reset() argument 303 private static native void native_getCounts(long nativeObject, in native_getCounts() argument 307 private native String native_toString(long nativeObject); in native_toString() argument 316 private static native int native_getStateCount(long nativeObject); in native_getStateCount() argument [all …]
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 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 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 91 private static native long nativeGetNextFrameNumber(long nativeObject); in nativeGetNextFrameNumber() argument 93 private static native int nativeForceScopedDisconnect(long nativeObject); in nativeForceScopedDisconnect() argument 102 private static native void nativeDestroy(long nativeObject); in nativeDestroy() argument 313 private Surface(long nativeObject) { in Surface() argument [all …]
|
H A D | SurfaceControl.java | 143 long nativeObject, Region region); in nativeSetTransparentRegionHint() argument 158 long nativeObject, int priority); in nativeSetFrameRateSelectionPriority() argument 233 long nativeObject, int cachingHint); in nativeSetCachingHint() argument 263 long nativeObject, int compatibility); in nativeSetDefaultFrameRateCompatibility() argument 295 long nativeObject); in nativeClearTrustedPresentationCallback() argument 779 if (nativeObject != 0) { in assignNativeObject() 783 mNativeObject = nativeObject; in assignNativeObject() 791 if (nativeObject != 0) { in assignNativeObject() 1225 long nativeObject = 0; in SurfaceControl() local 1242 if (nativeObject == 0) { in SurfaceControl() [all …]
|
/aosp14/frameworks/base/media/java/android/media/ |
H A 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
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | Gainmap.cpp | 176 static void Gainmap_writeToParcel(JNIEnv* env, jobject, jlong nativeObject, jobject parcel) { in Gainmap_writeToParcel() argument 183 SkGainmapInfo info = fromJava(nativeObject)->info; in Gainmap_writeToParcel() 218 static void Gainmap_readFromParcel(JNIEnv* env, jobject, jlong nativeObject, jobject parcel) { in Gainmap_readFromParcel() argument 237 fromJava(nativeObject)->info = info; in Gainmap_readFromParcel()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | ScreenCapture.java | 53 private static native void nativeWriteListenerToParcel(long nativeObject, Parcel out); in nativeWriteListenerToParcel() argument
|