Home
last modified time | relevance | path

Searched refs:hs (Results 1 – 2 of 2) sorted by relevance

/system/libhidl/
Dtest_main.cpp462 hidl_string hs(s); in TEST_F() local
463 EXPECT_NE(hs.c_str(), s); in TEST_F()
465 EXPECT_TRUE(hs == s); // operator == in TEST_F()
466 EXPECT_TRUE(s == hs); in TEST_F()
468 EXPECT_FALSE(hs != s); // operator == in TEST_F()
469 EXPECT_FALSE(s != hs); in TEST_F()
/system/libhidl/base/include/hidl/
DHidlSupport.h198 inline bool operator OP(const hidl_string& hs, const char* s) { \
199 return strcmp(hs.c_str(), s) OP 0; /* NOLINT */ \
201 inline bool operator OP(const char* s, const hidl_string& hs) { \
202 return strcmp(s, hs.c_str()) OP 0; /* NOLINT */ \
985 inline std::string toString(const hidl_string &hs) {
986 return std::string{"\""} + hs.c_str() + "\"";
990 inline std::string toString(const hidl_handle &hs) {
991 return toString(hs.getNativeHandle());