Home
last modified time | relevance | path

Searched refs:cam (Results 1 – 25 of 93) sorted by relevance

1234

/cts/apps/CameraITS/tests/scene0/
Dtest_sensor_events.py26 with its.device.ItsSession() as cam:
27 props = cam.get_camera_properties()
28 props = cam.override_with_hidden_physical_camera_props(props)
32 sensors = cam.get_sensors()
33 cam.start_sensor_events()
35 events = cam.get_sensor_events()
Dtest_unified_timestamps.py26 with its.device.ItsSession() as cam:
27 props = cam.get_camera_properties()
38 cap = cam.do_capture(req, fmt)
43 sensors = cam.get_sensors()
44 cam.start_sensor_events()
46 events = cam.get_sensor_events()
56 cap = cam.do_capture(req, fmt)
Dtest_read_write.py30 with its.device.ItsSession() as cam:
31 props = cam.get_camera_properties()
32 props = cam.override_with_hidden_physical_camera_props(props)
63 if cam._hidden_physical_id:
64 out_surface['physicalCamera'] = cam._hidden_physical_id
74 caps = cam.do_capture(reqs, out_surface)
Dtest_burst_capture.py32 with its.device.ItsSession() as cam:
33 props = cam.get_camera_properties()
34 props = cam.override_with_hidden_physical_camera_props(props)
37 caps = cam.do_capture([req]*NUM_TEST_FRAMES)
Dtest_gyro_bias.py36 with its.device.ItsSession() as cam:
37 props = cam.get_camera_properties()
40 cam.get_sensors().get("gyro"))
43 cam.start_sensor_events()
45 gyro_events = cam.get_sensor_events()['gyro']
/cts/apps/CameraITS/tests/scene1/
Dtest_ae_precapture_trigger.py36 with its.device.ItsSession() as cam:
37 props = cam.get_camera_properties()
47 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"]
55 caps = cam.do_capture(manual_reqs, fmt)
62 cap = cam.do_capture(auto_req, fmt)
69 cap = cam.do_capture(auto_req, fmt)
77 caps = cam.do_capture([auto_req] * AE_FRAMES_PER_ITERATION, fmt)
Dtest_capture_result.py34 with its.device.ItsSession() as cam:
35 props = cam.get_camera_properties()
76 lsc_map_auto = test_auto(cam, props, sync_latency)
78 test_manual(cam, lsc_map_auto, props, sync_latency)
80 test_auto(cam, props, sync_latency)
116 def test_auto(cam, props, sync_latency): argument
121 cam.do_3a(rect, rect, rect, do_af=False, mono_camera=mono_camera)
123 cap = its.device.do_capture_with_latency(cam, auto_req, sync_latency)
173 def test_manual(cam, lsc_map_auto, props, sync_latency): argument
174 cap = its.device.do_capture_with_latency(cam, manual_req, sync_latency)
Dtest_raw_exposure.py41 with its.device.ItsSession() as cam:
43 props = cam.get_camera_properties()
44 props = cam.override_with_hidden_physical_camera_props(props)
93 caps += cam.do_capture(reqs[i*slice_len:(i+1)*slice_len], cam.CAP_RAW)
95 caps += cam.do_capture(reqs[i*slice_len:(i+1)*slice_len], raw_stat_fmt)
99 caps += cam.do_capture(reqs[-last_n:], cam.CAP_RAW)
101 caps += cam.do_capture(reqs[-last_n:], raw_stat_fmt)
Dtest_raw_sensitivity.py34 with its.device.ItsSession() as cam:
36 props = cam.get_camera_properties()
37 props = cam.override_with_hidden_physical_camera_props(props)
50 s_ae, e_ae, _, _, f_dist = cam.do_3a(get_results=True)
63 cap = cam.do_capture(req, cam.CAP_RAW)
77 cap = cam.do_capture(req,
Dtest_crop_region_raw.py32 with its.device.ItsSession() as cam:
33 props = cam.get_camera_properties()
68 e, s = its.target.get_target_exposure_combos(cam)["minSensitivity"]
70 cap1_raw, cap1_yuv = cam.do_capture(req, cam.CAP_RAW_YUV)
74 cap2_raw, cap2_yuv = cam.do_capture(req, cam.CAP_RAW_YUV)
Dtest_jpeg.py32 with its.device.ItsSession() as cam:
33 props = cam.get_camera_properties()
37 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"]
44 cam, req, sync_latency, out_surface)
54 cam, req, sync_latency, out_surface)
Dtest_auto_vs_manual.py36 with its.device.ItsSession() as cam:
37 props = cam.get_camera_properties()
50 sens, exp, gains, xform, focus = cam.do_3a(get_results=True,
60 cap_auto = cam.do_capture(req, fmt)
73 cap_man1 = cam.do_capture(req, fmt)
87 cap_man2 = cam.do_capture(req, fmt)
Dtest_raw_burst_sensitivity.py36 with its.device.ItsSession() as cam:
38 props = cam.get_camera_properties()
51 s_ae, e_ae, _, _, f_dist = cam.do_3a(get_results=True)
63 caps = cam.do_capture(reqs, cam.CAP_RAW)
71 caps = cam.do_capture(reqs,
Dtest_yuv_plus_dng.py29 with its.device.ItsSession() as cam:
30 props = cam.get_camera_properties()
35 cam.do_3a(mono_camera=mono_camera)
43 cap_dng, cap_yuv = cam.do_capture(req, out_surfaces)
Dtest_param_noise_reduction.py51 with its.device.ItsSession() as cam:
52 props = cam.get_camera_properties()
58 e, s = its.target.get_target_exposure_combos(cam)["minSensitivity"]
61 cap = cam.do_capture(req)
70 e, s = its.target.get_target_exposure_combos(cam)["maxSensitivity"]
85 cap = cam.do_capture(req)
Dtest_tonemap_sequence.py34 with its.device.ItsSession() as cam:
35 props = cam.get_camera_properties()
49 sens, exp_time, _, _, f_dist = cam.do_3a(do_af=True, get_results=True)
57 cap = cam.do_capture(req, fmt)
66 cap = cam.do_capture(req, fmt)
/cts/tests/app/src/android/app/cts/
DInstrumentation_ActivityMonitorTest.java146 final CustomActivityMonitor cam = new CustomActivityMonitor( in testActivityMonitor_onStartActivityBlocks() local
148 instrumentation.addMonitor(cam); in testActivityMonitor_onStartActivityBlocks()
171 assertEquals("There should be 1 monitor hit", 1, cam.getHits()); in testActivityMonitor_onStartActivityBlocks()
174 instrumentation.removeMonitor(cam); in testActivityMonitor_onStartActivityBlocks()
195 final CustomActivityMonitor cam = new CustomActivityMonitor( in testActivityMonitor_onStartActivityAndIntentFilter() local
199cam.setResultToReturn(new ActivityResult(1111, new Intent("matched_using_onStartActivity"))); in testActivityMonitor_onStartActivityAndIntentFilter()
200 instrumentation.addMonitor(cam); in testActivityMonitor_onStartActivityAndIntentFilter()
223 assertEquals("There should be 1 monitor hit", 1, cam.getHits()); in testActivityMonitor_onStartActivityAndIntentFilter()
226 instrumentation.removeMonitor(cam); in testActivityMonitor_onStartActivityAndIntentFilter()
247 final CustomActivityMonitor cam = new CustomActivityMonitor( in testActivityMonitor_onStartActivityAndActivityClass() local
[all …]
/cts/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py31 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface, chart): argument
62 cap = cam.do_capture(req, out_surface, repeat_request=req)
86 with its.device.ItsSession() as cam:
87 props = cam.get_camera_properties()
96 with its.device.ItsSession() as cam:
103 s, e, _, _, fd = cam.do_3a(get_results=True, mono_camera=mono_camera)
114 ret = test_edge_mode(cam, edge_mode, s, e, fd, out_surface, chart)
Dtest_reprocess_edge_enhancement.py51 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface, chart, argument
87 caps = cam.do_capture([req]*NUM_SAMPLES, [out_surface], reprocess_format)
116 with its.device.ItsSession() as cam:
117 props = cam.get_camera_properties()
128 with its.device.ItsSession() as cam:
143 s, e, _, _, fd = cam.do_3a(get_results=True, mono_camera=mono_camera)
158 ret = test_edge_mode(cam, edge_mode, s, e, fd, out_surface, chart)
184 ret = test_edge_mode(cam, edge_mode, s, e, fd, out_surface,
Dtest_flip_mirror.py34 def test_flip_mirror(cam, props, fmt, chart): argument
57 s, e, _, _, fd = cam.do_3a(get_results=True, mono_camera=mono_camera)
59 cap = cam.do_capture(req, fmt)
119 with its.device.ItsSession() as cam:
120 props = cam.get_camera_properties()
125 with its.device.ItsSession() as cam:
129 test_flip_mirror(cam, props, fmt, chart)
Dtest_lens_movement_reporting.py33 def test_lens_movement_reporting(cam, props, fmt, gain, exp, af_fd, chart): argument
64 caps = cam.do_capture(reqs, fmt)
99 with its.device.ItsSession() as cam:
100 props = cam.get_camera_properties()
107 with its.device.ItsSession() as cam:
113 s, e, _, _, fd = cam.do_3a(get_results=True, mono_camera=mono_camera)
116 d = test_lens_movement_reporting(cam, props, fmt, s, e, fd, chart)
Dtest_lens_position.py34 def test_lens_position(cam, props, fmt, sensitivity, exp, chart): argument
69 cap = its.image.stationary_lens_cap(cam, req, fmt)
87 caps = cam.do_capture(reqs, fmt)
116 with its.device.ItsSession() as cam:
117 props = cam.get_camera_properties()
124 with its.device.ItsSession() as cam:
129 s, e, _, _, _ = cam.do_3a(get_results=True, mono_camera=mono_camera)
132 d_stat, d_move = test_lens_position(cam, props, fmt, s, e, chart)
/cts/apps/CameraITS/tests/
Dtutorial.py59 with its.device.ItsSession() as cam:
63 props = cam.get_camera_properties()
69 cap = cam.do_capture(req)
100 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
120 cap = cam.do_capture(req)
178 cap = cam.do_capture(req, cam.CAP_JPEG)
/cts/apps/CameraITS/tests/inprog/
Dtest_crop_region.py31 with its.device.ItsSession() as cam:
32 props = cam.get_camera_properties()
55 cam.do_3a()
56 caps = cam.do_capture(reqs)
/cts/apps/CameraITS/tests/scene2/
Dtest_num_faces.py33 with its.device.ItsSession() as cam:
34 props = cam.get_camera_properties()
35 props = cam.override_with_hidden_physical_camera_props(props)
43 _, _, _, _, _ = cam.do_3a(get_results=True,
51 caps = cam.do_capture([req]*NUM_TEST_FRAMES, fmt)

1234