Home
last modified time | relevance | path

Searched defs:env (Results 1 – 25 of 122) sorted by relevance

12345

/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_StaticNonce.c29 static void StaticNonce_nop(JNIEnv *env, jclass clazz) { in StaticNonce_nop()
34 static jboolean StaticNonce_returnBoolean(JNIEnv *env, jclass clazz) { in StaticNonce_returnBoolean()
39 static jbyte StaticNonce_returnByte(JNIEnv *env, jclass clazz) { in StaticNonce_returnByte()
44 static jshort StaticNonce_returnShort(JNIEnv *env, jclass clazz) { in StaticNonce_returnShort()
49 static jchar StaticNonce_returnChar(JNIEnv *env, jclass clazz) { in StaticNonce_returnChar()
54 static jint StaticNonce_returnInt(JNIEnv *env, jclass clazz) { in StaticNonce_returnInt()
59 static jlong StaticNonce_returnLong(JNIEnv *env, jclass clazz) { in StaticNonce_returnLong()
64 static jfloat StaticNonce_returnFloat(JNIEnv *env, jclass clazz) { in StaticNonce_returnFloat()
69 static jdouble StaticNonce_returnDouble(JNIEnv *env, jclass clazz) { in StaticNonce_returnDouble()
74 static jobject StaticNonce_returnNull(JNIEnv *env, jclass clazz) { in StaticNonce_returnNull()
[all …]
Dandroid_jni_cts_InstanceNonce.c29 static void InstanceNonce_nop(JNIEnv *env, jobject this) { in InstanceNonce_nop()
34 static jboolean InstanceNonce_returnBoolean(JNIEnv *env, jobject this) { in InstanceNonce_returnBoolean()
39 static jbyte InstanceNonce_returnByte(JNIEnv *env, jobject this) { in InstanceNonce_returnByte()
44 static jshort InstanceNonce_returnShort(JNIEnv *env, jobject this) { in InstanceNonce_returnShort()
49 static jchar InstanceNonce_returnChar(JNIEnv *env, jobject this) { in InstanceNonce_returnChar()
54 static jint InstanceNonce_returnInt(JNIEnv *env, jobject this) { in InstanceNonce_returnInt()
59 static jlong InstanceNonce_returnLong(JNIEnv *env, jobject this) { in InstanceNonce_returnLong()
64 static jfloat InstanceNonce_returnFloat(JNIEnv *env, jobject this) { in InstanceNonce_returnFloat()
69 static jdouble InstanceNonce_returnDouble(JNIEnv *env, jobject this) { in InstanceNonce_returnDouble()
74 static jobject InstanceNonce_returnNull(JNIEnv *env, jobject this) { in InstanceNonce_returnNull()
[all …]
Dandroid_jni_cts_JniCppTest.cpp34 static jstring JniCppTest_runAllTests(JNIEnv *env, jclass clazz) { in JniCppTest_runAllTests()
44 extern "C" int register_JniCppTest(JNIEnv *env) { in register_JniCppTest()
Dandroid_jni_cts_JniCTest.c34 static jstring JniCTest_runAllTests(JNIEnv *env, jclass clazz) { in JniCTest_runAllTests()
44 int register_JniCTest(JNIEnv *env) { in register_JniCTest()
/cts/common/device-side/util/jni/
Dandroid_cts_CpuFeatures.cpp22 jboolean android_cts_CpuFeatures_isArmCpu(JNIEnv* env, jobject thiz) in android_cts_CpuFeatures_isArmCpu()
28 jboolean android_cts_CpuFeatures_isMipsCpu(JNIEnv* env, jobject thiz) in android_cts_CpuFeatures_isMipsCpu()
34 jboolean android_cts_CpuFeatures_isX86Cpu(JNIEnv* env, jobject thiz) in android_cts_CpuFeatures_isX86Cpu()
40 jboolean android_cts_CpuFeatures_isArm64Cpu(JNIEnv* env, jobject thiz) in android_cts_CpuFeatures_isArm64Cpu()
46 jboolean android_cts_CpuFeatures_isMips64Cpu(JNIEnv* env, jobject thiz) in android_cts_CpuFeatures_isMips64Cpu()
52 jboolean android_cts_CpuFeatures_isX86_64Cpu(JNIEnv* env, jobject thiz) in android_cts_CpuFeatures_isX86_64Cpu()
80 int register_android_cts_CpuFeatures(JNIEnv* env) in register_android_cts_CpuFeatures()
Dandroid_cts_FileUtils.cpp48 jboolean android_cts_FileUtils_getFileStatus(JNIEnv* env, jobject thiz, in android_cts_FileUtils_getFileStatus()
80 jstring android_cts_FileUtils_getUserName(JNIEnv* env, jobject thiz, in android_cts_FileUtils_getUserName()
87 jstring android_cts_FileUtils_getGroupName(JNIEnv* env, jobject thiz, in android_cts_FileUtils_getGroupName()
94 jint android_cts_FileUtils_setPermissions(JNIEnv* env, jobject clazz, in android_cts_FileUtils_setPermissions()
124 int register_android_cts_FileUtils(JNIEnv* env) in register_android_cts_FileUtils()
/cts/tests/tests/media/libaudiojni/
Dsl-utils.h64 jbyte *envGetArrayElements(JNIEnv *env, jbyteArray array, jboolean *isCopy) { in envGetArrayElements()
69 void envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) { in envReleaseArrayElements()
74 jshort *envGetArrayElements(JNIEnv *env, jshortArray array, jboolean *isCopy) { in envGetArrayElements()
79 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) { in envReleaseArrayElements()
84 jfloat *envGetArrayElements(JNIEnv *env, jfloatArray array, jboolean *isCopy) { in envGetArrayElements()
89 void envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) { in envReleaseArrayElements()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/jni/
Dcom_android_cts_splitapp_Native.cpp28 static jint add(JNIEnv *env, jobject thiz, jint a, jint b) { in add()
34 static jstring arch(JNIEnv *env, jobject thiz) { in arch()
45 static int registerNativeMethods(JNIEnv* env, const char* className, JNINativeMethod* gMethods, int… in registerNativeMethods()
61 static int registerNatives(JNIEnv* env) { in registerNatives()
70 JNIEnv* env; member
78 JNIEnv* env = NULL; in JNI_OnLoad() local
/cts/tests/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp52 jboolean android_permission_cts_FileUtils_getFileStatus(JNIEnv* env, in android_permission_cts_FileUtils_getFileStatus()
83 jstring android_permission_cts_FileUtils_getUserName(JNIEnv* env, in android_permission_cts_FileUtils_getUserName()
90 jstring android_permission_cts_FileUtils_getGroupName(JNIEnv* env, in android_permission_cts_FileUtils_getGroupName()
97 static jboolean isPermittedCapBitSet(JNIEnv* env, jstring path, size_t capId) in isPermittedCapBitSet()
118 jboolean android_permission_cts_FileUtils_hasSetUidCapability(JNIEnv* env, in android_permission_cts_FileUtils_hasSetUidCapability()
124 jboolean android_permission_cts_FileUtils_hasSetGidCapability(JNIEnv* env, in android_permission_cts_FileUtils_hasSetGidCapability()
130 static bool throwNamedException(JNIEnv* env, const char* className, in throwNamedException()
147 static bool fillPermittedCaps(vfs_cap_data* capData, JNIEnv* env, jintArray capIds) in fillPermittedCaps()
170 jboolean android_permission_cts_FileUtils_CapabilitySet_fileHasOnly(JNIEnv* env, in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()
220 int register_android_permission_cts_FileUtils(JNIEnv* env) in register_android_permission_cts_FileUtils()
/cts/tests/tests/security/jni/
Dandroid_security_cts_LinuxRngTest.cpp30 static void throwIOException(JNIEnv* env, const char *format, ...) { in throwIOException()
45 jint android_security_cts_LinuxRngTest_getCharDeviceMajor(JNIEnv* env, in android_security_cts_LinuxRngTest_getCharDeviceMajor()
71 jint android_security_cts_LinuxRngTest_getCharDeviceMinor(JNIEnv* env, in android_security_cts_LinuxRngTest_getCharDeviceMinor()
104 int register_android_security_cts_LinuxRngTest(JNIEnv* env) in register_android_security_cts_LinuxRngTest()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_ANativeWindowTest.cpp28 void pushBufferWithTransform(JNIEnv* env, jclass, jobject jSurface, jint transform) { in pushBufferWithTransform()
37 jint setBuffersDataSpace(JNIEnv* env, jclass, jobject jSurface, jint dataSpace) { in setBuffersDataSpace()
53 jint getBuffersDataSpace(JNIEnv* env, jclass, jobject jSurface) { in getBuffersDataSpace()
69 int register_android_graphics_cts_ANativeWindowTest(JNIEnv* env) { in register_android_graphics_cts_ANativeWindowTest()
Dandroid_graphics_cts_BitmapTest.cpp27 static void validateBitmapInfo(JNIEnv* env, jclass, jobject jbitmap, jint width, jint height, in validateBitmapInfo()
40 static void validateNdkAccessAfterRecycle(JNIEnv* env, jclass, jobject jbitmap) { in validateNdkAccessAfterRecycle()
46 static void fillRgbaHardwareBuffer(JNIEnv* env, jclass, jobject hwBuffer) { in fillRgbaHardwareBuffer()
70 static jint getFormat(JNIEnv* env, jclass, jobject jbitmap) { in getFormat()
92 int register_android_graphics_cts_BitmapTest(JNIEnv* env) { in register_android_graphics_cts_BitmapTest()
Dandroid_graphics_cts_VulkanFeaturesTest.cpp24 jstring android_graphics_cts_VulkanFeaturesTest_nativeGetVkJSON(JNIEnv* env, in android_graphics_cts_VulkanFeaturesTest_nativeGetVkJSON()
38 int register_android_graphics_cts_VulkanFeaturesTest(JNIEnv* env) { in register_android_graphics_cts_VulkanFeaturesTest()
/cts/tests/tests/opengl/libopengltest/
Dgl2_jni_libone.cpp113 extern "C" JNIEXPORT void JNICALL Java_android_opengl_cts_GL2JniLibOne_step(JNIEnv * env, jclass ob… in Java_android_opengl_cts_GL2JniLibOne_step()
118 …T jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getAttachShaderError(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getAttachShaderError()
122 …ORT jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getLoadShaderError(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getLoadShaderError()
126 extern "C" JNIEXPORT jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getProgramError(JNIEnv * env in Java_android_opengl_cts_GL2JniLibOne_getProgramError()
130 …jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getAttachedShaderCount(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getAttachedShaderCount()
134 extern "C" JNIEXPORT jfloatArray JNICALL Java_android_opengl_cts_GL2JniLibOne_draw(JNIEnv * env, in Java_android_opengl_cts_GL2JniLibOne_draw()
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/
Dhooks_android.cpp28 JNIEXPORT void JNICALL Java_com_android_gputest_GLtestLib_init(__attribute__((unused)) JNIEnv * env in Java_com_android_gputest_GLtestLib_init()
33 JNIEXPORT void JNICALL Java_com_android_gputest_GLtestLib_step(__attribute__((unused)) JNIEnv * env in Java_com_android_gputest_GLtestLib_step()
/cts/tests/tests/os/jni/
Dandroid_os_cts_HardwareName.cpp21 jstring android_os_cts_HardwareName_getName(JNIEnv* env, jobject thiz) in android_os_cts_HardwareName_getName()
37 int register_android_os_cts_HardwareName(JNIEnv* env) in register_android_os_cts_HardwareName()
Dandroid_os_cts_OSFeatures.cpp34 jint android_os_cts_OSFeatures_prctlCapBsetRead(JNIEnv* env, jobject thiz, jint i) in android_os_cts_OSFeatures_prctlCapBsetRead()
61 jboolean android_os_cts_OSFeatures_hasSeccompSupport(JNIEnv* env, jobject) in android_os_cts_OSFeatures_hasSeccompSupport()
99 int register_android_os_cts_OSFeatures(JNIEnv* env) in register_android_os_cts_OSFeatures()
Dandroid_os_cts_SeccompTest.cpp29 JNIEnv* env, jobject thiz __unused, jstring name) { in android_security_cts_SeccompBpfTest_runKernelUnitTest()
56 jstring android_security_cts_SeccompBpfTest_getPolicyAbiString(JNIEnv* env, jclass) { in android_security_cts_SeccompBpfTest_getPolicyAbiString()
89 int register_android_os_cts_SeccompTest(JNIEnv* env) { in register_android_os_cts_SeccompTest()
Dandroid_os_cts_SPMITest.cpp29 jboolean android_os_cts_SPMITest_leakPointer(JNIEnv *env, jobject thiz) { in android_os_cts_SPMITest_leakPointer()
55 int register_android_os_cts_SPMITest(JNIEnv *env) { in register_android_os_cts_SPMITest()
Dandroid_os_cts_SharedMemory.cpp24 jboolean nWriteByte(JNIEnv* env, jobject, jobject jSharedMemory, jint index, jbyte value) { in nWriteByte()
42 int register_android_os_cts_SharedMemoryTest(JNIEnv* env) in register_android_os_cts_SharedMemoryTest()
/cts/tools/cts-device-info/jni/
Dcom_android_cts_deviceinfo_VulkanDeviceInfo.cpp24 jstring GetVkJSON(JNIEnv* env, jclass /*clazz*/) in GetVkJSON()
37 int register_com_android_cts_deviceinfo_VulkanDeviceInfo(JNIEnv* env) { in register_com_android_cts_deviceinfo_VulkanDeviceInfo()
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp26 static jobject android_hardware_HardwareBuffer_nativeCreateHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer()
46 static void android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer()
59 int register_android_hardware_cts_HardwareBufferTest(JNIEnv* env) in register_android_hardware_cts_HardwareBufferTest()
/cts/tests/signature/dex-checker/
Ddex-checker.cpp21 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
47 JNIEnv* env, jclass, jclass klass, jstring name, jstring type) { in Java_android_signature_cts_DexMemberChecker_getField_1JNI()
61 JNIEnv* env, jclass, jclass klass, jstring name, jstring type) { in Java_android_signature_cts_DexMemberChecker_getStaticField_1JNI()
75 JNIEnv* env, jclass, jclass klass, jstring name, jstring signature) { in Java_android_signature_cts_DexMemberChecker_getMethod_1JNI()
89 JNIEnv* env, jclass, jclass klass, jstring name, jstring signature) { in Java_android_signature_cts_DexMemberChecker_getStaticMethod_1JNI()
/cts/tests/tests/drm/jni/
Dandroid_drm_cts_NativeCodeTest.cpp29 static jboolean android_drm_cts_InstallDrmEngineTest(JNIEnv* env, jobject thiz) in android_drm_cts_InstallDrmEngineTest()
55 int register_android_drm_cts_NativeCodeTest(JNIEnv* env) in register_android_drm_cts_NativeCodeTest()
/cts/hostsidetests/jvmti/base/jni/
Dtagging.cpp31 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject obj, jlong tag) { in Java_android_jvmti_cts_JniBindings_setTag()
37 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject obj) { in Java_android_jvmti_cts_JniBindings_getTag()
47 JNIEnv* env, in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects()
143 void register_art_Main(jvmtiEnv* jenv, JNIEnv* env) { in register_art_Main()
163 void register_android_jvmti_cts_JvmtiTaggingTest(jvmtiEnv* jenv, JNIEnv* env) { in register_android_jvmti_cts_JvmtiTaggingTest()

12345