/tools/repohooks/tools/ |
D | cpplint.py | 578 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 606 error(filename, linenum, 'readability/nolint', 5, 1054 def Check(self, error, filename, linenum): argument 1076 error(filename, linenum, 'readability/fn_size', error_level, 1099 def __init__(self, filename): argument 1100 self._filename = filename 1211 def Error(filename, linenum, category, confidence, message): argument 1237 filename, linenum, category, message, confidence)) 1240 filename, linenum, message, category, confidence)) 1243 filename, linenum, message, category, confidence)) [all …]
|
D | clang-format.py | 108 for filename in diff_filenames: 109 print('\t%s' % filename)
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | DeviceFileReporterTest.java | 78 final String filename = "/data/tombstones/tombstone_00"; in testSimple() local 85 EasyMock.expect(mDevice.pullFile(EasyMock.eq(filename))) in testSimple() 86 .andReturn(new FakeFile(filename, tombstone.length())); in testSimple() 90 mListener.testLog(EasyMock.eq(filename), EasyMock.eq(LogDataType.UNKNOWN), in testSimple() 103 final String filename = "/data/tombstones/tombstone_00"; in testTrim() local 110 EasyMock.expect(mDevice.pullFile(EasyMock.eq(filename))) in testTrim() 111 .andReturn(new FakeFile(filename, tombstone.length())); in testTrim() 114 mListener.testLog(EasyMock.eq(filename), EasyMock.eq(LogDataType.UNKNOWN), in testTrim() 119 assertEquals(filename, filenames.get(0)); in testTrim() 137 for (String filename : filenames) { in testLineEnding_LF() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | check_quality.py | 68 def __init__(self, filename): argument 85 self._read_wave_file(filename) 91 self._convert_and_read_wav_file(filename) 93 def _convert_and_read_wav_file(self, filename): argument 114 command = ['sox', filename, '-t', 'wavpcm', converted_file.name] 119 def _read_wave_file(self, filename): argument 131 self._wave_reader = wave.open(filename, 'r') 429 def read_audio_file(filename, channel, bit_width, rate): argument 445 if filename.endswith('.wav'): 446 wavefile = WaveFile(filename) [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestParserTestBase.java | 56 protected String[] readInFile(String filename) { in readInFile() argument 60 TEST_TYPE_DIR + File.separator + filename); in readInFile() 68 CLog.e("Gest output file does not exist: " + filename); in readInFile() 71 CLog.e("Unable to read contents of gtest output file: " + filename); in readInFile()
|
D | GoogleBenchmarkResultParserTest.java | 61 private CollectingOutputReceiver readInFile(String filename) { in readInFile() argument 66 TEST_TYPE_DIR + File.separator + filename); in readInFile() 74 CLog.e("GTest output file does not exist: " + filename); in readInFile() 77 CLog.e("Unable to read contents of gtest output file: " + filename); in readInFile()
|
D | GTestXmlResultParserTest.java | 51 private File readInFile(String filename) { in readInFile() argument 57 TEST_TYPE_DIR + File.separator + filename); in readInFile() 68 CLog.e("Gest output file does not exist: " + filename); in readInFile()
|
D | JarHostTestTest.java | 97 protected File getJarResource(String filename, File parentDir) throws IOException { in getJarResource() argument 98 InputStream jarFileStream = getClass().getResourceAsStream(filename); in getJarResource()
|
/tools/repohooks/rh/ |
D | config_unittest.py | 48 def _write_config(self, data, filename=None): argument 50 if filename is None: 51 filename = rh.config.PreSubmitConfig.FILENAME 52 path = os.path.join(self.tempdir, filename) 59 data, filename=rh.config.PreSubmitConfig.GLOBAL_FILENAME)
|
D | config.py | 117 def _search(paths, filename): argument 119 path = os.path.join(path, filename)
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSFileDownloader.java | 38 public InputStream downloadFile(String bucketName, String filename) throws IOException { in downloadFile() argument 44 Path path = Paths.get(filename); in downloadFile()
|
/tools/test/connectivity/acts/tests/google/bt/pts/ |
D | BtCmdLineTest.py | 78 for filename in filenames: 79 file = os.path.join(dirname, filename)
|
/tools/tradefederation/core/src/com/android/tradefed/config/gcs/ |
D | GCSConfigurationFactory.java | 108 String getPath(String parent, String filename) { in getPath() argument 109 return Paths.get(parent).getParent().resolve(filename).normalize().toString(); in getPath()
|
/tools/acloud/internal/proto/ |
D | internal_config_pb2.py | 31 filename=None, 68 filename=None, 120 filename=None, 157 filename=None, 194 filename=None, 231 filename=None, 268 filename=None, 305 filename=None,
|
D | user_config_pb2.py | 31 filename=None, 68 filename=None,
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | BtFunhausBaseTest.py | 130 for filename in filenames: 131 self.music_file_to_play = filename 132 file = os.path.join(dirname, filename)
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | NoisyDryRunTest.java | 64 private List<CommandLine> testCommandFile(ITestInvocationListener listener, String filename) { in testCommandFile() argument 71 File file = new File(filename); in testCommandFile()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTestHelper.java | 236 public void setLogFile(LogFileType log, String filename) { in setLogFile() argument 237 CLog.i("setLogFile: type=" + log.name() + ", filename=" + filename); in setLogFile() 238 if (!mLogs.containsKey(log) && filename != null && !filename.isEmpty()) { in setLogFile() 239 mLogs.put(log, filename); in setLogFile()
|
D | VideoMultimeterTest.java | 322 String filename = videoInfo[0].trim(); in runMultimeterTest() local 326 doMeasurement(filename, duration); in runMultimeterTest()
|
/tools/test/connectivity/acts/framework/acts/ |
D | tracelogger.py | 35 os.path.basename(info.filename),
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 63 private String[] readInFile(String filename) { in readInFile() argument 67 TEST_TYPE_DIR + File.separator + filename); in readInFile() 75 CLog.e("Gest output file does not exist: " + filename); in readInFile() 78 CLog.e("Unable to read contents of gtest output file: " + filename); in readInFile()
|
/tools/acloud/internal/lib/ |
D | auth.py | 137 filename=os.path.abspath(creds_cache_file),
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiFile.java | 63 public static TextCodebase parseApi(String filename, String apiText, in parseApi() argument 70 final Tokenizer tokenizer = new Tokenizer(filename, apiText.toCharArray()); in parseApi() 846 Tokenizer(String filename, char[] buf) { in Tokenizer() argument 847 mFilename = filename; in Tokenizer()
|
/tools/test/connectivity/acts/tests/google/bt/audio_lab/ |
D | BtChameleonTest.py | 89 filename=dest_file_path,
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceFuncTest.java | 243 final String filename = "tmp_testPushPull.txt"; in testPushPull_extStorageVariable() local 249 deviceFilePath = String.format("%s/%s", externalStorePath, filename); in testPushPull_extStorageVariable() 261 tmpDestFile2 = mTestDevice.pullFileFromExternal(filename); in testPushPull_extStorageVariable()
|