Remove power stats HAL 1.0 service

Bug: 179527556
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: device boot and examined logs to make sure no errors related to
missing power stats 1.0

Change-Id: Ib8cc394f9968edaf948a2d9700e9f7fcaa5b9dc0
This commit is contained in:
Benjamin Schwartz 2021-03-09 09:02:06 -08:00
parent d287e223f4
commit 0d6392efa6
19 changed files with 597 additions and 2078 deletions

View file

@ -22,51 +22,12 @@ package {
],
}
cc_binary {
// TODO(b/167628903) : remove this
name: "android.hardware.power.stats@1.0-service.gs101",
header_libs: [
"device_kernel_headers",
],
relative_install_path: "hw",
init_rc: ["android.hardware.power.stats@1.0-service.gs101.rc"],
vintf_fragments: ["android.hardware.power.stats@1.0-service.gs101.xml"],
srcs: [
"AocStateResidencyDataProvider.cpp",
"DvfsStateResidencyDataProvider.cpp",
"RailDataProvider.cpp",
"service.cpp",
"UfsStateResidencyDataProvider.cpp",
],
cflags: [
"-Wall",
"-Werror",
],
static_libs: [
"libpixelpowerstats",
],
shared_libs: [
"android.hardware.power.stats@1.0",
"pixelpowerstats_provider_aidl_interface-cpp",
"libbase",
"libbinder",
"libcutils",
"libfmq",
"libhidlbase",
"liblog",
"libutils",
],
vendor: true,
}
cc_binary {
name: "android.hardware.power.stats-service.pixel",
init_rc: ["android.hardware.power.stats-service.pixel.rc"],
vintf_fragments: ["android.hardware.power.stats-service.pixel.xml"],
srcs: [
"AocStateResidencyDataProviderAidl.cpp",
"DvfsStateResidencyDataProviderAidl.cpp",
"serviceaidl.cpp"
"*.cpp",
],
cflags: [
"-Wall",