/cts/apps/CameraITS/tests/scene0/ |
D | test_sensor_events.py | 26 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()
|
D | test_unified_timestamps.py | 26 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)
|
D | test_burst_capture.py | 32 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)
|
D | test_read_write.py | 30 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)
|
D | test_gyro_bias.py | 36 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']
|
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)
|
/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_capture_result.py | 34 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)
|
D | test_raw_sensitivity.py | 34 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,
|
D | test_raw_exposure.py | 41 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)
|
D | test_jpeg.py | 32 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)
|
D | test_yuv_plus_dng.py | 29 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)
|
D | test_crop_region_raw.py | 32 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)
|
D | test_dng_noise_model.py | 41 with its.device.ItsSession() as cam: 42 props = cam.get_camera_properties() 43 props = cam.override_with_hidden_physical_camera_props(props) 63 s_ae, e_ae, _, _, f_dist = cam.do_3a(get_results=True) 77 cap = cam.do_capture(req, cam.CAP_RAW) 80 cap = cam.do_capture(req, {'format': 'rawStats',
|
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_auto_vs_manual.py | 36 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)
|
D | test_tonemap_sequence.py | 34 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/ |
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/scene3/ |
D | test_edge_enhancement.py | 31 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)
|
D | test_flip_mirror.py | 34 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)
|
D | test_reprocess_edge_enhancement.py | 51 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,
|
/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)
|
/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)
|
/cts/apps/CameraITS/tests/scene2/ |
D | test_num_faces.py | 33 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)
|