/system/tools/hidl/test/utils_test/ |
D | main.cpp | 80 ASSERT_TRUE(e.setTo(testString)) << testString; in TEST() 87 ASSERT_TRUE(e.setTo("IFoo")); in TEST() 90 ASSERT_TRUE(e.setTo("foo.IFoo")); in TEST() 92 ASSERT_TRUE(e.setTo("@1.0::IFoo")); in TEST() 99 EXPECT_FALSE(e.setTo(testString)) << testString; in TEST() 105 ASSERT_TRUE(e.setTo("android.hardware.foo@1.0::IFoo/instance")); in TEST() 121 ASSERT_TRUE(e.setTo("@1.0::IFoo/instance")); in TEST() 134 ASSERT_TRUE(e.setTo("IFoo/instance")); in TEST() 147 ASSERT_TRUE(e.setTo(testString)) << testString; in TEST() 156 EXPECT_FALSE(e.setTo(testString)) << testString; in TEST() [all …]
|
D | fuzzer.cpp | 23 (void)fqName.setTo(std::string((const char*)data, size)); in LLVMFuzzerTestOneInput()
|
/system/tools/hidl/utils/ |
D | FqInstance.cpp | 94 bool FqInstance::setTo(const std::string& s) { in setTo() function in android::FqInstance 96 if (!mFqName.setTo(s.substr(0, pos))) return false; in setTo() 102 bool FqInstance::setTo(const FQName& fqName, const std::string& instance) { in setTo() function in android::FqInstance 108 bool FqInstance::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() function in android::FqInstance 110 if (!mFqName.setTo(package, majorVer, minorVer, interface)) return false; in setTo() 115 bool FqInstance::setTo(size_t majorVer, size_t minorVer, const std::string& interface, in setTo() function in android::FqInstance 117 return setTo("", majorVer, minorVer, interface, instance); in setTo() 120 bool FqInstance::setTo(const std::string& interface, const std::string& instance) { in setTo() function in android::FqInstance 121 return setTo(0u, 0u, interface, instance); in setTo()
|
D | FQName.cpp | 30 return into->setTo(s); in parse() 37 CHECK(setTo(package, majorVer, minorVer, name, valueName)) << string(); in FQName() 40 bool FQName::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() function in android::FQName 112 bool FQName::setTo(const std::string &s) { in setTo() function in android::FQName
|
/system/libvintf/ |
D | FqInstance.cpp | 97 bool FqInstance::setTo(const std::string& s) { in setTo() function in android::vintf::FqInstance 99 if (!mFqName.setTo(s.substr(0, pos))) return false; in setTo() 105 bool FqInstance::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() function in android::vintf::FqInstance 107 if (!mFqName.setTo(package, majorVer, minorVer, interface)) return false; in setTo() 112 bool FqInstance::setTo(size_t majorVer, size_t minorVer, const std::string& interface, in setTo() function in android::vintf::FqInstance 114 return setTo("", majorVer, minorVer, interface, instance); in setTo() 117 bool FqInstance::setTo(const std::string& interface, const std::string& instance) { in setTo() function in android::vintf::FqInstance 118 return setTo(0u, 0u, interface, instance); in setTo()
|
D | utils.cpp | 40 if (!fqName.setTo(package)) { in convertLegacyInstanceIntoFqInstance() 49 if (!fqName.setTo(interface) || !fqName.isInterfaceName()) { in convertLegacyInstanceIntoFqInstance() 55 if (!interface.empty() && (!fqName.setTo(interface) || !fqName.isInterfaceName())) { in convertLegacyInstanceIntoFqInstance()
|
D | ManifestInstance.cpp | 122 success = e.setTo(interface(), instance()); in getSimpleFqInstance() 127 success = e.setTo(version().majorVer, version().minorVer, interface(), instance()); in getSimpleFqInstance() 166 CHECK(fqInstance.setTo(getFqInstance().getPackage(), v.majorVer, v.minorVer, in withVersion()
|
D | FQName.cpp | 30 return into->setTo(s); in parse() 36 CHECK(setTo(package, majorVer, minorVer, name)) << string(); in FQName() 39 bool FQName::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() function in android::vintf::details::FQName 101 bool FQName::setTo(const std::string& s) { in setTo() function in android::vintf::details::FQName
|
D | ManifestHal.cpp | 171 if (!toAdd.setTo(this->getName(), e.getMajorVersion(), minorVer, e.getInterface(), in insertInstance()
|
/system/tools/hidl/utils/include/hidl-util/ |
D | FqInstance.h | 73 __attribute__((warn_unused_result)) bool setTo(const std::string& s); 76 __attribute__((warn_unused_result)) bool setTo(const FQName& fqName, 83 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer, 90 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer, 95 __attribute__((warn_unused_result)) bool setTo(const std::string& interface, 103 if (fqInstance.setTo(std::forward<Args>(args)...)) return fqInstance; in from()
|
D | FQName.h | 37 __attribute__((warn_unused_result)) bool setTo(const std::string& s); 38 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer,
|
/system/libvintf/include/vintf/ |
D | FqInstance.h | 62 __attribute__((warn_unused_result)) bool setTo(const std::string& s); 66 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer, 71 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer, 77 __attribute__((warn_unused_result)) bool setTo(const std::string& interface, 85 if (fqInstance.setTo(std::forward<Args>(args)...)) return fqInstance; in from()
|
D | FQName.h | 32 __attribute__((warn_unused_result)) bool setTo(const std::string& s); 33 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer,
|
/system/core/libutils/ |
D | String16.cpp | 108 setTo(o, len, begin); in String16() 151 void String16::setTo(const String16& other) in setTo() function in android::String16 158 status_t String16::setTo(const String16& other, size_t len, size_t begin) in setTo() function in android::String16 168 setTo(other); in setTo() 176 return setTo(other.string()+begin, len); in setTo() 179 status_t String16::setTo(const char16_t* other) in setTo() function in android::String16 181 return setTo(other, strlen16(other)); in setTo() 184 status_t String16::setTo(const char16_t* other, size_t len) in setTo() function in android::String16 209 if (myLen == 0) return setTo(chrs, otherLen); in append() 235 if (myLen == 0) return setTo(chrs, otherLen); in insert()
|
D | String8.cpp | 209 void String8::setTo(const String8& other) in setTo() function in android::String8 216 status_t String8::setTo(const char* other) in setTo() function in android::String8 227 status_t String8::setTo(const char* other, size_t len) in setTo() function in android::String8 238 status_t String8::setTo(const char16_t* other, size_t len) in setTo() function in android::String8 249 status_t String8::setTo(const char32_t* other, size_t len) in setTo() function in android::String8 264 setTo(other); in append() 281 return setTo(other, otherLen); in append()
|
D | String16_test.cpp | 87 TEST(String16Test, setTo) { in TEST() argument 89 tmp.setTo(u"New content"); in TEST() 150 tmp.setTo(u"New content"); in TEST()
|
D | String8_test.cpp | 79 EXPECT_EQ(NO_MEMORY, String8("").setTo(in, SIZE_MAX)); in TEST_F()
|
/system/core/libutils/include/utils/ |
D | String8.h | 75 void setTo(const String8& other); 76 status_t setTo(const char* other); 77 status_t setTo(const char* other, size_t numChars); 78 status_t setTo(const char16_t* other, size_t numChars); 79 status_t setTo(const char32_t* other, 283 setTo(other); 289 setTo(other);
|
D | String16.h | 62 void setTo(const String16& other); 63 status_t setTo(const char16_t* other); 64 status_t setTo(const char16_t* other, size_t len); 65 status_t setTo(const String16& other, 249 setTo(other);
|
/system/core/init/ |
D | interface_utils.cpp | 55 if (!fqinstance.setTo(instance)) { in CheckInterfaceInheritanceHierarchy() 104 if (!fqinstance.setTo(instance)) { in IsKnownInterface()
|
D | host_init_verifier.cpp | 184 if (!fqname.setTo(intf)) { in ReadInterfaceInheritanceHierarchy() 190 if (!fqname.setTo(iface.name)) { in ReadInterfaceInheritanceHierarchy()
|
/system/core/init/fuzzer/ |
D | init_parser_fuzzer.cpp | 93 (void)fqname.setTo(intf); in GenerateHierarchyMap() 97 (void)fqname.setTo(iface.name); in GenerateHierarchyMap()
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 173 ASSERT_TRUE(fqName.setTo(debug_info.interfaceName.c_str())) in GetPidInterfacesMap() 176 ASSERT_TRUE(fqInstance.setTo(fqName, debug_info.instanceName.c_str())); in GetPidInterfacesMap() 271 ASSERT_TRUE(fqInstance.setTo(interface)) in TEST_F()
|
/system/libhidl/base/ |
D | HidlSupport.cpp | 100 void hidl_handle::setTo(native_handle_t* handle, bool shouldOwn) { in setTo() function in android::hardware::hidl_handle 311 hidlHandle.setTo(handle, true /* shouldOwn */); in getInstance()
|
/system/tools/hidl/test/lazy_test/ |
D | hidl_lazy_test.cpp | 180 ASSERT_TRUE(fqInstance.setTo(fqInstanceName)); in TEST_F() 264 if (!fqInstance.setTo(instance)) { in main()
|