/foundation/communication/wifi/wifi/application/wifi_direct_demo/ |
H A D | gradlew | 84 # Determine the Java command to use to start the JVM. 86 if [ -x "$JAVA_HOME/jre/sh/java" ]; then 88 JAVACMD="$JAVA_HOME/jre/sh/java" 90 JAVACMD="$JAVA_HOME/bin/java" 96 location of your Java installation." 99 JAVACMD="java" 100 which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 103 location of your Java installation." 127 # For Cygwin or MSYS, switch paths to Windows format before running java [all...] |
H A D | gradlew.bat | 37 @rem Find java.exe 40 set JAVA_EXE=java.exe 45 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 48 echo location of your Java installation. 54 set JAVA_EXE=%JAVA_HOME%/bin/java.exe 62 echo location of your Java installation.
|
/foundation/communication/ipc/ipc/native/src/jni/include/ |
H A D | jni_helper.h | 45 * JNI may throws exception when native code call java scenario. 52 * Get an int file descriptor from a java.io.FileDescriptor 57 * Set the descriptor of a java.io.FileDescriptor 62 * Create a java.io.FileDescriptor given an integer fd
|
H A D | ohos_rpc_message_option.h | 45 * Create java object for ohos.rpc.MessageOption.
|
/foundation/communication/ipc/ipc/native/src/jni/source/ |
H A D | jni_helper.cpp | 93 JniHelperThrowException(env, "java/lang/NullPointerException", msg); in JniHelperThrowNullPointerException() 98 JniHelperThrowException(env, "java/lang/IllegalStateException", msg); in JniHelperThrowIllegalStateException() 102 * Get an int file descriptor from a java.io.FileDescriptor 110 * Set the descriptor of a java.io.FileDescriptor 118 * JNI may throws exception when native code call java scenario. 127 // clean up JNI local ref -- we don't return to Java code in JniHelperCheckAndClearLocalException() 138 * Create a java.io.FileDescriptor given an integer fd 153 g_jFileDescriptor.klazz = reinterpret_cast<jclass>(env->NewGlobalRef(env->FindClass("java/io/FileDescriptor"))); in JniHelperRegisterNativeMethods()
|
H A D | ohos_rpc_remote_object.cpp | 62 * the native RemoteObject act as bridger between java and native. 63 * It received the request from client and pass it Java Layer. 87 * Java IPC Object and native object we designed 105 * and pass the message to Java Layer. 397 ZLOGW(LABEL, "native Get Java RemoteObject"); in Java_ohos_rpc_getJavaRemoteObject()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/java/ |
H A D | java_client_interface_code_emitter.cpp | 48 File::AdapterPath(StringHelper::Format("%s/%s.java", directory_.c_str(), FileName(interfaceName_).c_str()));
in EmitInterfaceFile() 82 sb.Append("import java.util.List;\n");
in EmitInterfaceCorelibImports() 89 sb.Append("import java.util.Map;\n");
in EmitInterfaceCorelibImports() 90 sb.Append("import java.util.HashMap;\n");
in EmitInterfaceCorelibImports()
|
H A D | java_client_proxy_code_emitter.cpp | 47 File::AdapterPath(StringHelper::Format("%s/%s.java", directory_.c_str(), FileName(proxyName_).c_str()));
in EmitProxyFile() 81 sb.Append("import java.util.List;\n");
in EmitProxyCorelibImports() 88 sb.Append("import java.util.Map;\n");
in EmitProxyCorelibImports() 89 sb.Append("import java.util.HashMap;\n");
in EmitProxyCorelibImports()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/ |
H A D | logger.cpp | 36 #include <os/java/java_internal.h> 158 // Print also a java trace if available in VLogAssert() 159 Log(LogLevel::LOG_FATAL, filename, lineNumber, "Java trace:"); in VLogAssert() 162 jclass cls = env->FindClass("java/lang/Exception"); in VLogAssert()
|
/foundation/ability/idl_tool/ |
H A D | BUILD.gn | 129 "idl_tool_2/codegen/HDI/java/hdi_java_code_emitter.cpp", 130 "idl_tool_2/codegen/HDI/java/hdi_java_code_emitter.h", 131 "idl_tool_2/codegen/HDI/java/java_client_interface_code_emitter.cpp", 132 "idl_tool_2/codegen/HDI/java/java_client_interface_code_emitter.h", 133 "idl_tool_2/codegen/HDI/java/java_client_proxy_code_emitter.cpp", 134 "idl_tool_2/codegen/HDI/java/java_client_proxy_code_emitter.h",
|
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | options.cpp | 43 {"gen-java", no_argument, nullptr, '3'}, 117 SetLanguage("java"); in ParseSingle() 222 {"java", Language::JAVA}, in SetLanguage() 229 Logger::E(TAG, "invalid language '%s', please input c, cpp, java, rust or ts", language.c_str()); in SetLanguage() 451 if (genLanguage != Language::C && genLanguage != Language::CPP && genLanguage != Language::JAVA) { in DoSupportHdiType() 452 Logger::E(TAG, "Option 'intf-type hdi' only support language option 'gen-c', 'gen-cpp' or 'gen-java'."); in DoSupportHdiType() 481 if (genLanguage != Language::CPP && genLanguage != Language::JAVA) { in DoSupportSmType() 482 Logger::E(TAG, "Option 'intf-type sm' only support language option 'gen-cpp' or 'gen-java'."); in DoSupportSmType() 652 printf("Compile a .idl file and generate C/C++/Ts/Rust and Java code in ShowUsage() [all...] |
H A D | common.h | 55 JAVA,
member in OHOS::Idl::Language
|
/foundation/multimedia/media_library/frameworks/utils/configs/ |
H A D | userfilemanager_mimetypes.json | 103 "text/x-java" : [ "java" ],
|
/foundation/multimedia/ringtone_library/services/utils/configs/ |
H A D | userfilemanager_mimetypes.json | 104 "text/x-java" : [ "java" ],
|
/foundation/multimedia/image_framework/ |
H A D | README.md | 26 │ └── kits # Java APIs
|
/foundation/arkui/ace_engine/frameworks/core/common/ime/ |
H A D | text_input_action.h | 51 // For convenience of convert int value from Java
|
H A D | text_input_configuration.cpp | 23 // Negotiated fields with Java
|
/foundation/bundlemanager/bundle_framework/common/log/ |
H A D | README.md | 37 # Java
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | form_info_base.h | 40 JAVA = 0, member in OHOS::AppExecFwk::FormType
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | fetch_manager.cpp | 119 // refer to function buildConnectionWithParam() in HttpFetchImpl.java in SetOptionForGet() 146 // refer to function buildConnectionWithStream() in HttpFetchImpl.java in SetOptionForPost()
|
/foundation/ability/idl_tool/test/cmd_test/ |
H A D | cmd_test.py | 110 expect_result = "Compile a .idl file and generate C/C++/Ts/Rust and Java codes.\n"
140 expect_result += " --gen-java Generate Java codes, only support 'intf-type hdi'\n"
237 "[IDL-GEN]: Option 'intf-type hdi' only support language option 'gen-c', 'gen-cpp' or 'gen-java'.\n"
503 command = f"{self.cmd} --intf-type sa --gen-java"
507 command = f"{self.cmd} --intf-type hdi --gen-java"
519 """[IDL-GEN]: Option 'intf-type hdi' only support language option 'gen-c', 'gen-cpp' or 'gen-java'.\n"""
534 "[IDL-GEN]: Option 'intf-type hdi' only support language option 'gen-c', 'gen-cpp' or 'gen-java'.\n"
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/ |
H A D | hdi_code_generator.cpp | 29 #include "codegen/HDI/java/java_client_interface_code_emitter.h"
30 #include "codegen/HDI/java/java_client_proxy_code_emitter.h"
87 {Language::JAVA, HDICodeGenerator::GenIpcJavaCode}
|
/foundation/communication/ipc/ |
H A D | README.md | 66 The procedure for implementing cross-process communication using native APIs is similar to that using Java APIs. 74 The stub inherits **IRemoteStub\(Native\)** or **RemoteObject\(Java\)** as well as **AsObject** and **OnRemoteRequest**. 78 The proxy inherits **IRemoteProxy\(Native\)** or **RemoteProxy\(Java\)**, encapsulates functions, and calls **SendRequest** to send requests to the stub.
|
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/ |
H A D | utd_test.cpp | 450 {UDMF_META_JAVA_SCRIPT, "general.java-script"},
455 {UDMF_META_JAVA_SOURCE, "general.java-source"},
509 {UDMF_META_JAVA_ARCHIVE, "com.sun.java-archive"},
556 {UDMF_META_SUN_JAVA_CLASS, "com.sun.java-class"},
|
/foundation/arkui/ace_engine/test/mock/core/animation/ |
H A D | mock_animation_util.h | 21 #include "adapter/aosp/entrance/java/jni/ace_application_info.h"
|