/cts/apps/CameraITS/utils/ |
D | capture_request_utils.py | 33 req = { 48 req['android.tonemap.mode'] = 0 49 req['android.tonemap.curve'] = { 56 req['android.tonemap.mode'] = 3 57 req['android.tonemap.gamma'] = 1.0 60 return req 87 req = { 111 req['android.tonemap.mode'] = 0 112 req['android.tonemap.curve'] = { 119 req['android.tonemap.mode'] = 3 [all …]
|
D | target_exposure_utils.py | 248 req = capture_request_utils.manual_capture_request(sens, exp_time) 249 req['android.tonemap.mode'] = 0 250 req['android.tonemap.curve'] = {'red': tmap, 'green': tmap, 'blue': tmap} 251 req['android.colorCorrection.transform'] = xform_rat 252 req['android.colorCorrection.gains'] = gains 253 cap = its_session.do_capture(req)
|
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
D | CommReceiver.java | 32 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/inprog/ |
D | test_3a_remote.py | 37 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)
|
D | test_crop_region.py | 43 req = its.objects.auto_capture_request() 44 req['android.scaler.cropRegion'] = { 49 reqs.append(req) 50 crop = req['android.scaler.cropRegion']
|
D | test_burst_sameness_fullres_auto.py | 53 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)
|
D | test_burst_sameness_auto.py | 52 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])
|
D | test_param_edge_mode.py | 28 req = { 41 req["android.edge.mode"] = e 42 cap = cam.do_capture(req)
|
D | test_param_black_level_lock.py | 34 req = { 55 req["android.sensor.sensitivity"] = s 56 cap = cam.do_capture(req)
|
D | test_black_level.py | 58 req = its.objects.manual_capture_request(100, 1*1000*1000) 59 req["android.blackLevel.lock"] = True 60 req["android.sensor.sensitivity"] = s 61 cap = cam.do_capture(req)
|
/cts/apps/CameraITS/tests/ |
D | tutorial.py | 98 req = capture_request_utils.manual_capture_request(200, 50*1000*1000) 99 cap = cam.do_capture(req) 146 req = capture_request_utils.manual_capture_request(sens, exp) 149 req['android.colorCorrection.transform'] = xform_rat 150 req['android.colorCorrection.gains'] = gains 151 cap = cam.do_capture(req) 156 logging.debug('req: %s', str(req)) 201 cap = cam.do_capture(req, cam.CAP_JPEG)
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_auto_vs_manual.py | 102 req = capture_request_utils.auto_capture_request() 103 cap_auto = cam.do_capture(req, fmt) 108 req = capture_request_utils.manual_capture_request(s, e, fd) 109 req['android.colorCorrection.transform'] = awb_xform_rat 110 req['android.colorCorrection.gains'] = awb_gains 111 cap_man1 = cam.do_capture(req, fmt) 116 req['android.tonemap.mode'] = 0 117 req['android.tonemap.curve'] = {'red': TONEMAP_GAMMA, 120 cap_man2 = cam.do_capture(req, fmt)
|
D | test_ev_compensation_advanced.py | 44 req = capture_request_utils.auto_capture_request() 45 req['android.control.aeExposureCompensation'] = ev 46 req['android.control.aeLock'] = True 48 req['android.tonemap.mode'] = 0 49 req['android.tonemap.curve'] = {'red': LINEAR_TONEMAP_CURVE, 52 return req 119 req = create_request_with_ev(ev) 120 caps = cam.do_capture([req]*THRESH_CONVERGE_FOR_EV, fmt)
|
D | test_linearity.py | 82 req = capture_request_utils.manual_capture_request(0, e_mid) 83 req['android.blackLevel.lock'] = True 84 req['android.tonemap.mode'] = 0 85 req['android.tonemap.curve'] = {'red': GAMMA_LUT.tolist(), 94 req['android.sensor.sensitivity'] = sens 96 cam, req, sync_latency, fmt)
|
D | test_ev_compensation_basic.py | 47 req = capture_request_utils.auto_capture_request() 48 req['android.control.aeExposureCompensation'] = ev 49 req['android.control.aeLock'] = True 50 return req 112 req = create_request_with_ev(ev) 113 caps = cam.do_capture([req]*THRESH_CONVERGE_FOR_EV, fmt)
|
/cts/apps/CameraITS/tests/scene1_2/ |
D | test_param_tonemap_mode.py | 107 req = capture_request_utils.manual_capture_request(sens, exp) 108 req['android.tonemap.mode'] = 0 109 req['android.tonemap.curve'] = { 116 cap = cam.do_capture(req, fmt) 135 req = capture_request_utils.manual_capture_request(sens, exp) 136 req['android.tonemap.mode'] = 0 137 req['android.tonemap.curve'] = {'red': tonemap_curve, 140 cap = cam.do_capture(req)
|
D | test_tonemap_sequence.py | 43 cam, req, fmt, num_frames_per_cap, tonemap, log_path): argument 60 cap = cam.do_capture([req]*num_frames_per_cap, fmt) 122 req = capture_request_utils.manual_capture_request( 125 req = capture_request_utils.auto_capture_request( 129 req = capture_request_utils.manual_capture_request( 132 req = capture_request_utils.auto_capture_request() 135 cam, req, fmt, num_frames_per_cap, tonemap, log_path))
|
D | test_param_shading_mode.py | 133 req = capture_request_utils.auto_capture_request() 134 req['android.statistics.lensShadingMapMode'] = 1 135 req['android.shading.mode'] = mode 137 [req]*_NUM_FRAMES, cap_fmt)[_NUM_FRAMES-1]['metadata'] 151 req = capture_request_utils.auto_capture_request() 152 req['android.statistics.lensShadingMapMode'] = 1 153 req['android.shading.mode'] = mode 154 reqs.append(req)
|
D | test_yuv_jpeg_all.py | 38 def do_capture_and_extract_rgb_means(req, cam, size, img_type, log_path, debug): argument 53 cap = cam.do_capture(req, out_surface) 103 req = capture_request_utils.manual_capture_request(s, e, 0.0, True, props) 109 req, cam, size, 'yuv', log_path, debug)) 114 req, cam, size, 'jpg', log_path, debug))
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
D | CommReceiver.java | 91 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() 99 final int requestCode = req.getRequestCode(); in handleBatterySaverBgServiceRequest() 102 new Intent(req.getIntentAction()), PendingIntent.FLAG_MUTABLE); in handleBatterySaverBgServiceRequest()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_unified_timestamps.py | 47 req, fmt = capture_request_utils.get_fastest_manual_capture_settings( 50 req, fmt = capture_request_utils.get_fastest_auto_capture_settings( 52 cap = cam.do_capture(req, fmt) 71 cap = cam.do_capture(req, fmt)
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | RequestPinAppWidgetTest.java | 82 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/telephony/current/src/android/telephony/cts/ |
D | MmsTest.java | 246 final SendReq req = new SendReq(); in buildPdu() local 248 req.setFrom(new EncodedStringValue(selfNumber)); in buildPdu() 254 req.setTo(encodedNumbers); in buildPdu() 258 req.setSubject(new EncodedStringValue(subject)); in buildPdu() 261 req.setDate(System.currentTimeMillis() / 1000); in buildPdu() 267 req.setBody(body); in buildPdu() 269 req.setMessageSize(size); in buildPdu() 271 req.setMessageClass(PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes()); in buildPdu() 273 req.setExpiry(DEFAULT_EXPIRY_TIME); in buildPdu() 277 req.setPriority(DEFAULT_PRIORITY); in buildPdu() [all …]
|
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
D | TestApp.java | 145 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/apps/CameraITS/tests/scene3/ |
D | test_edge_enhancement.py | 62 req = capture_request_utils.manual_capture_request(sensitivity, exp) 63 req['android.lens.focusDistance'] = fd 64 req['android.edge.mode'] = edge_mode 68 cap = cam.do_capture(req, out_surface, repeat_request=req)
|