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/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.py103 patch = image_processing_utils.get_image_patch(
106 no_flash_mean = image_processing_utils.compute_image_means(patch)[0]
128 patch = image_processing_utils.get_image_patch(
131 flash_mean = image_processing_utils.compute_image_means(patch)[0]
Dtest_flash_strength.py110 patch = image_processing_utils.get_image_patch(
113 patch)[0]*255
115 patch)[0]*255
Dtest_torch_strength.py152 patch = image_processing_utils.get_image_patch(
155 patch)[0]*255
/cts/apps/CameraITS/tests/scene1_2/
Dtest_yuv_plus_raw.py58 patch = image_processing_utils.get_image_patch(
60 rgb_means_yuv = image_processing_utils.compute_image_means(patch)
72 patch = image_processing_utils.get_image_patch(
74 rgb_means_raw = 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)
Dtest_tonemap_sequence.py64 patch = image_processing_utils.get_image_patch(
66 rgb_means = image_processing_utils.compute_image_means(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_param_tonemap_mode.py52 patch = image_processing_utils.get_image_patch(
54 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/utils/
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(
/cts/apps/CameraITS/tests/scene1_1/
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_burst_capture.py74 patch = image_processing_utils.get_image_patch(
76 r, g, b = 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_locked_burst.py91 patch = image_processing_utils.get_image_patch(
93 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_exposure_x_iso.py76 patch = image_processing_utils.get_image_patch(
78 r, g, b = image_processing_utils.compute_image_means(patch)
280 patch = image_processing_utils.get_image_patch(
282 rgb_means = image_processing_utils.compute_image_means(patch)
Dtest_black_white.py68 patch = image_processing_utils.get_image_patch(
70 means = image_processing_utils.compute_image_means(patch)
Dtest_param_color_correction.py117 patch = image_processing_utils.get_image_patch(
119 rgb_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)
/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/scene7/
Dtest_multi_camera_switch.py308 patch = img[int(y):int(y+h), int(x):int(x+w)]
312 image_processing_utils.write_image(patch/_CH_FULL_SCALE, patch_path)
313 cropped_patch = patch[_PATCH_MARGIN:-_PATCH_MARGIN,
344 patch = img[y:y+h, x:x+w]
345 slanted_edge_patch = patch[_PATCH_MARGIN:-_PATCH_MARGIN,

12