/external/opencensus-java/api/src/main/java/io/opencensus/metrics/ |
D | MetricRegistry.java | 112 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 …]
|
D | DerivedDoubleGauge.java | 125 Utils.checkNotNull(name, "name"); in NoopDerivedDoubleGauge() 126 Utils.checkNotNull(description, "description"); in NoopDerivedDoubleGauge() 127 Utils.checkNotNull(unit, "unit"); in NoopDerivedDoubleGauge() 129 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in NoopDerivedDoubleGauge() 139 Utils.checkNotNull(labelValues, "labelValues"), "labelValue element should not be null."); in createTimeSeries() 141 Utils.checkNotNull(function, "function"); in createTimeSeries() 146 Utils.checkNotNull(labelValues, "labelValues"); in removeTimeSeries()
|
D | DerivedLongGauge.java | 123 Utils.checkNotNull(name, "name"); in NoopDerivedLongGauge() 124 Utils.checkNotNull(description, "description"); in NoopDerivedLongGauge() 125 Utils.checkNotNull(unit, "unit"); in NoopDerivedLongGauge() 127 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in NoopDerivedLongGauge() 137 Utils.checkNotNull(labelValues, "labelValues"), "labelValue element should not be null."); in createTimeSeries() 139 Utils.checkNotNull(function, "function"); in createTimeSeries() 144 Utils.checkNotNull(labelValues, "labelValues"); in removeTimeSeries()
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
D | SameThreadScheduledExecutorService.java | 76 Preconditions.checkNotNull(unit, "unit must not be null!"); in awaitTermination() 82 Preconditions.checkNotNull(task, "task must not be null!"); in submit() 88 Preconditions.checkNotNull(task, "task must not be null!"); in submit() 89 Preconditions.checkNotNull(result, "result must not be null!"); in submit() 95 Preconditions.checkNotNull(task, "task must not be null!"); in submit() 102 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAll() 110 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAll() 111 Preconditions.checkNotNull(unit, "unit must not be null!"); in invokeAll() 118 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAny() 126 Preconditions.checkNotNull(tasks, "tasks must not be null!"); in invokeAny() [all …]
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/ |
D | MetricRegistryImpl.java | 19 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/ |
D | BlankSpan.java | 47 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/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | TestThread.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 68 this.lockLikeObject = checkNotNull(lockLikeObject); in TestThread() 91 checkNotNull(methodName); in callAndAssertReturns() 92 checkNotNull(arguments); in callAndAssertReturns() 103 checkNotNull(methodName); in callAndAssertReturns() 104 checkNotNull(arguments); in callAndAssertReturns() 115 checkNotNull(methodName); in callAndAssertReturns() 116 checkNotNull(arguments); in callAndAssertReturns() 127 checkNotNull(expected); in callAndAssertThrows() 128 checkNotNull(methodName); in callAndAssertThrows() [all …]
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | NoRecordEventsSpanImpl.java | 42 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/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | NoopSpan.java | 33 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/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverStatsExporter.java | 20 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/guava/src/com/google/common/collect/ |
D | ContiguousSet.java | 18 import static com.google.common.base.Preconditions.checkNotNull; 54 checkNotNull(range); in create() 55 checkNotNull(domain); in create() 87 return headSetImpl(checkNotNull(toElement), false); in headSet() 95 return headSetImpl(checkNotNull(toElement), inclusive); in headSet() 99 checkNotNull(fromElement); in subSet() 100 checkNotNull(toElement); in subSet() 111 checkNotNull(fromElement); in subSet() 112 checkNotNull(toElement); in subSet() 118 return tailSetImpl(checkNotNull(fromElement), true); in tailSet() [all …]
|
D | Iterables.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 66 checkNotNull(iterable); in unmodifiableIterable() 82 return checkNotNull(iterable); in unmodifiableIterable() 139 ? ((Collection<?>) removeFrom).removeAll(checkNotNull(elementsToRemove)) in removeAll() 157 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain)) in retainAll() 178 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf() 238 checkNotNull(predicate); in removeFirstMatching() 354 return Iterators.addAll(addTo, checkNotNull(elementsToAdd).iterator()); in addAll() 391 checkNotNull(iterable); in cycle() 494 checkNotNull(inputs); [all …]
|
D | Iterators.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 157 checkNotNull(iterator); in unmodifiableIterator() 181 return checkNotNull(iterator); 232 checkNotNull(predicate); 358 checkNotNull(addTo); 359 checkNotNull(iterator); 393 checkNotNull(iterable); 531 checkNotNull(inputs); 546 while (!(currentHasNext = checkNotNull(current).hasNext()) 612 checkNotNull(iterator); [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeTraverser.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 62 checkNotNull(root); in preOrderTraversal() 81 stack.addLast(Iterators.singletonIterator(checkNotNull(root))); 92 T result = checkNotNull(itr.next()); 112 checkNotNull(root); 131 this.root = checkNotNull(root); 132 this.childIterator = checkNotNull(childIterator); 172 checkNotNull(root); 187 queue.add(checkNotNull(root)); 204 queue.add(checkNotNull(child));
|
D | Iterables.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 64 checkNotNull(iterable); in unmodifiableIterable() 80 return checkNotNull(iterable); in unmodifiableIterable() 137 ? ((Collection<?>) removeFrom).removeAll(checkNotNull(elementsToRemove)) in removeAll() 155 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain)) in retainAll() 176 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf() 236 checkNotNull(predicate); in removeFirstMatching() 337 return Iterators.addAll(addTo, checkNotNull(elementsToAdd).iterator()); in addAll() 374 checkNotNull(iterable); in cycle() 477 checkNotNull(inputs); [all …]
|
D | ImmutableSortedSet.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 67 checkNotNull(comparator); in emptySet() 121 checkNotNull(elements); in ofInternal() 128 checkNotNull(element); in ofInternal() 154 checkNotNull(comparator); in copyOf() 160 checkNotNull(comparator); in copyOf() 166 checkNotNull(comparator); in copyOf() 182 checkNotNull(comparator); in copyOfInternal() 202 checkNotNull(comparator); in copyOfInternal() 209 checkNotNull(element); in copyOfInternal() [all …]
|
D | ImmutableCollection.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 108 checkNotNull(elements); // for GWT in add() 110 add(checkNotNull(element)); in add() 116 checkNotNull(elements); // for GWT in addAll() 118 add(checkNotNull(element)); in addAll() 124 checkNotNull(elements); // for GWT in addAll() 126 add(checkNotNull(elements.next())); in addAll()
|
D | Iterators.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 155 checkNotNull(iterator); in unmodifiableIterator() 179 return checkNotNull(iterator); 230 checkNotNull(predicate); 340 checkNotNull(addTo); 341 checkNotNull(iterator); 375 checkNotNull(iterable); 513 checkNotNull(inputs); 528 while (!(currentHasNext = checkNotNull(current).hasNext()) 594 checkNotNull(iterator); [all …]
|
/external/setupcompat/main/java/com/google/android/setupcompat/logging/ |
D | SetupMetricsLogger.java | 32 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/io/ |
D | Files.java | 20 import static com.google.common.base.Preconditions.checkNotNull; 83 checkNotNull(file); in newReader() 84 checkNotNull(charset); in newReader() 100 checkNotNull(file); in newWriter() 101 checkNotNull(charset); in newWriter() 120 this.file = checkNotNull(file); in FileByteSource() 194 this.file = checkNotNull(file); in FileByteSink() 375 checkNotNull(file1); in equal() 376 checkNotNull(file2); in equal() 436 checkNotNull(file); in touch() [all …]
|
D | CharStreams.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 64 checkNotNull(from); in copy() 65 checkNotNull(to); in copy() 138 checkNotNull(readable); in readLines() 139 checkNotNull(processor); in readLines() 163 checkNotNull(reader); in skipFully() 197 checkNotNull(cbuf); in write() 207 checkNotNull(str); in write() 217 checkNotNull(csq); in append() 266 checkNotNull(readable); in asReader()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheLoader.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 95 checkNotNull(key); in reload() 96 checkNotNull(oldValue); in reload() 146 this.computingFunction = checkNotNull(computingFunction); in FunctionToCacheLoader() 151 return computingFunction.apply(checkNotNull(key)); in load() 184 checkNotNull(loader); in asyncReloading() 185 checkNotNull(executor); in asyncReloading() 216 this.computingSupplier = checkNotNull(computingSupplier); 221 checkNotNull(key);
|
/external/opencensus-java/api/src/main/java/io/opencensus/tags/ |
D | NoopTags.java | 106 Utils.checkNotNull(state, "state"); in setState() 132 Utils.checkNotNull(tags, "tags"); in toBuilder() 143 Utils.checkNotNull(tags, "tags"); in withTagContext() 154 Utils.checkNotNull(key, "key"); in put() 155 Utils.checkNotNull(value, "value"); in put() 161 Utils.checkNotNull(key, "key"); in remove() 204 Utils.checkNotNull(tags, "tags"); in toByteArray() 210 Utils.checkNotNull(bytes, "bytes"); in fromByteArray()
|
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/ |
D | Distribution.java | 71 Utils.checkNotNull(bucketOptions, "bucketOptions"); in create() 73 Collections.unmodifiableList(new ArrayList<Bucket>(Utils.checkNotNull(buckets, "buckets"))); in create() 202 Utils.checkNotNull(bucketBoundaries, "bucketBoundaries"); in create() 211 double previous = Utils.checkNotNull(bucketBoundaries.get(0), "bucketBoundary"); in checkBucketBoundsAreSorted() 214 double next = Utils.checkNotNull(bucketBoundaries.get(i), "bucketBoundary"); in checkBucketBoundsAreSorted() 264 Utils.checkNotNull(exemplar, "exemplar"); in create() 335 Utils.checkNotNull(attachments, "attachments"); in create() 339 Utils.checkNotNull(entry.getKey(), "key of attachments"); in create() 340 Utils.checkNotNull(entry.getValue(), "value of attachments"); in create()
|
/external/guava/guava/src/com/google/common/eventbus/ |
D | AsyncEventBus.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 52 this.executor = checkNotNull(executor); in AsyncEventBus() 68 this.executor = checkNotNull(executor); in AsyncEventBus() 81 this.executor = checkNotNull(executor); in AsyncEventBus() 111 checkNotNull(event); in dispatch() 112 checkNotNull(subscriber); in dispatch()
|