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()
85 void checkCpuUsages(const hidl_vec<CpuUsage>& cpuUsages) { in checkCpuUsages() argument86 size_t size = cpuUsages.size(); in checkCpuUsages()91 checkCpuUsage(cpuUsages[i]); in checkCpuUsages()93 EXPECT_EQ(names_[i], cpuUsages[i].name.c_str()); in checkCpuUsages()97 names_.push_back(cpuUsages[i].name); in checkCpuUsages()186 [&passed](ThermalStatus status, hidl_vec<CpuUsage> cpuUsages) { in TEST_P() argument188 passed = cpuUsages; in TEST_P()
48 * @return cpuUsages If status code is SUCCESS, it's filled with the current56 getCpuUsages() generates (ThermalStatus status, vec<CpuUsage> cpuUsages);