/system/tools/hidl/hidl2aidl/ |
D | AidlTranslate.cpp | 59 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 …]
|
D | main.cpp | 190 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()
|
D | AidlHelper.h | 61 enum class AidlBackend { UNKNOWN, NDK, CPP, JAVA }; enumerator
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/ |
D | BackendType.h | 16 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/ |
D | BackendType.h | 19 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/ |
D | NullableTests.java | 63 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/ |
D | BackendType.java | 7 public static final byte JAVA = 1; field
|
/system/tools/aidl/tests/android/aidl/tests/ |
D | BackendType.aidl | 5 JAVA, enumConstant
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/ |
D | BackendType.rs | 5 JAVA = 1,
|
/system/tools/aidl/ |
D | options.cpp | 65 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()
|
D | main.cpp | 29 constexpr Options::Language kDefaultLang = Options::Language::JAVA;
|
D | options_unittest.cpp | 101 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()
|
D | options.h | 78 enum class Language { UNSPECIFIED, JAVA, CPP, NDK, RUST }; enumerator
|
D | aidl_unittest.cpp | 135 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 …]
|
D | aidl.cpp | 181 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()
|
D | aidl_language.cpp | 390 return lang == Options::Language::JAVA && in IsStableApiParcelable() 1149 if (lang != Options::Language::JAVA) { in LanguageSpecificCheckValid()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_service_exceptions.cpp | 27 if (backend == BackendType::JAVA) { in TEST_F()
|
D | aidl_test_client_file_descriptors.cpp | 93 if (backend == BackendType::JAVA) { in TEST_F() 140 if (backend == BackendType::JAVA) { in TEST_F()
|
D | aidl_test_client_utf8_strings.cpp | 72 if (backend == BackendType::JAVA) { in TEST_F() 98 if (func == &ITestService::ReverseUtf8CppStringList && backend == BackendType::JAVA) { in DoTest()
|
D | aidl_test_client_versioned_interface.cpp | 65 if (backend == BackendType::JAVA) { in TEST_F()
|
D | aidl_test_client_nullables.cpp | 116 if (backend == BackendType::JAVA) { in TEST_F() 129 if (backend == BackendType::JAVA) { in TEST_F()
|
D | aidl_test_client_parcelables.cpp | 80 if (backend == BackendType::JAVA) { in TEST_F() 141 if (backend == BackendType::JAVA) { in TEST_F()
|
/system/tools/aidl/tests/rust/ |
D | test_client.rs | 303 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/ |
D | TestServiceServer.java | 545 return BackendType.JAVA; in getBackendType()
|