Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6651deb8 authored by Zach Johnson's avatar Zach Johnson
Browse files

rusty-gd: rename interop to ffi

be more consistent

Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost SimpleHalTest
Change-Id: Ide822c27c2c06dec0a9d89d09d8e20344d7ff8cb
parent cc66ba1f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ genrule {
cc_library_static {
    name: "libbt_hidl_hal_cxx",
    defaults: ["gd_ffi_defaults"],
    srcs: ["src/hidl/interop.cc"],
    local_include_dirs: ["src/hidl"],
    srcs: ["src/ffi/hidl.cc"],
    local_include_dirs: ["src/ffi"],
    generated_headers: ["libbt_hidl_hal_bridge_header", "cxx-bridge-header"],
    generated_sources: ["libbt_hidl_hal_bridge_code"],
    shared_libs: [
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#include <stdlib.h>

#include "../../os/log.h"
#include "src/hidl/interop.h"
#include "src/ffi/hidl.h"

using ::android::hardware::hidl_vec;
using ::android::hardware::Return;
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ async fn provide_hidl_hal(rt: Arc<Runtime>) -> RawHalExports {
#[cxx::bridge(namespace = bluetooth::hal)]
mod ffi {
    extern "C" {
        include!("src/hidl/interop.h");
        include!("src/ffi/hidl.h");
        fn start_hal();
        fn stop_hal();
        fn send_command(data: &[u8]);