Lines Matching refs:mAccumulatedPolicy
40 mAccumulatedPolicy = std::make_shared<CarPowerPolicy>(); in init()
45 mAccumulatedPolicy->disabledComponents.push_back(componentId); in init()
60 mAccumulatedPolicy->policyId = powerPolicy->policyId; in applyPowerPolicy()
61 setComponentStates(componentStates, mAccumulatedPolicy->enabledComponents, true); in applyPowerPolicy()
62 setComponentStates(componentStates, mAccumulatedPolicy->disabledComponents, false); in applyPowerPolicy()
66 setComponentStates(customComponentStates, mAccumulatedPolicy->enabledCustomComponents, true); in applyPowerPolicy()
67 setComponentStates(customComponentStates, mAccumulatedPolicy->disabledCustomComponents, false); in applyPowerPolicy()
71 mAccumulatedPolicy->enabledComponents.clear(); in applyPowerPolicy()
72 mAccumulatedPolicy->disabledComponents.clear(); in applyPowerPolicy()
73 mAccumulatedPolicy->enabledCustomComponents.clear(); in applyPowerPolicy()
74 mAccumulatedPolicy->disabledCustomComponents.clear(); in applyPowerPolicy()
87 setAccumulatedPolicy(componentStates, mAccumulatedPolicy->enabledComponents, in applyPowerPolicy()
88 mAccumulatedPolicy->disabledComponents); in applyPowerPolicy()
89 setAccumulatedPolicy(customComponentStates, mAccumulatedPolicy->enabledCustomComponents, in applyPowerPolicy()
90 mAccumulatedPolicy->disabledCustomComponents); in applyPowerPolicy()
112 return getComponentState(componentId, mAccumulatedPolicy->enabledCustomComponents, in getCustomPowerComponentState()
113 mAccumulatedPolicy->disabledCustomComponents); in getCustomPowerComponentState()
118 return getComponentState(componentId, mAccumulatedPolicy->enabledComponents, in getPowerComponentState()
119 mAccumulatedPolicy->disabledComponents); in getPowerComponentState()
124 return mAccumulatedPolicy; in getAccumulatedPolicy()
151 printComponents(mAccumulatedPolicy->enabledComponents, in dump()
154 printComponents(mAccumulatedPolicy->disabledComponents, in dump()
157 printComponents(mAccumulatedPolicy->enabledCustomComponents, customComponentToString); in dump()
159 printComponents(mAccumulatedPolicy->disabledCustomComponents, customComponentToString); in dump()