/frameworks/base/libs/hwui/jni/ |
D | android_graphics_animation_NativeInterpolatorFactory.cpp | 26 static jlong createAccelerateDecelerateInterpolator(JNIEnv* env, jobject clazz) { in createAccelerateDecelerateInterpolator() 27 return reinterpret_cast<jlong>(new AccelerateDecelerateInterpolator()); in createAccelerateDecelerateInterpolator() 30 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createAccelerateInterpolator() 31 return reinterpret_cast<jlong>(new AccelerateInterpolator(factor)); in createAccelerateInterpolator() 34 static jlong createAnticipateInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateInterpolator() 35 return reinterpret_cast<jlong>(new AnticipateInterpolator(tension)); in createAnticipateInterpolator() 38 static jlong createAnticipateOvershootInterpolator(JNIEnv* env, jobject clazz, jfloat tension) { in createAnticipateOvershootInterpolator() 39 return reinterpret_cast<jlong>(new AnticipateOvershootInterpolator(tension)); in createAnticipateOvershootInterpolator() 42 static jlong createBounceInterpolator(JNIEnv* env, jobject clazz) { in createBounceInterpolator() 43 return reinterpret_cast<jlong>(new BounceInterpolator()); in createBounceInterpolator() [all …]
|
D | android_graphics_DisplayListCanvas.cpp | 71 static jlong android_view_DisplayListCanvas_createDisplayListCanvas(CRITICAL_JNI_PARAMS_COMMA jlong… in android_view_DisplayListCanvas_createDisplayListCanvas() 74 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height, renderNode)); in android_view_DisplayListCanvas_createDisplayListCanvas() 77 static void android_view_DisplayListCanvas_resetDisplayListCanvas(CRITICAL_JNI_PARAMS_COMMA jlong c… in android_view_DisplayListCanvas_resetDisplayListCanvas() 78 jlong renderNodePtr, jint width, jint height) { in android_view_DisplayListCanvas_resetDisplayListCanvas() 88 static void android_view_DisplayListCanvas_enableZ(CRITICAL_JNI_PARAMS_COMMA jlong canvasPtr, in android_view_DisplayListCanvas_enableZ() 95 CRITICAL_JNI_PARAMS_COMMA jlong canvasPtr, jlong renderNodePtr) { in android_view_DisplayListCanvas_finishRecording() 101 …_view_DisplayListCanvas_drawRenderNode(CRITICAL_JNI_PARAMS_COMMA jlong canvasPtr, jlong renderNode… in android_view_DisplayListCanvas_drawRenderNode() 107 …iew_DisplayListCanvas_drawTextureLayer(CRITICAL_JNI_PARAMS_COMMA jlong canvasPtr, jlong layerPtr) { in android_view_DisplayListCanvas_drawTextureLayer() 113 static void android_view_DisplayListCanvas_drawRoundRectProps(CRITICAL_JNI_PARAMS_COMMA jlong canva… in android_view_DisplayListCanvas_drawRoundRectProps() 114 jlong leftPropPtr, jlong topPropPtr, jlong rightPropPtr, jlong bottomPropPtr, in android_view_DisplayListCanvas_drawRoundRectProps() [all …]
|
D | RenderEffect.cpp | 27 static jlong createOffsetEffect( in createOffsetEffect() 32 jlong inputFilterHandle in createOffsetEffect() 36 return reinterpret_cast<jlong>(offset.release()); in createOffsetEffect() 39 static jlong createBlurEffect(JNIEnv* env , jobject, jfloat radiusX, in createBlurEffect() 40 jfloat radiusY, jlong inputFilterHandle, jint edgeTreatment) { in createBlurEffect() 49 return reinterpret_cast<jlong>(blurFilter.release()); in createBlurEffect() 52 static jlong createBitmapEffect( in createBitmapEffect() 55 jlong bitmapHandle, in createBitmapEffect() 70 return reinterpret_cast<jlong>(bitmapFilter.release()); in createBitmapEffect() 73 static jlong createColorFilterEffect( in createColorFilterEffect() [all …]
|
D | android_graphics_drawable_VectorDrawable.cpp | 31 static jlong createTree(JNIEnv*, jobject, jlong groupPtr) { in createTree() 34 return reinterpret_cast<jlong>(tree); in createTree() 37 static jlong createTreeFromCopy(JNIEnv*, jobject, jlong treePtr, jlong groupPtr) { in createTreeFromCopy() 41 return reinterpret_cast<jlong>(tree); in createTreeFromCopy() 44 static jlong createEmptyFullPath(JNIEnv*, jobject) { in createEmptyFullPath() 46 return reinterpret_cast<jlong>(newPath); in createEmptyFullPath() 49 static jlong createFullPath(JNIEnv*, jobject, jlong srcFullPathPtr) { in createFullPath() 53 return reinterpret_cast<jlong>(newPath); in createFullPath() 56 static jlong createEmptyClipPath(JNIEnv*, jobject) { in createEmptyClipPath() 58 return reinterpret_cast<jlong>(newPath); in createEmptyClipPath() [all …]
|
D | android_graphics_RenderNode.cpp | 43 static void android_view_RenderNode_output(JNIEnv* env, jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_output() 48 static jint android_view_RenderNode_getUsageSize(JNIEnv* env, jobject clazz, jlong renderNodePtr) { in android_view_RenderNode_getUsageSize() 53 static jint android_view_RenderNode_getAllocatedSize(JNIEnv* env, jobject clazz, jlong renderNodePt… in android_view_RenderNode_getAllocatedSize() 58 static jlong android_view_RenderNode_create(JNIEnv* env, jobject, jstring name) { in android_view_RenderNode_create() 66 return reinterpret_cast<jlong>(renderNode); in android_view_RenderNode_create() 73 static jlong android_view_RenderNode_getNativeFinalizer(JNIEnv* env, in android_view_RenderNode_getNativeFinalizer() 75 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&releaseRenderNode)); in android_view_RenderNode_getNativeFinalizer() 78 static void android_view_RenderNode_discardDisplayList(CRITICAL_JNI_PARAMS_COMMA jlong renderNodePt… in android_view_RenderNode_discardDisplayList() 83 static jboolean android_view_RenderNode_isValid(CRITICAL_JNI_PARAMS_COMMA jlong renderNodePtr) { in android_view_RenderNode_isValid() 91 static jboolean android_view_RenderNode_setLayerType(CRITICAL_JNI_PARAMS_COMMA jlong renderNodePtr,… in android_view_RenderNode_setLayerType() [all …]
|
D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 83 static void addAnimator(JNIEnv*, jobject, jlong animatorSetPtr, jlong propertyHolderPtr, in addAnimator() 84 jlong interpolatorPtr, jlong startDelay, jlong duration, jint repeatCount, in addAnimator() 93 static jlong createAnimatorSet(JNIEnv*, jobject) { in createAnimatorSet() 95 return reinterpret_cast<jlong>(animatorSet); in createAnimatorSet() 98 static void setVectorDrawableTarget(JNIEnv*, jobject,jlong animatorPtr, jlong vectorDrawablePtr) { in setVectorDrawableTarget() 104 static jlong createGroupPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jint propertyId, in createGroupPropertyHolder() 109 return reinterpret_cast<jlong>(newHolder); in createGroupPropertyHolder() 112 static jlong createPathDataPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jlong startValuePtr, in createPathDataPropertyHolder() 113 jlong endValuePtr) { in createPathDataPropertyHolder() 119 return reinterpret_cast<jlong>(newHolder); in createPathDataPropertyHolder() [all …]
|
D | android_graphics_Canvas.cpp | 60 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas() 68 static jlong getNativeFinalizer(JNIEnv* env, jobject clazz) { in getNativeFinalizer() 69 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&delete_canvas)); in getNativeFinalizer() 73 static jlong initRaster(JNIEnv* env, jobject, jlong bitmapHandle) { in initRaster() 78 return reinterpret_cast<jlong>(Canvas::create_canvas(bitmap)); in initRaster() 83 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle) { in setBitmap() 91 static jboolean isHighContrastText(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle) { in isHighContrastText() 95 static jboolean isOpaque(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle) { in isOpaque() 99 static jint getWidth(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle) { in getWidth() 103 static jint getHeight(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle) { in getHeight() [all …]
|
D | android_util_PathParser.cpp | 29 static void parseStringForPath(JNIEnv* env, jobject, jlong skPathHandle, jstring inputPathStr, in parseStringForPath() 42 static jlong createEmptyPathData(JNIEnv*, jobject) { in createEmptyPathData() 44 return reinterpret_cast<jlong>(pathData); in createEmptyPathData() 47 static jlong createPathData(JNIEnv*, jobject, jlong pathDataPtr) { in createPathData() 50 return reinterpret_cast<jlong>(newPathData); in createPathData() 53 static jlong createPathDataFromStringPath(JNIEnv* env, jobject, jstring inputStr, jint strLength) { in createPathDataFromStringPath() 60 return reinterpret_cast<jlong>(pathData); in createPathDataFromStringPath() 68 static jboolean interpolatePathData(JNIEnv*, jobject, jlong outPathDataPtr, jlong fromPathDataPtr, in interpolatePathData() 69 jlong toPathDataPtr, jfloat fraction) { in interpolatePathData() 77 static void deletePathData(JNIEnv*, jobject, jlong pathDataHandle) { in deletePathData() [all …]
|
D | android_graphics_Matrix.cpp | 32 static void finalizer(jlong objHandle) { in finalizer() 37 static jlong getNativeFinalizer(JNIEnv* env, jobject clazz) { in getNativeFinalizer() 38 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&finalizer)); in getNativeFinalizer() 41 static jlong create(JNIEnv* env, jobject clazz, jlong srcHandle) { in create() 48 return reinterpret_cast<jlong>(obj); in create() 53 static void mapPoints(JNIEnv* env, jobject clazz, jlong matrixHandle, in mapPoints() 73 jlong matrixHandle, jobjectArray dst, jobject src) { in mapRect__RectFRectF() 83 jlong matrixHandle, jobject src, jobject dst, jint stfHandle) { in setRectToRect() 94 jlong matrixHandle, jfloatArray jsrc, jint srcIndex, in setPolyToPoly() 114 static void getValues(JNIEnv* env, jobject clazz, jlong matrixHandle, in getValues() [all …]
|
D | PathEffect.cpp | 11 static void destructor(JNIEnv* env, jobject, jlong effectHandle) { in destructor() 16 static jlong Compose_constructor(JNIEnv* env, jobject, in Compose_constructor() 17 jlong outerHandle, jlong innerHandle) { in Compose_constructor() 22 return reinterpret_cast<jlong>(effect); in Compose_constructor() 25 static jlong Sum_constructor(JNIEnv* env, jobject, in Sum_constructor() 26 jlong firstHandle, jlong secondHandle) { in Sum_constructor() 31 return reinterpret_cast<jlong>(effect); in Sum_constructor() 34 static jlong Dash_constructor(JNIEnv* env, jobject, in Dash_constructor() 40 return reinterpret_cast<jlong>(effect); in Dash_constructor() 43 static jlong OneD_constructor(JNIEnv* env, jobject, in OneD_constructor() [all …]
|
D | android_graphics_animation_RenderNodeAnimator.cpp | 101 static jlong createAnimator(JNIEnv* env, jobject clazz, in createAnimator() 106 return reinterpret_cast<jlong>( animator ); in createAnimator() 109 static jlong createCanvasPropertyFloatAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyFloatAnimator() 110 jlong canvasPropertyPtr, jfloat finalValue) { in createCanvasPropertyFloatAnimator() 114 return reinterpret_cast<jlong>( animator ); in createCanvasPropertyFloatAnimator() 117 static jlong createCanvasPropertyPaintAnimator(JNIEnv* env, jobject clazz, in createCanvasPropertyPaintAnimator() 118 jlong canvasPropertyPtr, jint paintFieldRaw, in createCanvasPropertyPaintAnimator() 125 return reinterpret_cast<jlong>( animator ); in createCanvasPropertyPaintAnimator() 128 static jlong createRevealAnimator(JNIEnv* env, jobject clazz, in createRevealAnimator() 132 return reinterpret_cast<jlong>( animator ); in createRevealAnimator() [all …]
|
D | android_graphics_Picture.cpp | 28 static jlong android_graphics_Picture_newPicture(JNIEnv* env, jobject, jlong srcHandle) { in android_graphics_Picture_newPicture() 30 return reinterpret_cast<jlong>(new Picture(src)); in android_graphics_Picture_newPicture() 33 static jlong android_graphics_Picture_deserialize(JNIEnv* env, jobject, jobject jstream, in android_graphics_Picture_deserialize() 41 return reinterpret_cast<jlong>(picture); in android_graphics_Picture_deserialize() 44 static void android_graphics_Picture_killPicture(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_killPicture() 50 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, in android_graphics_Picture_draw() 51 jlong pictureHandle) { in android_graphics_Picture_draw() 59 static jboolean android_graphics_Picture_serialize(JNIEnv* env, jobject, jlong pictureHandle, in android_graphics_Picture_serialize() 72 static jint android_graphics_Picture_getWidth(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getWidth() 77 static jint android_graphics_Picture_getHeight(JNIEnv* env, jobject, jlong pictureHandle) { in android_graphics_Picture_getHeight() [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_LongMultiStateCounter.cpp | 58 static inline battery::LongMultiStateCounter *asLongMultiStateCounter(const jlong nativePtr) { in asLongMultiStateCounter() 62 static jlong native_init(jint stateCount) { in native_init() 64 return reinterpret_cast<jlong>(counter); in native_init() 71 static jlong native_getReleaseFunc() { in native_getReleaseFunc() 72 return reinterpret_cast<jlong>(native_dispose); in native_getReleaseFunc() 75 static void native_setEnabled(jlong nativePtr, jboolean enabled, jlong timestamp) { in native_setEnabled() 79 static void native_setState(jlong nativePtr, jint state, jlong timestamp) { in native_setState() 83 static jlong native_updateValue(jlong nativePtr, jlong value, jlong timestamp) { in native_updateValue() 84 return (jlong)asLongMultiStateCounter(nativePtr)->updateValue((int64_t)value, timestamp); in native_updateValue() 87 static void native_incrementValue(jlong nativePtr, jlong count, jlong timestamp) { in native_incrementValue() [all …]
|
D | com_android_internal_os_LongArrayMultiStateCounter.cpp | 30 static jlong native_init(jint stateCount, jint arrayLength) { in native_init() 33 return reinterpret_cast<jlong>(counter); in native_init() 42 static jlong native_getReleaseFunc() { in native_getReleaseFunc() 43 return reinterpret_cast<jlong>(native_dispose); in native_getReleaseFunc() 46 static void native_setEnabled(jlong nativePtr, jboolean enabled, jlong timestamp) { in native_setEnabled() 52 static void native_setState(jlong nativePtr, jint state, jlong timestamp) { in native_setState() 58 static void native_copyStatesFrom(jlong nativePtrTarget, jlong nativePtrSource) { in native_copyStatesFrom() 66 static void native_setValues(jlong nativePtr, jint state, jlong longArrayContainerNativePtr) { in native_setValues() 75 static void native_updateValues(jlong nativePtr, jlong longArrayContainerNativePtr, in native_updateValues() 76 jlong timestamp) { in native_updateValues() [all …]
|
D | android_hardware_HardwareBuffer.cpp | 72 static jlong android_hardware_HardwareBuffer_create(JNIEnv* env, jobject clazz, in android_hardware_HardwareBuffer_create() 73 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_create() 96 return reinterpret_cast<jlong>(wrapper); in android_hardware_HardwareBuffer_create() 99 static jlong android_hardware_HardwareBuffer_createFromGraphicBuffer(JNIEnv* env, jobject clazz, jo… in android_hardware_HardwareBuffer_createFromGraphicBuffer() 103 return reinterpret_cast<jlong>(wrapper); in android_hardware_HardwareBuffer_createFromGraphicBuffer() 110 static jlong android_hardware_HardwareBuffer_getNativeFinalizer(JNIEnv* env, jobject clazz) { in android_hardware_HardwareBuffer_getNativeFinalizer() 111 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&destroyWrapper)); in android_hardware_HardwareBuffer_getNativeFinalizer() 115 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_isSupported() 134 jlong nativeObject) { in GraphicBufferWrapper_to_GraphicBuffer() 139 jlong nativeObject) { in android_hardware_HardwareBuffer_getWidth() [all …]
|
D | android_hardware_SyncFence.cpp | 28 jlong toJlong(T* ptr) { in toJlong() 29 return static_cast<jlong>(reinterpret_cast<uintptr_t>(ptr)); in toJlong() 33 T* fromJlong(jlong jPtr) { in fromJlong() 41 static jlong SyncFence_getDestructor(JNIEnv*, jobject) { in SyncFence_getDestructor() 45 static jlong SyncFence_create(JNIEnv*, jobject, int fd) { in SyncFence_create() 51 static jboolean SyncFence_isValid(JNIEnv*, jobject, jlong jPtr) { in SyncFence_isValid() 55 static jint SyncFence_getFd(JNIEnv*, jobject, jlong jPtr) { in SyncFence_getFd() 59 static jboolean SyncFence_wait(JNIEnv* env, jobject, jlong jPtr, jlong timeoutNanos) { in SyncFence_wait() 65 static jlong SyncFence_getSignalTime(JNIEnv* env, jobject, jlong jPtr) { in SyncFence_getSignalTime() 69 static void SyncFence_incRef(JNIEnv*, jobject, jlong jPtr) { in SyncFence_incRef()
|
D | android_util_jar_StrictJarFile.cpp | 48 static_cast<jlong>(entry.crc32), in newZipEntry() 49 static_cast<jlong>(entry.compressed_length), in newZipEntry() 50 static_cast<jlong>(entry.uncompressed_length), in newZipEntry() 54 static_cast<jlong>(entry.offset)); in newZipEntry() 57 jlong StrictJarFile_nativeOpenJarFile(JNIEnv* env, jobject, jstring name, jint fd) { in StrictJarFile_nativeOpenJarFile() 61 return static_cast<jlong>(-1); in StrictJarFile_nativeOpenJarFile() 70 return static_cast<jlong>(-1); in StrictJarFile_nativeOpenJarFile() 73 return reinterpret_cast<jlong>(handle); in StrictJarFile_nativeOpenJarFile() 95 jlong StrictJarFile_nativeStartIteration(JNIEnv* env, jobject, jlong nativeHandle, in StrictJarFile_nativeStartIteration() 99 return static_cast<jlong>(-1); in StrictJarFile_nativeStartIteration() [all …]
|
D | com_android_internal_os_FuseAppLoop.cpp | 110 void CallOnCommand(jint command, jlong unique, jlong inode, jlong offset, jint size, in CallOnCommand() 117 jlong com_android_internal_os_FuseAppLoop_new(JNIEnv* env, jobject self, jint jfd) { in com_android_internal_os_FuseAppLoop_new() 118 return reinterpret_cast<jlong>(new fuse::FuseAppLoop(base::unique_fd(jfd))); in com_android_internal_os_FuseAppLoop_new() 121 void com_android_internal_os_FuseAppLoop_delete(JNIEnv* env, jobject self, jlong ptr) { in com_android_internal_os_FuseAppLoop_delete() 125 void com_android_internal_os_FuseAppLoop_start(JNIEnv* env, jobject self, jlong ptr) { in com_android_internal_os_FuseAppLoop_start() 131 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint result) { in com_android_internal_os_FuseAppLoop_replySimple() 138 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong fh) { in com_android_internal_os_FuseAppLoop_replyOpen() 145 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) { in com_android_internal_os_FuseAppLoop_replyLookup() 152 JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) { in com_android_internal_os_FuseAppLoop_replyGetAttr() 160 JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size) { in com_android_internal_os_FuseAppLoop_replyWrite() [all …]
|
D | android_window_InputTransferToken.cpp | 35 static jlong nativeCreate(JNIEnv* env, jclass clazz) { in nativeCreate() 38 return reinterpret_cast<jlong>(inputTransferToken.get()); in nativeCreate() 41 static jlong nativeCreateFromBinder(JNIEnv* env, jclass clazz, jobject tokenBinderObj) { in nativeCreateFromBinder() 51 return reinterpret_cast<jlong>(inputTransferToken.get()); in nativeCreateFromBinder() 54 static void nativeWriteToParcel(JNIEnv* env, jclass clazz, jlong nativeObj, jobject parcelObj) { in nativeWriteToParcel() 60 static jlong nativeReadFromParcel(JNIEnv* env, jclass clazz, jobject parcelObj) { in nativeReadFromParcel() 65 return reinterpret_cast<jlong>(inputTransferToken.get()); in nativeReadFromParcel() 68 static jobject nativeGetBinderToken(JNIEnv* env, jclass clazz, jlong nativeObj) { in nativeGetBinderToken() 73 static jlong nativeGetBinderTokenRef(JNIEnv*, jclass, jlong nativeObj) { in nativeGetBinderTokenRef() 75 return reinterpret_cast<jlong>(inputTransferToken->mToken.get()); in nativeGetBinderTokenRef() [all …]
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 241 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \ 343 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish() 351 static jlong 352 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate() 353 jlong returnValue, jlongArray fieldIDArray, in nClosureCreate() 356 jlong ret = 0; in nClosureCreate() 358 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); in nClosureCreate() 365 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate() 379 jlong* jDepClosures = in nClosureCreate() 387 jlong* jDepFieldIDs = in nClosureCreate() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | test.cpp | 39 jlong Java_com_android_benchmark_synthetic_TestInterface_nInit(JNIEnv *_env, jobject _this, jlong o… in Java_com_android_benchmark_synthetic_TestInterface_nInit() 44 return (jlong)b; in Java_com_android_benchmark_synthetic_TestInterface_nInit() 51 void Java_com_android_benchmark_synthetic_TestInterface_nDestroy(JNIEnv *_env, jobject _this, jlong… in Java_com_android_benchmark_synthetic_TestInterface_nDestroy() 58 JNIEnv *_env, jobject _this, jlong _b, jlong options) { in Java_com_android_benchmark_synthetic_TestInterface_nRunPowerManagementTest() 64 JNIEnv *_env, jobject _this, jlong _b, jlong options) { in Java_com_android_benchmark_synthetic_TestInterface_nRunCPUHeatSoakTest() 70 JNIEnv *_env, jobject _this, jlong _b, jfloatArray data) { in Java_com_android_benchmark_synthetic_TestInterface_nGetData() 84 JNIEnv *_env, jobject _this, jlong _b) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestStart() 90 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestBandwidth() 96 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nGFlopsTest() 102 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestLatency() [all …]
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 206 _env->ReleaseLongArrayElements((jlongArray)data, (jlong *)ptr, relFlag); \ 349 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish() 355 static jlong 356 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate() 357 jlong returnValue, jlongArray fieldIDArray, in nClosureCreate() 360 jlong ret = 0; in nClosureCreate() 362 jlong* jFieldIDs = _env->GetLongArrayElements(fieldIDArray, nullptr); in nClosureCreate() 364 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate() 368 jlong* jDepClosures = in nClosureCreate() 371 jlong* jDepFieldIDs = in nClosureCreate() [all …]
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | FontFamily.cpp | 35 static inline NativeFamilyBuilder* toBuilder(jlong ptr) { in toBuilder() 39 static inline FontWrapper* toFontWrapper(jlong ptr) { in toFontWrapper() 43 static void releaseFontFamily(jlong family) { in releaseFontFamily() 48 static jlong FontFamily_Builder_initBuilder(JNIEnv*, jobject) { in FontFamily_Builder_initBuilder() 49 return reinterpret_cast<jlong>(new NativeFamilyBuilder()); in FontFamily_Builder_initBuilder() 53 static void FontFamily_Builder_addFont(CRITICAL_JNI_PARAMS_COMMA jlong builderPtr, jlong fontPtr) { in FontFamily_Builder_addFont() 58 static jlong FontFamily_Builder_build(JNIEnv* env, jobject clazz, jlong builderPtr, in FontFamily_Builder_build() 79 return reinterpret_cast<jlong>(new FontFamilyWrapper(std::move(family))); in FontFamily_Builder_build() 83 static jlong FontFamily_Builder_GetReleaseFunc(CRITICAL_JNI_PARAMS) { in FontFamily_Builder_GetReleaseFunc() 84 return reinterpret_cast<jlong>(releaseFontFamily); in FontFamily_Builder_GetReleaseFunc() [all …]
|
/frameworks/base/libs/hwui/jni/text/ |
D | MeasuredText.cpp | 38 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder() 42 static inline Paint* toPaint(jlong ptr) { in toPaint() 46 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph() 50 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong() 51 return reinterpret_cast<jlong>(ptr); in toJLong() 54 static void releaseMeasuredParagraph(jlong measuredTextPtr) { in releaseMeasuredParagraph() 59 static jlong nInitBuilder(CRITICAL_JNI_PARAMS) { in nInitBuilder() 64 static void nAddStyleRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddStyleRun() 65 jlong paintPtr, jint lbStyle, jint lbWordStyle, jboolean hyphenation, in nAddStyleRun() 76 static void nAddReplacementRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddReplacementRun() [all …]
|
D | LineBreaker.cpp | 48 static inline minikin::android::StaticLayoutNative* toNative(jlong ptr) { in toNative() 54 static jlong nInit(JNIEnv* env, jclass /* unused */, jint breakStrategy, jint hyphenationFrequency, in nInit() 56 return reinterpret_cast<jlong>(new minikin::android::StaticLayoutNative( in nInit() 62 static void nFinish(jlong nativePtr) { in nFinish() 67 static jlong nGetReleaseFunc(CRITICAL_JNI_PARAMS) { in nGetReleaseFunc() 68 return reinterpret_cast<jlong>(nFinish); in nGetReleaseFunc() 71 static jlong nComputeLineBreaks(JNIEnv* env, jclass, jlong nativePtr, in nComputeLineBreaks() 74 jlong measuredTextPtr, in nComputeLineBreaks() 94 return reinterpret_cast<jlong>(result.release()); in nComputeLineBreaks() 97 static jint nGetLineCount(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in nGetLineCount() [all …]
|