powerstats: remove bluetooth data provider on the specific device
The specific device uses QC solution on Bluetooth. Remove support of Bluetooth state residency data provider in PowerStatsHAL on the specific device. Bug: 231395549 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: Ic94d9ca2ddefa5ac09bc83bf156a4972562506ea Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
bf885d8d52
commit
19b932eb41
2 changed files with 11 additions and 3 deletions
|
@ -632,10 +632,9 @@ void addPixelStateResidencyDataProvider(std::shared_ptr<PowerStats> p) {
|
|||
p->addStateResidencyDataProvider(std::move(pixelSdp));
|
||||
}
|
||||
|
||||
void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p) {
|
||||
void addCommonDataProviders(std::shared_ptr<PowerStats> p) {
|
||||
setEnergyMeter(p);
|
||||
|
||||
addPixelStateResidencyDataProvider(p);
|
||||
addAoC(p);
|
||||
addDvfsStats(p);
|
||||
addSoC(p);
|
||||
|
@ -655,6 +654,15 @@ void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p) {
|
|||
addPlaceholderEnergyConsumers(p);
|
||||
}
|
||||
|
||||
void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p) {
|
||||
addCommonDataProviders(p);
|
||||
addPixelStateResidencyDataProvider(p);
|
||||
}
|
||||
|
||||
void addGs201CommonDataProvidersQc(std::shared_ptr<PowerStats> p) {
|
||||
addCommonDataProviders(p);
|
||||
}
|
||||
|
||||
void addNFC(std::shared_ptr<PowerStats> p, const std::string& path) {
|
||||
const GenericStateResidencyDataProvider::StateResidencyConfig nfcStateConfig = {
|
||||
.entryCountSupported = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue