Home
last modified time | relevance | path

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

/development/python-packages/adb/tests/
Dtest_adb.py18 from unittest.mock import Mock, patch
35 @patch('adb.get_devices')
41 @patch('adb.get_devices')
48 @patch('adb.get_devices')
55 @patch('adb.get_devices')
63 @patch('adb.get_devices')
69 @patch('adb.get_devices')
/development/tools/otagui/
Dtest_ota_interface.py3 from unittest.mock import patch, mock_open, Mock, MagicMock
172 with patch("builtins.open", mock_file):
264 with patch("subprocess.Popen", mock_Popen), \
265 patch("pipes.Template", mock_Template):
275 with patch("subprocess.Popen", mock_Popen), \
276 patch("pipes.Template", mock_Template):
309 with patch("os.path.isfile", mock_os_path_isfile), \
310 patch("threading.Thread", mock_thread):
Dtest_target_lib.py2 from unittest.mock import patch, mock_open, Mock, MagicMock
149 with patch('time.time', mock_time):
173 with patch('time.time', mock_time):
/development/tools/ndk/ndkabidump/
Dtest_soong.py81 with unittest.mock.patch.object(soong, "soong_ui") as soong_ui:
91 with unittest.mock.patch.object(soong, "soong_ui"):
/development/samples/browseable/DrawableTinting/
D_index.jd10 … \n\nTinting is set on a nine-patch drawable through the "tint" and "tintMode" parameters.
/development/vndk/tools/vndk-compliance/
DREADME.md47 Note: - and + are code lines in patch format
/development/tools/cargo_embargo/src/
Dmain.rs138 patch: Option<PathBuf>, field
397 if let Some(patch_path) = &package_cfg.patch { in write_android_bp()
/development/scripts/
Dcargo2android.py1452 if self.args.patch:
1454 print('Dry-run skip patch file:', self.args.patch)
1456 if not os.path.exists(self.args.patch):
1457 self.append_to_bp('ERROR cannot find patch file: ' + self.args.patch)
1460 print('### INFO: applying local patch file:', self.args.patch)
1462 self.args.patch], check=True)
/development/sdk/
Dsdk_files_NOTICE.txt8884 ; purposes to add a new feature, we strongly encourage contributing a patch