/system/tools/hidl/test/utils_test/ |
D | main.cpp | 77 ASSERT_TRUE(e.setTo(testString)) << testString; in TEST() 84 ASSERT_TRUE(e.setTo("IFoo")); in TEST() 87 ASSERT_TRUE(e.setTo("foo.IFoo")); in TEST() 89 ASSERT_TRUE(e.setTo("@1.0::IFoo")); in TEST() 96 EXPECT_FALSE(e.setTo(testString)) << testString; in TEST() 102 ASSERT_TRUE(e.setTo("android.hardware.foo@1.0::IFoo/instance")); in TEST() 118 ASSERT_TRUE(e.setTo("@1.0::IFoo/instance")); in TEST() 131 ASSERT_TRUE(e.setTo("IFoo/instance")); in TEST() 144 ASSERT_TRUE(e.setTo(testString)) << testString; in TEST() 153 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 120 bool FQName::setTo(const std::string &s) { in setTo() function in android::FQName
|
/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,
|
D | FQName.h | 39 __attribute__((warn_unused_result)) bool setTo(const std::string& s); 40 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer,
|
/system/core/libutils/include/utils/ |
D | String8.h | 83 void setTo(const String8& other); 84 status_t setTo(const char* other); 85 status_t setTo(const char* other, size_t numChars); 86 status_t setTo(const char16_t* other, size_t numChars); 87 status_t setTo(const char32_t* other, 297 setTo(other); 303 setTo(other);
|
D | String16.h | 71 void setTo(const String16& other); 72 status_t setTo(const char16_t* other); 73 status_t setTo(const char16_t* other, size_t len); 74 status_t setTo(const String16& other, 265 setTo(other);
|
/system/core/libutils/ |
D | String16.cpp | 115 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 207 setTo(other); in append() 233 setTo(chrs, otherLen); in append() [all …]
|
D | String8.cpp | 221 void String8::setTo(const String8& other) in setTo() function in android::String8 228 status_t String8::setTo(const char* other) in setTo() function in android::String8 239 status_t String8::setTo(const char* other, size_t len) in setTo() function in android::String8 250 status_t String8::setTo(const char16_t* other, size_t len) in setTo() function in android::String8 261 status_t String8::setTo(const char32_t* other, size_t len) in setTo() function in android::String8 276 setTo(other); in append() 293 return setTo(other, otherLen); in append()
|
D | String16_test.cpp | 72 TEST(String16Test, setTo) { in TEST() argument 74 tmp.setTo(u"New content"); in TEST() 149 tmp.setTo(u"New content"); in TEST()
|
D | String8_test.cpp | 78 EXPECT_EQ(NO_MEMORY, String8("").setTo(in, SIZE_MAX)); in TEST_F()
|
/system/libvintf/ |
D | ManifestInstance.cpp | 97 success = e.setTo(interface(), instance()); in getSimpleFqInstance() 102 success = e.setTo(version().majorVer, version().minorVer, interface(), instance()); in getSimpleFqInstance()
|
D | ManifestHal.cpp | 59 if (fqInstance.setTo(getName(), v.majorVer, v.minorVer, interface, instance)) { in forEachInstance() 149 if (!toAdd.setTo(this->getName(), e.getMajorVersion(), minorVer, e.getInterface(), in insertInstance()
|
D | MatrixHal.cpp | 62 if (fqInstance.setTo(getName(), vr.majorVer, vr.minMinor, interface, instance)) { in forEachInstance()
|
D | VintfObject.cpp | 743 if (!fqInstance.setTo(package, version.majorVer, version.minorVer, interface, instance)) { in GetListedInstanceInheritance() 761 if (!childFqName.setTo(childFqNameString)) { in GetListedInstanceInheritance() 765 if (!childFqInstance.setTo(childFqName, fqInstance.getInstance())) { in GetListedInstanceInheritance()
|
D | parse_string.cpp | 537 return fqInstance->setTo(s); in parse()
|
/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 | 168 if (!fqname.setTo(intf)) { in ReadInterfaceInheritanceHierarchy() 174 if (!fqname.setTo(iface.name)) { in ReadInterfaceInheritanceHierarchy()
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 156 ASSERT_TRUE(fqName.setTo(debug_info.interfaceName.c_str())) in GetPidInterfacesMap() 159 ASSERT_TRUE(fqInstance.setTo(fqName, debug_info.instanceName.c_str())); in GetPidInterfacesMap() 253 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 303 hidlHandle.setTo(handle, true /* shouldOwn */); in getInstance()
|
/system/tools/hidl/test/lazy_test/ |
D | hidl_lazy_test.cpp | 159 if (!gInstance.setTo(fqInstance)) { in main()
|
/system/core/healthd/ |
D | charger_test.cpp | 115 handle.setTo(nativeHandle, true /* shouldOwn */); in createHidlHandle()
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 917 testHandlesVector[i].setTo(native_handle_clone(h), true /* shouldOwn */); in TEST_F() 1004 testArray[i].setTo(native_handle_clone(h), true /* shouldOwn */); in TEST_F() 1009 testVector[i].setTo(native_handle_clone(h), true /* shouldOwn */); in TEST_F() 1065 testHandles[i].setTo(native_handle_clone(h), true /* shouldOwn */); in TEST_F() 1122 testHandle.setTo(h, false /* shouldOwn */); in TEST_F()
|
/system/core/adb/client/ |
D | fastdeploy.cpp | 171 android::status_t setto_status = tree.setTo(manifest_data.data(), manifest_len, true); in get_package_name_from_apk()
|