/cts/apps/CameraITS/tests/scene0/ |
D | test_unified_timestamps.py | 24 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)
|
D | test_sensor_events.py | 26 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()
|
D | test_capture_result_dump.py | 26 with its.device.ItsSession() as cam: 29 props = cam.get_camera_properties() 33 cap = cam.do_capture(req, fmt)
|
D | test_burst_capture.py | 28 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/ |
D | test_ae_precapture_trigger.py | 36 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)
|
D | test_yuv_plus_dng.py | 26 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)
|
D | test_raw_exposure.py | 39 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)
|
D | test_jpeg.py | 30 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)
|
D | test_capture_result.py | 35 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)
|
D | test_auto_vs_manual.py | 33 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)
|
D | test_raw_sensitivity.py | 34 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,
|
D | test_3a.py | 27 with its.device.ItsSession() as cam: 28 props = cam.get_camera_properties() 32 sens, exp, gains, xform, focus = cam.do_3a(get_results=True,
|
D | test_crop_region_raw.py | 31 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)
|
D | test_raw_burst_sensitivity.py | 36 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,
|
D | test_yuv_jpeg_all.py | 30 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)
|
D | test_tonemap_sequence.py | 32 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)
|
D | test_yuv_plus_jpeg.py | 30 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/ |
D | test_edge_enhancement.py | 28 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)
|
D | test_flip_mirror.py | 39 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)
|
D | test_reprocess_edge_enhancement.py | 28 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/ |
D | Instrumentation_ActivityMonitorTest.java | 146 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 199 … cam.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/ |
D | tutorial.py | 59 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/ |
D | test_crop_region.py | 31 with its.device.ItsSession() as cam: 32 props = cam.get_camera_properties() 55 cam.do_3a() 56 caps = cam.do_capture(reqs)
|
D | test_param_edge_mode.py | 38 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/ |
D | validate_scene.py | 47 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)
|