HomeSort by relevance Sort by last modified time
    Searched refs:Semaphore (Results 26 - 50 of 179) sorted by null

12 3 4 5 6 7 8

  /cts/tests/tests/media/src/android/media/cts/
CompositionTextureView.java 19 import java.util.concurrent.Semaphore;
35 private final Semaphore mInitWaitSemaphore = new Semaphore(0);
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GlPlanetsActivity.java 24 import java.util.concurrent.Semaphore;
42 private final Semaphore mSem = new Semaphore(0);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
SendToClient.java 18 import java.util.concurrent.Semaphore;
27 private static final Semaphore mSync = new Semaphore(0);
  /cts/tests/tests/textureview/src/android/textureview/cts/
TextureViewSnapshotTestActivity.java 25 import java.util.concurrent.Semaphore;
37 private final Semaphore mSemaphore = new Semaphore(0);
GLProducerThread.java 23 import java.util.concurrent.Semaphore;
40 private final Semaphore mSemaphore;
59 int frames, int delayMs, Semaphore semaphore) {
63 mSemaphore = semaphore;
69 Semaphore semaphore) {
70 this(surfaceTexture, renderer, null, frames, delayMs, semaphore);
74 int delayMs, Semaphore semaphore) {
    [all...]
TextureViewTestActivity.java 26 import java.util.concurrent.Semaphore;
38 private final Semaphore mSemaphore = new Semaphore(0);
  /hardware/ti/omap4xxx/libtiutils/
Android.mk 11 Semaphore.cpp \
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
ApplicationRestrictionsTest.java 24 import java.util.concurrent.Semaphore;
49 private final Semaphore mOnRegisteredSemaphore = new Semaphore(0);
50 private final Semaphore mOnRestrictionSemaphore = new Semaphore(0);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
ChromiumSyncAdapter.java 24 import java.util.concurrent.Semaphore;
64 Semaphore semaphore = new Semaphore(0); local
68 getStartupCallback(mApplication, account, extras, syncResult, semaphore);
69 startBrowserProcess(callback, syncResult, semaphore);
73 semaphore.acquire();
83 final SyncResult syncResult, Semaphore semaphore) {
107 semaphore.release()
    [all...]
  /cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
LauncherAppsTests.java 45 import java.util.concurrent.Semaphore;
196 private final Semaphore mSemaphore = new Semaphore(0);
222 private final Semaphore mSemaphore = new Semaphore(0);
254 private final Semaphore mSemaphore = new Semaphore(0);
  /external/jmdns/src/javax/jmdns/impl/
DNSStatefulObject.java 7 import java.util.concurrent.Semaphore;
25 * This class define a semaphore. On this multiple threads can wait the arrival of one event. Thread wait for a maximum defined by the timeout.
27 * Implementation note: this class is based on {@link java.util.concurrent.Semaphore} so that they can be released by the timeout timer.
37 private final ConcurrentMap<Thread, Semaphore> _semaphores;
41 * Semaphore name for debugging purposes.
46 _semaphores = new ConcurrentHashMap<Thread, Semaphore>(50);
57 Semaphore semaphore = _semaphores.get(thread); local
58 if (semaphore == null) {
59 semaphore = new Semaphore(1, true)
    [all...]
  /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
CopyPasteTest.java 27 import java.util.concurrent.Semaphore;
35 private Semaphore mNotified;
80 mNotified = new Semaphore(0);
  /cts/suite/cts/hostTests/uihost/control/src/com/android/cts/taskswitching/control/
TaskswitchingDeviceTest.java 19 import java.util.concurrent.Semaphore;
103 private final Semaphore mSemaphore = new Semaphore(0);
  /cts/tests/tests/content/src/android/content/cts/
ImageCaptureUriExtraToClipDataTest.java 31 import java.util.concurrent.Semaphore;
37 private final Semaphore mFileReadySemaphore = new Semaphore(0);
ReadableUriExtraToClipDataTest.java 33 import java.util.concurrent.Semaphore;
41 private final Semaphore mReadSuccessSemaphore = new Semaphore(0);
  /frameworks/base/core/java/android/provider/
SearchRecentSuggestions.java 27 import java.util.concurrent.Semaphore;
116 private static final Semaphore sWritesInProgress = new Semaphore(0);
180 // Acquire writes semaphore until there is nothing available.
  /libcore/luni/src/main/java/java/util/concurrent/
Semaphore.java 12 * A counting semaphore. Conceptually, a semaphore maintains a set of
16 * However, no actual permit objects are used; the {@code Semaphore} just
21 * a class that uses a semaphore to control access to a pool of items:
25 * private final Semaphore available = new Semaphore(MAX_AVAILABLE, true);
67 * the semaphore, guaranteeing that an item is available for use. When
69 * pool and a permit is returned to the semaphore, allowing another
72 * from being returned to the pool. The semaphore encapsulates the
77 * <p>A semaphore initialized to one, and which is used such that i
    [all...]
  /external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
MockSyncContentResolverDelegate.java 22 import java.util.concurrent.Semaphore;
43 private Semaphore mPendingObserverCount;
158 mPendingObserverCount = new Semaphore(1 - mObservers.size());
189 private void notifyObserverAsync(final Semaphore pendingObserverCount) {
  /hardware/ti/omap4-aah/libtiutils/
Android.mk 12 Semaphore.cpp \
  /external/deqp/framework/delibs/decpp/
deThreadSafeRingBuffer.hpp 60 Semaphore m_fill;
61 Semaphore m_empty;
  /external/valgrind/main/drd/tests/
tc18_semabuse.stderr.exp 2 Semaphore reinitialization: semaphore 0x........
5 semaphore 0x........ was first observed at:
9 Invalid semaphore: semaphore 0x........
12 semaphore 0x........ was first observed at:
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
CameraFunctionalTest.java 27 import java.util.concurrent.Semaphore;
72 final Semaphore sem = new Semaphore(0);
111 final Semaphore sem = new Semaphore(0);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
CameraStressTest.java 27 import java.util.concurrent.Semaphore;
72 final Semaphore sem = new Semaphore(0);
117 final Semaphore sem = new Semaphore(0);
  /packages/apps/Camera2/src/com/android/camera/util/
ConcurrentSharedRingBuffer.java 29 import java.util.concurrent.Semaphore;
128 * TODO Replace this with a priority semaphore and allow swapLeast()
138 private final Semaphore mCapacitySemaphore;
140 private final Semaphore mPinSemaphore;
158 mCapacitySemaphore = new Semaphore(capacity);
162 mPinSemaphore = new Semaphore(-1);
  /cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/
GLPrimitiveActivity.java 28 import java.util.concurrent.Semaphore;
37 private Semaphore mSemaphore = new Semaphore(0);

Completed in 476 milliseconds

12 3 4 5 6 7 8