Home
last modified time | relevance | path

Searched refs:patch (Results 1 – 25 of 32) sorted by relevance

12

/cts/tools/incremental-cts/
Dincremental_deqp_test.py23 from unittest.mock import patch
25 @patch('incremental_deqp.AdbHelper', MagicMock())
148 @patch('incremental_deqp.BuildHelper', autospec=True)
149 @patch('incremental_deqp._save_deqp_deps', autospec=True)
150 @patch('incremental_deqp.DeqpDependencyCollector', autospec=True)
151 @patch('incremental_deqp.AdbHelper', autospec=True)
167 @patch('incremental_deqp._generate_report', autospec=True)
168 @patch('incremental_deqp.BuildHelper', autospec=True)
169 @patch('incremental_deqp._save_deqp_deps', autospec=True)
170 @patch('incremental_deqp.DeqpDependencyCollector', autospec=True)
[all …]
/cts/apps/CameraITS/utils/
Dip_metrics_utils.py168 for patch in default_patch_list:
169 mean_l, _, _ = get_lab_mean_values(patch)
172 for patch in jca_patch_list:
173 mean_l, _, _ = get_lab_mean_values(patch)
308 for patch in default_middle_tone_patch_list:
309 _, mean_a, mean_b = get_lab_mean_values(patch)
317 for patch in jca_middle_tone_patch_list:
318 _, mean_a, mean_b = get_lab_mean_values(patch)
Dui_interaction_utils_tests.py57 self.addCleanup(unittest.mock.patch.stopall)
58 unittest.mock.patch.object(its_device_utils, 'run', autospec=True).start()
84 @unittest.mock.patch.object(ui_interaction_utils,
Dits_session_utils_tests.py54 self.addCleanup(unittest.mock.patch.stopall)
55 unittest.mock.patch.object(
Dimage_processing_utils.py514 patch = get_image_patch(y, patch_x, patch_y, patch_w, patch_h)
515 luma = compute_image_means(patch)[0]
1550 patch = yuv_img[y : y + h, x : x + w]
1552 'luma': numpy.std(patch[:, :, 0]),
1553 'chroma_u': numpy.std(patch[:, :, 1]),
1554 'chroma_v': numpy.std(patch[:, :, 2]),
1713 patch = img[int(y):int(y+h), int(x):int(x+w)]
1717 write_image(patch/_CH_FULL_SCALE, patch_path)
1718 cropped_patch = patch[patch_margin:-patch_margin,
1773 patch = img[y:y+h, x:x+w]
[all …]
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/extensions/util/
DVersion.java48 public Version(int major, int minor, int patch, String description) { in Version() argument
51 mPatch = patch; in Version()
75 int patch = Integer.parseInt(matcher.group(3)); in parse() local
77 return new Version(major, minor, patch, description); in parse()
/cts/apps/CameraITS/tests/scene_flash/
Dtest_auto_flash.py109 patch = image_processing_utils.get_image_patch(
112 no_flash_mean = image_processing_utils.compute_image_means(patch)[0]
135 patch = image_processing_utils.get_image_patch(
138 flash_mean = image_processing_utils.compute_image_means(patch)[0]
Dtest_flash_strength.py111 patch = image_processing_utils.get_image_patch(
114 patch)[0]*255
116 patch)[0]*255
/cts/apps/CameraITS/tests/scene1_3/
Dtest_yuv_plus_raw.py59 patch = image_processing_utils.get_image_patch(
61 rgb_means_yuv = image_processing_utils.compute_image_means(patch)
73 patch = image_processing_utils.get_image_patch(
75 rgb_means_raw = image_processing_utils.compute_image_means(patch)
Dtest_jpeg.py50 patch = image_processing_utils.get_image_patch(
52 rgb_means = image_processing_utils.compute_image_means(patch)
Dtest_yuv_plus_jpeg.py49 patch = image_processing_utils.get_image_patch(
51 rgb_means = image_processing_utils.compute_image_means(patch)
/cts/apps/CameraITS/tests/scene1_2/
Dtest_param_flash_mode.py101 patch = image_processing_utils.get_image_patch(
104 patch, f'{file_name_stem}_{flash_mode}_patch.jpg')
105 patches.append(patch)
Dtest_post_raw_sensitivity_boost.py91 patch = image_processing_utils.get_image_patch(
93 image_processing_utils.write_image(patch, file_name)
94 return image_processing_utils.compute_image_means(patch)
Dtest_tonemap_sequence.py64 patch = image_processing_utils.get_image_patch(
66 rgb_means = image_processing_utils.compute_image_means(patch)
Dtest_param_tonemap_mode.py52 patch = image_processing_utils.get_image_patch(
54 rgb_means = image_processing_utils.compute_image_means(patch)
Dtest_param_color_correction.py121 patch = image_processing_utils.get_image_patch(
123 rgb_means = image_processing_utils.compute_image_means(patch)
Dtest_reprocess_noise_reduction.py60 patch = image_processing_utils.get_image_patch(
62 return image_processing_utils.compute_image_snrs(patch)
/cts/apps/CameraITS/tests/scene2_e/
Dtest_continuous_picture.py72 patch = image_processing_utils.get_image_patch(
74 green_mean = image_processing_utils.compute_image_means(patch)[_RGB_G_CH]
/cts/apps/CameraITS/tests/scene1_1/
Dtest_burst_capture.py77 patch = image_processing_utils.get_image_patch(
79 r, g, b = image_processing_utils.compute_image_means(patch)
Dtest_locked_burst.py92 patch = image_processing_utils.get_image_patch(
94 means = image_processing_utils.compute_image_means(patch)
Dtest_exposure_x_iso.py75 patch = image_processing_utils.get_image_patch(
77 r, g, b = image_processing_utils.compute_image_means(patch)
278 patch = image_processing_utils.get_image_patch(
280 rgb_means = image_processing_utils.compute_image_means(patch)
Dtest_burst_sameness_manual.py93 patch = image_processing_utils.get_image_patch(
95 means = image_processing_utils.compute_image_means(patch)
Dtest_latching.py102 patch = image_processing_utils.get_image_patch(
104 rgb_means = image_processing_utils.compute_image_means(patch)
Dtest_black_white.py66 patch = image_processing_utils.get_image_patch(
68 means = image_processing_utils.compute_image_means(patch)
Dtest_linearity.py103 patch = image_processing_utils.get_image_patch(
105 rgb_means = image_processing_utils.compute_image_means(patch)

12