Searched refs:nullToEmpty (Results 1 – 8 of 8) sorted by relevance
71 private static String nullToEmpty(CharSequence seq) { in nullToEmpty() method in BuildInfo98 versionName = nullToEmpty(sBrowserPackageInfo.versionName); in BuildInfo()103 versionName = nullToEmpty(pi.versionName); in BuildInfo()106 hostPackageLabel = nullToEmpty(pm.getApplicationLabel(pi.applicationInfo)); in BuildInfo()107 installerPackageName = nullToEmpty(pm.getInstallerPackageName(packageName)); in BuildInfo()
91 hashCode = 31 * hashCode + Strings.nullToEmpty(packageName).hashCode(); in hashCode()92 hashCode = 31 * hashCode + Strings.nullToEmpty(name).hashCode(); in hashCode()93 hashCode = 31 * hashCode + Strings.nullToEmpty(parent).hashCode(); in hashCode()
31 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()32 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()33 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
33 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()34 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()35 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
103 return Strings.nullToEmpty(obj.toString()); in toNonNullString()
46 public static String nullToEmpty(@Nullable String string) { in nullToEmpty() method in Strings
185 String argsString = Strings.nullToEmpty(properties.get("args")); in getArgs()
702 streamId, Http2Error.INTERNAL_ERROR, cause, Strings.nullToEmpty(cause.getMessage())); in newStreamException()