Benjamin Schwartz | ea68502 | 2020-07-30 16:20:55 -0700 | [diff] [blame^] | 1 | /* |
| 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 | |
| 21 | namespace aidl { |
| 22 | namespace android { |
| 23 | namespace hardware { |
| 24 | namespace powerstats { |
| 25 | |
| 26 | ndk::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 | |
| 33 | ndk::ScopedAStatus PowerStats::getPowerEntityInfo(std::vector<PowerEntityInfo>* _aidl_return) { |
| 34 | (void)_aidl_return; |
| 35 | return ndk::ScopedAStatus::ok(); |
| 36 | } |
| 37 | ndk::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 | } |
| 44 | ndk::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 | } |
| 51 | ndk::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 |