blob: 367ee9520126a4089d08b2c949286e79714bc1ad [file] [log] [blame]
Benjamin Schwartzea685022020-07-30 16:20:55 -07001/*
2 * Copyright (C) 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "PowerStats.h"
18
19#include <android-base/logging.h>
20
21namespace aidl {
22namespace android {
23namespace hardware {
Benjamin Schwartz71c6f8b2020-10-05 15:44:19 -070024namespace power {
25namespace stats {
Benjamin Schwartzea685022020-07-30 16:20:55 -070026
Benjamin Schwartzea685022020-07-30 16:20:55 -070027ndk::ScopedAStatus PowerStats::getPowerEntityInfo(std::vector<PowerEntityInfo>* _aidl_return) {
28 (void)_aidl_return;
29 return ndk::ScopedAStatus::ok();
30}
Benjamin Schwartzbd524462020-08-31 14:25:06 -070031
Benjamin Schwartz53456242020-10-03 12:54:35 -070032ndk::ScopedAStatus PowerStats::getStateResidency(const std::vector<int32_t>& in_powerEntityIds,
33 std::vector<StateResidencyResult>* _aidl_return) {
Benjamin Schwartzea685022020-07-30 16:20:55 -070034 (void)in_powerEntityIds;
35 (void)_aidl_return;
36 return ndk::ScopedAStatus::ok();
37}
Benjamin Schwartzbd524462020-08-31 14:25:06 -070038
Benjamin Schwartz42408272020-09-28 14:33:59 -070039ndk::ScopedAStatus PowerStats::getEnergyConsumerInfo(std::vector<EnergyConsumerId>* _aidl_return) {
40 (void)_aidl_return;
41 return ndk::ScopedAStatus::ok();
42}
43
44ndk::ScopedAStatus PowerStats::getEnergyConsumed(
45 const std::vector<EnergyConsumerId>& in_energyConsumerIds,
46 std::vector<EnergyConsumerResult>* _aidl_return) {
47 (void)in_energyConsumerIds;
48 (void)_aidl_return;
49 return ndk::ScopedAStatus::ok();
50}
51
52ndk::ScopedAStatus PowerStats::getEnergyMeterInfo(std::vector<ChannelInfo>* _aidl_return) {
53 (void)_aidl_return;
54 return ndk::ScopedAStatus::ok();
55}
56
57ndk::ScopedAStatus PowerStats::readEnergyMeters(const std::vector<int32_t>& in_channelIds,
58 std::vector<EnergyMeasurement>* _aidl_return) {
59 (void)in_channelIds;
Benjamin Schwartzea685022020-07-30 16:20:55 -070060 (void)_aidl_return;
61 return ndk::ScopedAStatus::ok();
62}
63
Benjamin Schwartz71c6f8b2020-10-05 15:44:19 -070064} // namespace stats
65} // namespace power
Benjamin Schwartzea685022020-07-30 16:20:55 -070066} // namespace hardware
67} // namespace android
68} // namespace aidl