/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 63 assertTrue("Unable to acquire initial permit", r.tryAcquire()); in testImmediateTryAcquire() 64 assertFalse("Capable of acquiring secondary permit", r.tryAcquire()); in testImmediateTryAcquire() 96 limiter.tryAcquire(0); in testAcquireParameterValidation() 101 limiter.tryAcquire(-1); in testAcquireParameterValidation() 106 limiter.tryAcquire(0, 1, SECONDS); in testAcquireParameterValidation() 111 limiter.tryAcquire(-1, 1, SECONDS); in testAcquireParameterValidation() 250 assertTrue(limiter.tryAcquire(0, SECONDS)); in testTryAcquire_noWaitAllowed() 251 assertFalse(limiter.tryAcquire(0, SECONDS)); in testTryAcquire_noWaitAllowed() 252 assertFalse(limiter.tryAcquire(0, SECONDS)); in testTryAcquire_noWaitAllowed() 254 assertFalse(limiter.tryAcquire(0, SECONDS)); in testTryAcquire_noWaitAllowed() [all …]
|
D | JSR166TestCase.java | 939 assertTrue(semaphore.tryAcquire(LONG_DELAY_MS, MILLISECONDS));
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | RateLimiter.java | 304 public boolean tryAcquire(long timeout, TimeUnit unit) { in tryAcquire() method in RateLimiter 305 return tryAcquire(1, timeout, unit); in tryAcquire() 319 public boolean tryAcquire(int permits) { in tryAcquire() method in RateLimiter 320 return tryAcquire(permits, 0, MICROSECONDS); in tryAcquire() 333 public boolean tryAcquire() { in tryAcquire() method in RateLimiter 334 return tryAcquire(1, 0, MICROSECONDS); in tryAcquire() 349 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) { in tryAcquire() method in RateLimiter
|
D | Uninterruptibles.java | 316 return semaphore.tryAcquire(permits, remainingNanos, NANOSECONDS); in tryAcquireUninterruptibly()
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidWindow.cpp | 57 bool Window::tryAcquire (void) in tryAcquire() function in tcu::Android::Window 177 if (window->tryAcquire()) in tryAcquireWindow()
|
D | tcuAndroidWindow.hpp | 59 bool tryAcquire (void);
|
/external/skia/include/private/ |
D | SkSpinlock.h | 27 bool tryAcquire() { in tryAcquire() function
|
/external/skqp/include/private/ |
D | SkSpinlock.h | 27 bool tryAcquire() { in tryAcquire() function
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | RenderingWatchDog.java | 84 mSemaphore.tryAcquire(mTimeoutInMilliSecs, TimeUnit.MILLISECONDS)); in run()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | IOHandler.java | 180 boolean retval = this.ioSemaphore.tryAcquire(10000, TimeUnit.MILLISECONDS); 253 boolean retval = this.ioSemaphore.tryAcquire(10000, TimeUnit.MILLISECONDS);
|
D | SIPServerTransaction.java | 1306 boolean acquired = this.provisionalResponseSem.tryAcquire(1,TimeUnit.SECONDS); in sendResponse() 1565 boolean acquired = this.provisionalResponseSem.tryAcquire(1, TimeUnit.SECONDS); in sendReliableProvisionalResponse()
|
D | SIPTransaction.java | 1140 retval = this.semaphore.tryAcquire(1000, TimeUnit.MILLISECONDS); in acquireSem()
|
D | SIPDialog.java | 3206 if (!this.ackSem.tryAcquire(2, TimeUnit.SECONDS)) { in takeAckSem() 3329 acquired = this.timerTaskLock.tryAcquire(10, TimeUnit.SECONDS); in acquireTimerTaskSem()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
D | PromptHelper.java | 149 if (!promptToken.tryAcquire()) { in cancelPrompt()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | FinalizableReferenceQueueClassLoaderUnloadingTest.java | 231 boolean finalized = finalizeCount.tryAcquire(5, TimeUnit.SECONDS); in doTestUnloadableInStaticFieldIfClosed()
|
/external/grpc-grpc-java/stub/src/test/java/io/grpc/stub/ |
D | ClientCallsTest.java | 531 assertTrue(semaphore.tryAcquire(5, TimeUnit.SECONDS)); in inprocessTransportOutboundFlowControl() 533 assertTrue(semaphore.tryAcquire(5, TimeUnit.SECONDS)); in inprocessTransportOutboundFlowControl()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | CameraConnectionFragment.java | 413 if (!cameraOpenCloseLock.tryAcquire(2500, TimeUnit.MILLISECONDS)) { in openCamera()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | CameraConnectionFragment.java | 419 if (!cameraOpenCloseLock.tryAcquire(2500, TimeUnit.MILLISECONDS)) { in openCamera()
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | SipStackImpl.java | 1483 return this.stackSemaphore.tryAcquire(10, TimeUnit.SECONDS); in acquireSem()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 633 if (!cameraOpenCloseLock.tryAcquire(2500, TimeUnit.MILLISECONDS)) { in openCamera()
|
/external/guice/lib/ |
D | guava-19.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/cldr/tools/java/libs/ |
D | guava.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/conscrypt/benchmark-android/ |
D | vogar.jar | META-INF/
META-INF/MANIFEST.MF
vogar/
vogar/TestProperties.class
TestProperties ... |
/external/error_prone/error_prone/ |
D | error_prone_core-2.3.2-with-dependencies.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/services/
META- ... |
/external/dagger2/lib/ |
D | google-java-format-0.1-20151017.042846-2.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |