blob: 50a829e1338ab5ab979233f5b99b1f2c588febd2 [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 {
24namespace powerstats {
25
26ndk::ScopedAStatus PowerStats::getEnergyData(const std::vector<int32_t>& in_railIndices,
27 std::vector<EnergyData>* _aidl_return) {
28 (void)in_railIndices;
29 (void)_aidl_return;
30 return ndk::ScopedAStatus::ok();
31}
32
33ndk::ScopedAStatus PowerStats::getPowerEntityInfo(std::vector<PowerEntityInfo>* _aidl_return) {
34 (void)_aidl_return;
35 return ndk::ScopedAStatus::ok();
36}
37ndk::ScopedAStatus PowerStats::getPowerEntityStateInfo(
38 const std::vector<int32_t>& in_powerEntityIds,
39 std::vector<PowerEntityStateSpace>* _aidl_return) {
40 (void)in_powerEntityIds;
41 (void)_aidl_return;
42 return ndk::ScopedAStatus::ok();
43}
44ndk::ScopedAStatus PowerStats::getPowerEntityStateResidencyData(
45 const std::vector<int32_t>& in_powerEntityIds,
46 std::vector<PowerEntityStateResidencyResult>* _aidl_return) {
47 (void)in_powerEntityIds;
48 (void)_aidl_return;
49 return ndk::ScopedAStatus::ok();
50}
51ndk::ScopedAStatus PowerStats::getRailInfo(std::vector<RailInfo>* _aidl_return) {
52 (void)_aidl_return;
53 return ndk::ScopedAStatus::ok();
54}
55
56} // namespace powerstats
57} // namespace hardware
58} // namespace android
59} // namespace aidl