Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp177 int num_modes = -1; in getPlatformLowPowerStats() local
201 num_modes = gPowerModule->get_number_of_platform_modes(gPowerModule); in getPlatformLowPowerStats()
204 if (num_modes < 1) { in getPlatformLowPowerStats()
209 list = (power_state_platform_sleep_state_t *)calloc(num_modes, in getPlatformLowPowerStats()
216 voter_list = (size_t *)calloc(num_modes, sizeof(*voter_list)); in getPlatformLowPowerStats()
224 for (int i = 0; i < num_modes; i++) { in getPlatformLowPowerStats()
234 for (int i = 0; i < num_modes; i++) { in getPlatformLowPowerStats()
281 for (int i = 0; i < num_modes; i++) { in getPlatformLowPowerStats()