Home
last modified time | relevance | path

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

123

/cts/tests/tests/os/jni/
Dandroid_os_cts_CpuFeatures.cpp22 jboolean android_os_cts_CpuFeatures_isArmCpu(JNIEnv* env, jobject thiz) in android_os_cts_CpuFeatures_isArmCpu()
28 jboolean android_os_cts_CpuFeatures_isArm7Compatible(JNIEnv* env, jobject thiz) in android_os_cts_CpuFeatures_isArm7Compatible()
34 jboolean android_os_cts_CpuFeatures_isMipsCpu(JNIEnv* env, jobject thiz) in android_os_cts_CpuFeatures_isMipsCpu()
40 jboolean android_os_cts_CpuFeatures_isX86Cpu(JNIEnv* env, jobject thiz) in android_os_cts_CpuFeatures_isX86Cpu()
46 jboolean android_os_cts_CpuFeatures_isArm64Cpu(JNIEnv* env, jobject thiz) in android_os_cts_CpuFeatures_isArm64Cpu()
52 jboolean android_os_cts_CpuFeatures_isMips64Cpu(JNIEnv* env, jobject thiz) in android_os_cts_CpuFeatures_isMips64Cpu()
58 jboolean android_os_cts_CpuFeatures_isX86_64Cpu(JNIEnv* env, jobject thiz) in android_os_cts_CpuFeatures_isX86_64Cpu()
88 int register_android_os_cts_CpuFeatures(JNIEnv* env) in register_android_os_cts_CpuFeatures()
Dandroid_os_cts_OSFeatures.cpp34 jint android_os_cts_OSFeatures_getNoNewPrivs(JNIEnv* env, jobject thiz) in android_os_cts_OSFeatures_getNoNewPrivs()
39 jint android_os_cts_OSFeatures_prctlCapBsetRead(JNIEnv* env, jobject thiz, jint i) in android_os_cts_OSFeatures_prctlCapBsetRead()
66 jboolean android_os_cts_OSFeatures_hasSeccompSupport(JNIEnv* env, jobject) in android_os_cts_OSFeatures_hasSeccompSupport()
123 int register_android_os_cts_OSFeatures(JNIEnv* env) in register_android_os_cts_OSFeatures()
Dandroid_os_cts_HardwareName.cpp21 jstring android_os_cts_HardwareName_getName(JNIEnv* env, jobject thiz) in android_os_cts_HardwareName_getName()
39 int register_android_os_cts_HardwareName(JNIEnv* env) in register_android_os_cts_HardwareName()
DCtsOsJniOnLoad.cpp35 JNIEnv *env = NULL; in JNI_OnLoad() local
/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_JniCTest.c34 static jstring JniCTest_runAllTests(JNIEnv *env, jclass clazz) { in JniCTest_runAllTests()
44 int register_JniCTest(JNIEnv *env) { in register_JniCTest()
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()
Dregister.c27 JNIEnv *env = NULL; in JNI_OnLoad() local
/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()
117 jboolean android_permission_cts_FileUtils_hasSetUidCapability(JNIEnv* env, in android_permission_cts_FileUtils_hasSetUidCapability()
123 jboolean android_permission_cts_FileUtils_hasSetGidCapability(JNIEnv* env, in android_permission_cts_FileUtils_hasSetGidCapability()
129 static bool throwNamedException(JNIEnv* env, const char* className, in throwNamedException()
145 static bool fillPermittedCaps(vfs_cap_data* capData, JNIEnv* env, jintArray capIds) in fillPermittedCaps()
168 jboolean android_permission_cts_FileUtils_CapabilitySet_fileHasOnly(JNIEnv* env, in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()
217 int register_android_permission_cts_FileUtils(JNIEnv* env) in register_android_permission_cts_FileUtils()
DCtsPermissionsJniOnLoad.cpp23 JNIEnv *env = NULL; in JNI_OnLoad() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_LinuxRngTest.cpp29 static void throwIOException(JNIEnv* env, const char *format, ...) { in throwIOException()
44 jint android_security_cts_LinuxRngTest_getCharDeviceMajor(JNIEnv* env, in android_security_cts_LinuxRngTest_getCharDeviceMajor()
70 jint android_security_cts_LinuxRngTest_getCharDeviceMinor(JNIEnv* env, in android_security_cts_LinuxRngTest_getCharDeviceMinor()
103 int register_android_security_cts_LinuxRngTest(JNIEnv* env) in register_android_security_cts_LinuxRngTest()
Dandroid_security_cts_CharDeviceTest.cpp33 jboolean android_security_cts_CharDeviceTest_doExynosWriteTest(JNIEnv* env, jobject thiz) in android_security_cts_CharDeviceTest_doExynosWriteTest()
68 jboolean android_security_cts_CharDeviceTest_doExynosReadTest(JNIEnv* env, jobject thiz) in android_security_cts_CharDeviceTest_doExynosReadTest()
115 int register_android_security_cts_CharDeviceTest(JNIEnv* env) in register_android_security_cts_CharDeviceTest()
Dandroid_security_cts_MMapExecutableTest.cpp35 static jboolean mmap_executable(JNIEnv *env, jobject, jstring jfilename) { in mmap_executable()
80 int register_android_security_cts_MMapExecutableTest(JNIEnv* env) { in register_android_security_cts_MMapExecutableTest()
Dandroid_security_cts_LoadEffectLibraryTest.cpp34 jboolean android_security_cts_LoadEffectLibraryTest_doLoadLibraryTest(JNIEnv* env, jobject thiz) in android_security_cts_LoadEffectLibraryTest_doLoadLibraryTest()
85 int register_android_security_cts_LoadEffectLibraryTest(JNIEnv* env) in register_android_security_cts_LoadEffectLibraryTest()
DCtsSecurityJniOnLoad.cpp31 JNIEnv *env = NULL; in JNI_OnLoad() local
/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/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()
DCtsDrmJniOnLoad.cpp23 JNIEnv *env = NULL; in JNI_OnLoad() local
/cts/libs/deviceutil/jni/
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()
123 int register_android_cts_FileUtils(JNIEnv* env) in register_android_cts_FileUtils()
DCtsJniOnLoad.cpp23 JNIEnv *env = NULL; in JNI_OnLoad() local
/cts/apps/CtsVerifier/jni/verifier/
Dcom_android_cts_verifier_os_FileUtils.cpp40 jboolean com_android_cts_verifier_os_FileUtils_getFileStatus(JNIEnv* env, jobject thiz, in com_android_cts_verifier_os_FileUtils_getFileStatus()
77 jstring com_android_cts_verifier_os_FileUtils_getUserName(JNIEnv* env, jobject thiz, in com_android_cts_verifier_os_FileUtils_getUserName()
84 jstring com_android_cts_verifier_os_FileUtils_getGroupName(JNIEnv* env, jobject thiz, in com_android_cts_verifier_os_FileUtils_getGroupName()
100 int register_com_android_cts_verifier_os_FileUtils(JNIEnv* env) in register_com_android_cts_verifier_os_FileUtils()
DCtsVerifierJniOnLoad.cpp23 JNIEnv *env = NULL; in JNI_OnLoad() local

123