File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/android/aidl/example-service Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Generated Service API
2
2
3
- Binder generates a trait corresponding to the interface definition. trait to
4
- talk to the service.
3
+ Binder generates a trait for each interface definition.
5
4
6
5
_ birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_ :
7
6
@@ -10,7 +9,9 @@ _birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_:
10
9
}
11
10
```
12
11
13
- _ Generated trait_ :
12
+ _ out/soong/.intermediates/.../birthdayservice/IBirthdayService.rs_ :
13
+
14
+ <!-- The example below is a cleaned up and simplified version of the real code. -->
14
15
15
16
``` rust,ignore
16
17
trait IBirthdayService {
@@ -23,8 +24,6 @@ trait to talk to the service.
23
24
24
25
<details >
25
26
26
- - The generated bindings can be found at
27
- ` out/soong/.intermediates/<path to module>/ ` .
28
27
- Point out how the generated function signature, specifically the argument and
29
28
return types, correspond the interface definition.
30
29
- ` String ` for an argument results in a different Rust type than ` String ` as a
You can’t perform that action at this time.
0 commit comments