OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:cameraIdList
(Results
1 - 3
of
3
) sorted by null
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CameraUtils.java
40
String[]
cameraIdList
= cameraManager.getCameraIdList();
41
if (
cameraIdList
== null ||
cameraIdList
.length == 0) {
44
String cameraId =
cameraIdList
[0];
/cts/tests/camera/libctscamera2jni/
native-camera-jni.cpp
925
ACameraIdList *
cameraIdList
= nullptr;
926
camera_status_t ret = ACameraManager_getCameraIdList(mgr, &
cameraIdList
);
927
if (ret != ACAMERA_OK ||
cameraIdList
== nullptr) {
928
LOG_ERROR(errorString, "Get camera id list failed: ret %d,
cameraIdList
%p",
929
ret,
cameraIdList
);
932
ALOGI("Number of cameras: %d",
cameraIdList
->numCameras);
933
for (int i = 0; i <
cameraIdList
->numCameras; i++) {
934
ALOGI("Camera ID: %s",
cameraIdList
->cameraIds[i]);
936
ACameraManager_deleteCameraIdList(
cameraIdList
);
937
cameraIdList
= nullptr
[
all
...]
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
CameraDeviceInfo.java
422
String[]
cameraIdList
= cameraManager.getCameraIdList();
423
store.addResult("num_of_camera",
cameraIdList
.length);
424
if (
cameraIdList
.length > 0) {
428
for (int i = 0; i <
cameraIdList
.length; i++) {
429
charsStorer.storeCameraInfo(
cameraIdList
[i]);
Completed in 147 milliseconds