summaryrefslogtreecommitdiff
path: root/powerstats/PowerStatsAidl.cpp
diff options
context:
space:
mode:
authorBenjamin Schwartz <bsschwar@google.com>2020-10-05 15:45:18 -0700
committerBenjamin Schwartz <bsschwar@google.com>2020-10-06 09:00:39 -0700
commitc3652dbfa7ed3c49ad30baea8667f804b7c3c4fc (patch)
tree83ce5caf60bcb82e78c97ee5e7f24f82f244a6bc /powerstats/PowerStatsAidl.cpp
parent93f92cbdf8f286f1e536db04b4a591ede7e19ddc (diff)
downloadpixel-c3652dbfa7ed3c49ad30baea8667f804b7c3c4fc.tar.gz
powerstats: PowerStats HAL has been renamed
Bug: 169864180 Test: m Change-Id: I5491e93004ebabfe12a73d397b5b996d1dfffffa
Diffstat (limited to 'powerstats/PowerStatsAidl.cpp')
-rw-r--r--powerstats/PowerStatsAidl.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/powerstats/PowerStatsAidl.cpp b/powerstats/PowerStatsAidl.cpp
index 561ed537..ff867093 100644
--- a/powerstats/PowerStatsAidl.cpp
+++ b/powerstats/PowerStatsAidl.cpp
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-#define LOG_TAG "android.hardware.powerstats-service.pixel"
+#define LOG_TAG "android.hardware.power.stats-service.pixel"
#include "include/PowerStatsAidl.h"
-#include <aidl/android/hardware/powerstats/BnPowerStats.h>
+#include <aidl/android/hardware/power/stats/BnPowerStats.h>
#include <android-base/chrono_utils.h>
#include <android-base/file.h>
@@ -33,7 +33,8 @@
namespace aidl {
namespace android {
namespace hardware {
-namespace powerstats {
+namespace power {
+namespace stats {
void PowerStats::addStateResidencyDataProvider(sp<IStateResidencyDataProvider> p) {
int32_t id = mPowerEntityInfos.size();
@@ -331,7 +332,8 @@ binder_status_t PowerStats::dump(int fd, const char **args, uint32_t numArgs) {
return STATUS_OK;
}
-} // namespace powerstats
+} // namespace stats
+} // namespace power
} // namespace hardware
} // namespace android
} // namespace aidl