Home
last modified time | relevance | path

Searched refs:entityName (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/powerstats/
DAidlStateResidencyDataProvider.cpp35 void AidlStateResidencyDataProvider::addEntity(uint32_t id, std::string entityName, in addEntity() argument
39 mEntityInfos.emplace(entityName, StateSpace{.powerEntityId = id, .stateInfos = {}}); in addEntity()
43 auto &stateInfos = mEntityInfos.at(entityName).stateInfos; in addEntity()
88 const std::string &entityName, const sp<IPixelPowerStatsCallback> &callback) { in registerCallback() argument
89 LOG(INFO) << "Registering callback for " << entityName; in registerCallback()
99 if (mEntityInfos.find(entityName) == mEntityInfos.end()) { in registerCallback()
106 mCallbacks.emplace(entityName, callback); in registerCallback()
138 std::string entityName, in buildResult() argument
141 auto infosEntry = mEntityInfos.find(entityName); in buildResult()
143 LOG(ERROR) << __func__ << " failed: " << entityName << " is not registered."; in buildResult()
[all …]
DPowerStats.cpp273 const char *entityName = entityNames.at(entityId).c_str(); in DumpResidencyDataDiffToFd() local
299 dataFormatWithDelta, entityName, stateName, in DumpResidencyDataDiffToFd()
311 dataFormatWithoutDelta, entityName, stateName, in DumpResidencyDataDiffToFd()
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DAidlStateResidencyDataProvider.h42 void addEntity(uint32_t id, std::string entityName, std::vector<std::string> stateNames);
49 binderStatus registerCallback(const std::string &entityName,
61 bool buildResult(std::string entityName,
/hardware/google/pixel/powerstats/aidl/android/vendor/powerstats/
DIPixelPowerStatsProvider.aidl22 void registerCallback(in @utf8InCpp String entityName, in IPixelPowerStatsCallback callback); in registerCallback() argument