Home
last modified time | relevance | path

Searched refs:voters (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/power/1.0/default/
DPower.cpp69 size_t *voters = nullptr; in getPlatformLowPowerStats() local
86 voters = new (std::nothrow) size_t [number_platform_modes]; in getPlatformLowPowerStats()
87 if (voters == nullptr) in getPlatformLowPowerStats()
90 ret = mModule->get_voter_list(mModule, voters); in getPlatformLowPowerStats()
104 legacy_states[i].voters = nullptr; in getPlatformLowPowerStats()
105 legacy_states[i].voters = new power_state_voter_t [voters[i]]; in getPlatformLowPowerStats()
106 if (legacy_states[i].voters == nullptr) in getPlatformLowPowerStats()
123 state.voters.resize(voters[i]); in getPlatformLowPowerStats()
124 for(size_t j = 0; j < voters[i]; j++) in getPlatformLowPowerStats()
126 state.voters[j].name = legacy_state.voters[j].name; in getPlatformLowPowerStats()
[all …]
/hardware/interfaces/power/1.0/
Dtypes.hal96 * PowerStateVoter struct is useful for describing the individual voters
150 * voters is useful if the Platform-level sleep state
152 * All the voters have to say yes or all the system conditions need to be
159 vec<PowerStateVoter> voters;
/hardware/libhardware/include/hardware/
Dpower.h157 power_state_voter_t *voters; member