Home
last modified time | relevance | path

Searched refs:block (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DConditionVariableTest.java37 assertFalse(mConditionVariable.block(BLOCK_TIME)); in testConstructor()
38 assertFalse(new ConditionVariable(false).block(BLOCK_TIME)); in testConstructor()
39 assertTrue(new ConditionVariable(true).block(BLOCK_TIME)); in testConstructor()
46 assertTrue(mConditionVariable.block(BLOCK_TIME)); in testConditionVariable()
52 assertFalse(mConditionVariable.block(BLOCK_TIME)); in testConditionVariable()
70 mConditionVariable.block(); in testConditionVariable()
89 assertTrue(mConditionVariable.block(BLOCK_TIME)); in testConditionVariable()
/cts/apps/CameraITS/tests/scene5/
Dtest_lens_shading_and_color_uniformity.py185 for block in blocks_info:
186 top, bottom, left, right = block["pos"]
189 texts = ["r/g: %.2f" % block["block_r_g"],
190 "b/g: %.2f" % block["block_b_g"]]
210 for block in ls_test_failed:
211 top, bottom, left, right = block["pos"]
214 "%.3f" % (top, bottom, left, right, block["val"],
215 block["thres_l"], ls_thres_h)
/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java136 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalService()
161 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn()
194 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn()
210 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalServiceWithRunningOwn()
254 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalAboveClient()
267 assertTrue(mCondition.block(CONDITION_TIMEOUT)); in testBindExternalAboveClient()
322 if (!mCondition.block(CONDITION_TIMEOUT)) in identifyService()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2SurfaceViewCtsActivity.java73 changeSucceeded = surfaceChangedDone.block(waitTimeMs); in waitForSurfaceSizeChanged()
113 stateReached = surfaceStateDone.block(waitTimeMs); in waitForSurfaceState()
DAllocationTest.java815 public void forEachResultOnce(CaptureRequest request, ResultBlock block) in forEachResultOnce() argument
817 forEachResult(request, /*count*/1, /*repeating*/false, block); in forEachResultOnce()
820 public void forEachResultRepeating(CaptureRequest request, int count, ResultBlock block) in forEachResultRepeating() argument
822 forEachResult(request, count, /*repeating*/true, block); in forEachResultRepeating()
826 ResultBlock block) throws CameraAccessException { in forEachResult() argument
851 block.run(result); in forEachResult()
DDngCreatorTest.java759 waitForAeCondition.block(AE_TIMEOUT_MS)); in captureRawShots()
DImageReaderTest.java950 if (imageAvailable.block(timeout)) { in waitForAnyImageAvailable()
DPerformanceTest.java880 if (imageAvailable.block(timeout)) { in waitForImageAvailable()
DStillCaptureTest.java1217 if (focusDone.block(timeoutMs)) { in waitForAutoFocusDone()
/cts/tests/tests/security/src/android/security/cts/
DMediaServerCrashTest.java103 if (!mOnPrepareCalled.block(5000)) { in testIfMediaServerDied()
108 if (!mOnCompletionCalled.block(5000)) { in testIfMediaServerDied()
148 if (!mOnCompletionCalled.block(5000)) { in checkIfMediaServerDiedForDrm()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraContentJobService.java88 final boolean executed = mCondition.block(DEFAULT_TIMEOUT_MILLIS); in awaitExecution()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DRemoteSocketFactoryClient.java66 cv.block(TIMEOUT_MS); in bind()
/cts/tests/tests/print/src/android/print/cts/
DPrintJobTest.java302 return job.block(null);
475 boolean success = printJob.block("test reason");
481 success = printJob.block("another reason");
656 printJob.block("testStr4");
/cts/hostsidetests/theme/
Drun_theme_capture_device.py53 config = q.get(block=True, timeout=2)
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java147 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { in initializeMessageLooper()
227 if (!mSurfaceTextureDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { in waitForSurfaceTextureDone()
239 if (!mPreviewDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { in waitForPreviewDone()
657 if (!mDrawDone.block(WAIT_FOR_COMMAND_TO_COMPLETE) ) { in waitForDrawDone()
DCameraTest.java169 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { in initializeMessageLooper()
327 if (!mPreviewDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { in waitForPreviewDone()
335 boolean result = mFocusDone.block(WAIT_FOR_FOCUS_TO_COMPLETE); in waitForFocusDone()
345 if (!mSnapshotDone.block(WAIT_FOR_SNAPSHOT_TO_COMPLETE)) { in waitForSnapshotDone()
1227 assertTrue(zoomListener.mZoomDone.block(1000)); in recordVideo()
1427 assertFalse(zoomListener.mZoomDone.block(500));
1434 assertFalse(zoomListener.mZoomDone.block(500));
1439 assertEquals(true, zoomListener.mZoomDone.block(5000));
1458 assertTrue(zoomListener.mZoomDone.block(5000));
1488 assertTrue(zoomListener.mZoomDone.block(5000));
[all …]
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java242 assertTrue(msg, var.block(TIMEOUT_MS)); in expectNetworkBroadcast()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java326 assertTrue(cv.block(2000L)); in testBaseInstalled()
351 assertTrue(cv.block(2000L)); in testFeatureInstalled()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java320 if (!mPreviewDone.block(timeOutMs)) { in waitForPreviewDone()
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java499 if (!mMaxDurationCond.block(durationMs + toleranceMs)) { in testSetMaxDuration()
546 if (!mMaxFileSizeCond.block(MAX_FILE_SIZE_TIMEOUT_MS)) { in testSetMaxFileSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java993 if (!mInterlock3A.block(TIMEOUT_3A * 1000) ||
/cts/tools/dex-tools/dex/
Dclasses0.out.dex99948 private byte[] block
100045 private byte[] block
100112 private byte[] block
Dclasses.out.dex55300 public void block()
55302 public boolean block(