Home
last modified time | relevance | path

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

12

/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/downloader/src/main/java/com/google/android/downloader/
DErrorDetails.java84 return builder().setErrorMessage(Strings.nullToEmpty(message)).build(); in create()
97 .setErrorMessage(Strings.nullToEmpty(message)) in createFromHttpErrorResponse()
115 return builder().setErrorMessage(Strings.nullToEmpty(throwable.getMessage())).build(); in fromThrowable()
DCronetUrlEngine.java285 .setErrorMessage(Strings.nullToEmpty(networkException.getMessage())) in onFailed()
290 .setErrorMessage(Strings.nullToEmpty(exception.getMessage())) in onFailed()
/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-gwt/src-super/com/google/common/base/super/com/google/common/base/
DPlatform.native.js15 Platform.nullToEmpty = function(str) { function
DPlatform.java61 static native String nullToEmpty(@Nullable String string) /*-{ in nullToEmpty() method in Platform
/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/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLogger.java20 import static com.google.common.base.Strings.nullToEmpty;
113 String resultId = nullToEmpty(event.getResultId()); in logConversationActionsEvent()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLikelySubtagsBuilder.java25 import static com.google.common.base.Strings.nullToEmpty;
341 …return new LSR(checkNotNull(language), nullToEmpty(script), nullToEmpty(region), LSR.DONT_CARE_FLA… in lsr()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DConvertUtils.java103 return Strings.nullToEmpty(obj.toString()); in toNonNullString()
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DCaliperConfig.java185 String argsString = Strings.nullToEmpty(properties.get("args")); in getArgs()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DFileTreeTest.java91 root = Strings.nullToEmpty(root);
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerHandler.java702 streamId, Http2Error.INTERNAL_ERROR, cause, Strings.nullToEmpty(cause.getMessage())); in newStreamException()
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Dguava-21.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...

12