HomeSort by relevance Sort by last modified time
    Searched refs:Semaphore (Results 1 - 25 of 64) sorted by null

1 2 3

  /hardware/ti/omap4xxx/libtiutils/
Semaphore.cpp 19 #include "Semaphore.h"
27 @brief Constructor for the semaphore class
32 Semaphore::Semaphore()
34 ///Initialize the semaphore to NULL
39 @brief Destructor of the semaphore class
45 Semaphore::~Semaphore()
51 @brief: Releases semaphore
55 @return One of the android error codes based on semaphore de-initialization
    [all...]
Semaphore.h 20 #include <semaphore.h>
29 class Semaphore
33 Semaphore();
34 ~Semaphore();
36 //Release semaphore
39 ///Create the semaphore with initial count value
48 ///Current semaphore count
Android.mk 11 Semaphore.cpp \
  /frameworks/base/core/java/android/provider/
SearchRecentSuggestions.java 27 import java.util.concurrent.Semaphore;
109 private static final Semaphore sWritesInProgress = new Semaphore(0);
173 // Acquire writes semaphore until there is nothing available.
  /libcore/luni/src/main/java/java/util/concurrent/
Semaphore.java 13 * A counting semaphore. Conceptually, a semaphore maintains a set of
17 * However, no actual permit objects are used; the {@code Semaphore} just
22 * a class that uses a semaphore to control access to a pool of items:
26 * private final Semaphore available = new Semaphore(MAX_AVAILABLE, true);
70 * the semaphore, guaranteeing that an item is available for use. When
72 * pool and a permit is returned to the semaphore, allowing another
75 * from being returned to the pool. The semaphore encapsulates the
80 * <p>A semaphore initialized to one, and which is used such that i
    [all...]
  /external/v8/src/
debug-agent.h 77 Semaphore* terminate_now_; // Semaphore to signal termination.
78 Semaphore* listening_;
runtime-profiler.h 41 class Semaphore;
90 // it's waiting on a semaphore will cause a deadlock, so we have to
147 // -1 => the profiler thread is waiting on the semaphore
150 static Semaphore* semaphore_;
186 // the semaphore.
d8-debug.h 86 // the list is guarded by a mutex and a semaphore signals new items in the
89 i::Semaphore* event_available_;
platform.h 128 class Semaphore;
246 // Factory method for creating platform dependent Semaphore.
247 // Please use delete to reclaim the storage for the returned Semaphore.
248 static Semaphore* CreateSemaphore(int count);
502 // Semaphore
504 // A semaphore object is a synchronization object that maintains a count. The
505 // count is decremented each time a thread completes a wait for the semaphore
506 // object and incremented each time a thread signals the semaphore. When the
507 // count reaches zero, threads waiting for the semaphore blocks until the
510 class Semaphore {
    [all...]
  /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/videoeditor/
VideoEditorPreviewTest.java 22 import java.util.concurrent.Semaphore;
97 /* Minimum waiting time for Semaphore to wait for release */
149 final Semaphore blockTillPreviewCompletes = new Semaphore(1);
278 final Semaphore blockTillPreviewCompletes = new Semaphore(1);
336 final Semaphore blockTillPreviewCompletes = new Semaphore(1);
403 final Semaphore blockTillPreviewCompletes = new Semaphore(1)
    [all...]
  /external/v8/test/cctest/
test-threads.cc 146 i::Semaphore* semaphore)
149 semaphore_(semaphore) {
168 i::Semaphore* semaphore_;
175 i::Semaphore* semaphore = i::OS::CreateSemaphore(0); local
179 new ThreadIdValidationThread(prev, &refs, i, semaphore);
186 semaphore->Wait();
test-lock.cc 45 Semaphore* sem = OS::CreateSemaphore(0);
47 // Semaphore not signalled - timeout.
55 // Semaphore signalled - no timeout.
cctest.h 116 v8::internal::Semaphore* gate_;
120 static v8::internal::Semaphore* all_tests_done_;
test-circular-queue.cc 91 i::Semaphore* finished)
112 i::Semaphore* finished_;
128 i::Semaphore* semaphore = i::OS::CreateSemaphore(0); local
137 ProducerThread producer1(isolate, &scq, kRecordsPerChunk, 1, semaphore);
138 ProducerThread producer2(isolate, &scq, kRecordsPerChunk, 10, semaphore);
139 ProducerThread producer3(isolate, &scq, kRecordsPerChunk, 20, semaphore);
143 semaphore->Wait();
155 semaphore->Wait();
167 semaphore->Wait()
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
SocketTest.java 30 import java.util.concurrent.Semaphore;
117 final Semaphore semThreadEnd = new Semaphore(0);
  /frameworks/base/graphics/java/android/renderscript/
RSSurfaceView.java 21 import java.util.concurrent.Semaphore;
RSTextureView.java 21 import java.util.concurrent.Semaphore;
  /hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
OMXCameraAdapter.h 437 OMX_IN Semaphore &semaphore);
872 Semaphore mDoAFSem;
873 Semaphore mInitSem;
874 Semaphore mFlushSem;
875 Semaphore mUsePreviewDataSem;
876 Semaphore mUsePreviewSem;
877 Semaphore mUseCaptureSem;
878 Semaphore mStartPreviewSem;
879 Semaphore mStopPreviewSem
    [all...]
  /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SceneGraphView.java 21 import java.util.concurrent.Semaphore;
  /frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
RSTestView.java 21 import java.util.concurrent.Semaphore;
  /cts/tools/host/src/com/android/cts/
DeviceManager.java 27 import java.util.concurrent.Semaphore;
45 private Semaphore mSemaphore = new Semaphore(0);
241 // increment the counter semaphore to unblock threads waiting for devices
330 // Reset the device counter semaphore. We will wait below until at least one device
367 deviceFound = false; // go wait for next semaphore permit
  /external/nist-sip/java/gov/nist/javax/sip/stack/
IOHandler.java 38 import java.util.concurrent.Semaphore;
62 private Semaphore ioSemaphore = new Semaphore(1);
183 "Could not acquire IO Semaphore after 10 seconds -- giving up ");
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
MediaRecorderStressTest.java 26 import java.util.concurrent.Semaphore;
73 final Semaphore sem = new Semaphore(0);
112 final Semaphore sem = new Semaphore(0);
  /libcore/luni/src/test/java/libcore/java/lang/
OldThreadTest.java 22 import java.util.concurrent.Semaphore;
309 final Semaphore sem = new Semaphore(0);

Completed in 1262 milliseconds

1 2 3