• Home
  • Raw
  • Download

Lines Matching refs:hidl_string

72     using android::hardware::hidl_string;  in TEST_F()
73 hidl_string s; // empty constructor in TEST_F()
75 hidl_string s1 = "s1"; // copy = from cstr in TEST_F()
77 hidl_string s2("s2"); // copy constructor from cstr in TEST_F()
79 hidl_string s2a(nullptr); // copy constructor from null cstr in TEST_F()
83 hidl_string s3 = hidl_string("s3"); // move = in TEST_F()
85 hidl_string s4 = hidl_string("12345", 3); // copy constructor from cstr w/ length in TEST_F()
87 hidl_string s5(hidl_string(hidl_string("s5"))); // move constructor in TEST_F()
89 hidl_string s6(std::string("s6")); // copy constructor from std::string in TEST_F()
91 hidl_string s7 = std::string("s7"); // copy = from std::string in TEST_F()
93 hidl_string s8(s7); // copy constructor // NOLINT, test the copy constructor in TEST_F()
95 hidl_string s9 = s8; // copy = // NOLINT, test the copy operator in TEST_F()
112 const hidl_string t = "not so great"; in TEST_F()
120 hidl_string src("some stuff"); in TEST_F()
125 hidl_string msg("hidl_string works with operator<<"); in TEST_F()
131 hidl_string hs1(cstr1); in TEST_F()
134 hidl_string hsE(cstrE); in TEST_F()
137 hidl_string hsNE(cstrNE); in TEST_F()
140 hidl_string hs2(cstr2); in TEST_F()
353 using android::hardware::hidl_string; in TEST_F()
355 hidl_string hs(s); in TEST_F()
437 using ::android::hardware::hidl_string; in TEST_F()
442 hidl_string one = "1"; in TEST_F()
443 hidl_string two = "2"; in TEST_F()
444 Return<hidl_string> ret = Return<hidl_string>(Status::fromStatusT(DEAD_OBJECT)); in TEST_F()
446 EXPECT_EQ(one, Return<hidl_string>(one).withDefault(two)); in TEST_F()
449 hidl_string&& moved = ret.withDefault(std::move(two)); in TEST_F()
452 const hidl_string three = "3"; in TEST_F()