/third_party/skia/third_party/externals/angle2/util/android/ |
D | AndroidWindow.cpp | 44 JNIEnv *jni = GetJniEnv(); in SetScreenOrientation() local 45 if (!jni) in SetScreenOrientation() 51 jclass clazz = jni->GetObjectClass(app->activity->clazz); in SetScreenOrientation() 52 jmethodID methodID = jni->GetMethodID(clazz, "setRequestedOrientation", "(I)V"); in SetScreenOrientation() 53 jni->CallVoidMethod(app->activity->clazz, methodID, orientation); in SetScreenOrientation() 197 JNIEnv *jni = GetJniEnv(); in GetExternalStorageDirectory() local 198 if (!jni) in GetExternalStorageDirectory() 204 jclass classEnvironment = jni->FindClass("android/os/Environment"); in GetExternalStorageDirectory() 213 jni->GetStaticMethodID(classEnvironment, "getExternalStorageDirectory", "()Ljava/io/File;"); in GetExternalStorageDirectory() 221 jni->CallStaticObjectMethod(classEnvironment, methodIDgetExternalStorageDirectory); in GetExternalStorageDirectory() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | meson.build | 55 have_jni_h = cc.has_header('jni.h', required : amc_opt) 68 'jni/gstamc-codec-jni.c', 69 'jni/gstamc-codeclist-jni.c', 70 'jni/gstamc-format-jni.c', 71 'jni/gstamcsurface.c', 72 'jni/gstamcsurfacetexture-jni.c',
|
/third_party/flutter/skia/third_party/externals/sdl/build-scripts/ |
D | androidbuild.sh | 80 mkdir -p $BUILDPATH/jni/SDL 82 ln -s $SDLPATH/src $BUILDPATH/jni/SDL 83 ln -s $SDLPATH/include $BUILDPATH/jni/SDL 85 cp -r $SDLPATH/src $BUILDPATH/jni/SDL 86 cp -r $SDLPATH/include $BUILDPATH/jni/SDL 89 cp -r $SDLPATH/Android.mk $BUILDPATH/jni/SDL 90 sed -i -e "s|YourSourceHere.c|$MKSOURCES|g" $BUILDPATH/jni/src/Android.mk 96 cp $src $BUILDPATH/jni/src
|
/third_party/flutter/engine/flutter/shell/platform/android/ |
D | android_external_texture_gl.cc | 16 const fml::jni::JavaObjectWeakGlobalRef& surfaceTexture) in AndroidExternalTextureGL() 84 JNIEnv* env = fml::jni::AttachCurrentThread(); in UpdateTransform() 85 fml::jni::ScopedJavaLocalRef<jobject> surfaceTexture = in UpdateTransform() 87 fml::jni::ScopedJavaLocalRef<jfloatArray> transformMatrix( in UpdateTransform() 111 JNIEnv* env = fml::jni::AttachCurrentThread(); in Attach() 112 fml::jni::ScopedJavaLocalRef<jobject> surfaceTexture = in Attach() 120 JNIEnv* env = fml::jni::AttachCurrentThread(); in Update() 121 fml::jni::ScopedJavaLocalRef<jobject> surfaceTexture = in Update() 130 JNIEnv* env = fml::jni::AttachCurrentThread(); in Detach() 131 fml::jni::ScopedJavaLocalRef<jobject> surfaceTexture = in Detach()
|
D | ace_platform_view_android.cc | 37 FML_LOG(ERROR) << fml::jni::GetJavaExceptionInfo(env, exception); in CheckException() 66 static fml::jni::ScopedJavaGlobalRef<jclass>* g_surface_texture_class = nullptr; 99 fml::jni::JavaObjectWeakGlobalRef java_object, in PlatformViewAndroid() 112 fml::jni::JavaObjectWeakGlobalRef java_object) in PlatformViewAndroid() 238 JNIEnv* env = fml::jni::AttachCurrentThread(); in HandlePlatformMessage() 239 fml::jni::ScopedJavaLocalRef<jobject> view = java_object_.get(env); in HandlePlatformMessage() 248 auto java_channel = fml::jni::StringToJavaString(env, message->channel()); in HandlePlatformMessage() 250 fml::jni::ScopedJavaLocalRef<jbyteArray> message_array( in HandlePlatformMessage() 271 JNIEnv* env = fml::jni::AttachCurrentThread(); in OnPreEngineRestart() 272 fml::jni::ScopedJavaLocalRef<jobject> view = java_object_.get(env); in OnPreEngineRestart() [all …]
|
D | platform_view_android.cc | 24 fml::jni::JavaObjectWeakGlobalRef java_object, in PlatformViewAndroid() 37 fml::jni::JavaObjectWeakGlobalRef java_object) in PlatformViewAndroid() 163 JNIEnv* env = fml::jni::AttachCurrentThread(); in HandlePlatformMessage() 164 fml::jni::ScopedJavaLocalRef<jobject> view = java_object_.get(env); in HandlePlatformMessage() 173 auto java_channel = fml::jni::StringToJavaString(env, message->channel()); in HandlePlatformMessage() 175 fml::jni::ScopedJavaLocalRef<jbyteArray> message_array( in HandlePlatformMessage() 196 JNIEnv* env = fml::jni::AttachCurrentThread(); in OnPreEngineRestart() 197 fml::jni::ScopedJavaLocalRef<jobject> view = java_object_.get(env); in OnPreEngineRestart() 202 FlutterViewOnPreEngineRestart(fml::jni::AttachCurrentThread(), view.obj()); in OnPreEngineRestart() 234 JNIEnv* env = fml::jni::AttachCurrentThread(); in UpdateSemantics() [all …]
|
D | flutter_main.cc | 37 fml::jni::ScopedJavaGlobalRef<jclass>* g_flutter_jni_class = nullptr; 67 for (auto& arg : fml::jni::StringArrayToVector(env, jargs)) { in Init() 78 fml::jni::JavaStringToString(env, appStoragePath)); in Init() 81 fml::jni::JavaStringToString(env, engineCachesPath)); in Init() 89 fml::jni::JavaStringToString(env, kernelPath); in Init() 125 g_flutter_jni_class = new fml::jni::ScopedJavaGlobalRef<jclass>( in SetupObservatoryUriCallback() 137 fml::jni::ScopedJavaLocalRef<jstring> java_uri = in SetupObservatoryUriCallback() 138 fml::jni::StringToJavaString(env, uri); in SetupObservatoryUriCallback()
|
D | platform_view_android_jni.cc | 39 FML_LOG(ERROR) << fml::jni::GetJavaExceptionInfo(env, exception); in CheckException() 46 static fml::jni::ScopedJavaGlobalRef<jclass>* g_flutter_callback_info_class = 49 static fml::jni::ScopedJavaGlobalRef<jclass>* g_flutter_jni_class = nullptr; 51 static fml::jni::ScopedJavaGlobalRef<jclass>* g_surface_texture_class = nullptr; 152 fml::jni::JavaObjectWeakGlobalRef java_object(env, flutterJNI); in AttachJNI() 173 fml::jni::ScopedJavaLocalFrame scoped_local_reference_frame(env); in SurfaceCreated() 204 fml::jni::JavaStringToString(env, jBundlePath)) // apk asset dir in RunBundleAndSnapshotFromLibrary() 226 auto entrypoint = fml::jni::JavaStringToString(env, jEntrypoint); in RunBundleAndSnapshotFromLibrary() 227 auto libraryUrl = fml::jni::JavaStringToString(env, jLibraryUrl); in RunBundleAndSnapshotFromLibrary() 372 fml::jni::JavaStringToString(env, channel), // in DispatchPlatformMessage() [all …]
|
D | platform_message_response_android.cc | 14 fml::jni::JavaObjectWeakGlobalRef weak_java_object, in PlatformMessageResponseAndroid() 32 auto* env = fml::jni::AttachCurrentThread(); in Complete() 42 fml::jni::ScopedJavaLocalRef<jbyteArray> data_array( in Complete() 62 auto* env = fml::jni::AttachCurrentThread(); in CompleteEmpty()
|
D | platform_view_android.h | 32 fml::jni::JavaObjectWeakGlobalRef java_object); 37 fml::jni::JavaObjectWeakGlobalRef java_object, 69 const fml::jni::JavaObjectWeakGlobalRef& surface_texture); 72 const fml::jni::JavaObjectWeakGlobalRef java_object_;
|
D | ace_vsync_waiter_android.cc | 21 static fml::jni::ScopedJavaGlobalRef<jclass>* g_vsync_waiter_class = nullptr; 40 JNIEnv* env = fml::jni::AttachCurrentThread(); in AwaitVSync() 49 JNIEnv* env = fml::jni::AttachCurrentThread(); in GetDisplayRefreshRate() 103 g_vsync_waiter_class = new fml::jni::ScopedJavaGlobalRef<jclass>(env, clazz); in Register()
|
D | vsync_waiter_android.cc | 19 static fml::jni::ScopedJavaGlobalRef<jclass>* g_vsync_waiter_class = nullptr; 33 JNIEnv* env = fml::jni::AttachCurrentThread(); in AwaitVSync() 42 JNIEnv* env = fml::jni::AttachCurrentThread(); in GetDisplayRefreshRate() 96 g_vsync_waiter_class = new fml::jni::ScopedJavaGlobalRef<jclass>(env, clazz); in Register()
|
D | library_loader.cc | 13 fml::jni::InitJavaVM(vm); in JNI_OnLoad() 15 JNIEnv* env = fml::jni::AttachCurrentThread(); in JNI_OnLoad()
|
D | platform_message_response_android.h | 26 fml::jni::JavaObjectWeakGlobalRef weak_java_object, 32 fml::jni::JavaObjectWeakGlobalRef weak_java_object_;
|
D | android_external_texture_gl.h | 18 const fml::jni::JavaObjectWeakGlobalRef& surfaceTexture); 44 fml::jni::JavaObjectWeakGlobalRef surface_texture_;
|
D | android_shell_holder.h | 24 fml::jni::JavaObjectWeakGlobalRef java_object, 44 const fml::jni::JavaObjectWeakGlobalRef java_object_;
|
/third_party/skia/third_party/externals/brotli/java/ |
D | BUILD | 10 outs = ["jni/jni.h"], 24 outs = ["jni/jni_md.h"], 31 ":jni/jni.h", 32 ":jni/jni_md.h", 34 includes = ["jni"],
|
/third_party/flutter/engine/flutter/flow/ohos_layers/ |
D | texture_register.cpp | 24 FML_LOG(ERROR) << fml::jni::GetJavaExceptionInfo(env, exception); in CheckException() 29 static fml::jni::ScopedJavaGlobalRef<jclass>* g_layerTextureClass = nullptr; 42 g_layerTextureClass = new fml::jni::ScopedJavaGlobalRef<jclass>( in Register() 61 JNIEnv* env = fml::jni::AttachCurrentThread(); in setAlpha() 62 fml::jni::ScopedJavaLocalRef<jobject> layer = layerTexture_.get(env); in setAlpha() 69 const fml::jni::JavaObjectWeakGlobalRef& layerTexture) in RegisterTexture()
|
D | texture_register.h | 25 fml::jni::JavaObjectWeakGlobalRef layerTexture_; 36 …void RegisterTexture(int64_t id, long textureHandle, const fml::jni::JavaObjectWeakGlobalRef& laye…
|
/third_party/mindspore/mindspore/lite/java/native/ |
D | CMakeLists.txt | 69 include_directories(${JAVA_HOME}/include/) ## jni 70 include_directories(${JAVA_HOME}/include/linux) ## jni 83 add_library(mindspore-lite-jni SHARED ${JNI_SRC}) 87 target_link_libraries(mindspore-lite-jni ${LITE_SO_NAME} ${log-lib}) 89 target_link_libraries(mindspore-lite-jni ${LITE_SO_NAME}) 95 add_library(mindspore-lite-train-jni SHARED ${JNI_TRAIN_SRC}) 98 target_link_libraries(mindspore-lite-train-jni ${LITE_TRAIN_SO_NAME} ${log-lib}) 100 target_link_libraries(mindspore-lite-train-jni ${LITE_TRAIN_SO_NAME})
|
/third_party/mindspore/mindspore/lite/ |
D | build_lite.sh | 64 rm -rf java/jni && mkdir -pv java/jni 65 cd java/jni 73 cp ./libmindspore-lite-jni.so ${LITE_JAVA_PATH}/java/linux_x86/libs/ 74 cp ./libmindspore-lite-jni.so ${LITE_JAVA_PATH}/native/libs/linux_x86/ 75 cp ./libmindspore-lite-jni.so ${BASEPATH}/output/tmp/${pkg_name}/runtime/lib/ 77 cp ./libmindspore-lite-train-jni.so ${LITE_JAVA_PATH}/java/linux_x86/libs/ 78 cp ./libmindspore-lite-train-jni.so ${LITE_JAVA_PATH}/native/libs/linux_x86/ 79 cp ./libmindspore-lite-train-jni.so ${BASEPATH}/output/tmp/${pkg_name}/runtime/lib/ 293 [ -n "${BASEPATH}" ] && rm -rf java/jni && mkdir -pv java/jni 294 cd java/jni [all …]
|
/third_party/flutter/engine/flutter/shell/common/ |
D | ace_display_manager_jni.cc | 12 static fml::jni::ScopedJavaGlobalRef<jclass>* g_vsync_waiter_class = nullptr; 22 g_vsync_waiter_class = new fml::jni::ScopedJavaGlobalRef<jclass>(env, clazz); in Register() 27 fml::jni::ScopedJavaGlobalRef<jclass>* AceDisplayManagerJni::GetClass() in GetClass()
|
/third_party/flutter/flutter/dev/devicelab/bin/tasks/ |
D | build_aar_module_test.dart | 159 'jni/arm64-v8a/libapp.so', 160 'jni/arm64-v8a/libflutter.so', 161 'jni/armeabi-v7a/libapp.so', 162 'jni/armeabi-v7a/libflutter.so', 266 'jni/arm64-v8a/libflutter.so', 267 'jni/armeabi-v7a/libflutter.so', 268 'jni/x86/libflutter.so', 269 'jni/x86_64/libflutter.so',
|
/third_party/libwebsockets/test-apps/android/app/ |
D | build.gradle | 22 jni.srcDirs = [] 34 commandLine 'make', '-f', 'NativeLibs.mk', '-C', 'src/main/jni', 'all' 38 commandLine 'make', '-f', 'NativeLibs.mk', '-C', 'src/main/jni', 'clean-ndk'
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/ |
D | CMakeLists.txt | 43 ejdb2-jni-native-headers 73 OUTPUT_NAME ejdb2 GENERATE_NATIVE_HEADERS ejdb2-jni-native-headers 99 TARGET ejdb2-jni-native-headers-old 104 add_dependencies(ejdb2jni ejdb2-jni-native-headers-old) 110 PRIVATE ejdb2-jni-native-headers) 181 # -verbose:jni
|