Home
last modified time | relevance | path

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

1234

/cts/apps/CameraITS/pymodules/its/
Dobjects.py88 req = {
110 req["android.tonemap.mode"] = 0
111 req["android.tonemap.curve"] = {
117 req["android.tonemap.mode"] = 3
118 req["android.tonemap.gamma"] = 1.0
122 return req
147 req = auto_capture_request()
148 turn_slow_filters_off(props, req)
150 return req
187 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.py59 req = its.objects.auto_capture_request()
60 cap_auto = cam.do_capture(req, fmt)
70 req = its.objects.manual_capture_request(sens, exp, focus)
71 req["android.colorCorrection.transform"] = xform_rat
72 req["android.colorCorrection.gains"] = gains
73 cap_man1 = cam.do_capture(req, fmt)
84 req["android.tonemap.mode"] = 0
85 req["android.tonemap.curve"] = {
87 cap_man2 = cam.do_capture(req, fmt)
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_param_shading_mode.py75 req = its.objects.auto_capture_request()
76 req['android.statistics.lensShadingMapMode'] = 1
77 req['android.shading.mode'] = mode
78 cap_res = cam.do_capture([req]*NUM_FRAMES, cap_fmt)[NUM_FRAMES-1]['metadata']
94 req = its.objects.auto_capture_request()
95 req['android.statistics.lensShadingMapMode'] = 1
96 req['android.shading.mode'] = mode
97 reqs.append(req)
Dtest_ev_compensation_advanced.py68 req = its.objects.auto_capture_request()
69 req['android.control.aeExposureCompensation'] = ev
70 req['android.control.aeLock'] = True
73 req['android.tonemap.mode'] = 0
74 req['android.tonemap.curve'] = {
78 caps = cam.do_capture([req]*THRESH_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
82 cam, req, sync_latency, 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)
Dtest_param_color_correction.py56 req = its.objects.manual_capture_request(s, e, 0.0, True, props)
57 req['android.colorCorrection.mode'] = 0
82 req['android.colorCorrection.transform'] = transforms[i]
83 req['android.colorCorrection.gains'] = gains[i]
85 cam, req, sync_latency, fmt)
Dtest_crop_regions.py52 req = its.objects.manual_capture_request(s, e)
53 cap_full = cam.do_capture(req)
65 req = its.objects.manual_capture_request(s, e)
66 req["android.scaler.cropRegion"] = {
71 reqs.append(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/current/src/android/telephony/cts/
DMmsTest.java241 final SendReq req = new SendReq(); in buildPdu() local
243 req.setFrom(new EncodedStringValue(selfNumber)); in buildPdu()
249 req.setTo(encodedNumbers); in buildPdu()
253 req.setSubject(new EncodedStringValue(subject)); in buildPdu()
256 req.setDate(System.currentTimeMillis() / 1000); in buildPdu()
262 req.setBody(body); in buildPdu()
264 req.setMessageSize(size); in buildPdu()
266 req.setMessageClass(PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes()); in buildPdu()
268 req.setExpiry(DEFAULT_EXPIRY_TIME); in buildPdu()
272 req.setPriority(DEFAULT_PRIORITY); in buildPdu()
[all …]
/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_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_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_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_crop_region.py43 req = its.objects.auto_capture_request()
44 req['android.scaler.cropRegion'] = {
49 reqs.append(req)
50 crop = req['android.scaler.cropRegion']
/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()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DRequestPinAppWidgetTest.java82 LauncherApps.PinItemRequest req = in runPinWidgetTest() local
84 assertNotNull(req); in runPinWidgetTest()
87 req.getAppWidgetProviderInfo(context), req.getAppWidgetProviderInfo(context))); in runPinWidgetTest()
89 assertNotNull(req.getExtras()); in runPinWidgetTest()
90 assertEquals(launcherPkg + "-dummy", req.getExtras().getString("dummy")); in runPinWidgetTest()
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DCommReceiver.java91 final SetAlarmRequest req = request.getTestServiceRequest().getSetAlarm(); in handleBatterySaverBgServiceRequest() local
95 final int type = req.getType(); in handleBatterySaverBgServiceRequest()
96 final long triggerTime = req.getTriggerTime(); in handleBatterySaverBgServiceRequest()
97 final long interval = req.getRepeatInterval(); in handleBatterySaverBgServiceRequest()
98 final boolean allowWhileIdle = req.getAllowWhileIdle(); in handleBatterySaverBgServiceRequest()
101 new Intent(req.getIntentAction()), 0); in handleBatterySaverBgServiceRequest()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DChildSessionParamsTest.java199 for (TunnelModeChildConfigRequest req : childParams.getConfigurationRequests()) { in verifySpecificV4AddrConfigReq()
200 if (req instanceof ConfigRequestIpv4Address in verifySpecificV4AddrConfigReq()
201 && ((ConfigRequestIpv4Address) req).getAddress() != null) { in verifySpecificV4AddrConfigReq()
202 Inet4Address address = ((ConfigRequestIpv4Address) req).getAddress(); in verifySpecificV4AddrConfigReq()
215 for (TunnelModeChildConfigRequest req : childParams.getConfigurationRequests()) { in verifySpecificV6AddrConfigReq()
216 if (req instanceof ConfigRequestIpv6Address in verifySpecificV6AddrConfigReq()
217 && ((ConfigRequestIpv6Address) req).getAddress() != null) { in verifySpecificV6AddrConfigReq()
218 ConfigRequestIpv6Address ipv6AddrReq = (ConfigRequestIpv6Address) req; in verifySpecificV6AddrConfigReq()
/cts/apps/CameraITS/tests/scene0/
Dtest_unified_timestamps.py35 req, fmt = its.objects.get_fastest_manual_capture_settings(props)
37 req, fmt = its.objects.get_fastest_auto_capture_settings(props)
38 cap = cam.do_capture(req, fmt)
56 cap = cam.do_capture(req, fmt)
/cts/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py56 req = its.objects.manual_capture_request(sensitivity, exp)
57 req["android.lens.focusDistance"] = fd
58 req["android.edge.mode"] = edge_mode
62 cap = cam.do_capture(req, out_surface, repeat_request=req)
/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)

1234