• Home
  • Raw
  • Download

Lines Matching refs:hidl_string

83     using android::hardware::hidl_string;  in TEST_F()
84 hidl_string s; // empty constructor in TEST_F()
86 hidl_string s1 = "s1"; // copy = from cstr in TEST_F()
88 hidl_string s2("s2"); // copy constructor from cstr in TEST_F()
90 hidl_string s2a(nullptr); // copy constructor from null cstr in TEST_F()
94 hidl_string s3 = hidl_string("s3"); // move = in TEST_F()
96 hidl_string s4 = hidl_string("12345", 3); // copy constructor from cstr w/ length in TEST_F()
98 hidl_string s5(hidl_string(hidl_string("s5"))); // move constructor in TEST_F()
100 hidl_string s6(std::string("s6")); // copy constructor from std::string in TEST_F()
102 hidl_string s7 = std::string("s7"); // copy = from std::string in TEST_F()
104 hidl_string s8(s7); // copy constructor // NOLINT, test the copy constructor in TEST_F()
106 hidl_string s9 = s8; // copy = // NOLINT, test the copy operator in TEST_F()
123 const hidl_string t = "not so great"; in TEST_F()
131 hidl_string src("some stuff"); in TEST_F()
136 hidl_string msg("hidl_string works with operator<<"); in TEST_F()
142 hidl_string hs1(cstr1); in TEST_F()
145 hidl_string hsE(cstrE); in TEST_F()
148 hidl_string hsNE(cstrNE); in TEST_F()
151 hidl_string hs2(cstr2); in TEST_F()
180 using android::hardware::hidl_string; in TEST_F()
182 hidl_string empty1; in TEST_F()
183 hidl_string empty2(""); in TEST_F()
184 hidl_string empty3("foo", 0); in TEST_F()
185 hidl_string empty4((std::string())); in TEST_F()
462 using android::hardware::hidl_string; in TEST_F()
464 hidl_string hs(s); in TEST_F()
546 using ::android::hardware::hidl_string; in TEST_F()
551 hidl_string one = "1"; in TEST_F()
552 hidl_string two = "2"; in TEST_F()
553 Return<hidl_string> ret = Return<hidl_string>(Status::fromStatusT(DEAD_OBJECT)); in TEST_F()
555 EXPECT_EQ(one, Return<hidl_string>(one).withDefault(two)); in TEST_F()
558 hidl_string&& moved = ret.withDefault(std::move(two)); in TEST_F()
561 const hidl_string three = "3"; in TEST_F()
688 using ::android::hardware::hidl_string; in TEST_F()
689 static_assert(sizeof(hidl_string) == 16); in TEST_F()
692 uninitTest<hidl_string, 13, 16>(); in TEST_F()