Home
last modified time | relevance | path

Searched refs:entityName (Results 1 – 9 of 9) 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 …]
DPowerStatsAidl.cpp48 for (const auto &[entityName, states] : info) { in addStateResidencyDataProvider()
51 .name = entityName, in addStateResidencyDataProvider()
185 void PowerStats::statesUpdate(const std::string &entityName, const std::vector<State> &states) { in statesUpdate() argument
187 if (powerEntityInfo.name == entityName) { in statesUpdate()
195 LOG(WARNING) << "Attempt to update a non-existent entry: " << entityName; in statesUpdate()
322 const char *entityName = entityNames.at(result.id).c_str(); in dumpStateResidency() local
351 dataFormatDelta, entityName, stateName, stateResidency.totalTimeInStateMs, in dumpStateResidency()
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/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dentity_db.py448 def addAlias(self, entityName, aliasName): argument
452 other_alias_set = self._aliasSetsByEntity.get(entityName)
467 alias_set.add(entityName)
472 self._aliasSetsByEntity[entityName] = alias_set
474 def addEntity(self, entityName, macro, category=None, elem=None, argument
500 self.addAlias(entityName, alias)
502 if entityName in self._byEntity:
524 entity=entityName,
531 if entityName.lower() not in self._byLowercaseEntity:
532 self._byLowercaseEntity[entityName.lower()] = []
[all …]
/hardware/google/pixel/powerstats/aidl/android/vendor/powerstats/
DIPixelStateResidencyProvider.aidl24 void registerCallback(in @utf8InCpp String entityName, in IPixelStateResidencyCallback cb); in registerCallback() argument
26 in @utf8InCpp String entityName, in registerCallbackByStates()
DIPixelPowerStatsProvider.aidl22 void registerCallback(in @utf8InCpp String entityName, in IPixelPowerStatsCallback callback); in registerCallback() argument
/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/interfaces/power/stats/aidl/default/
DPowerStats.cpp40 for (const auto& [entityName, states] : info) { in addStateResidencyDataProvider()
43 .name = entityName, in addStateResidencyDataProvider()
/hardware/google/pixel/powerstats/include/
DPowerStatsAidl.h77 void statesUpdate(const std::string &entityName, const std::vector<State> &states);