• Home
  • Raw
  • Download

Lines Matching refs:hv1

225     hidl_vec<int32_t> hv1 = v; // copy =  in TEST_F()  local
226 EXPECT_ARRAYEQ(hv1, array, 3); in TEST_F()
227 EXPECT_ARRAYEQ(hv1, v, 3); in TEST_F()
231 vector<int32_t> v2 = hv1; // cast in TEST_F()
259 android::hardware::hidl_vec<int32_t> hv1 = std::vector<int32_t>(array, array + 3); in TEST_F() local
261 auto iter = hv1.begin(); // iterator begin() in TEST_F()
297 hidl_vec<int32_t> hv1 = std::vector<int32_t>(array, array + 3); in TEST_F() local
300 for (auto &&i: hv1) { in TEST_F()
305 for (auto iter = hv1.begin(); iter < hv1.end(); ++iter) { in TEST_F()
308 const hidl_vec<int32_t> &v4 = hv1; in TEST_F()
317 android::hardware::hidl_vec<int32_t> hv1{5, 6, 7}; in TEST_F() local
322 EXPECT_TRUE(hv1 == hv2); in TEST_F()
323 EXPECT_TRUE(hv1 != hv3); in TEST_F()
328 android::hardware::hidl_vec<int32_t> hv1{1, 2, 3}; in TEST_F() local
329 hv1 = {5, 6, 7}; in TEST_F()
336 EXPECT_TRUE(hv1 == hv2); in TEST_F()
337 EXPECT_TRUE(hv1 == reference); in TEST_F()
338 EXPECT_TRUE(hv1 != hv3); in TEST_F()
398 hidl_vec<int32_t> hv1 = {10, 20, 30, 40}; in TEST_F() local
401 auto it = hv1.find(20); in TEST_F()
405 it = hv1.find(20); in TEST_F()
406 EXPECT_EQ(hv1.end(), it); in TEST_F()
407 it = hv1.find(21); in TEST_F()
416 hidl_vec<int32_t> hv1 = {10, 20, 30, 40}; in TEST_F() local
419 EXPECT_TRUE(hv1.contains(10)); in TEST_F()
420 EXPECT_TRUE(hv1.contains(40)); in TEST_F()
421 EXPECT_FALSE(hv1.contains(1)); in TEST_F()
422 EXPECT_FALSE(hv1.contains(0)); in TEST_F()
426 hv1[0] = 11; in TEST_F()
427 EXPECT_FALSE(hv1.contains(10)); in TEST_F()
428 EXPECT_TRUE(hv1.contains(11)); in TEST_F()