Home
last modified time | relevance | path

Searched refs:nullToEmpty (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/android/java/src/org/chromium/base/
DBuildInfo.java71 private static String nullToEmpty(CharSequence seq) { in nullToEmpty() method in BuildInfo
98 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()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStyleData.java91 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()
/external/guava/android/guava-tests/test/com/google/common/base/
DStringsTest.java34 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()
35 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()
36 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
/external/guava/guava-tests/test/com/google/common/base/
DStringsTest.java34 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()
35 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()
36 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
/external/guava/guava/src/com/google/common/base/
DStrings.java42 public static String nullToEmpty(@Nullable String string) { in nullToEmpty() method in Strings
43 return Platform.nullToEmpty(string); in nullToEmpty()
DPlatform.java61 static String nullToEmpty(@Nullable String string) { in nullToEmpty() method in Platform
/external/guava/android/guava/src/com/google/common/base/
DStrings.java42 public static String nullToEmpty(@NullableDecl String string) { in nullToEmpty() method in Strings
43 return Platform.nullToEmpty(string); in nullToEmpty()
DPlatform.java61 static String nullToEmpty(@NullableDecl String string) { in nullToEmpty() method in Platform
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DPlatform.java61 static native String nullToEmpty(@Nullable String string) /*-{ in nullToEmpty() method in Platform
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DConvertUtils.java103 return Strings.nullToEmpty(obj.toString()); in toNonNullString()
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLogger.java20 import static com.google.common.base.Strings.nullToEmpty;
129 String resultId = nullToEmpty(event.getResultId()); in logConversationActionsEvent()
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DCaliperConfig.java185 String argsString = Strings.nullToEmpty(properties.get("args")); in getArgs()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerHandler.java702 streamId, Http2Error.INTERNAL_ERROR, cause, Strings.nullToEmpty(cause.getMessage())); in newStreamException()