Home
last modified time | relevance | path

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

/test/vts/testcases/target/hal_power/
Dhal_power_basic_test.cpp82 power_state_platform_sleep_state_t *list1 = in TEST_F() local
85 ASSERT_TRUE(list1) << "power_state_platform_sleep_state_t* alloc failed"; in TEST_F()
98 list1[i].voters = (power_state_voter_t *)calloc( in TEST_F()
100 ASSERT_TRUE(list1[i].voters) << "voter_t allocation failed"; in TEST_F()
108 ASSERT_EQ(0, module_->get_platform_low_power_stats(module_, list1)) in TEST_F()
115 EXPECT_LE(list1[i].residency_in_msec_since_boot, in TEST_F()
118 EXPECT_LE(list1[i].total_transitions, list2[i].total_transitions) in TEST_F()
121 for (unsigned int j = 0; j < list1[i].number_of_voters; j++) { in TEST_F()
122 EXPECT_LE(list1[i].voters[j].total_time_in_msec_voted_for_since_boot, in TEST_F()
125 EXPECT_LE(list1[i].voters[j].total_number_of_times_voted_since_boot, in TEST_F()
[all …]