Home
last modified time | relevance | path

Searched refs:nullToEmpty (Results 1 – 8 of 8) 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/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DStringsTest.java31 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()
32 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()
33 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
/external/guava/guava-tests/test/com/google/common/base/
DStringsTest.java33 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()
34 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()
35 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DConvertUtils.java103 return Strings.nullToEmpty(obj.toString()); in toNonNullString()
/external/guava/guava/src/com/google/common/base/
DStrings.java46 public static String nullToEmpty(@Nullable String string) { in nullToEmpty() method in Strings
/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()