Home
last modified time | relevance | path

Searched refs:JAVA (Results 1 – 24 of 24) sorted by relevance

/system/tools/hidl/hidl2aidl/
DAidlTranslate.cpp59 case AidlBackend::JAVA: in translateSourceFile()
69 const std::string separator = (backend == AidlBackend::JAVA) ? "." : "::"; in aidlTypePackage()
98 CHECK(backend != AidlBackend::JAVA); in emitStaticAsserts()
128 if (backend == AidlBackend::JAVA) { in namedTypeTranslation()
136 if (backend == AidlBackend::JAVA) { in namedTypeTranslation()
168 if (backend != AidlBackend::JAVA && scalarType->getKind() == ScalarType::KIND_UINT16) { in h2aScalarChecks()
181 std::string limit = (backend == AidlBackend::JAVA) in h2aScalarChecks()
187 if (backend == AidlBackend::JAVA) { in h2aScalarChecks()
271 if (backend == AidlBackend::JAVA) { in containerTranslation()
307 if (backend == AidlBackend::JAVA) { in simpleTranslation()
[all …]
Dmain.cpp190 if (backend == AidlBackend::JAVA) { in emitHidlSharedLibs()
260 out << " name: \"" << aidlTranslateLibraryName(fqName, AidlBackend::JAVA) << +"\",\n"; in emitBuildFile()
261 out << " srcs: [\"" << AidlHelper::translateSourceFile(fqName, AidlBackend::JAVA) + "\"],\n"; in emitBuildFile()
263 emitAidlSharedLibs(out, fqName, AidlBackend::JAVA); in emitBuildFile()
264 emitHidlSharedLibs(out, targets, AidlBackend::JAVA); in emitBuildFile()
DAidlHelper.h61 enum class AidlBackend { UNKNOWN, NDK, CPP, JAVA }; enumerator
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DBackendType.h16 JAVA = 1, enumerator
25 case BackendType::JAVA: in toString()
50 ::android::aidl::tests::BackendType::JAVA,
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/include/aidl/android/aidl/tests/
DBackendType.h19 JAVA = 1, enumerator
28 case BackendType::JAVA: in toString()
49 aidl::android::aidl::tests::BackendType::JAVA,
/system/tools/aidl/tests/java/src/android/aidl/tests/
DNullableTests.java63 if (mService.getBackendType() != BackendType.JAVA) { in testExpectNpeWithNullString()
76 if (mService.getBackendType() != BackendType.JAVA) { in testExpectNpeWithNullBinder()
92 if (mService.getBackendType() != BackendType.JAVA) { in testExpectNpeWithNullBinderList()
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DBackendType.java7 public static final byte JAVA = 1; field
/system/tools/aidl/tests/android/aidl/tests/
DBackendType.aidl5 JAVA, enumConstant
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DBackendType.rs5 JAVA = 1,
/system/tools/aidl/
Doptions.cpp65 if (language_ == Options::Language::JAVA) { in GetUsage()
162 case Options::Language::JAVA: in to_string()
190 Options::Language lang = Options::Language::JAVA; in From()
256 language_ = Options::Language::JAVA; in Options()
396 if (language_ == Options::Language::JAVA || language_ == Options::Language::RUST) { in Options()
410 output_file_ += (language_ == Options::Language::JAVA) ? ".java" : ".rs"; in Options()
466 if (language_ == Options::Language::JAVA && task_ == Options::Task::COMPILE) { in Options()
Dmain.cpp29 constexpr Options::Language kDefaultLang = Options::Language::JAVA;
Doptions_unittest.cpp101 Options::Language default_lang = Options::Language::JAVA) { in GetOptions()
137 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()
150 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()
195 EXPECT_EQ(Options::Language::JAVA, options->TargetLanguage()); in TEST()
Doptions.h78 enum class Language { UNSPECIFIED, JAVA, CPP, NDK, RUST }; enumerator
Daidl_unittest.cpp135 testing::Values(Options::Language::CPP, Options::Language::JAVA,
789 {Options::Language::JAVA, {"out/IFoo.java", "@Deprecated"}}, in TEST_P()
809 {Options::Language::JAVA, {"out/IFoo.java", "@Deprecated"}}, in TEST_P()
810 {Options::Language::JAVA, {"out/IFoo.java", "/** @deprecated use bar() */"}}, in TEST_P()
828 {Options::Language::JAVA, {"out/Foo.java", "@Deprecated"}}, in TEST_P()
841 {Options::Language::JAVA, {"out/IFoo.java", "@Deprecated"}}, in TEST_P()
855 {Options::Language::JAVA, {"out/Foo.java", "@Deprecated"}}, in TEST_P()
865 {Options::Language::JAVA, {"out/Foo.java", "@Deprecated"}}, in TEST_P()
875 {Options::Language::JAVA, {"out/Foo.java", "@Deprecated"}}, in TEST_P()
885 {Options::Language::JAVA, {"out/IFoo.java", "@Deprecated"}}, in TEST_P()
[all …]
Daidl.cpp181 options.TargetLanguage() == Options::Language::JAVA) { in write_dep_file()
239 if (options.TargetLanguage() == Options::Language::JAVA) { in GetOutputFilePath()
828 } else if (lang == Options::Language::JAVA) { in compile_aidl()
Daidl_language.cpp390 return lang == Options::Language::JAVA && in IsStableApiParcelable()
1149 if (lang != Options::Language::JAVA) { in LanguageSpecificCheckValid()
/system/tools/aidl/tests/
Daidl_test_client_service_exceptions.cpp27 if (backend == BackendType::JAVA) { in TEST_F()
Daidl_test_client_file_descriptors.cpp93 if (backend == BackendType::JAVA) { in TEST_F()
140 if (backend == BackendType::JAVA) { in TEST_F()
Daidl_test_client_utf8_strings.cpp72 if (backend == BackendType::JAVA) { in TEST_F()
98 if (func == &ITestService::ReverseUtf8CppStringList && backend == BackendType::JAVA) { in DoTest()
Daidl_test_client_versioned_interface.cpp65 if (backend == BackendType::JAVA) { in TEST_F()
Daidl_test_client_nullables.cpp116 if (backend == BackendType::JAVA) { in TEST_F()
129 if (backend == BackendType::JAVA) { in TEST_F()
Daidl_test_client_parcelables.cpp80 if (backend == BackendType::JAVA) { in TEST_F()
141 if (backend == BackendType::JAVA) { in TEST_F()
/system/tools/aidl/tests/rust/
Dtest_client.rs303 if backend == BackendType::JAVA { in test_parcel_file_descriptor_array()
343 if backend == BackendType::JAVA { in test_service_specific_exception()
499 let null_output = if backend == BackendType::JAVA { Some(vec![]) } else { None }; in test_utf8_string()
652 if backend == BackendType::JAVA { in test_versioned_unknown_union_field_triggers_error()
/system/tools/aidl/tests/java/src/android/aidl/service/
DTestServiceServer.java545 return BackendType.JAVA; in getBackendType()