Home
last modified time | relevance | path

Searched refs:Semaphore (Results 1 – 25 of 60) sorted by relevance

123

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java34 import java.util.concurrent.Semaphore;
44 final Semaphore lock = new Semaphore(0); in testStateCallbacks()
131 final Semaphore lock = new Semaphore(0); in testSetAndGetCallerDisplayName()
146 final Semaphore lock = new Semaphore(0); in testSetAndGetAddress()
161 final Semaphore lock = new Semaphore(0); in testSetAndGetConnectionCapabilities()
178 final Semaphore lock = new Semaphore(0); in testSetAndGetConnectionProperties()
194 final Semaphore lock = new Semaphore(0); in testSetAndGetDisconnectCause()
213 final Semaphore lock = new Semaphore(0); in testSetAndGetAudioModeIsVoip()
227 final Semaphore lock = new Semaphore(0); in testSetAndGetExtras()
254 final Semaphore lock = new Semaphore(0); in testPutExtras()
[all …]
DMockConnectionService.java36 import java.util.concurrent.Semaphore;
61 private final Semaphore[] mEventLock = initializeSemaphore(TOTAL_EVENT);
70 public Semaphore lock = new Semaphore(0);
271 private static final Semaphore[] initializeSemaphore(int total) { in initializeSemaphore()
272 Semaphore[] locks = new Semaphore[total]; in initializeSemaphore()
274 locks[i] = new Semaphore(0); in initializeSemaphore()
DMockCallScreeningService.java29 import java.util.concurrent.Semaphore;
38 public Semaphore lock = new Semaphore(0);
/cts/suite/audio_quality/lib/src/
DSemaphore.cpp20 Semaphore::Semaphore(int count) in Semaphore() function in Semaphore
27 Semaphore::~Semaphore() in ~Semaphore()
32 void Semaphore::tryWait() in tryWait()
37 bool Semaphore::wait() in wait()
46 bool Semaphore::timedWait(int timeInMSec) in timedWait()
76 void Semaphore::post() in post()
/cts/suite/audio_quality/lib/include/
DSemaphore.h28 class Semaphore {
30 explicit Semaphore(int count = 0);
32 ~Semaphore();
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTestActivity.java22 import java.util.concurrent.Semaphore;
31 private final Semaphore mActivityStartedSemaphore = new Semaphore(0);
DCrossProfileWidgetPrimaryUserTest.java33 import java.util.concurrent.Semaphore;
113 private final Semaphore mSemaphore = new Semaphore(0);
143 private final Semaphore mSemaphore = new Semaphore(0);
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DClearApplicationDataTest.java21 import java.util.concurrent.Semaphore;
30 private static final Semaphore mSemaphore = new Semaphore(0);
DApplicationHiddenTest.java31 import java.util.concurrent.Semaphore;
130 private final Semaphore mAddedSemaphore = new Semaphore(0);
131 private final Semaphore mRemovedSemaphore = new Semaphore(0);
/cts/tests/tests/security/src/android/security/cts/
DDeviceIdleControllerTest.java29 import java.util.concurrent.Semaphore;
42 final Semaphore mSemaphore = new Semaphore(0); in testAddWhiteList()
/cts/suite/audio_quality/lib/include/audio/
DAudioLocal.h89 Semaphore mClientCommandWait;
90 Semaphore mClientCompletionWait;
91 Semaphore mAudioThreadWait;
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DOwnerChangedBroadcastTest.java24 import java.util.concurrent.Semaphore;
45 final Semaphore mPreferenceChanged = new Semaphore(0); in testOwnerChangedBroadcastReceived()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWatchDog.java18 import java.util.concurrent.Semaphore;
32 private Semaphore mSemaphore;
50 mSemaphore = new Semaphore(0); in start()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSendToClientBlockingTest.java21 import java.util.concurrent.Semaphore;
25 private static final Semaphore mSync = new Semaphore(0);
DSendToClient.java18 import java.util.concurrent.Semaphore;
27 private static final Semaphore mSync = new Semaphore(0);
/cts/tests/tests/view/src/android/view/cts/
DGLProducerThread.java23 import java.util.concurrent.Semaphore;
35 private final Semaphore mSemaphore;
54 int frames, int delayMs, Semaphore semaphore) { in GLProducerThread()
64 Semaphore semaphore) { in GLProducerThread()
69 int delayMs, Semaphore semaphore) { in GLProducerThread()
DTextureViewSnapshotTestActivity.java31 import java.util.concurrent.Semaphore;
41 private final Semaphore mSemaphore = new Semaphore(0);
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLReferenceActivity.java21 import java.util.concurrent.Semaphore;
35 private Semaphore mSemaphore = new Semaphore(0);
/cts/tests/tests/media/src/android/media/cts/
DUtilsTest.java28 import java.util.concurrent.Semaphore;
46 final Semaphore semaphore = new Semaphore(0); in testListenerList()
DCompositionTextureView.java19 import java.util.concurrent.Semaphore;
35 private final Semaphore mInitWaitSemaphore = new Semaphore(0);
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraGpuCtsActivity.java25 import java.util.concurrent.Semaphore;
43 protected Semaphore mNativeRendererInitialized;
67 mNativeRendererInitialized = new Semaphore(0); in onCreate()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlPlanetsActivity.java24 import java.util.concurrent.Semaphore;
42 private final Semaphore mSem = new Semaphore(0);
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/
DTaskSwitchingDeviceTest.java32 import java.util.concurrent.Semaphore;
45 private final Semaphore mSemaphore = new Semaphore(0);
/cts/tests/tests/content/src/android/content/cts/
DImageCaptureUriExtraToClipDataTest.java31 import java.util.concurrent.Semaphore;
37 private final Semaphore mFileReadySemaphore = new Semaphore(0);
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java41 import java.util.concurrent.Semaphore;
74 private Semaphore mWidgetUpdateSemaphore = new Semaphore(0);
195 private Semaphore mSemaphore = new Semaphore(0);

123