Home
last modified time | relevance | path

Searched refs:blocking (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/permission/src/android/permission/cts/
DCamera2PermissionTest.java19 import static com.android.ex.camera2.blocking.BlockingStateCallback.*;
32 import com.android.ex.camera2.blocking.BlockingCameraManager;
33 import com.android.ex.camera2.blocking.BlockingStateCallback;
/cts/tests/tests/content/src/android/content/pm/cts/
DIncrementalDeviceConnection.java86 final boolean blocking = buffer.position() == 0; in read()
89 int res = Os.poll(mPollfds, blocking ? POLL_TIMEOUT_MS : 0); in read()
94 if (blocking) { in read()
108 if (!blocking) { in read()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraSessionUtils.java30 import com.android.ex.camera2.blocking.BlockingCaptureCallback;
31 import com.android.ex.camera2.blocking.BlockingSessionCallback;
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java21 import static com.android.ex.camera2.blocking.BlockingSessionCallback.*;
22 import static com.android.ex.camera2.blocking.BlockingStateCallback.*;
55 import com.android.ex.camera2.blocking.BlockingCameraManager;
56 import com.android.ex.camera2.blocking.BlockingSessionCallback;
57 import com.android.ex.camera2.blocking.BlockingStateCallback;
DCamera2ConcurrentAndroidTestCase.java20 import static com.android.ex.camera2.blocking.BlockingStateCallback.*;
46 import com.android.ex.camera2.blocking.BlockingSessionCallback;
47 import com.android.ex.camera2.blocking.BlockingStateCallback;
DCamera2AndroidTestCase.java20 import static com.android.ex.camera2.blocking.BlockingStateCallback.*;
52 import com.android.ex.camera2.blocking.BlockingSessionCallback;
53 import com.android.ex.camera2.blocking.BlockingStateCallback;
DCamera2AndroidTestRule.java20 import static com.android.ex.camera2.blocking.BlockingStateCallback.*;
50 import com.android.ex.camera2.blocking.BlockingSessionCallback;
51 import com.android.ex.camera2.blocking.BlockingStateCallback;
DCamera2SurfaceViewTestCase.java21 import static com.android.ex.camera2.blocking.BlockingStateCallback.STATE_CLOSED;
57 import com.android.ex.camera2.blocking.BlockingSessionCallback;
58 import com.android.ex.camera2.blocking.BlockingStateCallback;
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java1008 boolean useByteBuffer, boolean blocking, in doTest() argument
1013 useByteBuffer, blocking, auditRecording, isChannelIndex, in doTest()
1018 boolean useByteBuffer, boolean blocking, in doTest() argument
1138 int ret = blocking ? record.read(byteBuffer, amount) : in doTest()
1143 if (blocking) { in doTest()
1172 int ret = blocking ? record.read(byteData, 0, amount) : in doTest()
1174 if (blocking) { in doTest()
1199 int ret = blocking ? record.read(shortData, 0, amount) : in doTest()
1201 if (blocking) { in doTest()
1225 int ret = record.read(floatData, 0, amount, blocking ? in doTest()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java39 import com.android.ex.camera2.blocking.BlockingCameraManager;
40 import com.android.ex.camera2.blocking.BlockingCameraManager.BlockingOpenException;
41 import com.android.ex.camera2.blocking.BlockingStateCallback;
DItsService.java71 import com.android.ex.camera2.blocking.BlockingCameraManager;
72 import com.android.ex.camera2.blocking.BlockingCameraManager.BlockingOpenException;
73 import com.android.ex.camera2.blocking.BlockingStateCallback;
74 import com.android.ex.camera2.blocking.BlockingSessionCallback;
/cts/tests/camera/src/android/hardware/camera2/cts/
DAllocationTest.java23 import static com.android.ex.camera2.blocking.BlockingStateCallback.*;
62 import com.android.ex.camera2.blocking.BlockingCameraManager.BlockingOpenException;
63 import com.android.ex.camera2.blocking.BlockingStateCallback;
64 import com.android.ex.camera2.blocking.BlockingSessionCallback;
DFastBasicsTest.java21 import com.android.ex.camera2.blocking.BlockingSessionCallback;
DConcurrentCameraTest.java41 import com.android.ex.camera2.blocking.BlockingSessionCallback;
DCameraExtensionSessionTest.java33 import com.android.ex.camera2.blocking.BlockingSessionCallback;
34 import com.android.ex.camera2.blocking.BlockingExtensionSessionCallback;
35 import com.android.ex.camera2.blocking.BlockingStateCallback;
DHeifWriterTest.java50 import com.android.ex.camera2.blocking.BlockingSessionCallback;
DCameraDeviceTest.java20 import static com.android.ex.camera2.blocking.BlockingCameraManager.*;
21 import static com.android.ex.camera2.blocking.BlockingStateCallback.*;
22 import static com.android.ex.camera2.blocking.BlockingSessionCallback.*;
54 import com.android.ex.camera2.blocking.BlockingSessionCallback;
55 import com.android.ex.camera2.blocking.BlockingStateCallback;
DMultiResolutionReprocessCaptureTest.java49 import com.android.ex.camera2.blocking.BlockingSessionCallback;
DSurfaceViewPreviewTest.java24 import com.android.ex.camera2.blocking.BlockingSessionCallback;
DRecordingTest.java15 import static com.android.ex.camera2.blocking.BlockingSessionCallback.*;
55 import com.android.ex.camera2.blocking.BlockingSessionCallback;
DLogicalCameraDeviceTest.java61 import com.android.ex.camera2.blocking.BlockingSessionCallback;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java21 import com.android.ex.camera2.blocking.BlockingCameraManager;
22 import com.android.ex.camera2.blocking.BlockingCameraManager.BlockingOpenException;
23 import com.android.ex.camera2.blocking.BlockingStateCallback;
24 import com.android.ex.camera2.blocking.BlockingSessionCallback;
/cts/tests/camera/api31test/src/android/camera/cts/api31test/
DSPerfClassTest.java47 import com.android.ex.camera2.blocking.BlockingSessionCallback;
/cts/tests/tests/media/libaudiojni/
Daudio-record-native.cpp316 ssize_t read(void *buffer, size_t size, bool blocking = false) { in read() argument
345 if (!blocking || size == 0 || mReadBlob.get() != NULL) { in read()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java68 import com.android.ex.camera2.blocking.BlockingCameraManager;
69 import com.android.ex.camera2.blocking.BlockingCameraManager.BlockingOpenException;
70 import com.android.ex.camera2.blocking.BlockingSessionCallback;
71 import com.android.ex.camera2.blocking.BlockingStateCallback;

12