Home
last modified time | relevance | path

Searched refs:Semaphore (Results 1 – 25 of 58) 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;
60 private final Semaphore[] mEventLock = initializeSemaphore(TOTAL_EVENT);
69 public Semaphore lock = new Semaphore(0);
267 private static final Semaphore[] initializeSemaphore(int total) { in initializeSemaphore()
268 Semaphore[] locks = new Semaphore[total]; in initializeSemaphore()
270 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/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);
DClearApplicationDataTest.java21 import java.util.concurrent.Semaphore;
30 private static final Semaphore mSemaphore = new Semaphore(0);
DDelegationTest.java41 import java.util.concurrent.Semaphore;
63 private Semaphore mReceivedScopeReportSemaphore;
64 private Semaphore mReceivedRunningSemaphore;
86 mReceivedScopeReportSemaphore = new Semaphore(0); in setUp()
87 mReceivedRunningSemaphore = new Semaphore(0); in setUp()
/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/
DCrossProfileWidgetPrimaryUserTest.java33 import java.util.concurrent.Semaphore;
113 private final Semaphore mSemaphore = new Semaphore(0);
143 private final Semaphore mSemaphore = new Semaphore(0);
DTestActivity.java22 import java.util.concurrent.Semaphore;
31 private final Semaphore mActivityStartedSemaphore = 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/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.java26 import java.util.concurrent.Semaphore;
46 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/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/car/src/android/car/cts/
DCarApiTestBase.java35 import java.util.concurrent.Semaphore;
72 private final Semaphore mConnectionWait = new Semaphore(0);
DCarTest.java40 import java.util.concurrent.Semaphore;
76 private final Semaphore mConnectionWait = 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/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);
/cts/tests/tests/media/src/android/media/cts/
DCompositionTextureView.java19 import java.util.concurrent.Semaphore;
35 private final Semaphore mInitWaitSemaphore = new Semaphore(0);

123