Home
last modified time | relevance | path

Searched refs:aidl (Results 1 – 25 of 130) sorted by relevance

123456

/system/bt/binder/
DAndroid.bp10 "android/bluetooth/IBluetoothSocketManager.aidl",
13 "android/bluetooth/IBluetooth.aidl",
14 "android/bluetooth/IBluetoothA2dp.aidl",
15 "android/bluetooth/IBluetoothA2dpSink.aidl",
16 "android/bluetooth/IBluetoothAvrcpController.aidl",
17 "android/bluetooth/IBluetoothAvrcpTarget.aidl",
18 "android/bluetooth/IBluetoothCallback.aidl",
19 "android/bluetooth/IBluetoothProfileServiceConnection.aidl",
20 "android/bluetooth/IBluetoothHeadset.aidl",
21 "android/bluetooth/IBluetoothHeadsetPhone.aidl",
[all …]
/system/bt/service/common/
DAndroid.bp45 "android/bluetooth/IBluetooth.aidl",
46 "android/bluetooth/IBluetoothA2dpSink.aidl",
47 "android/bluetooth/IBluetoothA2dpSinkCallback.aidl",
48 "android/bluetooth/IBluetoothA2dpSource.aidl",
49 "android/bluetooth/IBluetoothA2dpSourceCallback.aidl",
50 "android/bluetooth/IBluetoothAvrcpControl.aidl",
51 "android/bluetooth/IBluetoothAvrcpControlCallback.aidl",
52 "android/bluetooth/IBluetoothAvrcpTarget.aidl",
53 "android/bluetooth/IBluetoothAvrcpTargetCallback.aidl",
54 "android/bluetooth/IBluetoothCallback.aidl",
[all …]
/system/tools/aidl/build/
DAndroid.bp16 name: "aidl-soong-rules",
17 pkgPath: "android/soong/aidl",
34 // These configurations are inherited by all aidl-gen modules
37 name: "aidl-cpp-module-defaults",
46 name: "aidl-java-module-defaults",
58 "tests_1/some_package/IFoo.aidl",
59 "tests_1/some_package/Thing.aidl",
60 "tests_1/some_package/sub_package/*.aidl",
68 "tests_1/some_package/IFoo.aidl",
69 "tests_1/some_package/Thing.aidl",
[all …]
Daidl_interface.go15 package aidl package
474 apiFiles[ver] = ctx.Glob(filepath.Join(apiDir.String(), "**/*.aidl"), nil)
637 if !strings.HasSuffix(source, ".aidl") {
638 mctx.PropertyErrorf("srcs", "Source must be a .aidl file: "+source)
/system/tools/aidl/
DAndroid.bp36 // Logic shared between aidl and its unittests
43 "aidl.cpp",
71 // aidl executable
73 name: "aidl",
82 // aidl-cpp executable
84 name: "aidl-cpp",
176 aidl: {
179 include_dirs: ["frameworks/native/aidl/binder"],
182 "tests/android/aidl/tests/*.aidl",
224 "tests/android/aidl/tests/*.aidl",
[all …]
Dmain.cpp26 using android::aidl::Options;
43 android::aidl::IoDelegate io_delegate; in main()
46 return android::aidl::compile_aidl(options, io_delegate); in main()
48 return android::aidl::preprocess_aidl(options, io_delegate) ? 0 : 1; in main()
50 return android::aidl::dump_api(options, io_delegate) ? 0 : 1; in main()
52 return android::aidl::check_api(options, io_delegate) ? 0 : 1; in main()
54 return android::aidl::dump_mappings(options, io_delegate) ? 0 : 1; in main()
Daidl_unittest.cpp34 using android::aidl::test::FakeIoDelegate;
40 using android::aidl::internals::parse_preprocessed_file;
43 namespace aidl { namespace
157 AidlError actual_error = ::android::aidl::internals::load_and_validate_aidl(
319 EXPECT_TRUE(::android::aidl::preprocess_aidl(options, io_delegate_)); in TEST_F()
340 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
377 EXPECT_EQ(0, ::android::aidl::compile_aidl(options1, io_delegate_)); in TEST_F()
381 EXPECT_NE(0, ::android::aidl::compile_aidl(options2, io_delegate_)); in TEST_F()
387 EXPECT_EQ(0, ::android::aidl::compile_aidl(options3, io_delegate_)); in TEST_F()
389 EXPECT_NE(0, ::android::aidl::compile_aidl(options4, io_delegate_)); in TEST_F()
[all …]
Daidl_to_ndk.cpp28 namespace aidl { namespace
238 static TypeInfo::Aspect GetTypeAspect(const AidlTypenames& types, const AidlTypeSpecifier& aidl) { in GetTypeAspect() argument
239 CHECK(aidl.IsResolved()) << aidl.ToString(); in GetTypeAspect()
241 const string aidl_name = aidl.GetName(); in GetTypeAspect()
244 AIDL_FATAL_IF(aidl.IsGeneric(), aidl) << aidl.ToString(); in GetTypeAspect()
264 if (aidl.IsArray()) { in GetTypeAspect()
265 if (aidl.IsNullable()) { in GetTypeAspect()
266 AIDL_FATAL_IF(info.nullable_array == nullptr, aidl) << "Unsupported type in NDK Backend."; in GetTypeAspect()
269 AIDL_FATAL_IF(info.array == nullptr, aidl) << "Unsupported type in NDK Backend."; in GetTypeAspect()
273 if (aidl.IsNullable()) { in GetTypeAspect()
[all …]
Daidl_to_java.h30 namespace aidl {
46 const string& JavaNameOf(const AidlTypeSpecifier& aidl);
50 string JavaSignatureOf(const AidlTypeSpecifier& aidl);
53 string DefaultJavaValueOf(const AidlTypeSpecifier& aidl);
Dmain_cpp.cpp24 using android::aidl::Options;
42 android::aidl::IoDelegate io_delegate; in main()
43 return android::aidl::compile_aidl(options, io_delegate); in main()
Dgenerate_java.h28 namespace aidl {
35 android::aidl::java::Class* generate_binder_interface_class(const AidlInterface* iface,
39 android::aidl::java::Class* generate_parcel_class(const AidlStructuredParcelable* parcel,
Daidl_to_java.cpp32 namespace aidl { namespace
49 const string& JavaNameOf(const AidlTypeSpecifier& aidl) { in JavaNameOf() argument
50 CHECK(aidl.IsResolved()) << aidl.ToString(); in JavaNameOf()
70 const string& aidl_name = aidl.GetName(); in JavaNameOf()
80 string JavaSignatureOf(const AidlTypeSpecifier& aidl) { in JavaSignatureOf() argument
81 string ret = JavaNameOf(aidl); in JavaSignatureOf()
82 if (aidl.IsGeneric()) { in JavaSignatureOf()
84 for (const auto& ta : aidl.GetTypeParameters()) { in JavaSignatureOf()
89 if (aidl.IsArray()) { in JavaSignatureOf()
95 string DefaultJavaValueOf(const AidlTypeSpecifier& aidl) { in DefaultJavaValueOf() argument
[all …]
Druntests.sh29 MODULES-IN-system-tools-aidl
41 ${ANDROID_BUILD_TOP}/system/tools/aidl/tests/integration-test.py
/system/tools/aidl/tests/
Dend_to_end_tests.cpp30 using android::aidl::test::CanonicalNameToPath;
31 using android::aidl::test::FakeIoDelegate;
37 namespace aidl { namespace
74 using namespace ::android::aidl::test_data::example_interface; in TEST_F()
92 EXPECT_EQ(android::aidl::compile_aidl(options, io_delegate_), 0); in TEST_F()
98 using namespace ::android::aidl::test_data::example_interface; in TEST_F()
117 EXPECT_EQ(android::aidl::compile_aidl(options, io_delegate_), 0); in TEST_F()
123 using namespace ::android::aidl::test_data::example_interface; in TEST_F()
142 EXPECT_EQ(android::aidl::compile_aidl(options, io_delegate_), 0); in TEST_F()
148 using namespace ::android::aidl::test_data::example_interface; in TEST_F()
[all …]
Daidl_test_client_utf8_strings.h26 namespace aidl {
31 const android::sp<android::aidl::tests::ITestService>& s);
33 const android::sp<android::aidl::tests::ITestService>& s);
35 const android::sp<android::aidl::tests::ITestService>& s);
Dtest_helpers.h27 namespace aidl {
33 const android::sp<android::aidl::tests::ITestService>& service, in RepeatPrimitive()
34 android::binder::Status(android::aidl::tests::ITestService::*func)(T, V*), in RepeatPrimitive()
48 const android::sp<android::aidl::tests::ITestService>& service, in ReverseArray()
49 android::binder::Status(android::aidl::tests::ITestService::*func)( in ReverseArray()
Daidl_test_client_defaultimpl.cpp22 namespace aidl { namespace
30 class Def : public android::aidl::tests::ITestServiceDefault { in ConfirmDefaultImpl()
43 bool success = android::aidl::tests::ITestService::setDefaultImpl(std::make_unique<Def>()); in ConfirmDefaultImpl()
Daidl_test_client.cpp44 using android::aidl::tests::ITestService;
51 namespace aidl { namespace
77 namespace client_tests = android::aidl::tests::client; in main()
/system/gsid/
DAndroid.bp110 "aidl/android/gsi/GsiInstallParams.aidl",
111 "aidl/android/gsi/GsiProgress.aidl",
112 "aidl/android/gsi/IGsiService.aidl",
114 local_include_dir: "aidl",
125 "aidl/android/gsi/GsiInstallParams.aidl",
126 "aidl/android/gsi/GsiProgress.aidl",
127 "aidl/android/gsi/IGsiService.aidl",
/system/connectivity/wificond/
DAndroid.bp132 aidl: {
133 local_include_dirs: ["aidl"],
138 "aidl/android/net/wifi/IApInterface.aidl",
139 "aidl/android/net/wifi/IApInterfaceEventCallback.aidl",
140 "aidl/android/net/wifi/IClientInterface.aidl",
141 "aidl/android/net/wifi/IInterfaceEventCallback.aidl",
142 "aidl/android/net/wifi/IPnoScanEvent.aidl",
143 "aidl/android/net/wifi/IScanEvent.aidl",
144 "aidl/android/net/wifi/ISendMgmtFrameEvent.aidl",
145 "aidl/android/net/wifi/IWificond.aidl",
[all …]
/system/security/keystore/
DAndroid.bp32 ":IKeyAttestationApplicationIdProvider.aidl",
82 aidl: {
208 aidl: {
249 ":IKeyAttestationApplicationIdProvider.aidl",
277 aidl: {
286 "binder/android/security/IConfirmationPromptCallback.aidl",
287 "binder/android/security/keystore/IKeystoreCertificateChainCallback.aidl",
288 "binder/android/security/keystore/IKeystoreExportKeyCallback.aidl",
289 "binder/android/security/keystore/IKeystoreKeyCharacteristicsCallback.aidl",
290 "binder/android/security/keystore/IKeystoreOperationResultCallback.aidl",
[all …]
/system/netd/server/
DAndroid.bp6 "binder/android/net/metrics/INetdEventListener.aidl",
8 api_dir: "aidl/netdeventlistener",
30 "binder/android/net/INetd.aidl",
32 "binder/android/net/INetdUnsolicitedEventListener.aidl",
33 "binder/android/net/InterfaceConfigurationParcel.aidl",
34 "binder/android/net/TetherStatsParcel.aidl",
35 "binder/android/net/UidRangeParcel.aidl",
37 api_dir: "aidl/netd",
51 // Those calls cannot be part of INetd.aidl and INetdUnsolicitedEventListener.aidl
57 "binder/com/android/internal/net/IOemNetd.aidl",
[all …]
/system/netd/resolv/
DResolverEventReporter.h38 using ListenerSet = std::set<std::shared_ptr<aidl::android::net::metrics::INetdEventListener>>;
48 const std::shared_ptr<aidl::android::net::metrics::INetdEventListener>& listener);
56 const std::shared_ptr<aidl::android::net::metrics::INetdEventListener>& listener)
59 const std::shared_ptr<aidl::android::net::metrics::INetdEventListener>& listener)
/system/tools/aidl/docs/
Daidl-cpp.md1 # Generating C++ Binder Interfaces with `aidl-cpp`
5aidl” refers to several related but distinct concepts:
7 - the AIDL interface [definition language](http://developer.android.com/guide/components/aidl.html)
8 - .aidl files (which contain AIDL)
9 - the aidl generator which transforms AIDL into client/server IPC interfaces
12 stubs for Binder interfaces from a specification in a file with the .aidl
13 extension. For Java interfaces, the executable is called `aidl` while for C++
14 the binary is called `aidl-cpp`. In this document, we’ll use AIDL to describe
15 the language of .aidl files and _aidl generator_ to refer to the code generation
16 tool that takes an .aidl file, parses the AIDL, and outputs code.
[all …]
/system/hardware/interfaces/suspend/aidl/
DAndroid.bp5 "android/system/suspend/ISuspendControlService.aidl",
6 "android/system/suspend/ISuspendCallback.aidl",

123456