Home
last modified time | relevance | path

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

/hardware/interfaces/thermal/1.0/default/
DThermal.cpp106 hidl_vec<CpuUsage> cpuUsages; in getCpuUsages() local
111 _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()
/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp99 void checkCpuUsages(const hidl_vec<CpuUsage>& cpuUsages) { in checkCpuUsages() argument
100 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() argument
202 passed = cpuUsages; in TEST_F()
/hardware/interfaces/thermal/1.0/
DIThermal.hal48 * @return cpuUsages If status code is SUCCESS, it's filled with the current
56 getCpuUsages() generates (ThermalStatus status, vec<CpuUsage> cpuUsages);