Home
last modified time | relevance | path

Searched refs:ConditionVariable (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DRemoteCallTest.java29 import android.os.ConditionVariable;
124 ConditionVariable scheduled = new ConditionVariable(false); in testCall_whenTimesOutBeforeCallbackIsCalled_returnsTimeOut()
148 ConditionVariable scheduled = new ConditionVariable(false); in testCall_whenTimesOutBeforeCancelIsCalled_returnsTimeOut()
161 ConditionVariable scheduled = new ConditionVariable(false); in testCall_whenCallbackIsCalledBeforeTimeOut_returnsResult()
210 ConditionVariable scheduled = new ConditionVariable(false); in testCall_whenCancelIsCalledBeforeTimeOutButAfterCall_returnsCancel()
232 ConditionVariable scheduled = new ConditionVariable(false); in testExecute_whenTimesOutBeforeCallback_returnsTimeOut()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestHandlerThread.java19 import android.os.ConditionVariable;
35 private final ConditionVariable mStarted = new ConditionVariable(false);
36 private final ConditionVariable mIdle = new ConditionVariable(true);
DGLThreadManager.java21 import android.os.ConditionVariable;
61 public final ConditionVariable condition;
65 public ConfigureHolder(ConditionVariable condition, Collection<Pair<Surface, in ConfigureHolder()
216 final ConditionVariable condition = new ConditionVariable(/*closed*/false); in setConfigurationAndWait()
DRequestThreadManager.java27 import android.os.ConditionVariable;
118 public final ConditionVariable condition;
121 public ConfigureHolder(ConditionVariable condition, Collection<Pair<Surface, in ConfigureHolder()
210 private final ConditionVariable mReceivedJpeg = new ConditionVariable(false);
1107 final ConditionVariable condition = new ConditionVariable(/*closed*/false); in configure()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java27 import android.os.ConditionVariable;
63 private final ConditionVariable mPreviewDone = new ConditionVariable();
64 private final ConditionVariable mSnapshotDone = new ConditionVariable();
82 final ConditionVariable startDone = new ConditionVariable(); in initializeMessageLooper()
/frameworks/base/core/java/android/os/
DConditionVariable.java32 public class ConditionVariable class
39 public ConditionVariable() in ConditionVariable() method in ConditionVariable
50 public ConditionVariable(boolean state) in ConditionVariable() method in ConditionVariable
/frameworks/base/core/java/android/speech/tts/
DSilencePlaybackQueueItem.java18 import android.os.ConditionVariable;
22 private final ConditionVariable mCondVar = new ConditionVariable();
DAudioPlaybackQueueItem.java22 import android.os.ConditionVariable;
34 private final ConditionVariable mDone;
47 mDone = new ConditionVariable(); in AudioPlaybackQueueItem()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DHandlerUtils.kt19 import android.os.ConditionVariable
32 val cv = ConditionVariable(false) in HandlerThread()
43 val cv = ConditionVariable() in waitForIdleSerialExecutor()
/frameworks/base/core/java/com/android/server/
DResettableTimeout.java20 import android.os.ConditionVariable;
124 private ConditionVariable mLock = new ConditionVariable();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCameraTestThread.java19 import android.os.ConditionVariable;
41 final ConditionVariable startDone = new ConditionVariable(); in start()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java21 import android.os.ConditionVariable;
34 private final ConditionVariable surfaceChangedDone = new ConditionVariable();
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSyncRunner.java20 import android.os.ConditionVariable;
37 private ConditionVariable mWakeCondition = new ConditionVariable();
179 final ConditionVariable conditionToWake = mWakeCondition; in scheduleFilterWake()
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java46 import android.os.ConditionVariable;
64 private final ConditionVariable mDisconnected = new ConditionVariable();
65 private final ConditionVariable mPreventReconnectReceived = new ConditionVariable();
/frameworks/base/services/net/java/android/net/ip/
DIpClientUtil.java24 import android.os.ConditionVariable;
46 private final ConditionVariable mCV = new ConditionVariable();
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java21 import android.os.ConditionVariable;
179 private final ConditionVariable mDeviceReady = new ConditionVariable();
DBlockingSessionCallback.java19 import android.os.ConditionVariable;
262 ConditionVariable mCondVar = new ConditionVariable(/*opened*/false);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureSource.java30 import android.os.ConditionVariable;
107 private ConditionVariable mNewFrameAvailable;
135 mNewFrameAvailable = new ConditionVariable(); in SurfaceTextureSource()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java31 import android.os.ConditionVariable;
79 private final ConditionVariable mPreviewDone = new ConditionVariable();
141 final ConditionVariable startDone = new ConditionVariable(); in initializeMessageLooper()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java42 import android.os.ConditionVariable;
309 private final ConditionVariable mIpClientStartCv = new ConditionVariable(false);
310 private final ConditionVariable mIpClientShutdownCv = new ConditionVariable(false);
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraConstrainedHighSpeedCaptureSessionImpl.java28 import android.os.ConditionVariable;
55 private final ConditionVariable mInitialized = new ConditionVariable();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java17 import android.os.ConditionVariable;
123 public ConditionVariable mStopCondition = new ConditionVariable(true);
224 public ConditionVariable getStopCondition() { in getStopCondition()
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java29 import android.os.ConditionVariable;
388 private final ConditionVariable mWaiting;
400 mWaiting = new ConditionVariable(); in RequestDispatcher()
428 private final ConditionVariable mWaitForCallback = new ConditionVariable();
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java44 import android.os.ConditionVariable;
518 final ConditionVariable mWaiting = new ConditionVariable(); in dump()
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt39 import android.os.ConditionVariable
115 private val bindingCondition = ConditionVariable(false)

12