Home
last modified time | relevance | path

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

1234

/cts/apps/CameraITS/pymodules/its/
Dobjects.py95 req = {
117 req["android.tonemap.mode"] = 0
118 req["android.tonemap.curve"] = {
124 req["android.tonemap.mode"] = 3
125 req["android.tonemap.gamma"] = 1.0
129 return req
154 req = auto_capture_request()
155 turn_slow_filters_off(props, req)
157 return req
194 def set_filter_off_or_fast_if_possible(props, req, available_modes, filter): argument
[all …]
Dtarget.py70 req = its.objects.manual_capture_request(sens, exp_time)
71 req["android.tonemap.mode"] = 0
72 req["android.tonemap.curve"] = {
74 req["android.colorCorrection.transform"] = xform_rat
75 req["android.colorCorrection.gains"] = gains
76 cap = its_session.do_capture(req)
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DCommReceiver.java32 final Request req = request.getRequest(); in handleRequest() local
35 if (req.hasAddAccount()) { in handleRequest()
36 SyncManagerCtsAuthenticator.ensureTestAccount(req.getAddAccount().getName()); in handleRequest()
38 } else if (req.hasRemoveAllAccounts()) { in handleRequest()
41 } else if (req.hasClearSyncInvocations()) { in handleRequest()
44 } else if (req.hasGetSyncInvocations()) { in handleRequest()
48 } else if (req.hasSetResult()) { in handleRequest()
49 SyncManagerCtsSyncAdapter.setResult(req.getSetResult()); in handleRequest()
/cts/apps/CameraITS/tests/scene1/
Dtest_auto_vs_manual.py57 req = its.objects.auto_capture_request()
58 cap_auto = cam.do_capture(req, fmt)
68 req = its.objects.manual_capture_request(sens, exp, focus)
69 req["android.colorCorrection.transform"] = xform_rat
70 req["android.colorCorrection.gains"] = gains
71 cap_man1 = cam.do_capture(req, fmt)
82 req["android.tonemap.mode"] = 0
83 req["android.tonemap.curve"] = {
85 cap_man2 = cam.do_capture(req, fmt)
Dtest_param_shading_mode.py63 req = its.objects.auto_capture_request();
64 req["android.statistics.lensShadingMapMode"] = 1
65 req["android.shading.mode"] = mode
66 cap_res = cam.do_capture(req)["metadata"]
80 req = its.objects.auto_capture_request();
81 req["android.statistics.lensShadingMapMode"] = 1
82 req["android.shading.mode"] = mode
83 reqs.append(req);
Dtest_param_tonemap_mode.py63 req = its.objects.manual_capture_request(s,e)
64 req["android.tonemap.mode"] = 0
65 req["android.tonemap.curve"] = {
72 cap = cam.do_capture(req, fmt)
92 req = its.objects.manual_capture_request(s,e)
93 req["android.tonemap.mode"] = 0
94 req["android.tonemap.curve"] = {
96 cap = cam.do_capture(req)
Dtest_ev_compensation_advanced.py72 req = its.objects.auto_capture_request()
73 req['android.control.aeExposureCompensation'] = ev
74 req['android.control.aeLock'] = True
77 req['android.tonemap.mode'] = 0
78 req['android.tonemap.curve'] = {
82 caps = cam.do_capture([req]*THREASH_CONVERGE_FOR_EV, fmt)
Dtest_linearity.py67 req = its.objects.manual_capture_request(0, e)
68 req['android.blackLevel.lock'] = True
69 req['android.tonemap.mode'] = 0
70 req['android.tonemap.curve'] = {
80 req["android.sensor.sensitivity"] = sens
81 cap = cam.do_capture(req, fmt)
Dtest_locked_burst.py52 req = its.objects.fastest_auto_capture_request(props)
53 req["android.control.awbLock"] = True
54 req["android.control.aeLock"] = True
61 caps = cam.do_capture([req]*BURST_LEN, fmt)
Dtest_param_color_correction.py54 req = its.objects.manual_capture_request(s, e, 0.0, True, props)
55 req["android.colorCorrection.mode"] = 0
80 req["android.colorCorrection.transform"] = transforms[i]
81 req["android.colorCorrection.gains"] = gains[i]
82 cap = cam.do_capture(req, fmt)
Dtest_param_noise_reduction.py59 req = its.objects.manual_capture_request(s, e)
60 req["android.noiseReduction.mode"] = 0
61 cap = cam.do_capture(req)
83 req = its.objects.manual_capture_request(s, e)
84 req["android.noiseReduction.mode"] = mode
85 cap = cam.do_capture(req)
/cts/apps/CameraITS/tests/inprog/
Dtest_3a_remote.py37 req = its.objects.auto_capture_request()
38 req["android.statistics.lensShadingMapMode"] = 1
39 req['android.control.aePrecaptureTrigger'] = (0 if triggered else 1)
40 req['android.control.afTrigger'] = (0 if triggered else 1)
43 cap = cam.do_capture(req)
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_param_edge_mode.py28 req = {
41 req["android.edge.mode"] = e
42 cap = cam.do_capture(req)
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_blc_lsc.py64 req = its.objects.manual_capture_request(ae_sen,e)
65 req["android.tonemap.mode"] = 0
66 req["android.tonemap.curve"] = {
68 req["android.colorCorrection.transform"] = awb_transform_rat
69 req["android.colorCorrection.gains"] = awb_gains
70 reqs.append(req)
Dtest_param_black_level_lock.py34 req = {
55 req["android.sensor.sensitivity"] = s
56 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/apps/CameraITS/tests/scene0/
Dtest_unified_timestamps.py32 req, fmt = its.objects.get_fastest_manual_capture_settings(props)
34 req, fmt = its.objects.get_fastest_auto_capture_settings(props)
35 cap = cam.do_capture(req, fmt)
53 cap = cam.do_capture(req, fmt)
/cts/apps/CameraITS/tools/
Dvalidate_scene.py55 req = its.objects.fastest_auto_capture_request(props)
57 req["android.control.awbLock"] = True
59 req["android.control.aeLock"] = True
62 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/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/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DCommReceiver.java86 final SetAlarmRequest req = request.getTestServiceRequest().getSetAlarm(); in handleBatterySaverBgServiceRequest() local
90 final int type = req.getType(); in handleBatterySaverBgServiceRequest()
91 final long triggerTime = req.getTriggerTime(); in handleBatterySaverBgServiceRequest()
92 final long interval = req.getRepeatInterval(); in handleBatterySaverBgServiceRequest()
93 final boolean allowWhileIdle = req.getAllowWhileIdle(); in handleBatterySaverBgServiceRequest()
96 new Intent(req.getIntentAction()), 0); in handleBatterySaverBgServiceRequest()
/cts/tests/tests/location/src/android/location/cts/
DEmergencyCallMessageTest.java236 final SendReq req = new SendReq(); in buildPdu() local
238 req.setFrom(new EncodedStringValue(selfNumber)); in buildPdu()
244 req.setTo(encodedNumbers); in buildPdu()
248 req.setSubject(new EncodedStringValue(subject)); in buildPdu()
251 req.setDate(System.currentTimeMillis() / 1000); in buildPdu()
257 req.setBody(body); in buildPdu()
259 req.setMessageSize(size); in buildPdu()
261 req.setMessageClass(PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes()); in buildPdu()
263 req.setExpiry(DEFAULT_EXPIRY_TIME_SECS); in buildPdu()
267 req.setPriority(DEFAULT_PRIORITY); in buildPdu()
[all …]

1234