/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | AtomicBooleanDeserializer.java | 4 import java.util.concurrent.atomic.AtomicBoolean; 12 public class AtomicBooleanDeserializer extends StdScalarDeserializer<AtomicBoolean> 16 public AtomicBooleanDeserializer() { super(AtomicBoolean.class); } in AtomicBooleanDeserializer() 19 public AtomicBoolean deserialize(JsonParser p, DeserializationContext ctxt) throws IOException { in deserialize() 22 return new AtomicBoolean(true); in deserialize() 25 return new AtomicBoolean(false); in deserialize() 29 Boolean b = _parseBoolean(p, ctxt, AtomicBoolean.class); in deserialize() 30 return (b == null) ? null : new AtomicBoolean(b.booleanValue()); in deserialize() 38 return new AtomicBoolean(false); in getEmptyValue()
|
D | JdkDeserializers.java | 5 import java.util.concurrent.atomic.AtomicBoolean; 20 AtomicBoolean.class, 42 if (rawType == AtomicBoolean.class) { in find()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowFilterTest.java | 7 import java.util.concurrent.atomic.AtomicBoolean; 16 final AtomicBoolean performFilteringCalled = new AtomicBoolean(false); in testFilterShouldCallPerformFilteringAndPublishResults() 17 final AtomicBoolean publishResultsCalled = new AtomicBoolean(false); in testFilterShouldCallPerformFilteringAndPublishResults() 38 final AtomicBoolean listenerCalled = new AtomicBoolean(false); in testFilterShouldCallListenerWithCorrectCount() 66 final AtomicBoolean listenerCalled = new AtomicBoolean(false); in testFilter_whenNullResults_ShouldCallListenerWithMinusOne() 88 final AtomicBoolean listenerCalled = new AtomicBoolean(false); in testFilter_whenExceptionThrown_ShouldReturn()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | CoerceToBooleanTest.java | 4 import java.util.concurrent.atomic.AtomicBoolean; 88 final ObjectReader atomicR = DEFAULT_MAPPER.readerFor(AtomicBoolean.class); in testToBooleanCoercionSuccessRoot() 90 AtomicBoolean ab; in testToBooleanCoercionSuccessRoot() 135 assertNull(MAPPER_TO_NULL.readValue("0", AtomicBoolean.class)); in testIntToNullCoercion() 136 assertNull(MAPPER_TO_NULL.readValue("1", AtomicBoolean.class)); in testIntToNullCoercion() 155 AtomicBoolean ab; in testIntToEmptyCoercion() 156 ab = MAPPER_TO_EMPTY.readValue("0", AtomicBoolean.class); in testIntToEmptyCoercion() 158 ab = MAPPER_TO_EMPTY.readValue("1", AtomicBoolean.class); in testIntToEmptyCoercion() 178 AtomicBoolean ab; in testIntToTryCoercion() 179 ab = MAPPER_TRY_CONVERT.readValue("0", AtomicBoolean.class); in testIntToTryCoercion() [all …]
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | TestThread.java | 10 import java.util.concurrent.atomic.AtomicBoolean; 47 private AtomicBoolean mThreadReady; 55 mThreadReady = new AtomicBoolean(); in TestThread() 118 final AtomicBoolean taskExecuted = new AtomicBoolean(); in runOnTestThreadSync()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TestExoPlayer.java | 44 import java.util.concurrent.atomic.AtomicBoolean; 317 AtomicBoolean receivedExpectedState = new AtomicBoolean(false); in runUntilPlaybackState() 343 AtomicBoolean receivedExpectedPlayWhenReady = new AtomicBoolean(false); in runUntilPlayWhenReady() 398 AtomicBoolean receivedCallback = new AtomicBoolean(false); in runUntilPositionDiscontinuity() 442 AtomicBoolean receivedCallback = new AtomicBoolean(false); in runUntilRenderedFirstFrame() 464 AtomicBoolean receivedMessageCallback = new AtomicBoolean(false); in runUntilPendingCommandsAreFullyHandled()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | SerializeReentrantCallsDirectExecutorTest.java | 25 import java.util.concurrent.atomic.AtomicBoolean; 74 final AtomicBoolean executed1 = new AtomicBoolean(); in exceptionShouldNotCancelQueuedTasks() 75 final AtomicBoolean executed2 = new AtomicBoolean(); in exceptionShouldNotCancelQueuedTasks()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | RuntimeEnvironmentTest.java | 8 import java.util.concurrent.atomic.AtomicBoolean; 32 final AtomicBoolean res = new AtomicBoolean(); in isMainThread_forNewThread_withoutSwitch() 52 final AtomicBoolean res = new AtomicBoolean(); in isMainThread_forNewThread_withSwitch()
|
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/ |
D | StreamingResponseBandwidthBenchmark.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 52 private AtomicBoolean completed; 53 private AtomicBoolean record; 88 completed = new AtomicBoolean(); in setup() 89 record = new AtomicBoolean(); in setup()
|
D | StreamingPingPongsPerSecondBenchmark.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 51 private AtomicBoolean completed; 52 private AtomicBoolean record; 87 completed = new AtomicBoolean(); in setup() 88 record = new AtomicBoolean(); in setup()
|
D | FlowControlledMessagesPerSecondBenchmark.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 58 private AtomicBoolean completed; 59 private AtomicBoolean record; 94 completed = new AtomicBoolean(); in setup() 95 record = new AtomicBoolean(); in setup()
|
D | AbstractBenchmark.java | 55 import java.util.concurrent.atomic.AtomicBoolean; 393 final AtomicBoolean done, in startUnaryCalls() 428 final AtomicBoolean record, final AtomicBoolean done, final long counterDelta) { in startStreamingCalls() 436 final AtomicBoolean ignoreMessages = new AtomicBoolean(); in startStreamingCalls() 481 final AtomicLong counter, final AtomicBoolean record, final AtomicBoolean done, in startFlowControlledStreamingCalls() 490 final AtomicBoolean ignoreMessages = new AtomicBoolean(); in startFlowControlledStreamingCalls()
|
/external/opencensus-java/contrib/agent/src/integration-test/java/io/opencensus/contrib/agent/instrumentation/ |
D | ExecutorInstrumentationIT.java | 27 import java.util.concurrent.atomic.AtomicBoolean; 88 final AtomicBoolean tested = new AtomicBoolean(false); in submit_Callable() 114 final AtomicBoolean tested = new AtomicBoolean(false); in submit_Runnable() 138 final AtomicBoolean tested = new AtomicBoolean(false); in submit_RunnableWithResult()
|
D | ThreadInstrumentationIT.java | 23 import java.util.concurrent.atomic.AtomicBoolean; 54 final AtomicBoolean tested = new AtomicBoolean(false); in start_Runnable() 78 final AtomicBoolean tested = new AtomicBoolean(false); in start_Subclass()
|
/external/testng/src/test/java/test/retryAnalyzer/ |
D | EventualSuccess.java | 6 import java.util.concurrent.atomic.AtomicBoolean; 9 private static final AtomicBoolean ranYet = new AtomicBoolean(false);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | SupplementalMonitorTest.java | 23 import java.util.concurrent.atomic.AtomicBoolean; 122 final AtomicBoolean actualIsOccupied = new AtomicBoolean(); in verifyOccupiedMethodsInAnotherThread() 123 final AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean(); in verifyOccupiedMethodsInAnotherThread()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | SupplementalMonitorTest.java | 23 import java.util.concurrent.atomic.AtomicBoolean; 122 final AtomicBoolean actualIsOccupied = new AtomicBoolean(); in verifyOccupiedMethodsInAnotherThread() 123 final AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean(); in verifyOccupiedMethodsInAnotherThread()
|
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.common.kt | 51 public expect fun atomic(initial: Boolean): AtomicBoolean in atomic() 138 public expect class AtomicBoolean { class 164 public inline fun AtomicBoolean.loop(action: (Boolean) -> Unit): Nothing { in lazySet() 173 public inline fun AtomicBoolean.update(function: (Boolean) -> Boolean) { in update() 184 public inline fun AtomicBoolean.getAndUpdate(function: (Boolean) -> Boolean): Boolean { in getAndUpdate() 195 public inline fun AtomicBoolean.updateAndGet(function: (Boolean) -> Boolean): Boolean { in updateAndGet() 461 public operator fun get(index: Int): AtomicBoolean = array[index] in get()
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
D | TypeSafeMatchingTest.java | 11 import java.util.concurrent.atomic.AtomicBoolean; 128 final AtomicBoolean wasCalled = new AtomicBoolean(); in dontMatchesWithSubTypeExtendingGenericClass() 150 final AtomicBoolean wasCalled = new AtomicBoolean(); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated()
|
/external/libchrome/base/test/android/java/src/org/chromium/base/ |
D | TestUiThread.java | 12 import java.util.concurrent.atomic.AtomicBoolean; 23 private static final AtomicBoolean sStarted = new AtomicBoolean(false);
|
D | JavaHandlerThreadHelpers.java | 14 import java.util.concurrent.atomic.AtomicBoolean; 24 final AtomicBoolean taskExecuted = new AtomicBoolean(); in testAndGetJavaHandlerThread()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBroadcastReceiver.java | 6 import java.util.concurrent.atomic.AtomicBoolean; 15 private AtomicBoolean abort; // The abort state of the currently processed broadcast 30 public void onReceive(Context context, Intent intent, AtomicBoolean abort) { in onReceive()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/ |
D | SceneRenderer.java | 36 import java.util.concurrent.atomic.AtomicBoolean; 43 private final AtomicBoolean frameAvailable; 44 private final AtomicBoolean resetRotationAtNextFrame; 64 frameAvailable = new AtomicBoolean(); in SceneRenderer() 65 resetRotationAtNextFrame = new AtomicBoolean(true); in SceneRenderer()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
D | FixedLengthBlockOutputStream.java | 28 import java.util.concurrent.atomic.AtomicBoolean; 55 private final AtomicBoolean closed = new AtomicBoolean(false); 226 private final AtomicBoolean closed = new AtomicBoolean(false);
|
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/ |
D | Interceptor.kt | 33 open fun beforeUpdate(ref: AtomicBoolean){} in beforeUpdate() 37 open fun afterSet(ref: AtomicBoolean, newValue: Boolean) {} in afterSet() 41 open fun afterRMW(ref: AtomicBoolean, oldValue: Boolean, newValue: Boolean) {} in afterRMW()
|