Home
last modified time | relevance | path

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

1234

/cts/apps/CameraITS/tests/scene0/
Dtest_unified_timestamps.py24 with its.device.ItsSession() as cam:
25 props = cam.get_camera_properties()
35 cap = cam.do_capture(req, fmt)
40 sensors = cam.get_sensors()
41 cam.start_sensor_events()
43 events = cam.get_sensor_events()
53 cap = cam.do_capture(req, fmt)
Dtest_sensor_events.py26 with its.device.ItsSession() as cam:
27 props = cam.get_camera_properties()
31 sensors = cam.get_sensors()
32 cam.start_sensor_events()
34 events = cam.get_sensor_events()
Dtest_capture_result_dump.py26 with its.device.ItsSession() as cam:
29 props = cam.get_camera_properties()
33 cap = cam.do_capture(req, fmt)
Dtest_burst_capture.py28 with its.device.ItsSession() as cam:
29 props = cam.get_camera_properties()
31 caps = cam.do_capture([req]*NUM_TEST_FRAMES)
/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_yuv_plus_dng.py26 with its.device.ItsSession() as cam:
27 props = cam.get_camera_properties()
32 cam.do_3a(mono_camera=mono_camera)
41 cap_dng, cap_yuv = cam.do_capture(req, cam.CAP_DNG_YUV)
Dtest_raw_exposure.py39 with its.device.ItsSession() as cam:
41 props = cam.get_camera_properties()
83 caps += cam.do_capture(reqs[i*SLICE_LEN:(i+1)*SLICE_LEN], cam.CAP_RAW)
85 caps += cam.do_capture(reqs[i*SLICE_LEN:(i+1)*SLICE_LEN], raw_stat_fmt)
89 caps += [cam.do_capture(reqs[-last_n:], cam.CAP_RAW)]
91 caps += [cam.do_capture(reqs[-last_n:], raw_stat_fmt)]
94 caps += cam.do_capture(reqs[-last_n:], cam.CAP_RAW)
96 caps += cam.do_capture(reqs[-last_n:], raw_stat_fmt)
Dtest_jpeg.py30 with its.device.ItsSession() as cam:
31 props = cam.get_camera_properties()
35 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"]
41 cap = cam.do_capture(req, out_surface)
50 cap = cam.do_capture(req, out_surface)
Dtest_capture_result.py35 with its.device.ItsSession() as cam:
36 props = cam.get_camera_properties()
76 lsc_map_auto = test_auto(cam, props)
78 test_manual(cam, lsc_map_auto, props)
80 test_auto(cam, props)
104 def test_auto(cam, props): argument
109 cam.do_3a(rect, rect, rect, do_af=False, mono_camera=mono_camera)
111 cap = cam.do_capture(auto_req)
160 def test_manual(cam, lsc_map_auto, props): argument
161 cap = cam.do_capture(manual_req)
Dtest_auto_vs_manual.py33 with its.device.ItsSession() as cam:
34 props = cam.get_camera_properties()
48 sens, exp, gains, xform, focus = cam.do_3a(get_results=True,
58 cap_auto = cam.do_capture(req, fmt)
71 cap_man1 = cam.do_capture(req, fmt)
85 cap_man2 = cam.do_capture(req, fmt)
Dtest_raw_sensitivity.py34 with its.device.ItsSession() as cam:
36 props = cam.get_camera_properties()
49 s_ae, e_ae, _, _, f_dist = cam.do_3a(get_results=True)
62 cap = cam.do_capture(req, cam.CAP_RAW)
76 cap = cam.do_capture(req,
Dtest_3a.py27 with its.device.ItsSession() as cam:
28 props = cam.get_camera_properties()
32 sens, exp, gains, xform, focus = cam.do_3a(get_results=True,
Dtest_crop_region_raw.py31 with its.device.ItsSession() as cam:
32 props = cam.get_camera_properties()
67 e, s = its.target.get_target_exposure_combos(cam)["minSensitivity"]
69 cap1_raw, cap1_yuv = cam.do_capture(req, cam.CAP_RAW_YUV)
73 cap2_raw, cap2_yuv = cam.do_capture(req, cam.CAP_RAW_YUV)
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_jpeg_all.py30 with its.device.ItsSession() as cam:
31 props = cam.get_camera_properties()
37 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"]
44 cap = cam.do_capture(req, out_surface)
58 cap = cam.do_capture(req, out_surface)
Dtest_tonemap_sequence.py32 with its.device.ItsSession() as cam:
33 props = cam.get_camera_properties()
47 sens, exp_time, _,_,f_dist = cam.do_3a(do_af=True,get_results=True)
54 cap = cam.do_capture(req, fmt)
63 cap = cam.do_capture(req, fmt)
Dtest_yuv_plus_jpeg.py30 with its.device.ItsSession() as cam:
31 props = cam.get_camera_properties()
43 e, s = its.target.get_target_exposure_combos(cam)["midExposureTime"]
46 cap_yuv, cap_jpeg = cam.do_capture(req, [fmt_yuv, fmt_jpeg])
/cts/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py28 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface): argument
61 cap = cam.do_capture(req, out_surface, repeat_request=req)
84 with its.device.ItsSession() as cam:
85 props = cam.get_camera_properties()
97 s,e,_,_,fd = cam.do_3a(get_results=True, mono_camera=mono_camera)
108 ret = test_edge_mode(cam, edge_mode, s, e, fd, out_surface)
Dtest_flip_mirror.py39 def test_flip_mirror(cam, props, fmt, chart): argument
62 s, e, _, _, fd = cam.do_3a(get_results=True, mono_camera=mono_camera)
64 cap = cam.do_capture(req, fmt)
124 with its.device.ItsSession() as cam:
125 props = cam.get_camera_properties()
132 with its.device.ItsSession() as cam:
136 test_flip_mirror(cam, props, fmt, chart)
Dtest_reprocess_edge_enhancement.py28 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface, argument
66 cap = cam.do_capture(req, out_surface, reprocess_format)
95 with its.device.ItsSession() as cam:
96 props = cam.get_camera_properties()
118 s,e,_,_,fd = cam.do_3a(get_results=True, mono_camera=mono_camera)
129 ret = test_edge_mode(cam, edge_mode, s, e, fd, out_surface)
152 ret = test_edge_mode(cam, edge_mode, s, e, fd, out_surface,
/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/
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)
Dtest_param_edge_mode.py38 with its.device.ItsSession() as cam:
39 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
42 cap = cam.do_capture(req)
/cts/apps/CameraITS/tools/
Dvalidate_scene.py47 with its.device.ItsSession() as cam:
52 props = cam.get_camera_properties()
53 cam.do_3a(do_af=do_af, lock_ae=its.caps.ae_lock(props),
62 cap = cam.do_capture(req)

1234