Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 31) sorted by relevance

12

/tools/repohooks/tools/
Dcpplint.py578 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 …]
Dclang-format.py108 for filename in diff_filenames:
109 print('\t%s' % filename)
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DDeviceFileReporterTest.java78 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/
Dcheck_quality.py68 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/
DGTestParserTestBase.java56 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()
DGoogleBenchmarkResultParserTest.java61 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()
DGTestXmlResultParserTest.java51 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()
DJarHostTestTest.java97 protected File getJarResource(String filename, File parentDir) throws IOException { in getJarResource() argument
98 InputStream jarFileStream = getClass().getResourceAsStream(filename); in getJarResource()
/tools/repohooks/rh/
Dconfig_unittest.py48 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)
Dconfig.py117 def _search(paths, filename): argument
119 path = os.path.join(path, filename)
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java38 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/
DBtCmdLineTest.py78 for filename in filenames:
79 file = os.path.join(dirname, filename)
/tools/tradefederation/core/src/com/android/tradefed/config/gcs/
DGCSConfigurationFactory.java108 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/
Dinternal_config_pb2.py31 filename=None,
68 filename=None,
120 filename=None,
157 filename=None,
194 filename=None,
231 filename=None,
268 filename=None,
305 filename=None,
Duser_config_pb2.py31 filename=None,
68 filename=None,
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBtFunhausBaseTest.py130 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/
DNoisyDryRunTest.java64 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/
DAudioLoopbackTestHelper.java236 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()
DVideoMultimeterTest.java322 String filename = videoInfo[0].trim(); in runMultimeterTest() local
326 doMeasurement(filename, duration); in runMultimeterTest()
/tools/test/connectivity/acts/framework/acts/
Dtracelogger.py35 os.path.basename(info.filename),
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java63 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/
Dauth.py137 filename=os.path.abspath(creds_cache_file),
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiFile.java63 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/
DBtChameleonTest.py89 filename=dest_file_path,
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java243 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()

12