Home
last modified time | relevance | path

Searched refs:checkState (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/external/dagger2/java/dagger/hilt/android/internal/testing/
DTestApplicationComponentManager.java101 Preconditions.checkState( in generatedComponent()
112 Preconditions.checkState( in generatedComponent()
131 Preconditions.checkState( in setHasHiltTestRule()
139 Preconditions.checkState( in checkStateIsCleared()
142 Preconditions.checkState( in checkStateIsCleared()
145 Preconditions.checkState( in checkStateIsCleared()
148 Preconditions.checkState( in checkStateIsCleared()
151 Preconditions.checkState( in checkStateIsCleared()
154 Preconditions.checkState( in checkStateIsCleared()
185 Preconditions.checkState( in getTestInstance()
[all …]
DMarkThatRulesRanRule.java20 import static dagger.hilt.internal.Preconditions.checkState;
50 checkState( in MarkThatRulesRanRule()
54 checkState( in MarkThatRulesRanRule()
61 checkState( in MarkThatRulesRanRule()
71 checkState(!started.get(), "Called delayComponentReady after test execution started"); in delayComponentReady()
76 checkState(started.get(), "Called componentReady before test execution started"); in componentReady()
87 checkState( in apply()
116 checkState(
121 checkState(
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DPlayerMessage.java116 Assertions.checkState(!isSent); in setType()
134 Assertions.checkState(!isSent); in setPayload()
153 Assertions.checkState(!isSent); in setHandler()
183 Assertions.checkState(!isSent); in setPosition()
201 Assertions.checkState(!isSent); in setPosition()
226 Assertions.checkState(!isSent); in setDeleteAfterDelivery()
245 Assertions.checkState(!isSent); in send()
261 Assertions.checkState(isSent); in cancel()
287 Assertions.checkState(isSent); in blockUntilDelivered()
288 Assertions.checkState(handler.getLooper().getThread() != Thread.currentThread()); in blockUntilDelivered()
[all …]
DExoPlayer.java262 Assertions.checkState(!buildCalled); in setTrackSelector()
275 Assertions.checkState(!buildCalled); in setMediaSourceFactory()
288 Assertions.checkState(!buildCalled); in setLoadControl()
301 Assertions.checkState(!buildCalled); in setBandwidthMeter()
315 Assertions.checkState(!buildCalled); in setLooper()
328 Assertions.checkState(!buildCalled); in setAnalyticsCollector()
345 Assertions.checkState(!buildCalled); in setUseLazyPreparation()
360 Assertions.checkState(!buildCalled); in setClock()
371 Assertions.checkState(!buildCalled); in build()
DNoSampleRenderer.java73 Assertions.checkState(state == STATE_DISABLED); in enable()
83 Assertions.checkState(state == STATE_ENABLED); in start()
91 Assertions.checkState(!streamIsFinal); in replaceStream()
134 Assertions.checkState(state == STATE_STARTED); in stop()
141 Assertions.checkState(state == STATE_ENABLED); in disable()
150 Assertions.checkState(state == STATE_DISABLED); in reset()
/external/guice/core/src/com/google/inject/internal/
DCycleDetectingLock.java150 checkState(); in lockOrDetectPotentialLocksCycle()
169 checkState(); in lockOrDetectPotentialLocksCycle()
185 checkState(); in unlock()
186 Preconditions.checkState( in unlock()
188 Preconditions.checkState( in unlock()
200 Preconditions.checkState( in unlock()
212 void checkState() throws IllegalStateException { in checkState() method in CycleDetectingLock.CycleDetectingLockFactory.ReentrantCycleDetectingLock
214 Preconditions.checkState( in checkState()
219 Preconditions.checkState( in checkState()
222 Preconditions.checkState( in checkState()
[all …]
DEncounterImpl.java19 import static com.google.common.base.Preconditions.checkState;
66 checkState(valid, "Encounters may not be used after hear() returns."); in bindInterceptor()
91 checkState(valid, "Encounters may not be used after hear() returns."); in register()
102 checkState(valid, "Encounters may not be used after hear() returns."); in register()
113 checkState(valid, "Encounters may not be used after hear() returns."); in addError()
119 checkState(valid, "Encounters may not be used after hear() returns."); in addError()
125 checkState(valid, "Encounters may not be used after hear() returns."); in addError()
131 checkState(valid, "Encounters may not be used after hear() returns."); in getProvider()
142 checkState(valid, "Encounters may not be used after hear() returns."); in getMembersInjector()
/external/guava/android/guava/src/com/google/common/cache/
DCacheBuilder.java19 import static com.google.common.base.Preconditions.checkState;
312 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence); in keyEquivalence()
332 checkState( in valueEquivalence()
354 checkState( in initialCapacity()
399 checkState( in concurrencyLevel()
434 checkState( in maximumSize()
436 checkState( in maximumSize()
440 checkState(this.weigher == null, "maximum size can not be combined with weigher"); in maximumSize()
475 checkState( in maximumWeight()
479 checkState( in maximumWeight()
[all …]
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java19 import static com.google.common.base.Preconditions.checkState;
311 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence); in keyEquivalence()
331 checkState( in valueEquivalence()
353 checkState( in initialCapacity()
398 checkState( in concurrencyLevel()
433 checkState( in maximumSize()
435 checkState( in maximumSize()
439 checkState(this.weigher == null, "maximum size can not be combined with weigher"); in maximumSize()
474 checkState( in maximumWeight()
478 checkState( in maximumWeight()
[all …]
/external/guava/guava/src/com/google/common/math/
DPairedStatsAccumulator.java17 import static com.google.common.base.Preconditions.checkState;
127 checkState(count() != 0); in populationCovariance()
145 checkState(count() > 1); in sampleCovariance()
166 checkState(count() > 1); in pearsonsCorrelationCoefficient()
172 checkState(xSumOfSquaresOfDeltas > 0.0); in pearsonsCorrelationCoefficient()
173 checkState(ySumOfSquaresOfDeltas > 0.0); in pearsonsCorrelationCoefficient()
213 checkState(count() > 1); in leastSquaresFit()
226 checkState(yStats.sumOfSquaresOfDeltas() > 0.0); in leastSquaresFit()
DPairedStats.java19 import static com.google.common.base.Preconditions.checkState;
96 checkState(count() != 0); in populationCovariance()
114 checkState(count() > 1); in sampleCovariance()
135 checkState(count() > 1); in pearsonsCorrelationCoefficient()
141 checkState(xSumOfSquaresOfDeltas > 0.0); in pearsonsCorrelationCoefficient()
142 checkState(ySumOfSquaresOfDeltas > 0.0); in pearsonsCorrelationCoefficient()
182 checkState(count() > 1); in leastSquaresFit()
195 checkState(yStats.sumOfSquaresOfDeltas() > 0.0); in leastSquaresFit()
/external/guava/android/guava/src/com/google/common/math/
DPairedStatsAccumulator.java17 import static com.google.common.base.Preconditions.checkState;
127 checkState(count() != 0); in populationCovariance()
145 checkState(count() > 1); in sampleCovariance()
166 checkState(count() > 1); in pearsonsCorrelationCoefficient()
172 checkState(xSumOfSquaresOfDeltas > 0.0); in pearsonsCorrelationCoefficient()
173 checkState(ySumOfSquaresOfDeltas > 0.0); in pearsonsCorrelationCoefficient()
213 checkState(count() > 1); in leastSquaresFit()
226 checkState(yStats.sumOfSquaresOfDeltas() > 0.0); in leastSquaresFit()
DPairedStats.java19 import static com.google.common.base.Preconditions.checkState;
96 checkState(count() != 0); in populationCovariance()
114 checkState(count() > 1); in sampleCovariance()
135 checkState(count() > 1); in pearsonsCorrelationCoefficient()
141 checkState(xSumOfSquaresOfDeltas > 0.0); in pearsonsCorrelationCoefficient()
142 checkState(ySumOfSquaresOfDeltas > 0.0); in pearsonsCorrelationCoefficient()
182 checkState(count() > 1); in leastSquaresFit()
195 checkState(yStats.sumOfSquaresOfDeltas() > 0.0); in leastSquaresFit()
/external/dagger2/java/dagger/hilt/processor/internal/definecomponent/
DDefineComponentMetadatas.java72 ProcessorErrors.checkState( in getUncached()
79 ProcessorErrors.checkState( in getUncached()
87 ProcessorErrors.checkState( in getUncached()
95 ProcessorErrors.checkState( in getUncached()
103 ProcessorErrors.checkState( in getUncached()
114 ProcessorErrors.checkState( in getUncached()
131 ProcessorErrors.checkState( in getUncached()
143 ProcessorErrors.checkState( in getUncached()
153 ProcessorErrors.checkState( in getUncached()
166 ProcessorErrors.checkState( in getUncached()
DDefineComponentBuilderMetadatas.java64 ProcessorErrors.checkState( in getUncached()
72 ProcessorErrors.checkState( in getUncached()
80 ProcessorErrors.checkState( in getUncached()
88 ProcessorErrors.checkState( in getUncached()
98 ProcessorErrors.checkState( in getUncached()
111 ProcessorErrors.checkState( in getUncached()
121 ProcessorErrors.checkState( in getUncached()
138 ProcessorErrors.checkState( in getUncached()
/external/guava/guava/src/com/google/common/base/
DPreconditions.java490 public static void checkState(boolean expression) { in checkState() method in Preconditions
506 public static void checkState(boolean expression, @Nullable Object errorMessage) { in checkState() method in Preconditions
527 public static void checkState( in checkState() method in Preconditions
544 public static void checkState(boolean b, @Nullable String errorMessageTemplate, char p1) { in checkState() method in Preconditions
558 public static void checkState(boolean b, @Nullable String errorMessageTemplate, int p1) { in checkState() method in Preconditions
572 public static void checkState(boolean b, @Nullable String errorMessageTemplate, long p1) { in checkState() method in Preconditions
586 public static void checkState( in checkState() method in Preconditions
601 public static void checkState( in checkState() method in Preconditions
616 public static void checkState(boolean b, @Nullable String errorMessageTemplate, char p1, int p2) { in checkState() method in Preconditions
630 public static void checkState( in checkState() method in Preconditions
[all …]
/external/guava/android/guava/src/com/google/common/base/
DPreconditions.java493 public static void checkState(boolean expression) { in checkState() method in Preconditions
509 public static void checkState(boolean expression, @NullableDecl Object errorMessage) { in checkState() method in Preconditions
530 public static void checkState( in checkState() method in Preconditions
547 public static void checkState(boolean b, @NullableDecl String errorMessageTemplate, char p1) { in checkState() method in Preconditions
561 public static void checkState(boolean b, @NullableDecl String errorMessageTemplate, int p1) { in checkState() method in Preconditions
575 public static void checkState(boolean b, @NullableDecl String errorMessageTemplate, long p1) { in checkState() method in Preconditions
589 public static void checkState( in checkState() method in Preconditions
604 public static void checkState( in checkState() method in Preconditions
619 public static void checkState( in checkState() method in Preconditions
634 public static void checkState( in checkState() method in Preconditions
[all …]
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/
DViewModelMetadata.kt52 ProcessorErrors.checkState( in <lambda>()
63 ProcessorErrors.checkState( in <lambda>()
70 ProcessorErrors.checkState( in <lambda>()
78 ProcessorErrors.checkState( in <lambda>()
86 ProcessorErrors.checkState( in <lambda>()
94 ProcessorErrors.checkState( in <lambda>()
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/
DBindValueMetadata.java91 ProcessorErrors.checkState( in create()
99 ProcessorErrors.checkState( in create()
112 ProcessorErrors.checkState( in create()
119 ProcessorErrors.checkState( in create()
127 ProcessorErrors.checkState( in create()
135 ProcessorErrors.checkState( in create()
145 ProcessorErrors.checkState( in create()
152 ProcessorErrors.checkState( in create()
161 ProcessorErrors.checkState( in create()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiHandshaker.java19 import static com.google.common.base.Preconditions.checkState;
75 checkState(!isClient, "Client handshaker should not process any frame at the beginning."); in processBytesFromPeer()
90 checkState(bytes.remaining() < remaining, "Handshaker did not consume any bytes."); in processBytesFromPeer()
101 Preconditions.checkState(!isInProgress(), "Handshake is not complete.");
117 Preconditions.checkState(!isInProgress(), "Handshake is not complete.");
176 Preconditions.checkState(!isInProgress(), "Handshake is not complete."); in createFrameProtector()
179 Preconditions.checkState(key.length == AltsChannelCrypter.getKeyLength(), "Bad key length."); in createFrameProtector()
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DAggregatedDepsProcessor.java106 ProcessorErrors.checkState( in processEach()
113 ProcessorErrors.checkState( in processEach()
133 ProcessorErrors.checkState( in processModule()
148 ProcessorErrors.checkState( in processModule()
155 ProcessorErrors.checkState( in processModule()
168 ProcessorErrors.checkState( in processModule()
179 ProcessorErrors.checkState( in processModule()
190 ProcessorErrors.checkState( in processModule()
205 ProcessorErrors.checkState( in processModule()
218 ProcessorErrors.checkState( in processModule()
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DIcuDataDumper.java9 import static com.google.common.base.Preconditions.checkState;
92 checkState(allPaths.get(k).equals(values), "inconsistent data for path: ", k); in walkDirectory()
152 checkState(lastType == LineType.GROUP_END); in parse()
153 checkState(!inBlockComment); in parse()
154 checkState(name != null); in parse()
155 checkState(pathStack.isEmpty() && inFinalGroup); in parse()
156 checkState(wrappedValue.isEmpty() && currentValue.isEmpty()); in parse()
180 checkState(match.getType().isValidTransitionFrom(lastType), in processLine()
195 checkState(line.indexOf("*/") == line.length() - 2, in processLine()
208 checkState(currentValue.isEmpty()); in processLine()
[all …]
/external/dagger2/java/dagger/hilt/processor/internal/
DProcessorErrors.java44 public static void checkState( in checkState() method in ProcessorErrors
74 public static void checkState( in checkState() method in ProcessorErrors
96 public static void checkState( in checkState() method in ProcessorErrors
102 Preconditions.checkState(!badElements.isEmpty()); in checkState()
125 public static void checkState( in checkState() method in ProcessorErrors
132 Preconditions.checkState(!badElements.isEmpty()); in checkState()
/external/dagger2/java/dagger/hilt/android/processor/internal/customtestapplication/
DCustomTestApplicationMetadata.java54 Preconditions.checkState( in of()
60 ProcessorErrors.checkState( in of()
82 ProcessorErrors.checkState( in getBaseElement()
94 ProcessorErrors.checkState( in getBaseElement()
107 ProcessorErrors.checkState( in getBaseElement()
120 ProcessorErrors.checkState( in getBaseElement()
134 ProcessorErrors.checkState( in getBaseElement()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DDistanceTable.java6 import static com.google.common.base.Preconditions.checkState;
98 checkState(defLangNode != null, "missing default language mapping: %s", rootNode); in build()
100 checkState(defScriptNode != null, "missing default script mapping: %s", rootNode); in build()
102 checkState(defRegionNode != null, "missing default region mapping: %s", rootNode); in build()
134 checkState(defRegionNode != null, in pruneDefaultDistances()
149 checkState(defScriptNode != null, in pruneDefaultDistances()
164 checkState(rootNode.getAnyNode().subtables.isEmpty(), in pruneDefaultDistances()
304 checkState(wildcardMatch != null, "missing <ANY,ANY> mapping: %s", this); in getIntermediateNode()
317 checkState(subtables.isEmpty()); in copySubtablesFrom()
348 checkState(node != null && supportedNodes.size() == 1, in writeSupported()
[all …]

12345678910>>...20