Searched refs:customComponentId (Results 1 – 2 of 2) sorted by relevance
122 int customComponentId = 1001; in testApplyPowerPolicy_withCustomComponents() local123 mHandler.registerCustomComponents(new Integer[]{customComponentId}); in testApplyPowerPolicy_withCustomComponents()125 new int[]{WIFI, customComponentId}, new int[]{AUDIO}); in testApplyPowerPolicy_withCustomComponents()133 new int[]{DISPLAY, WIFI, customComponentId}, in testApplyPowerPolicy_withCustomComponents()140 new int[]{customComponentId}); in testApplyPowerPolicy_withCustomComponents()152 customComponentId}); in testApplyPowerPolicy_withCustomComponents()
228 int customComponentId = INVALID_CUSTOM_POWER_COMPONENT; in readComponents() local230 customComponentId = toCustomPowerComponent(customComponents, id); in readComponents()234 customComponentId == INVALID_CUSTOM_POWER_COMPONENT) { in readComponents()241 (customComponentId != INVALID_CUSTOM_POWER_COMPONENT && in readComponents()242 visitedCustomComponents->count(customComponentId) > 0)) { in readComponents()250 } else if (customComponentId >= MINIMUM_CUSTOM_COMPONENT_VALUE) { in readComponents()251 updateVisitedComponents(customComponentId, visitedCustomComponents); in readComponents()259 } else if (customComponentId >= MINIMUM_CUSTOM_COMPONENT_VALUE) { in readComponents()260 result = updateComponentState(customComponentId, powerState, in readComponents()545 int customComponentId = 0; in stringsToComponents() local[all …]