Home
last modified time | relevance | path

Searched refs:getEnergyConsumed (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/power/stats/aidl/default/
DPowerStats.cpp125 ndk::ScopedAStatus PowerStats::getEnergyConsumed(const std::vector<int32_t>& in_energyConsumerIds, in getEnergyConsumed() function in aidl::android::hardware::power::stats::PowerStats
135 return getEnergyConsumed(v, _aidl_return); in getEnergyConsumed()
144 auto optionalResult = mEnergyConsumers[id]->getEnergyConsumed(); in getEnergyConsumed()
DPowerStats.h44 virtual std::optional<EnergyConsumerResult> getEnergyConsumed() = 0;
67 ndk::ScopedAStatus getEnergyConsumed(const std::vector<int32_t>& in_energyConsumerIds,
DFakeEnergyConsumer.h46 std::optional<EnergyConsumerResult> getEnergyConsumed() override { in getEnergyConsumed() function
/hardware/interfaces/power/stats/aidl/aidl_api/android.hardware.power.stats/2/android/hardware/power/stats/
DIPowerStats.aidl40 android.hardware.power.stats.EnergyConsumerResult[] getEnergyConsumed(in int[] energyConsumerIds); in getEnergyConsumed() method
/hardware/interfaces/power/stats/aidl/aidl_api/android.hardware.power.stats/1/android/hardware/power/stats/
DIPowerStats.aidl40 android.hardware.power.stats.EnergyConsumerResult[] getEnergyConsumed(in int[] energyConsumerIds); in getEnergyConsumed() method
/hardware/interfaces/power/stats/aidl/aidl_api/android.hardware.power.stats/current/android/hardware/power/stats/
DIPowerStats.aidl39 android.hardware.power.stats.EnergyConsumerResult[] getEnergyConsumed(in int[] energyConsumerIds); in getEnergyConsumed() method
/hardware/interfaces/power/stats/aidl/android/hardware/power/stats/
DIPowerStats.aidl87 EnergyConsumerResult[] getEnergyConsumed(in int[] energyConsumerIds); in getEnergyConsumed() method
/hardware/google/pixel/powerstats/include/
DPowerStatsAidl.h46 virtual std::optional<EnergyConsumerResult> getEnergyConsumed() = 0;
69 ndk::ScopedAStatus getEnergyConsumed(const std::vector<int32_t> &in_energyConsumerIds,
/hardware/interfaces/power/stats/aidl/vts/
DVtsHalPowerStatsTargetTest.cpp409 ASSERT_OK(powerstats->getEnergyConsumed({}, &results)); in TEST_P()
418 ASSERT_OK(powerstats->getEnergyConsumed({}, &results)); in TEST_P()
438 ASSERT_OK(powerstats->getEnergyConsumed(selectedIds, &selectedResults)); in TEST_P()
447 ASSERT_OK(powerstats->getEnergyConsumed({}, &results)); in TEST_P()
457 ASSERT_OK(powerstats->getEnergyConsumed({}, &results)); in TEST_P()
/hardware/google/pixel/powerstats/
DPowerStatsAidl.cpp133 ndk::ScopedAStatus PowerStats::getEnergyConsumed(const std::vector<int32_t> &in_energyConsumerIds, in getEnergyConsumed() function in aidl::android::hardware::power::stats::PowerStats
143 return getEnergyConsumed(v, _aidl_return); in getEnergyConsumed()
152 auto resopt = mEnergyConsumers[id]->getEnergyConsumed(); in getEnergyConsumed()
380 getEnergyConsumed({}, &results); in dumpEnergyConsumer()
/hardware/google/pixel/powerstats/include/dataproviders/
DPowerStatsEnergyConsumer.h67 std::optional<EnergyConsumerResult> getEnergyConsumed() override;
/hardware/google/pixel/powerstats/dataproviders/
DPowerStatsEnergyConsumer.cpp147 std::optional<EnergyConsumerResult> PowerStatsEnergyConsumer::getEnergyConsumed() { in getEnergyConsumed() function in aidl::android::hardware::power::stats::PowerStatsEnergyConsumer