Searched refs:rails (Results 1 – 2 of 2) sorted by relevance
340 hidl_vec<RailInfo> rails[2]; in TEST_P() local342 auto cb = [&rails, &s](hidl_vec<RailInfo> rail_subsys, Status status) { in TEST_P()343 rails[0] = rail_subsys; in TEST_P()350 ASSERT_NE(rails[0].size(), 0); in TEST_P()353 for (auto rail : rails[0]) { in TEST_P()356 auto cb = [&rails, &s](hidl_vec<RailInfo> rail_subsys, Status status) { in TEST_P()357 rails[1] = rail_subsys; in TEST_P()363 ASSERT_EQ(rails[0].size(), rails[1].size()); in TEST_P()365 for (int i = 0; i < rails[0].size(); i++) { in TEST_P()366 ASSERT_NE(rails[0][i].railName, ""); in TEST_P()[all …]
22 * Reports information related to the rails being monitored.24 * @return rails Information about monitored rails.30 generates(vec<RailInfo> rails, Status status);36 * @param railIndices Indices of rails for which data is required.37 * To get data for all rails pass an empty vector. Rail name to39 * @return data Energy values since boot for all requested rails.91 * @return railsPerSample Number of rails measured per sample.