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.cpp85 void checkCpuUsages(const hidl_vec<CpuUsage>& cpuUsages) { in checkCpuUsages() argument
86 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() argument
188 passed = cpuUsages; in TEST_P()
/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);