Home
last modified time | relevance | path

Searched refs:checkNotNull (Results 1 – 25 of 1530) sorted by relevance

12345678910>>...62

/external/opencensus-java/api/src/main/java/io/opencensus/metrics/
DMetricRegistry.java112 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addLongGauge()
114 Utils.checkNotNull(name, "name"), in addLongGauge()
115 Utils.checkNotNull(description, "description"), in addLongGauge()
116 Utils.checkNotNull(unit, "unit"), in addLongGauge()
124 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addDoubleGauge()
126 Utils.checkNotNull(name, "name"), in addDoubleGauge()
127 Utils.checkNotNull(description, "description"), in addDoubleGauge()
128 Utils.checkNotNull(unit, "unit"), in addDoubleGauge()
136 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addDerivedLongGauge()
138 Utils.checkNotNull(name, "name"), in addDerivedLongGauge()
[all …]
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DSameThreadScheduledExecutorService.java74 Preconditions.checkNotNull(unit, "unit must not be null!"); in awaitTermination()
80 Preconditions.checkNotNull(task, "task must not be null!"); in submit()
86 Preconditions.checkNotNull(task, "task must not be null!"); in submit()
87 Preconditions.checkNotNull(result, "result must not be null!"); in submit()
93 Preconditions.checkNotNull(task, "task must not be null!"); in submit()
100 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAll()
108 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAll()
109 Preconditions.checkNotNull(unit, "unit must not be null!"); in invokeAll()
116 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAny()
123 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAny()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/util/concurrent/testing/
DSameThreadScheduledExecutorService.java74 Preconditions.checkNotNull(unit, "unit must not be null!"); in awaitTermination()
80 Preconditions.checkNotNull(task, "task must not be null!"); in submit()
86 Preconditions.checkNotNull(task, "task must not be null!"); in submit()
87 Preconditions.checkNotNull(result, "result must not be null!"); in submit()
93 Preconditions.checkNotNull(task, "task must not be null!"); in submit()
100 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAll()
108 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAll()
109 Preconditions.checkNotNull(unit, "unit must not be null!"); in invokeAll()
116 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAny()
123 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAny()
[all …]
/external/auto/factory/src/test/resources/expected/
DMultipleFactoriesConflictingParameterNamesFactory.java39 this.stringProvider = checkNotNull(stringProvider, 1); in MultipleFactoriesConflictingParameterNamesFactory()
40 this.java_lang_ObjectProvider = checkNotNull(java_lang_ObjectProvider, 2); in MultipleFactoriesConflictingParameterNamesFactory()
41 this.stringProvider2 = checkNotNull(stringProvider2, 3); in MultipleFactoriesConflictingParameterNamesFactory()
43 checkNotNull(_tests_AQualifier_java_lang_ObjectProvider, 4); in MultipleFactoriesConflictingParameterNamesFactory()
48 checkNotNull(stringProvider.get(), 1), in create()
49 checkNotNull(java_lang_ObjectProvider.get(), 2), in create()
51 checkNotNull(unused, 4)); in create()
56 checkNotNull(stringProvider2.get(), 1), in create()
57 checkNotNull(_tests_AQualifier_java_lang_ObjectProvider.get(), 2), in create()
61 private static <T> T checkNotNull(T reference, int argumentIndex) { in checkNotNull() method in MultipleFactoriesConflictingParameterNamesFactory
DSimpleClassProvidedDepsFactory.java38 this.providedPrimitiveAProvider = checkNotNull(providedPrimitiveAProvider, 1); in SimpleClassProvidedDepsFactory()
39 this.providedPrimitiveBProvider = checkNotNull(providedPrimitiveBProvider, 2); in SimpleClassProvidedDepsFactory()
40 this.providedDepAProvider = checkNotNull(providedDepAProvider, 3); in SimpleClassProvidedDepsFactory()
41 this.providedDepBProvider = checkNotNull(providedDepBProvider, 4); in SimpleClassProvidedDepsFactory()
46 checkNotNull(providedPrimitiveAProvider.get(), 1), in create()
47 checkNotNull(providedPrimitiveBProvider.get(), 2), in create()
48 checkNotNull(providedDepAProvider.get(), 3), in create()
49 checkNotNull(providedDepBProvider.get(), 4)); in create()
52 private static <T> T checkNotNull(T reference, int argumentIndex) { in checkNotNull() method in SimpleClassProvidedDepsFactory
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/
DMetricRegistryImpl.java19 import static com.google.common.base.Preconditions.checkNotNull;
52 checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addLongGauge()
55 checkNotNull(name, "name"), in addLongGauge()
56 checkNotNull(description, "description"), in addLongGauge()
57 checkNotNull(unit, "unit"), in addLongGauge()
67 checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addDoubleGauge()
70 checkNotNull(name, "name"), in addDoubleGauge()
71 checkNotNull(description, "description"), in addDoubleGauge()
72 checkNotNull(unit, "unit"), in addDoubleGauge()
82 checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addDerivedLongGauge()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DBlankSpan.java47 Utils.checkNotNull(key, "key"); in putAttribute()
48 Utils.checkNotNull(value, "value"); in putAttribute()
54 Utils.checkNotNull(attributes, "attributes"); in putAttributes()
60 Utils.checkNotNull(description, "description"); in addAnnotation()
61 Utils.checkNotNull(attributes, "attributes"); in addAnnotation()
67 Utils.checkNotNull(annotation, "annotation"); in addAnnotation()
78 Utils.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()
84 Utils.checkNotNull(link, "link"); in addLink()
89 Utils.checkNotNull(status, "status"); in setStatus()
95 Utils.checkNotNull(options, "options"); in end()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DNoRecordEventsSpanImpl.java42 Preconditions.checkNotNull(description, "description"); in addAnnotation()
43 Preconditions.checkNotNull(attributes, "attribute"); in addAnnotation()
48 Preconditions.checkNotNull(annotation, "annotation"); in addAnnotation()
53 Preconditions.checkNotNull(key, "key"); in putAttribute()
54 Preconditions.checkNotNull(value, "value"); in putAttribute()
59 Preconditions.checkNotNull(attributes, "attributes"); in putAttributes()
64 Preconditions.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()
69 Preconditions.checkNotNull(link, "link"); in addLink()
74 Preconditions.checkNotNull(status, "status"); in setStatus()
79 Preconditions.checkNotNull(options, "options"); in end()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldInfo.java33 import static com.google.protobuf.Internal.checkNotNull;
67 checkNotNull(field, "field"); in forField()
68 checkNotNull(fieldType, "fieldType"); in forField()
92 checkNotNull(field, "field"); in forPackedField()
93 checkNotNull(fieldType, "fieldType"); in forPackedField()
117 checkNotNull(field, "field"); in forRepeatedMessageField()
118 checkNotNull(fieldType, "fieldType"); in forRepeatedMessageField()
119 checkNotNull(messageClass, "messageClass"); in forRepeatedMessageField()
139 checkNotNull(field, "field"); in forFieldWithEnumVerifier()
163 checkNotNull(field, "field"); in forPackedFieldWithEnumVerifier()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DNoopSpan.java33 super(Utils.checkNotNull(context, "context"), options); in NoopSpan()
38 Utils.checkNotNull(attributes, "attributes"); in putAttributes()
43 Utils.checkNotNull(description, "description"); in addAnnotation()
44 Utils.checkNotNull(attributes, "attributes"); in addAnnotation()
49 Utils.checkNotNull(annotation, "annotation"); in addAnnotation()
57 Utils.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()
62 Utils.checkNotNull(link, "link"); in addLink()
67 Utils.checkNotNull(options, "options"); in end()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java19 import static com.google.common.base.Preconditions.checkNotNull;
65 this.lockLikeObject = checkNotNull(lockLikeObject); in TestThread()
90 checkNotNull(methodName); in callAndAssertReturns()
91 checkNotNull(arguments); in callAndAssertReturns()
102 checkNotNull(methodName); in callAndAssertReturns()
103 checkNotNull(arguments); in callAndAssertReturns()
114 checkNotNull(methodName); in callAndAssertReturns()
115 checkNotNull(arguments); in callAndAssertReturns()
127 checkNotNull(expected); in callAndAssertThrows()
128 checkNotNull(methodName); in callAndAssertThrows()
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java19 import static com.google.common.base.Preconditions.checkNotNull;
65 this.lockLikeObject = checkNotNull(lockLikeObject); in TestThread()
90 checkNotNull(methodName); in callAndAssertReturns()
91 checkNotNull(arguments); in callAndAssertReturns()
102 checkNotNull(methodName); in callAndAssertReturns()
103 checkNotNull(arguments); in callAndAssertReturns()
114 checkNotNull(methodName); in callAndAssertReturns()
115 checkNotNull(arguments); in callAndAssertReturns()
127 checkNotNull(expected); in callAndAssertThrows()
128 checkNotNull(methodName); in callAndAssertThrows()
[all …]
/external/guava/guava/src/com/google/common/collect/
DIterators.java20 import static com.google.common.base.Preconditions.checkNotNull;
127 checkNotNull(iterator); in unmodifiableIterator()
154 return checkNotNull(iterator);
198 checkNotNull(elementsToRemove);
220 checkNotNull(predicate);
242 checkNotNull(elementsToRetain);
352 checkNotNull(addTo);
353 checkNotNull(iterator);
390 checkNotNull(iterable);
480 checkNotNull(a);
[all …]
DCollectCollectors.java19 import static com.google.common.base.Preconditions.checkNotNull;
33 checkNotNull(keyFunction); in toImmutableBiMap()
34 checkNotNull(valueFunction); in toImmutableBiMap()
57 checkNotNull(keyFunction); in toImmutableMap()
58 checkNotNull(valueFunction); in toImmutableMap()
81 checkNotNull(comparator); in toImmutableSortedMap()
82 checkNotNull(keyFunction); in toImmutableSortedMap()
83 checkNotNull(valueFunction); in toImmutableSortedMap()
98 checkNotNull(comparator); in toImmutableSortedSet()
126 checkNotNull(keyFunction); in toImmutableRangeMap()
[all …]
DContiguousSet.java18 import static com.google.common.base.Preconditions.checkNotNull;
62 checkNotNull(range); in create()
63 checkNotNull(domain); in create()
150 return headSetImpl(checkNotNull(toElement), false); in headSet()
157 return headSetImpl(checkNotNull(toElement), inclusive); in headSet()
162 checkNotNull(fromElement); in subSet()
163 checkNotNull(toElement); in subSet()
173 checkNotNull(fromElement); in subSet()
174 checkNotNull(toElement); in subSet()
181 return tailSetImpl(checkNotNull(fromElement), true); in tailSet()
[all …]
DTreeTraverser.java19 import static com.google.common.base.Preconditions.checkNotNull;
92 checkNotNull(nodeToChildrenFunction); in using()
116 checkNotNull(root);
125 checkNotNull(action);
146 stack.addLast(Iterators.singletonIterator(checkNotNull(root)));
157 T result = checkNotNull(itr.next());
181 checkNotNull(root);
190 checkNotNull(action);
211 this.root = checkNotNull(root);
212 this.childIterator = checkNotNull(childIterator);
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DIterators.java20 import static com.google.common.base.Preconditions.checkNotNull;
127 checkNotNull(iterator); in unmodifiableIterator()
154 return checkNotNull(iterator);
198 checkNotNull(elementsToRemove);
220 checkNotNull(predicate);
242 checkNotNull(elementsToRetain);
352 checkNotNull(addTo);
353 checkNotNull(iterator);
390 checkNotNull(iterable);
480 checkNotNull(a);
[all …]
DContiguousSet.java18 import static com.google.common.base.Preconditions.checkNotNull;
62 checkNotNull(range); in create()
63 checkNotNull(domain); in create()
150 return headSetImpl(checkNotNull(toElement), false); in headSet()
157 return headSetImpl(checkNotNull(toElement), inclusive); in headSet()
162 checkNotNull(fromElement); in subSet()
163 checkNotNull(toElement); in subSet()
173 checkNotNull(fromElement); in subSet()
174 checkNotNull(toElement); in subSet()
181 return tailSetImpl(checkNotNull(fromElement), true); in tailSet()
[all …]
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverStatsExporter.java20 import static com.google.common.base.Preconditions.checkNotNull;
112 checkNotNull(credentials, "credentials"); in createAndRegisterWithCredentialsAndProjectId()
113 checkNotNull(projectId, "projectId"); in createAndRegisterWithCredentialsAndProjectId()
114 checkNotNull(exportInterval, "exportInterval"); in createAndRegisterWithCredentialsAndProjectId()
143 checkNotNull(projectId, "projectId"); in createAndRegisterWithProjectId()
144 checkNotNull(exportInterval, "exportInterval"); in createAndRegisterWithProjectId()
177 checkNotNull(configuration, "configuration"); in createAndRegister()
239 checkNotNull(exportInterval, "exportInterval"); in createAndRegister()
266 checkNotNull(projectId, "projectId"); in createAndRegisterWithProjectIdAndMonitoredResource()
267 checkNotNull(exportInterval, "exportInterval"); in createAndRegisterWithProjectIdAndMonitoredResource()
[all …]
/external/guava/android/guava/src/com/google/common/util/concurrent/
DSimpleTimeLimiter.java18 import static com.google.common.base.Preconditions.checkNotNull;
53 this.executor = checkNotNull(executor); in SimpleTimeLimiter()
77 checkNotNull(target); in newProxy()
78 checkNotNull(interfaceType); in newProxy()
79 checkNotNull(timeoutUnit); in newProxy()
119 checkNotNull(callable); in callWithTimeout()
120 checkNotNull(timeoutUnit); in callWithTimeout()
148 checkNotNull(callable); in callWithTimeout()
149 checkNotNull(timeoutUnit); in callWithTimeout()
170 checkNotNull(callable); in callUninterruptiblyWithTimeout()
[all …]
DFakeTimeLimiter.java17 import static com.google.common.base.Preconditions.checkNotNull;
43 checkNotNull(target); in newProxy()
44 checkNotNull(interfaceType); in newProxy()
45 checkNotNull(timeoutUnit); in newProxy()
52 checkNotNull(callable); in callWithTimeout()
53 checkNotNull(timeoutUnit); in callWithTimeout()
77 checkNotNull(runnable); in runWithTimeout()
78 checkNotNull(timeoutUnit); in runWithTimeout()
/external/guava/guava/src/com/google/common/util/concurrent/
DSimpleTimeLimiter.java18 import static com.google.common.base.Preconditions.checkNotNull;
53 this.executor = checkNotNull(executor); in SimpleTimeLimiter()
77 checkNotNull(target); in newProxy()
78 checkNotNull(interfaceType); in newProxy()
79 checkNotNull(timeoutUnit); in newProxy()
119 checkNotNull(callable); in callWithTimeout()
120 checkNotNull(timeoutUnit); in callWithTimeout()
148 checkNotNull(callable); in callWithTimeout()
149 checkNotNull(timeoutUnit); in callWithTimeout()
170 checkNotNull(callable); in callUninterruptiblyWithTimeout()
[all …]
DFakeTimeLimiter.java17 import static com.google.common.base.Preconditions.checkNotNull;
43 checkNotNull(target); in newProxy()
44 checkNotNull(interfaceType); in newProxy()
45 checkNotNull(timeoutUnit); in newProxy()
52 checkNotNull(callable); in callWithTimeout()
53 checkNotNull(timeoutUnit); in callWithTimeout()
77 checkNotNull(runnable); in runWithTimeout()
78 checkNotNull(timeoutUnit); in runWithTimeout()
/external/setupcompat/main/java/com/google/android/setupcompat/logging/
DSetupMetricsLogger.java32 Preconditions.checkNotNull(context, "Context cannot be null."); in logCustomEvent()
33 Preconditions.checkNotNull(customEvent, "CustomEvent cannot be null."); in logCustomEvent()
42 Preconditions.checkNotNull(context, "Context cannot be null."); in logCounter()
43 Preconditions.checkNotNull(counterName, "CounterName cannot be null."); in logCounter()
55 Preconditions.checkNotNull(context, "Context cannot be null."); in logDuration()
56 Preconditions.checkNotNull(timer, "Timer cannot be null."); in logDuration()
66 Preconditions.checkNotNull(context, "Context cannot be null."); in logDuration()
67 Preconditions.checkNotNull(timerName, "Timer name cannot be null."); in logDuration()
/external/guava/guava/src/com/google/common/graph/
DAbstractDirectedNetworkConnections.java19 import static com.google.common.base.Preconditions.checkNotNull;
53 this.inEdgeMap = checkNotNull(inEdgeMap); in AbstractDirectedNetworkConnections()
54 this.outEdgeMap = checkNotNull(outEdgeMap); in AbstractDirectedNetworkConnections()
102 return checkNotNull(outEdgeMap.get(edge));
111 return checkNotNull(previousNode);
117 return checkNotNull(previousNode);
122 checkNotNull(edge);
123 checkNotNull(node);
134 checkNotNull(edge);
135 checkNotNull(node);

12345678910>>...62