Lines Matching refs:to
11 You can download the original TA as well, if you want to see the rust TA communicate with the origi…
38 …for other trusted apps to connect onto. In addition, it contains the unit tests that can be run to…
42 …- `rules.mk` - This is the makefile for the library app. In order to run our unit tests in Rust,…
45 * `MODULE_RUST_TESTS := true` allows us to run tests in this TA.
46 …ME := hello_world_in_rust` specifies the crate name, also specifying the port to connect for tests.
48 …ion, the source file for the app TA, `main.rs`, simply calls into `lib.rs` to start the event loop.
56 Like the original, the best idea is to start reading the source code itself.
58 `main.rs` contains just a simple call to the functions in `lib.rs`, which contains all the function…
61 …rning incoming IPC messages into a string to process, and the logic for turning a string into an I…
64 …art_loop()`. The manager automatically dispatches connections and messages to our Service implemen…
70 There are two ways to exercise the TA.
72 2. You can actually use the original `test-app` in C to exercise the Rust TA.
76 First, you need to build the code. (You don't need to include the rust TA in `TRUSTY_BUILTIN_USER_T…
82 …world_in_rust` ). We prepend `com.android.trusty.rust.` and append `.test` to this crate name. Our…
90 …t exercising the app TA, then you can try the second approach. You'll need to have the original CL…
92 Once you've done so, don't include the original C `app` in `TRUSTY_BUILTIN_USER_TASKS`. We want to …
106 …w, you should be able to run the boot test. This will use the unit test in the original C `test-ap…