/cts/apps/CameraITS/pymodules/its/ |
D | objects.py | 159 def get_available_output_sizes(fmt, props, max_size=None, match_ar_size=None): argument 180 fmt_configs = [cfg for cfg in configs if cfg['format'] == fmt_codes[fmt]] 261 fmt = "yuv" 262 size = get_available_output_sizes(fmt, props)[-1] 263 out_spec = {"format":fmt, "width":size[0], "height":size[1]} 283 fmt = "yuv" 284 size = get_available_output_sizes(fmt, props)[-1] 285 out_spec = {"format":fmt, "width":size[0], "height":size[1]} 304 fmt = {"format":"yuv", "width":size[0], "height":size[1]} 306 return fmt [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | AudioStringsHelper.java | 42 static private String encodingToString(int fmt) { in encodingToString() argument 43 return fmt < formatStrings.length ? formatStrings[fmt] : ("" + fmt + " Unknown Format "); in encodingToString() 46 static private String encodingToShortString(int fmt) { in encodingToShortString() argument 47 return fmt < shortFormatStrings.length in encodingToShortString() 48 ? shortFormatStrings[fmt] in encodingToShortString() 49 : ("" + fmt + " Unknown Format "); in encodingToShortString()
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_multi_camera_alignment.py | 294 for i, fmt in enumerate(fmts): 296 {'format': fmt, 'physicalCamera': physical_ids[0]}, 297 {'format': fmt, 'physicalCamera': physical_ids[1]}] 305 if fmt == 'raw': 311 _, caps[(fmt, physical_ids[0])], caps[(fmt, physical_ids[1])] = cam.do_capture( 314 for j, fmt in enumerate(fmts): 323 print '\nFormat:', fmt 327 caps[(fmt, i)], props=props_physical[i]) 328 size[i] = (caps[fmt, i]['width'], caps[fmt, i]['height']) 332 its.image.write_image(img, '%s_%s_%s.jpg' % (NAME, fmt, i)) [all …]
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_read_write.py | 59 for fmt in valid_formats: 60 print 'format: %s' % fmt 61 size = its.objects.get_available_output_sizes(fmt, props)[-1] 62 out_surface = {'width': size[0], 'height': size[1], 'format': fmt} 70 index_list.append((fmt, exp, sens)) 80 data[index_list[i]] = (fmt, e_read, s_read)
|
D | test_unified_timestamps.py | 35 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)
|
D | test_capture_result_dump.py | 32 req,fmt = its.objects.get_fastest_manual_capture_settings(props) 33 cap = cam.do_capture(req, fmt)
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_ae_precapture_trigger.py | 41 _,fmt = its.objects.get_fastest_manual_capture_settings(props) 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_auto_vs_manual.py | 46 fmt = largest_yuv 49 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar) 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 | 44 fmt = largest_yuv 47 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar) 57 cap = cam.do_capture(req, fmt) 66 cap = cam.do_capture(req, fmt)
|
D | test_burst_sameness_manual.py | 50 _, fmt = its.objects.get_fastest_manual_capture_settings(props) 53 w, h = fmt["width"], fmt["height"] 63 caps = cam.do_capture([req]*BURST_LEN, [fmt])
|
D | test_black_white.py | 42 fmt = largest_yuv 45 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar) 53 cap = its.device.do_capture_with_latency(cam, req, sync_latency, fmt) 72 cap = its.device.do_capture_with_latency(cam, req, sync_latency, fmt)
|
D | test_channel_saturation.py | 40 fmt = largest_yuv 43 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar) 50 cap = its.device.do_capture_with_latency(cam, req, sync_latency, fmt)
|
D | test_param_flash_mode.py | 48 fmt = largest_yuv 51 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar) 60 cam, req, sync_latency, fmt)
|
D | test_param_exposure_time.py | 45 fmt = largest_yuv 48 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar) 55 cam, req, sync_latency, fmt)
|
D | test_param_sensitivity.py | 46 fmt = largest_yuv 49 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar) 60 cam, req, sync_latency, fmt)
|
/cts/suite/audio_quality/lib/src/ |
D | FileUtil.cpp | 110 bool FileUtil::doVprintf(bool fileOnly, int logLevel, const char *fmt, va_list ap) in doVprintf() argument 122 size = vsnprintf(mBuffer + start, mBufferSize - start - 2, fmt, ap); // 2 for \n\0 in doVprintf() 154 bool FileUtil::doPrintf(const char* fmt, ...) in doPrintf() argument 157 va_start(ap, fmt); in doPrintf() 158 bool result = doVprintf(false, -1, fmt, ap); in doPrintf()
|
D | Log.cpp | 41 void Log::printf(LogLevel level, const char* fmt, ...) in printf() argument 44 va_start(ap, fmt); in printf() 45 FileUtil::doVprintf(level < mLogLevel, level, fmt, ap); in printf()
|
D | Report.cpp | 66 void Report::printf(const char* fmt, ...) in printf() argument 69 va_start(ap, fmt); in printf() 70 FileUtil::doVprintf(false, -1, fmt, ap); in printf()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/ |
D | poc.c | 25 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) argument 26 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno)) argument
|
/cts/apps/CameraITS/tests/inprog/ |
D | test_burst_sameness_auto.py | 45 _, fmt = its.objects.get_fastest_manual_capture_settings(props) 46 w,h = fmt["width"], fmt["height"] 65 caps = cam.do_capture([req]*BURST_LEN, [fmt])
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/ |
D | poc.c | 29 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) argument 30 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno)) argument
|
/cts/suite/audio_quality/lib/include/ |
D | FileUtil.h | 49 virtual bool doPrintf(const char* fmt, ...); 52 virtual bool doVprintf(bool fileOnly, int loglevel, const char *fmt, va_list ap);
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/ |
D | poc.c | 36 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) argument 37 #define ERR(fmt, ...) printf(fmt ": %d(%d)\n", ##__VA_ARGS__, errno, errno) argument
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_flip_mirror.py | 34 def test_flip_mirror(cam, props, fmt, chart): argument 59 cap = cam.do_capture(req, fmt) 126 fmt = {'format': 'yuv', 'width': VGA_WIDTH, 'height': VGA_HEIGHT} 129 test_flip_mirror(cam, props, fmt, chart)
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | BurstCaptureTest.java | 67 private void testBurst(int fmt, int burstSize, boolean checkFrameRate) throws Exception { in testBurst() argument 89 burstTestByCamera(id, fmt, burstSize, checkFrameRate); in testBurst() 97 private void burstTestByCamera(String cameraId, int fmt, int burstSize, in burstTestByCamera() argument 109 cameraId, mCameraManager, fmt, /*bound*/null).get(0); in burstTestByCamera() 121 config.getOutputMinFrameDuration(fmt, stillSize); in burstTestByCamera() 137 int burstTemplate = (fmt == ImageFormat.JPEG) ? in burstTestByCamera() 160 fmt, resultListener, in burstTestByCamera()
|