From d8685846238fc1b102e2187808424653fba65059 Mon Sep 17 00:00:00 2001 From: Martin Geisler <mgeisler@google.com> Date: Tue, 3 Dec 2024 17:01:55 +0100 Subject: [PATCH] Show path to auto-generate AIDL code on slide (#2417) This updates the surrounding text to bring it in line with the other slides. --- src/android/aidl/example-service/service-bindings.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/android/aidl/example-service/service-bindings.md b/src/android/aidl/example-service/service-bindings.md index 0acb3ea6..38667842 100644 --- a/src/android/aidl/example-service/service-bindings.md +++ b/src/android/aidl/example-service/service-bindings.md @@ -1,7 +1,6 @@ # Generated Service API -Binder generates a trait corresponding to the interface definition. trait to -talk to the service. +Binder generates a trait for each interface definition. _birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_: @@ -10,7 +9,9 @@ _birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_: } ``` -_Generated trait_: +_out/soong/.intermediates/.../birthdayservice/IBirthdayService.rs_: + +<!-- The example below is a cleaned up and simplified version of the real code. --> ```rust,ignore trait IBirthdayService { @@ -23,8 +24,6 @@ trait to talk to the service. <details> -- The generated bindings can be found at - `out/soong/.intermediates/<path to module>/`. - Point out how the generated function signature, specifically the argument and return types, correspond the interface definition. - `String` for an argument results in a different Rust type than `String` as a