fstab: disable auto compression for apk,apex and so am: c10d805383
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18931177
Change-Id: I084fa4ff294891ab5802e5d52389f95d4638ed37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/device_framework_matrix_product.xml b/device_framework_matrix_product.xml
index 5e4785b..863fc2a 100644
--- a/device_framework_matrix_product.xml
+++ b/device_framework_matrix_product.xml
@@ -57,6 +57,13 @@
</interface>
</hal>
<hal format="aidl" optional="true">
+ <name>com.google.face.debug</name>
+ <interface>
+ <name>IDebugHost</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="aidl" optional="true">
<name>com.google.edgetpu</name>
<version>2</version>
<interface>
diff --git a/powerstats/Gs101CommonDataProviders.cpp b/powerstats/Gs101CommonDataProviders.cpp
index 13e6b71..035810b 100644
--- a/powerstats/Gs101CommonDataProviders.cpp
+++ b/powerstats/Gs101CommonDataProviders.cpp
@@ -45,6 +45,8 @@
constexpr char kBootHwSoCRev[] = "ro.boot.hw.soc.rev";
void addAoC(std::shared_ptr<PowerStats> p) {
+ // AoC clock is synced from "libaoc.c"
+ static const uint64_t AOC_CLOCK = 4096;
std::string prefix = "/sys/devices/platform/19000000.aoc/control/";
// Add AoC cores (a32, ff1, hf0, and hf1)
@@ -57,7 +59,7 @@
std::vector<std::pair<std::string, std::string>> coreStates = {
{"DWN", "off"}, {"RET", "retention"}, {"WFI", "wfi"}};
p->addStateResidencyDataProvider(std::make_unique<AocStateResidencyDataProvider>(coreIds,
- coreStates));
+ coreStates, AOC_CLOCK));
// Add AoC voltage stats
std::vector<std::pair<std::string, std::string>> voltageIds = {
@@ -68,7 +70,7 @@
{"UUD", "ultra_underdrive"},
{"UD", "underdrive"}};
p->addStateResidencyDataProvider(
- std::make_unique<AocStateResidencyDataProvider>(voltageIds, voltageStates));
+ std::make_unique<AocStateResidencyDataProvider>(voltageIds, voltageStates, AOC_CLOCK));
// Add AoC monitor mode
std::vector<std::pair<std::string, std::string>> monitorIds = {
@@ -78,7 +80,7 @@
{"MON", "mode"},
};
p->addStateResidencyDataProvider(
- std::make_unique<AocStateResidencyDataProvider>(monitorIds, monitorStates));
+ std::make_unique<AocStateResidencyDataProvider>(monitorIds, monitorStates, AOC_CLOCK));
// Add AoC restart count
const GenericStateResidencyDataProvider::StateResidencyConfig restartCountConfig = {