Home
last modified time | relevance | path

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

/hardware/interfaces/power/1.0/default/
DPower.cpp67 ssize_t number_platform_modes; in getPlatformLowPowerStats() local
80 number_platform_modes = mModule->get_number_of_platform_modes(mModule); in getPlatformLowPowerStats()
81 if (number_platform_modes) in getPlatformLowPowerStats()
83 if ((ssize_t) (SIZE_MAX / sizeof(size_t)) <= number_platform_modes) // overflow in getPlatformLowPowerStats()
85 voters = new (std::nothrow) size_t [number_platform_modes]; in getPlatformLowPowerStats()
94 <= number_platform_modes) // overflow in getPlatformLowPowerStats()
97 power_state_platform_sleep_state_t [number_platform_modes]; in getPlatformLowPowerStats()
101 for (int i = 0; i < number_platform_modes; i++) in getPlatformLowPowerStats()
113 states.resize(number_platform_modes); in getPlatformLowPowerStats()
114 for (int i = 0; i < number_platform_modes; i++) in getPlatformLowPowerStats()
[all …]