Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 66) sorted by relevance

123

/cts/apps/CameraITS/pymodules/its/
Dobjects.py94 req = {
115 req["android.tonemap.mode"] = 0
116 req["android.tonemap.curveRed"] = [0.0,0.0, 1.0,1.0]
117 req["android.tonemap.curveGreen"] = [0.0,0.0, 1.0,1.0]
118 req["android.tonemap.curveBlue"] = [0.0,0.0, 1.0,1.0]
121 req["android.tonemap.mode"] = 3
122 req["android.tonemap.gamma"] = 1.0
126 return req
150 req = auto_capture_request()
151 turn_slow_filters_off(props, req)
[all …]
Dtarget.py70 req = its.objects.manual_capture_request(sens, exp_time)
71 req["android.tonemap.mode"] = 0
72 req["android.tonemap.curveRed"] = tmap
73 req["android.tonemap.curveGreen"] = tmap
74 req["android.tonemap.curveBlue"] = tmap
75 req["android.colorCorrection.transform"] = xform_rat
76 req["android.colorCorrection.gains"] = gains
77 cap = its_session.do_capture(req)
/cts/apps/CameraITS/tests/scene1/
Dtest_auto_vs_manual.py48 req = its.objects.auto_capture_request()
49 cap_auto = cam.do_capture(req)
59 req = its.objects.manual_capture_request(sens, exp)
60 req["android.colorCorrection.transform"] = xform_rat
61 req["android.colorCorrection.gains"] = gains
62 cap_man1 = cam.do_capture(req)
73 req["android.tonemap.mode"] = 0
74 req["android.tonemap.curveRed"] = gamma
75 req["android.tonemap.curveGreen"] = gamma
76 req["android.tonemap.curveBlue"] = gamma
[all …]
Dtest_param_tonemap_mode.py55 req = its.objects.manual_capture_request(s,e)
56 req["android.tonemap.mode"] = 0
57 req["android.tonemap.curveRed"] = (
59 req["android.tonemap.curveGreen"] = (
61 req["android.tonemap.curveBlue"] = (
63 cap = cam.do_capture(req)
83 req = its.objects.manual_capture_request(s,e)
84 req["android.tonemap.mode"] = 0
85 req["android.tonemap.curveRed"] = curve
86 req["android.tonemap.curveGreen"] = curve
[all …]
Dtest_param_shading_mode.py67 req = its.objects.auto_capture_request();
68 req["android.statistics.lensShadingMapMode"] = 1
69 req["android.shading.mode"] = mode
70 reference_maps[mode] = cam.do_capture(req)["metadata"] \
77 req = its.objects.auto_capture_request();
78 req["android.statistics.lensShadingMapMode"] = 1
79 req["android.shading.mode"] = mode
80 reqs.append(req);
Dtest_ev_compensation_advanced.py63 req = its.objects.auto_capture_request()
64 req['android.control.aeExposureCompensation'] = ev
65 req["android.control.aeLock"] = True
68 req["android.tonemap.mode"] = 0
69 req["android.tonemap.curveRed"] = [0.0,0.0, 1.0,1.0]
70 req["android.tonemap.curveGreen"] = [0.0,0.0, 1.0,1.0]
71 req["android.tonemap.curveBlue"] = [0.0,0.0, 1.0,1.0]
72 caps = cam.do_capture([req]*THREASH_CONVERGE_FOR_EV)
Dtest_linearity.py60 req = its.objects.manual_capture_request(0, e)
61 req["android.blackLevel.lock"] = True
62 req["android.tonemap.mode"] = 0
63 req["android.tonemap.curveRed"] = gamma_lut.tolist()
64 req["android.tonemap.curveGreen"] = gamma_lut.tolist()
65 req["android.tonemap.curveBlue"] = gamma_lut.tolist()
72 req["android.sensor.sensitivity"] = sens
73 cap = cam.do_capture(req)
Dtest_param_color_correction.py45 req = its.objects.manual_capture_request(s, e, True, props)
46 req["android.colorCorrection.mode"] = 0
71 req["android.colorCorrection.transform"] = transforms[i]
72 req["android.colorCorrection.gains"] = gains[i]
73 cap = cam.do_capture(req)
Dtest_ev_compensation_basic.py54 req = its.objects.auto_capture_request()
55 req['android.control.aeExposureCompensation'] = ev
56 req["android.control.aeLock"] = True
57 caps = cam.do_capture([req]*THREASH_CONVERGE_FOR_EV)
Dtest_locked_burst.py48 req = its.objects.fastest_auto_capture_request(props)
49 req["android.control.awbLock"] = True
50 req["android.control.aeLock"] = True
57 caps = cam.do_capture([req]*BURST_LEN)
Dtest_param_noise_reduction.py56 req = its.objects.manual_capture_request(s, e)
57 req["android.noiseReduction.mode"] = 0
58 cap = cam.do_capture(req)
80 req = its.objects.manual_capture_request(s, e)
81 req["android.noiseReduction.mode"] = mode
82 cap = cam.do_capture(req)
Dtest_tonemap_sequence.py43 req = its.objects.manual_capture_request(sens, exp_time, True, props)
45 cap = cam.do_capture(req)
52 req = its.objects.manual_capture_request(sens, exp_time, False)
54 cap = cam.do_capture(req)
Dtest_reprocess_noise_reduction.py69 req = its.objects.manual_capture_request(s, e)
70 req["android.noiseReduction.mode"] = 0
77 cap = cam.do_capture(req, out_surface, reprocess_format)
97 req = its.objects.manual_capture_request(s, e)
98 req["android.noiseReduction.mode"] = nr_mode
99 cap = cam.do_capture(req, out_surface, reprocess_format)
/cts/apps/CameraITS/tests/inprog/
Dtest_blc_lsc.py64 req = its.objects.manual_capture_request(ae_sen,e)
65 req["android.tonemap.mode"] = 0
66 req["android.tonemap.curveRed"] = tmap
67 req["android.tonemap.curveGreen"] = tmap
68 req["android.tonemap.curveBlue"] = tmap
69 req["android.colorCorrection.transform"] = awb_transform_rat
70 req["android.colorCorrection.gains"] = awb_gains
71 reqs.append(req)
Dtest_3a_remote.py39 req = its.objects.auto_capture_request()
40 req["android.statistics.lensShadingMapMode"] = 1
41 req['android.control.aePrecaptureTrigger'] = (0 if triggered else 1)
42 req['android.control.afTrigger'] = (0 if triggered else 1)
45 cap = cam.do_capture(req)
Dtest_test_patterns.py28 req = its.objects.manual_capture_request(100, 10*1000*1000)
29 req['android.sensor.testPatternData'] = [40, 100, 160, 220]
30 req['android.sensor.testPatternMode'] = i
34 caps = cam.do_capture([req]*2)
Dtest_crop_region.py43 req = its.objects.auto_capture_request()
44 req['android.scaler.cropRegion'] = {
49 reqs.append(req)
50 crop = req['android.scaler.cropRegion']
Dtest_burst_sameness_fullres_auto.py53 req = its.objects.fastest_auto_capture_request(props)
54 req["android.blackLevel.lock"] = True
55 req["android.control.awbLock"] = True
56 req["android.control.aeLock"] = True
63 caps = cam.do_capture([req]*BURST_LEN)
Dtest_burst_sameness_auto.py52 req = its.objects.fastest_auto_capture_request(props)
53 req["android.blackLevel.lock"] = True
54 req["android.control.awbLock"] = True
55 req["android.control.aeLock"] = True
65 caps = cam.do_capture([req]*BURST_LEN, [fmt])
Dtest_param_edge_mode.py28 req = {
41 req["android.edge.mode"] = e
42 cap = cam.do_capture(req)
/cts/apps/CameraITS/tests/
Dtutorial.py68 req = its.objects.manual_capture_request(200, 50*1000*1000)
69 cap = cam.do_capture(req)
115 req = its.objects.manual_capture_request(sens, exp)
118 req["android.colorCorrection.transform"] = xform_rat
119 req["android.colorCorrection.gains"] = gains
120 cap = cam.do_capture(req)
125 pprint.pprint(req)
178 cap = cam.do_capture(req, cam.CAP_JPEG)
/cts/tests/tests/telephony/src/android/telephony/cts/
DMmsTest.java235 final SendReq req = new SendReq(); in buildPdu() local
237 req.setFrom(new EncodedStringValue(selfNumber)); in buildPdu()
243 req.setTo(encodedNumbers); in buildPdu()
247 req.setSubject(new EncodedStringValue(subject)); in buildPdu()
250 req.setDate(System.currentTimeMillis() / 1000); in buildPdu()
256 req.setBody(body); in buildPdu()
258 req.setMessageSize(size); in buildPdu()
260 req.setMessageClass(PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes()); in buildPdu()
262 req.setExpiry(DEFAULT_EXPIRY_TIME); in buildPdu()
266 req.setPriority(DEFAULT_PRIORITY); in buildPdu()
[all …]
/cts/apps/CameraITS/tools/
Dvalidate_scene.py54 req = its.objects.fastest_auto_capture_request(props)
56 req["android.control.awbLock"] = True
58 req["android.control.aeLock"] = True
61 cap = cam.do_capture(req)
/cts/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py54 req = its.objects.manual_capture_request(sensitivity, exp)
55 req["android.lens.focusDistance"] = fd
56 req["android.edge.mode"] = edge_mode
61 cap = cam.do_capture(req, out_surface, repeat_request=req)
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DTestApp.java145 ConfirmationRequest req = new VoiceInteractor.ConfirmationRequest(prompt, mTestinfo) { in confirmationRequest() local
164 mInteractor.submitRequest(req); in confirmationRequest()
169 CompleteVoiceRequest req = new VoiceInteractor.CompleteVoiceRequest(prompt, mTestinfo) { in completionRequest() local
188 mInteractor.submitRequest(req); in completionRequest()
193 AbortVoiceRequest req = new VoiceInteractor.AbortVoiceRequest(prompt, mTestinfo) { in abortRequest() local
211 mInteractor.submitRequest(req); in abortRequest()
220 PickOptionRequest req = new VoiceInteractor.PickOptionRequest(prompt, options, mTestinfo) { in pickOptionRequest() local
246 mInteractor.submitRequest(req); in pickOptionRequest()
250 CommandRequest req = new VoiceInteractor.CommandRequest(Utils.TEST_COMMAND, mTestinfo) { in commandRequest() local
275 mInteractor.submitRequest(req); in commandRequest()

123