Searched refs:nullToEmpty (Results 1 – 13 of 13) 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()
34 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()35 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()36 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
42 public static String nullToEmpty(@Nullable String string) { in nullToEmpty() method in Strings43 return Platform.nullToEmpty(string); in nullToEmpty()
61 static String nullToEmpty(@Nullable String string) { in nullToEmpty() method in Platform
42 public static String nullToEmpty(@NullableDecl String string) { in nullToEmpty() method in Strings43 return Platform.nullToEmpty(string); in nullToEmpty()
61 static String nullToEmpty(@NullableDecl String string) { in nullToEmpty() method in Platform
61 static native String nullToEmpty(@Nullable String string) /*-{ in nullToEmpty() method in Platform
103 return Strings.nullToEmpty(obj.toString()); in toNonNullString()
20 import static com.google.common.base.Strings.nullToEmpty;129 String resultId = nullToEmpty(event.getResultId()); in logConversationActionsEvent()
185 String argsString = Strings.nullToEmpty(properties.get("args")); in getArgs()
702 streamId, Http2Error.INTERNAL_ERROR, cause, Strings.nullToEmpty(cause.getMessage())); in newStreamException()