/external/proguard/src/proguard/evaluation/ |
D | BasicBranchUnit.java | 36 private boolean wasCalled; field in BasicBranchUnit 46 wasCalled = false; in resetCalled() 55 wasCalled = true; in setCalled() 61 public boolean wasCalled() in wasCalled() method in BasicBranchUnit 63 return wasCalled; in wasCalled() 92 wasCalled = true; in branch() 106 wasCalled = true; in branchConditionally() 115 wasCalled = true; in returnFromMethod() 124 wasCalled = true; in throwException()
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
D | TypeSafeMatchingTest.java | 128 final AtomicBoolean wasCalled = new AtomicBoolean(); in dontMatchesWithSubTypeExtendingGenericClass() local 135 wasCalled.set(true); in dontMatchesWithSubTypeExtendingGenericClass() 139 wasCalled.set(false); in dontMatchesWithSubTypeExtendingGenericClass() 141 assertThat(wasCalled.get()).isTrue(); in dontMatchesWithSubTypeExtendingGenericClass() 143 wasCalled.set(false); in dontMatchesWithSubTypeExtendingGenericClass() 145 assertThat(wasCalled.get()).isFalse(); in dontMatchesWithSubTypeExtendingGenericClass() 150 final AtomicBoolean wasCalled = new AtomicBoolean(); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() local 154 wasCalled.set(true); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() 159 wasCalled.set(false); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() 161 assertThat(wasCalled.get()).isTrue(); in passEveryArgumentTypeIfNoBridgeMethodWasGenerated() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | JdkFutureAdaptersTest.java | 59 assertFalse("Listener called more than once", wasCalled()); in run() 68 public boolean wasCalled() { in wasCalled() method in JdkFutureAdaptersTest.SingleCallListener 88 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 99 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 114 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor() 123 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor() 148 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadCustomExecutorInterrupted() 163 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadCustomExecutorInterrupted()
|
D | FutureCallbackTest.java | 162 private boolean wasCalled = false; field in FutureCallbackTest.MockCallback 174 assertFalse(wasCalled); in onSuccess() 175 wasCalled = true; in onSuccess() 181 assertFalse(wasCalled); in onFailure() 182 wasCalled = true; in onFailure()
|
D | FuturesTest.java | 2147 assertFalse("Listener called more than once", wasCalled()); 2156 public boolean wasCalled() { 2181 assertTrue(listener.wasCalled()); 2194 assertTrue(listener.wasCalled()); 2204 assertTrue(listener.wasCalled()); 2219 assertTrue(listener.wasCalled()); 2283 assertTrue(listener.wasCalled()); 2376 assertTrue(listener.wasCalled()); 3408 assertTrue(listener.wasCalled()); 3421 assertTrue(listener.wasCalled()); [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | JdkFutureAdaptersTest.java | 59 assertFalse("Listener called more than once", wasCalled()); in run() 68 public boolean wasCalled() { in wasCalled() method in JdkFutureAdaptersTest.SingleCallListener 88 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 99 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 114 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor() 123 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor() 148 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadCustomExecutorInterrupted() 163 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadCustomExecutorInterrupted()
|
D | FutureCallbackTest.java | 162 private boolean wasCalled = false; field in FutureCallbackTest.MockCallback 174 assertFalse(wasCalled); in onSuccess() 175 wasCalled = true; in onSuccess() 181 assertFalse(wasCalled); in onFailure() 182 wasCalled = true; in onFailure()
|
D | FuturesTest.java | 2147 assertFalse("Listener called more than once", wasCalled()); 2156 public boolean wasCalled() { 2181 assertTrue(listener.wasCalled()); 2194 assertTrue(listener.wasCalled()); 2204 assertTrue(listener.wasCalled()); 2219 assertTrue(listener.wasCalled()); 2283 assertTrue(listener.wasCalled()); 2376 assertTrue(listener.wasCalled()); 3408 assertTrue(listener.wasCalled()); 3421 assertTrue(listener.wasCalled()); [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowCameraTest.java | 288 assertThat(shutterCallback.wasCalled).isTrue(); in testTakePicture() 289 assertThat(rawCallback.wasCalled).isTrue(); in testTakePicture() 290 assertThat(jpegCallback.wasCalled).isTrue(); in testTakePicture() 330 public boolean wasCalled; field in ShadowCameraTest.TestShutterCallback 334 wasCalled = true; in onShutter() 339 public boolean wasCalled; field in ShadowCameraTest.TestPictureCallback 343 wasCalled = true; in onPictureTaken()
|
D | ShadowHandlerThreadTest.java | 77 final Boolean[] wasCalled = new Boolean[] { false }; in shouldCallOnLooperPrepared() local 82 wasCalled[0] = true; in shouldCallOnLooperPrepared() 90 assertTrue(wasCalled[0]); in shouldCallOnLooperPrepared()
|
D | ShadowViewGroupTest.java | 384 assertTrue(testListener.wasCalled()); in removeAllViews_shouldCallOnChildViewRemovedWithEachChild() 394 boolean wasCalled = false; field in ShadowViewGroupTest.TestOnHierarchyChangeListener 402 wasCalled = true; in onChildViewRemoved() 405 public boolean wasCalled() { in wasCalled() method in ShadowViewGroupTest.TestOnHierarchyChangeListener 406 return wasCalled; in wasCalled()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheExpirationTest.java | 88 assertFalse("Creator should not have been called @#" + i, loader.wasCalled()); in checkExpiration() 140 assertFalse("Loader should NOT have been called @#" + i, loader.wasCalled()); in runExpirationTest() 165 assertTrue("Creator should have been called @#" + i, loader.wasCalled()); in runExpirationTest() 473 assertFalse("Creator should NOT have been called @#" + i, loader.wasCalled()); in runRemovalScheduler() 485 boolean wasCalled = false; // must be set in load() field in CacheExpirationTest.WatchedCreatorLoader 492 wasCalled = false; in reset() 495 public boolean wasCalled() { in wasCalled() method in CacheExpirationTest.WatchedCreatorLoader 496 return wasCalled; in wasCalled() 509 wasCalled = true; in load()
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | CacheExpirationTest.java | 88 assertFalse("Creator should not have been called @#" + i, loader.wasCalled()); in checkExpiration() 140 assertFalse("Loader should NOT have been called @#" + i, loader.wasCalled()); in runExpirationTest() 165 assertTrue("Creator should have been called @#" + i, loader.wasCalled()); in runExpirationTest() 473 assertFalse("Creator should NOT have been called @#" + i, loader.wasCalled()); in runRemovalScheduler() 485 boolean wasCalled = false; // must be set in load() field in CacheExpirationTest.WatchedCreatorLoader 492 wasCalled = false; in reset() 495 public boolean wasCalled() { in wasCalled() method in CacheExpirationTest.WatchedCreatorLoader 496 return wasCalled; in wasCalled() 509 wasCalled = true; in load()
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | ShadowingTest.java | 32 assertThat(ShadowAccountManagerForTests.wasCalled).isTrue(); in testStaticMethodsAreDelegated() 38 public static boolean wasCalled = false; field in ShadowingTest.ShadowAccountManagerForTests 42 wasCalled = true; in get()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | InterfacesTest.java | 94 public boolean wasCalled() { in wasCalled() method in InterfacesTest.RecordingGetNameResponse 202 Assert.assertTrue(callback.wasCalled()); in checkProxy() 219 Assert.assertTrue(callback.wasCalled()); in checkProxy()
|
/external/proguard/src/proguard/optimize/evaluation/ |
D | PartialEvaluator.java | 786 if (branchUnit.wasCalled()) in evaluateSingleInstructionBlock() 825 if (branchUnit.wasCalled()) in evaluateSingleInstructionBlock()
|