Home
last modified time | relevance | path

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

/development/python-packages/adb/
Dtest.py35 @mock.patch('adb.device.get_devices')
41 @mock.patch('adb.device.get_devices')
48 @mock.patch('adb.device.get_devices')
55 @mock.patch('adb.device.get_devices')
63 @mock.patch('adb.device.get_devices')
69 @mock.patch('adb.device.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/vndk/tools/definition-tool/tests/
Dcompat.py58 from unittest.mock import patch
64 def patch(target, mock): function
Dtest_vndk.py7 from .compat import StringIO, TestCase, patch
26 with patch('sys.stderr', stderr):
108 with patch('sys.stderr', StringIO()):
Dtest_command_deps_insight.py10 from .compat import StringIO, patch
71 with patch('sys.stderr', StringIO()):
Dtest_elf_linker.py9 from .compat import StringIO, TestCase, patch
556 with patch('sys.stderr', stderr):
578 with patch('sys.stderr', stderr):
598 with patch('sys.stderr', stderr):
/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/scripts/
Dcargo2android.py1422 if self.args.patch:
1424 print('Dry-run skip patch file:', self.args.patch)
1426 if not os.path.exists(self.args.patch):
1427 self.append_to_bp('ERROR cannot find patch file: ' + self.args.patch)
1430 print('### INFO: applying local patch file:', self.args.patch)
1432 self.args.patch], check=True)
/development/sdk/
Dsdk_files_NOTICE.txt8884 ; purposes to add a new feature, we strongly encourage contributing a patch