Home
last modified time | relevance | path

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

/base/account/os_account/services/accountmgr/src/
Daccount_state_machine.cpp104 auto stateIter = stateMachineMap_.find(currentState_); in StateChangeProcess() local
105 if (stateIter == stateMachineMap_.end()) { in StateChangeProcess()
111 auto eventIter = stateIter->second.find(evt); in StateChangeProcess()
112 if (eventIter == stateIter->second.end()) { in StateChangeProcess()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_validator.cpp106 auto stateIter = permState.grantStatus.begin(); in DeduplicateResDevID() local
108 … permState.resDeviceID.begin(); it != permState.resDeviceID.end(); ++it, ++stateIter, ++flagIter) { in DeduplicateResDevID()
114 result.grantStatus.emplace_back(*stateIter); in DeduplicateResDevID()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp192 auto stateIter = stateMachineMap.find(prop->first); in StateMachineDecision() local
193 if (stateIter == stateMachineMap.end() || stateIter->second == nullptr) { in StateMachineDecision()
197 if (stateIter->second->DecideState(prop->second)) { in StateMachineDecision()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_action_report_test.cpp179 auto stateIter = stateMap.find(prop.first); in StateDecision() local
183 stateIter->first.c_str(), stateIter->second.c_str()); in StateDecision()
184 if (stateIter != stateMap.end()) { in StateDecision()
185 if (stateIter->second.compare(prop.second) == 0) { in StateDecision()
222 for (auto stateIter : stateItem) { in GetStateMap() local
224 if (stateIter.name == "scene") { in GetStateMap()
226 } else if (stateIter.name == "screen") { in GetStateMap()
228 } else if (stateIter.name == "charge") { in GetStateMap()
231 stateMap.emplace(std::pair(stateIter.name, state)); in GetStateMap()