Home
last modified time | relevance | path

Searched refs:isNullOrEmpty (Results 1 – 25 of 48) sorted by relevance

12

/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java19 import static com.google.common.base.Strings.isNullOrEmpty;
160 if (!isNullOrEmpty(samplingProbabilityStr)) { in maybeApplyChanges()
165 if (!isNullOrEmpty(maxNumberOfAttributesStr)) { in maybeApplyChanges()
170 if (!isNullOrEmpty(maxNumberOfAnnotationsStr)) { in maybeApplyChanges()
176 if (!isNullOrEmpty(maxNumberOfNetworkEventsStr)) { in maybeApplyChanges()
181 if (!isNullOrEmpty(maxNumverOfLinksStr)) { in maybeApplyChanges()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DDumpVisitor.java43 import static com.github.javaparser.utils.Utils.isNullOrEmpty;
142 if (!isNullOrEmpty(annotations)) { in printMemberAnnotations()
151 if (!isNullOrEmpty(annotations)) { in printAnnotations()
164 if (!isNullOrEmpty(typeArguments)) { in printTypeArgs()
178 if (!isNullOrEmpty(args)) { in printTypeParameters()
193 if (!isNullOrEmpty(args)) { in printArguments()
219 if (!isNullOrEmpty(n.getImports())) { in visit()
226 if (!isNullOrEmpty(n.getTypes())) { in visit()
303 if (!isNullOrEmpty(n.getExtends())) { in visit()
314 if (!isNullOrEmpty(n.getImplements())) { in visit()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DStringsTest.java43 assertTrue(Strings.isNullOrEmpty(null)); in testIsNullOrEmpty()
44 assertTrue(Strings.isNullOrEmpty("")); in testIsNullOrEmpty()
45 assertFalse(Strings.isNullOrEmpty("a")); in testIsNullOrEmpty()
/external/guava/guava-tests/test/com/google/common/base/
DStringsTest.java45 assertTrue(Strings.isNullOrEmpty(null)); in testIsNullOrEmpty()
46 assertTrue(Strings.isNullOrEmpty("")); in testIsNullOrEmpty()
47 assertFalse(Strings.isNullOrEmpty("a")); in testIsNullOrEmpty()
/external/mockito/src/main/java/org/mockito/internal/invocation/
DArgumentsProcessor.java31 …if (!isVarArgs || isNullOrEmpty(args) || args[args.length - 1] != null && !args[args.length - 1].g… in expandVarArgs()
50 private static <T> boolean isNullOrEmpty(T[] array) { in isNullOrEmpty() method in ArgumentsProcessor
/external/vogar/src/vogar/android/
DAndroidSdk.java138 if (!com.google.common.base.Strings.isNullOrEmpty(androidBuildTop)) { in createAndroidSdk()
146 if (Strings.isNullOrEmpty(outDir)) { in createAndroidSdk()
147 if (Strings.isNullOrEmpty(androidBuildTop)) { in createAndroidSdk()
161 if (!Strings.isNullOrEmpty(hostOutDir)) { in createAndroidSdk()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DTypeDeclaration.java25 import static com.github.javaparser.utils.Utils.isNullOrEmpty;
88 if (isNullOrEmpty(members)) { in addMember()
/external/vogar/src/vogar/util/
DStrings.java42 public static boolean isNullOrEmpty(String in) { in isNullOrEmpty() method in Strings
43 return com.google.common.base.Strings.isNullOrEmpty(in); in isNullOrEmpty()
/external/javaparser/javaparser-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DPrettyPrintVisitor.java44 import static com.github.javaparser.utils.Utils.isNullOrEmpty;
104 if (!isNullOrEmpty(typeArguments)) { in printTypeArgs()
118 if (!isNullOrEmpty(args)) { in printTypeParameters()
133 if (!isNullOrEmpty(args)) { in printArguments()
252 if (!isNullOrEmpty(n.getMembers())) { in visit()
299 if (!isNullOrEmpty(n.getTypeBound())) { in visit()
449 if (!isNullOrEmpty(n.getValues())) { in visit()
655 if (!isNullOrEmpty(n.getTypeArguments().orElse(null))) { in visit()
710 if (!isNullOrEmpty(n.getThrownExceptions())) { in visit()
735 if (!isNullOrEmpty(n.getTypeParameters())) { in visit()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DResultsUploader.java68 if (Strings.isNullOrEmpty(apiKeyString)) { in ResultsUploader()
82 if (Strings.isNullOrEmpty(urlString)) { in ResultsUploader()
DAllocationInstrument.java202 if (Strings.isNullOrEmpty(agentJar)) { in getExtraCommandLineArgs()
214 if (Strings.isNullOrEmpty(agentJar) || !new File(agentJar).exists()) { in getExtraCommandLineArgs()
/external/guava/guava/src/com/google/common/base/
DStrings.java59 return isNullOrEmpty(string) ? null : string; in emptyToNull()
75 public static boolean isNullOrEmpty(@Nullable String string) { in isNullOrEmpty() method in Strings
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_body_TypeDeclaration.txt11 …Line 88) isNullOrEmpty(members) ==> com.github.javaparser.utils.Utils.isNullOrEmpty(java.util.Coll…
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DDeviceConfig.java3 import static com.google.common.base.Strings.isNullOrEmpty;
152 if (isNullOrEmpty(lang) && isNullOrEmpty(region) && isNullOrEmpty(script)) { in applyToConfiguration()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DDumpVisitor.java81 import static com.github.javaparser.ast.internal.Utils.isNullOrEmpty;
200 if (!isNullOrEmpty(annotations)) { in printMemberAnnotations()
209 if (!isNullOrEmpty(annotations)) { in printAnnotations()
218 if (!isNullOrEmpty(args)) { in printTypeArgs()
232 if (!isNullOrEmpty(args)) { in printTypeParameters()
247 if (!isNullOrEmpty(args)) { in printArguments()
356 if (!isNullOrEmpty(n.getExtends())) { in visit()
367 if (!isNullOrEmpty(n.getImplements())) { in visit()
380 if (!isNullOrEmpty(n.getMembers())) { in visit()
898 if (!isNullOrEmpty(n.getTypeArgs())) { in visit()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrintVisitor.java45 import static com.github.javaparser.utils.Utils.isNullOrEmpty;
126 if (!isNullOrEmpty(typeArguments)) { in printTypeArgs()
140 if (!isNullOrEmpty(args)) { in printTypeParameters()
156 if (!isNullOrEmpty(args)) { in printArguments()
313 if (!isNullOrEmpty(n.getMembers())) { in visit()
383 if (!isNullOrEmpty(n.getTypeBound())) { in visit()
540 if (!isNullOrEmpty(n.getValues())) { in visit()
760 if (!isNullOrEmpty(n.getTypeArguments().orElse(null))) { in visit()
815 if (!isNullOrEmpty(n.getThrownExceptions())) { in visit()
837 if (!isNullOrEmpty(n.getTypeParameters())) { in visit()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/internal/
DUtils.java38 public static <E> boolean isNullOrEmpty(Collection<E> collection) { in isNullOrEmpty() method in Utils
/external/opencensus-java/checker-framework/stubs/
Dguava.astub9 static boolean isNullOrEmpty(@Nullable String str);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DLegacyManifestParser.java139 if (!Strings.isNullOrEmpty(androidManifest.getApplicationName())) { in createPackage()
284 if (!Strings.isNullOrEmpty(data.pathPattern)) { in createPathPermission()
287 } else if (!Strings.isNullOrEmpty(data.path)) { in createPathPermission()
290 } else if (!Strings.isNullOrEmpty(data.pathPrefix)) { in createPathPermission()
581 if (Strings.isNullOrEmpty(cls)) { in buildClassName()
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/printer/
DPrettyPrintVisitor_prettyprinted41 import static com.github.javaparser.utils.Utils.isNullOrEmpty;
102 if (!isNullOrEmpty(typeArguments)) {
116 if (!isNullOrEmpty(args)) {
131 if (!isNullOrEmpty(args)) {
237 if (!isNullOrEmpty(n.getMembers())) {
279 if (!isNullOrEmpty(n.getTypeBound())) {
420 if (!isNullOrEmpty(n.getValues())) {
624 if (!isNullOrEmpty(n.getTypeArguments().orElse(null))) {
671 if (!isNullOrEmpty(n.getThrownExceptions())) {
695 if (!isNullOrEmpty(n.getTypeParameters())) {
[all …]
/external/desugar/java/com/google/devtools/common/options/
DInvocationPolicyParser.java37 if (Strings.isNullOrEmpty(policy)) { in parsePolicy()
/external/testng/src/main/java/org/testng/util/
DStrings.java10 public static boolean isNullOrEmpty(String string) { in isNullOrEmpty() method in Strings
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/
DSettings.java70 checkArgument(!Strings.isNullOrEmpty(featurePath)); in isEnabled()
DResources.java44 checkArgument(!Strings.isNullOrEmpty(resourceName), "resourceName"); in getResourceAsTempFile()
/external/opencensus-java/exporters/stats/signalfx/src/main/java/io/opencensus/exporter/stats/signalfx/
DSignalFxStatsConfiguration.java147 !Strings.isNullOrEmpty(config.getToken()), "Invalid SignalFx token"); in build()

12