Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
H A DSurfaceNatives.java43 public static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty); in nativeLockCanvas()
45 public static native void nativeUnlockCanvasAndPost(long nativeObject, Canvas canvas); in nativeUnlockCanvasAndPost()
47 public static native void nativeRelease(long nativeObject); in nativeRelease()
49 public static native boolean nativeIsValid(long nativeObject); in nativeIsValid()
51 public static native boolean nativeIsConsumerRunningBehind(long nativeObject); in nativeIsConsumerRunningBehind()
53 public static native long nativeReadFromParcel(long nativeObject, Parcel source); in nativeReadFromParcel()
55 public static native void nativeWriteToParcel(long nativeObject, Parcel dest); in nativeWriteToParcel()
57 public static native void nativeAllocateBuffers(long nativeObject); in nativeAllocateBuffers()
59 public static native int nativeGetWidth(long nativeObject); in nativeGetWidth()
61 public static native int nativeGetHeight(long nativeObject); in nativeGetHeight()
[all …]
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowNativeSurface.java82 protected static long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) in nativeLockCanvas()
88 protected static void nativeUnlockCanvasAndPost(long nativeObject, Canvas canvas) { in nativeUnlockCanvasAndPost()
93 protected static void nativeRelease(long nativeObject) { in nativeRelease()
98 protected static boolean nativeIsValid(long nativeObject) { in nativeIsValid()
103 protected static boolean nativeIsConsumerRunningBehind(long nativeObject) { in nativeIsConsumerRunningBehind()
108 protected static long nativeReadFromParcel(long nativeObject, Parcel source) { in nativeReadFromParcel()
113 protected static void nativeWriteToParcel(long nativeObject, Parcel dest) { in nativeWriteToParcel()
118 protected static void nativeAllocateBuffers(long nativeObject) { in nativeAllocateBuffers()
123 protected static int nativeGetWidth(long nativeObject) { in nativeGetWidth()
128 protected static int nativeGetHeight(long nativeObject) { in nativeGetHeight()
[all …]
H A DShadowHardwareBuffer.java77 protected static void nWriteHardwareBufferToParcel(long nativeObject, Parcel dest) { in nWriteHardwareBufferToParcel()
97 protected static int nGetWidth(long nativeObject) { in nGetWidth()
102 protected static int nGetHeight(long nativeObject) { in nGetHeight()
107 protected static int nGetFormat(long nativeObject) { in nGetFormat()
112 protected static int nGetLayers(long nativeObject) { in nGetLayers()
117 protected static long nGetUsage(long nativeObject) { in nGetUsage()
H A DShadowMediaMuxer.java74 long nativeObject = nativeSetup(fd, format); in __constructor__() local
114 long nativeObject, @NonNull String[] keys, @NonNull Object[] values) { in nativeAddTrack()
126 long nativeObject, in nativeWriteSampleData()
151 protected static void nativeStop(long nativeObject) { in nativeStop()
H A DShadowBackupDataOutput.java35 NativeBackupDataOutput nativeObject = nativeObjectRegistry.getNativeObject(mBackupWriter); in writeEntityHeader_native() local
60 NativeBackupDataOutput nativeObject = nativeObjectRegistry.getNativeObject(mBackupWriter); in writeEntityData_native() local
H A DShadowSurfaceControl.java26 private static final AtomicInteger nativeObject = new AtomicInteger(); field in ShadowSurfaceControl
97 void setNativeObject(long nativeObject); in setNativeObject()
H A DShadowPaint.java598 long nativeObject, in native_getRunAdvance()
612 long nativeObject, in native_getTextRunAdvances()
628 long nativeObject, in native_getTextRunAdvances()
/aosp_15_r20/frameworks/base/core/jni/
H A 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 …]
H A Dandroid_view_SurfaceControl.cpp546 static void nativeDisconnect(JNIEnv* env, jclass clazz, jlong nativeObject) { in nativeDisconnect()
553 static void nativeSetDefaultBufferSize(JNIEnv* env, jclass clazz, jlong nativeObject, in nativeSetDefaultBufferSize()
596 jlong nativeObject, jint zorder) { in nativeSetLayer()
604 jlong nativeObject, in nativeSetRelativeLayer()
614 jlong nativeObject, jfloat x, jfloat y) { in nativeSetPosition()
621 static void nativeSetScale(JNIEnv* env, jclass clazz, jlong transactionObj, jlong nativeObject, in nativeSetScale()
629 static void nativeSetGeometry(JNIEnv* env, jclass clazz, jlong transactionObj, jlong nativeObject, in nativeSetGeometry()
700 static void nativeSetBuffer(JNIEnv* env, jclass clazz, jlong transactionObj, jlong nativeObject, in nativeSetBuffer()
717 static void nativeUnsetBuffer(JNIEnv* env, jclass clazz, jlong transactionObj, jlong nativeObject) { in nativeUnsetBuffer()
724 jlong nativeObject, jint transform) { in nativeSetBufferTransform()
[all …]
H A 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()
H A Dandroid_hardware_OverlayProperties.cpp62 jlong nativeObject, in android_hardware_OverlayProperties_isCombinationSupported()
85 jlong nativeObject) { in android_hardware_OverlayProperties_supportMixedColorSpaces()
106 jlong nativeObject) { in android_hardware_OverlayProperties_getLutProperties()
139 static void android_hardware_OverlayProperties_write(JNIEnv* env, jclass, jlong nativeObject, in android_hardware_OverlayProperties_write()
/aosp_15_r20/frameworks/base/core/java/com/android/internal/os/
H A DLongArrayMultiStateCounter.java247 private static native void native_setEnabled(long nativeObject, boolean enabled, in native_setEnabled()
252 private static native void native_setState(long nativeObject, int state, long timestampMs); in native_setState()
261 private static native void native_setValues(long nativeObject, int state, long[] values); in native_setValues()
265 private static native void native_updateValues(long nativeObject, long[] values, in native_updateValues()
270 private static native void native_incrementValues(long nativeObject, long[] values, in native_incrementValues()
275 private static native void native_addCounts(long nativeObject, long[] counts); in native_addCounts()
279 private static native void native_reset(long nativeObject); in native_reset()
283 private static native void native_getCounts(long nativeObject, long[] counts, int state); in native_getCounts()
287 private static native String native_toString(long nativeObject); in native_toString()
291 private static native void native_writeToParcel(long nativeObject, Parcel dest, int flags); in native_writeToParcel()
[all …]
H A DLongMultiStateCounter.java225 private static native void native_setEnabled(long nativeObject, boolean enabled, in native_setEnabled()
230 private static native void native_setState(long nativeObject, int state, long timestampMs); in native_setState()
234 private static native long native_updateValue(long nativeObject, long value, long timestampMs); in native_updateValue()
238 private static native void native_incrementValue(long nativeObject, long increment, in native_incrementValue()
243 private static native void native_addCount(long nativeObject, long count); in native_addCount()
247 private static native void native_reset(long nativeObject); in native_reset()
251 private static native long native_getCount(long nativeObject, int state); in native_getCount()
255 private static native String native_toString(long nativeObject); in native_toString()
259 private static native void native_writeToParcel(long nativeObject, Parcel dest, int flags); in native_writeToParcel()
267 private static native int native_getStateCount(long nativeObject); in native_getStateCount()
/aosp_15_r20/frameworks/base/core/java/android/view/
H A DSurfaceControl.java115 private static native long nativeCopyFromSurfaceControl(long nativeObject); in nativeCopyFromSurfaceControl()
116 private static native void nativeWriteToParcel(long nativeObject, Parcel out); in nativeWriteToParcel()
118 private static native void nativeDisconnect(long nativeObject); in nativeDisconnect()
119 …private static native void nativeUpdateDefaultBufferSize(long nativeObject, int width, int height); in nativeUpdateDefaultBufferSize()
134 private static native void nativeSetLayer(long transactionObj, long nativeObject, int zorder); in nativeSetLayer()
135 private static native void nativeSetRelativeLayer(long transactionObj, long nativeObject, in nativeSetRelativeLayer()
137 private static native void nativeSetPosition(long transactionObj, long nativeObject, in nativeSetPosition()
139 private static native void nativeSetScale(long transactionObj, long nativeObject, in nativeSetScale()
142 long nativeObject, Region region); in nativeSetTransparentRegionHint()
143 private static native void nativeSetAlpha(long transactionObj, long nativeObject, float alpha); in nativeSetAlpha()
[all …]
H A DSurface.java79 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) in nativeLockCanvas()
81 private static native void nativeUnlockCanvasAndPost(long nativeObject, Canvas canvas); in nativeUnlockCanvasAndPost()
84 private static native void nativeRelease(long nativeObject); in nativeRelease()
85 private static native boolean nativeIsValid(long nativeObject); in nativeIsValid()
86 private static native boolean nativeIsConsumerRunningBehind(long nativeObject); in nativeIsConsumerRunningBehind()
87 private static native long nativeReadFromParcel(long nativeObject, Parcel source); in nativeReadFromParcel()
88 private static native void nativeWriteToParcel(long nativeObject, Parcel dest); in nativeWriteToParcel()
90 private static native void nativeAllocateBuffers(long nativeObject); in nativeAllocateBuffers()
92 private static native int nativeGetWidth(long nativeObject); in nativeGetWidth()
93 private static native int nativeGetHeight(long nativeObject); in nativeGetHeight()
[all …]
/aosp_15_r20/frameworks/base/core/java/android/hardware/
H A DHardwareBuffer.java240 long nativeObject = nCreateHardwareBuffer(width, height, format, layers, usage); in create() local
287 long nativeObject = nCreateFromGraphicBuffer(graphicBuffer); in createFromGraphicBuffer() local
307 private HardwareBuffer(long nativeObject) { in HardwareBuffer()
466 private static native void nWriteHardwareBufferToParcel(long nativeObject, Parcel dest); in nWriteHardwareBufferToParcel()
469 private static native int nGetWidth(long nativeObject); in nGetWidth()
471 private static native int nGetHeight(long nativeObject); in nGetHeight()
473 private static native int nGetFormat(long nativeObject); in nGetFormat()
475 private static native int nGetLayers(long nativeObject); in nGetLayers()
477 private static native long nGetUsage(long nativeObject); in nGetUsage()
481 private static native long nEstimateSize(long nativeObject); in nEstimateSize()
[all …]
H A DOverlayProperties.java56 private OverlayProperties(long nativeObject) { in OverlayProperties()
157 private static native boolean nSupportMixedColorSpaces(long nativeObject); in nSupportMixedColorSpaces()
159 long nativeObject, int dataspace, int format); in nIsCombinationSupported()
160 private static native void nWriteOverlayPropertiesToParcel(long nativeObject, Parcel dest); in nWriteOverlayPropertiesToParcel()
162 private static native LutProperties[] nGetLutProperties(long nativeObject); in nGetLutProperties()
/aosp_15_r20/frameworks/base/media/jni/
H A 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()
/aosp_15_r20/frameworks/base/media/java/android/media/
H A 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()
/aosp_15_r20/frameworks/base/graphics/java/android/graphics/
H A 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()
/aosp_15_r20/frameworks/base/core/java/android/window/
H A 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()
/aosp_15_r20/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DJNIImsMediaService.java62 public static native void sendMessage(long nativeObject, int sessionId, byte[] baData); in sendMessage()
71 public static native void setPreviewSurface(long nativeObject, int sessionId, Surface surface); in setPreviewSurface()
80 public static native void setDisplaySurface(long nativeObject, int sessionId, Surface surface); in setDisplaySurface()
DTextLocalSession.java40 TextLocalSession(final int sessionId, final long nativeObject) { in TextLocalSession()
DVideoLocalSession.java42 VideoLocalSession(final int sessionId, final long nativeObject) { in VideoLocalSession()
/aosp_15_r20/frameworks/base/libs/hwui/jni/
H A DGainmap.cpp231 static void Gainmap_writeToParcel(JNIEnv* env, jobject, jlong nativeObject, jobject parcel) { in Gainmap_writeToParcel()
271 static void Gainmap_readFromParcel(JNIEnv* env, jobject, jlong nativeObject, jobject parcel) { in Gainmap_readFromParcel()

1234