diff options
author | feiyuchen <feiyuchen@google.com> | 2023-03-31 01:22:43 +0000 |
---|---|---|
committer | Feiyu Chen <feiyuchen@google.com> | 2023-04-03 02:41:02 +0000 |
commit | 1de6f0539bf8e0ad1c07fe8322f6343baf35476a (patch) | |
tree | ec1b7bc75e97ac2d8751a54349b48e33eb2c02d7 | |
parent | 6c493c99eff87b5ac1325579b03f326b0ae28701 (diff) | |
download | ConfigInfrastructure-1de6f0539bf8e0ad1c07fe8322f6343baf35476a.tar.gz |
Write edgetpu_native configs to system properties [1/2]
by following the Android Core Experiment onboarding guide: go/android-platform-native-setup#adding-a-native-namespace and mimicing the camera team's CLs: ag/21091565 [☆] + ag/21090852.
The 2nd CL is here: ag/22369444
Other notes:
I manually ran:
```
m framework-configinfrastructure.stubs.source.system-update-current-api
```
due to the error shown in this screenshot: https://screenshot.googleplex.com/92V8bkaszYP8Rup
Test: mm
Bug: 243553703
Change-Id: I4fb90b3593cc6c67b40eb2c2da2d694a06c5c798
-rw-r--r-- | framework/api/system-current.txt | 1 | ||||
-rw-r--r-- | framework/java/android/provider/DeviceConfig.java | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/framework/api/system-current.txt b/framework/api/system-current.txt index 59d66ea..cfe7cf7 100644 --- a/framework/api/system-current.txt +++ b/framework/api/system-current.txt @@ -49,6 +49,7 @@ package android.provider { field public static final String NAMESPACE_CREDENTIAL = "credential_manager"; field @Deprecated public static final String NAMESPACE_DEX_BOOT = "dex_boot"; field public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager"; + field public static final String NAMESPACE_EDGETPU_NATIVE = "edgetpu_native"; field public static final String NAMESPACE_GAME_DRIVER = "game_driver"; field public static final String NAMESPACE_HDMI_CONTROL = "hdmi_control"; field public static final String NAMESPACE_HEALTH_FITNESS = "health_fitness"; diff --git a/framework/java/android/provider/DeviceConfig.java b/framework/java/android/provider/DeviceConfig.java index 266a0c5..e9254b9 100644 --- a/framework/java/android/provider/DeviceConfig.java +++ b/framework/java/android/provider/DeviceConfig.java @@ -240,6 +240,14 @@ public final class DeviceConfig { public static final String NAMESPACE_CAPTIVEPORTALLOGIN = "captive_portal_login"; /** + * Namespace for all EdgeTpu related features. + * + * @hide + */ + @SystemApi + public static final String NAMESPACE_EDGETPU_NATIVE = "edgetpu_native"; + + /** * Namespace for all HealthFitness related features. * * @hide |