commit | 045b605a6f92db23fcdb360dbc2861f2b0ccdfa0 | [log] [tgz] |
---|---|---|
author | William Escande <wescande@google.com> | Tue Nov 30 20:43:58 2021 +0100 |
committer | William Escande <wescande@google.com> | Fri Dec 10 19:22:43 2021 +0100 |
tree | ea4ea65408b297faa79272887aed624c28b77ec4 | |
parent | abd67398642f2cf3372851e911f73b3322ef4564 [diff] |
Add SynchronousResultReceiver to modules It aim to be used in Binder call, to easily add a oneway interface on existing api. FYI: This is a re-used of existing sync receiver: f/base/.../com/android/internal/util/SyncResultReceiver.java f/base/.../android/os/SynchronousResultReceiver.java The first one is in internal and can not be open to modules. The second one is in android.os but we feel like it should not be moved to a systemApi there. This class introduce some async behavior and the api council seems to not like theses Bug: 200200870 Tag: #refactor Test: Build - start BT - play music Test: atest ModulesUtilsTests Change-Id: I15d72e2538f00ff8ea77d3c58a7b3ead11e7965c
Libraries and utilities intended for use by module and framework code.
Since modules use the code in this project, it must adhere to mainline requirements, for example, by setting min_sdk_version in Soong modules.
This project uses a single source path for Java code. All Java code should go in the java
directory with subdirectories corresponding to the java package. Android.bp
files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.
Tests for java code should go in the javatests
directory and follow the same structure.