Home
last modified time | relevance | path

Searched refs:sIf (Results 1 – 6 of 6) sorted by relevance

/system/tools/hidl/
DgenerateCpp.cpp192 out.sIf("sm == nullptr", [&] { in implementGetService()
202 out.sIf("!transportRet.isOk()", [&] { in implementGetService()
260 out.sIf("tries > 1", [&] { in implementGetService()
267 out.sIf("vintfHwbinder && tries > 0", [&] { in implementGetService()
278 out.sIf("!ret.isOk()", [&] { in implementGetService()
286 out.sIf("base == nullptr", [&] { in implementGetService()
289 out.sIf("tries > 0", [&] { in implementGetService()
297 out.sIf("!castRet.isOk()", [&] { in implementGetService()
298 out.sIf("castRet.isDeadObject()", [&] { in implementGetService()
311 out.sIf("iface == nullptr", [&] { in implementGetService()
[all …]
DEnumType.cpp307 out.sIf("(o & " + valueName + ")" + in emitTypeDefinitions()
317 out.sIf("o != flipped", [&] { in emitTypeDefinitions()
335 out.sIf("o == " + fullName() + "::" + value->name(), [&] { in emitTypeDefinitions()
396 out.sIf("o == " + value->name(), [&] { in emitJavaTypeDeclarations()
418 out.sIf("(o & " + value->name() + ") == " + value->name(), [&] { in emitJavaTypeDeclarations()
424 out.sIf("o != flipped", [&] { in emitJavaTypeDeclarations()
DCompoundType.cpp543 out.sIf("lhs." + field->name() + " != rhs." + field->name(), [&] { in emitTypeDefinitions()
593 out.sIf("this == otherObject", [&] { in emitJavaTypeDeclarations()
596 out.sIf("otherObject == null", [&] { in emitJavaTypeDeclarations()
600 out.sIf("otherObject.getClass() != " + fullJavaName() + ".class", [&] { in emitJavaTypeDeclarations()
609 out.sIf(condition, [&] { in emitJavaTypeDeclarations()
DInterface.cpp174 out.sIf("(*it)->getRecipient() == recipient", [&] { in fillUnlinkToDeathMethod()
/system/tools/hidl/utils/include/hidl-util/
DFormatter.h78 Formatter &sIf(const std::string &cond, std::function<void(void)> block);
/system/tools/hidl/utils/
DFormatter.cpp74 Formatter &Formatter::sIf(const std::string &cond, std::function<void(void)> block) { in sIf() function in android::Formatter