Home
last modified time | relevance | path

Searched refs:Semaphore (Results 1 – 25 of 53) 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 …]
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/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DApplicationHiddenTest.java26 import java.util.concurrent.Semaphore;
86 private final Semaphore mAddedSemaphore = new Semaphore(0);
87 private final Semaphore mRemovedSemaphore = new Semaphore(0);
DDelegationTest.java35 import java.util.concurrent.Semaphore;
55 private Semaphore mReceivedScopeReportSemaphore;
56 private Semaphore mReceivedRunningSemaphore;
78 mReceivedScopeReportSemaphore = new Semaphore(0); in setUp()
79 mReceivedRunningSemaphore = new Semaphore(0); in setUp()
/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/suite/audio_quality/lib/include/audio/
DAudioLocal.h89 Semaphore mClientCommandWait;
90 Semaphore mClientCompletionWait;
91 Semaphore mAudioThreadWait;
/cts/tests/tests/car/src/android/car/cts/
DCarApiTestBase.java26 import java.util.concurrent.Semaphore;
61 private final Semaphore mConnectionWait = new Semaphore(0);
DCarTest.java26 import java.util.concurrent.Semaphore;
54 private final Semaphore mConnectionWait = new Semaphore(0);
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DOwnerChangedBroadcastTest.java26 import java.util.concurrent.Semaphore;
46 final Semaphore mPreferenceChanged = new Semaphore(0); in testOwnerChangedBroadcastReceived()
/cts/common/device-side/util/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/openglperf2/src/android/opengl2/cts/reference/
DGLReferenceActivity.java21 import java.util.concurrent.Semaphore;
35 private Semaphore mSemaphore = 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/tests/openglperf/src/android/openglperf/cts/
DGlPlanetsActivity.java24 import java.util.concurrent.Semaphore;
42 private final Semaphore mSem = new Semaphore(0);
/cts/tests/tests/media/src/android/media/cts/
DCompositionTextureView.java19 import java.util.concurrent.Semaphore;
35 private final Semaphore mInitWaitSemaphore = new Semaphore(0);
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java42 import java.util.concurrent.Semaphore;
227 private final Semaphore mSemaphore = new Semaphore(0);
253 private final Semaphore mSemaphore = new Semaphore(0);
285 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/IntentSender/src/com/android/cts/intent/sender/
DCopyPasteTest.java27 import java.util.concurrent.Semaphore;
35 private Semaphore mNotified;
80 mNotified = new Semaphore(0); in testIsNotified()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSystemUpdatePolicyTest.java28 import java.util.concurrent.Semaphore;
39 private final Semaphore mPolicyChangedSemaphore = 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