Searched refs:JNIEnv (Results 1 – 8 of 8) sorted by relevance
/system/teeui/libteeui_jni/ |
D | libteeui_jni.cpp | 34 static constexpr element_type* (JNIEnv::*const getArrayElements)(array_type, jboolean*) = 35 &JNIEnv::GetIntArrayElements; 36 static constexpr void (JNIEnv::*const releaseArrayElements)(array_type, element_type*, jint) = 37 &JNIEnv::ReleaseIntArrayElements; 38 static constexpr jsize (JNIEnv::*const getArrayLength)(jarray) = &JNIEnv::GetArrayLength; 45 static constexpr element_type* (JNIEnv::*const getArrayElements)(array_type, jboolean*) = 46 &JNIEnv::GetByteArrayElements; 47 static constexpr void (JNIEnv::*const releaseArrayElements)(array_type, element_type*, jint) = 48 &JNIEnv::ReleaseByteArrayElements; 49 static constexpr jsize (JNIEnv::*const getArrayLength)(jarray) = &JNIEnv::GetArrayLength; [all …]
|
/system/teeui/libteeui_jni/include/ |
D | com_android_framebufferizer_NativeRenderer.h | 16 JNIEnv*, jclass, jobject, jboolean, jboolean, jstring); 24 JNIEnv*, jclass, jint, jint, jint, jint, jint, jintArray); 31 JNIEXPORT void JNICALL Java_com_android_framebufferizer_NativeRenderer_setLanguage(JNIEnv*, jclass, 40 Java_com_android_framebufferizer_NativeRenderer_getLanguageIdList(JNIEnv*, jclass); 48 Java_com_android_framebufferizer_NativeRenderer_getAvailableLayouts(JNIEnv*, jclass); 56 Java_com_android_framebufferizer_NativeRenderer_setConfimationMessage(JNIEnv*, jclass, jstring); 63 JNIEXPORT jint JNICALL Java_com_android_framebufferizer_NativeRenderer_onEvent(JNIEnv*, jclass,
|
/system/incremental_delivery/libdataloader/ |
D | JNIHelpers.h | 22 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie() 28 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie() 35 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie() 42 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie() 49 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie() 56 static inline jint GetStaticIntFieldValueOrDie(JNIEnv* env, jclass clazz, const char* fieldName) { in GetStaticIntFieldValueOrDie() 62 static inline jstring GetStringField(JNIEnv* env, jobject obj, jfieldID field) { in GetStringField() 66 static inline jbyteArray GetByteArrayField(JNIEnv* env, jobject obj, jfieldID field) { in GetByteArrayField() 70 static inline JNIEnv* GetJNIEnvironment(JavaVM* vm) { in GetJNIEnvironment() 71 JNIEnv* env; in GetJNIEnvironment() [all …]
|
D | DataLoaderConnector.cpp | 93 JniIds(JNIEnv* env) { in JniIds() 196 JavaVM* getJavaVM(JNIEnv* env) { in getJavaVM() 204 const JniIds& jniIds(JNIEnv* env) { in jniIds() 209 bool reportStatusViaCallback(JNIEnv* env, jobject listener, jint storageId, jint status) { in reportStatusViaCallback() 273 static DataLoaderParamsPair createFromManaged(JNIEnv* env, jobject params); 291 DataLoaderConnector(JNIEnv* env, jobject service, jint storageId, UniqueControl control, in DataLoaderConnector() 305 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in ~DataLoaderConnector() 409 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in writeData() 429 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in setParams() 448 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in reportStatus() [all …]
|
D | ManagedDataLoader.cpp | 47 JniIds(JNIEnv* env) { in JniIds() 87 const JniIds& jniIds(JNIEnv* env) { in jniIds() 105 JNIEnv* env = GetJNIEnvironment(mJvm); in onCreate() 128 JNIEnv* env = GetJNIEnvironment(mJvm); in onDestroy() 134 static jobject toJavaArrayList(JNIEnv* env, const JniIds& jni, in toJavaArrayList()
|
/system/incremental_delivery/libdataloader/include/ |
D | dataloader_ndk.h | 126 bool DataLoaderService_OnCreate(JNIEnv* env, jobject service, jint storageId, jobject control, 128 bool DataLoaderService_OnStart(JNIEnv* env, jint storageId); 129 bool DataLoaderService_OnStop(JNIEnv* env, jint storageId); 130 bool DataLoaderService_OnDestroy(JNIEnv* env, jint storageId); 132 bool DataLoaderService_OnPrepareImage(JNIEnv* env, jint storageId, jobjectArray addedFiles,
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/ |
D | native-lib.cpp | 13 JNIEnv *env, in Java_com_example_simpleperf_simpleperfexamplewithnative_MainActivity_stringFromJNI() 19 static void ThrowErrnoException(JNIEnv* env, const char* function_name, int err) { in ThrowErrnoException() 54 JNIEnv *env, in Java_com_example_simpleperf_simpleperfexamplewithnative_MainActivity_createBusyThreadFromJNI() 102 JNIEnv *env, in Java_com_example_simpleperf_simpleperfexamplewithnative_SleepActivity_createSleepThreadFromJNI() 115 JNIEnv *env, in Java_com_example_simpleperf_simpleperfexamplewithnative_MixActivity_callFunction()
|
/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/ |
D | native-lib.cpp | 82 JNIEnv *env, in Java_simpleperf_demo_cpp_1api_MainActivity_runNativeCode() 101 JNIEnv *env, in Java_simpleperf_demo_cpp_1api_MainActivity_getBusyThreadCount()
|