Searched refs:cpuUsages (Results 1 – 3 of 3) sorted by relevance
106 hidl_vec<CpuUsage> cpuUsages; in getCpuUsages() local111 _hidl_cb(status, cpuUsages); in getCpuUsages()122 cpuUsages.resize(size); in getCpuUsages()124 cpuUsages[i].name = list[i].name; in getCpuUsages()125 cpuUsages[i].active = list[i].active; in getCpuUsages()126 cpuUsages[i].total = list[i].total; in getCpuUsages()127 cpuUsages[i].isOnline = list[i].is_online; in getCpuUsages()138 _hidl_cb(status, cpuUsages); in getCpuUsages()
99 void checkCpuUsages(const hidl_vec<CpuUsage>& cpuUsages) { in checkCpuUsages() argument100 size_t size = cpuUsages.size(); in checkCpuUsages()105 checkCpuUsage(cpuUsages[i]); in checkCpuUsages()107 EXPECT_EQ(names_[i], cpuUsages[i].name.c_str()); in checkCpuUsages()111 names_.push_back(cpuUsages[i].name); in checkCpuUsages()200 [&passed](ThermalStatus status, hidl_vec<CpuUsage> cpuUsages) { in TEST_F() argument202 passed = cpuUsages; in TEST_F()
48 * @return cpuUsages If status code is SUCCESS, it's filled with the current56 getCpuUsages() generates (ThermalStatus status, vec<CpuUsage> cpuUsages);