/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 …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | DeviceFileReporterTest.java | 82 final String filename = "/data/tombstones/tombstone_00"; in testSimple() local 89 EasyMock.expect(mDevice.pullFile(EasyMock.eq(filename))) in testSimple() 90 .andReturn(new FakeFile(filename, tombstone.length())); in testSimple() 94 mListener.testLog(EasyMock.eq(filename), EasyMock.eq(LogDataType.UNKNOWN), in testSimple() 108 final String filename = "/data/tombstones/tombstone_00"; in testTrim() local 115 EasyMock.expect(mDevice.pullFile(EasyMock.eq(filename))) in testTrim() 116 .andReturn(new FakeFile(filename, tombstone.length())); in testTrim() 119 mListener.testLog(EasyMock.eq(filename), EasyMock.eq(LogDataType.UNKNOWN), in testTrim() 124 assertEquals(filename, filenames.get(0)); in testTrim() 130 final String filename = "/data/tombstones/tombstone_00"; in testLine_containingSpace() local [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | DeviceFileReporter.java | 170 for (String filename : line.split("\\s+")) { in run() 171 if (mSkipRepeatFiles && mReportedFiles.contains(filename)) { in run() 172 CLog.v("Skipping already-reported file %s", filename); in run() 181 filename, mDevice.getSerialNumber()); in run() 182 file = mDevice.pullFile(filename); in run() 184 final LogDataType type = getDataType(filename, pat.getValue()); in run() 188 mListener.testLog(filename, type, iss); in run() 189 filenames.add(filename); in run() 190 mReportedFiles.add(filename); in run() 206 LogDataType getDataType(String filename, LogDataType defaultType) { in getDataType() argument [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 …]
|
D | audio_analysis.py | 561 def get_file_THDN(filename, q, freq=None): argument 574 audio_file = soundfile.SoundFile(filename) 590 def get_file_max_THDN(filename, step_size, window_size, q, freq=None): argument 605 audio_file = soundfile.SoundFile(filename) 625 def get_file_anomaly_durations(filename, freq=None, argument 646 audio_file = soundfile.SoundFile(filename)
|
/tools/test/connectivity/acts/framework/acts/metrics/ |
D | core.py | 188 filename = self._get_output_file( 190 dump_string_to_file(metric.get_binary(), filename, mode='wb') 199 filename = self._get_output_file( 201 dump_string_to_file(metric.get_ascii(), filename) 210 filename = self._get_output_file( 212 dump_string_to_file(metric.get_descriptor_binary(), filename, mode='wb') 221 filename = self._get_output_file( 223 dump_string_to_file(metric.get_descriptor_ascii(), filename) 225 def _get_output_file(self, output_path, filename, extension): argument 236 return os.path.join(output_path, "%s.%s" % (filename, extension))
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GCSFileDownloaderFuncTest.java | 173 String filename = mRemoteRoot + "/" + FILE_NAME1; in testGetRemoteFileMetaData() local 174 StorageObject object = mDownloader.getRemoteFileMetaData(BUCKET_NAME, filename); in testGetRemoteFileMetaData() 175 Assert.assertEquals(filename, object.getName()); in testGetRemoteFileMetaData() 180 String filename = mRemoteRoot + "/" + "not_exist"; in testGetRemoteFileMetaData_notExist() local 181 StorageObject object = mDownloader.getRemoteFileMetaData(BUCKET_NAME, filename); in testGetRemoteFileMetaData_notExist() 234 for (String filename : localFile.list()) { in checkDownloadedFolder() 235 if (filename.equals(FILE_NAME2)) { in checkDownloadedFolder() 239 new File(localFile.getAbsolutePath(), filename))); in checkDownloadedFolder() 240 } else if (filename.equals(FILE_NAME3)) { in checkDownloadedFolder() 244 new File(localFile.getAbsolutePath(), filename))); in checkDownloadedFolder() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/ |
D | descriptor_pb2.py | 29 filename=None, 115 filename=None, 141 filename=None, 167 filename=None, 194 filename=None, 225 filename=None, 333 filename=None, 370 filename=None, 450 filename=None, 539 filename=None, [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/ |
D | apollo_qa_pb2.py | 31 filename=None, 74 filename=None, 145 filename=None, 188 filename=None, 211 filename=None, 234 filename=None, 358 filename=None, 381 filename=None, 426 filename=None, 520 filename=None, [all …]
|
/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)
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestParserTestBase.java | 54 protected String[] readInFile(String filename) { in readInFile() argument 58 TEST_TYPE_DIR + File.separator + filename); in readInFile() 66 CLog.e("Gest output file does not exist: " + filename); in readInFile() 69 CLog.e("Unable to read contents of gtest output file: " + filename); in readInFile()
|
/tools/acloud/public/actions/ |
D | create_goldfish_action.py | 136 def ParseBuildInfo(filename, pattern): argument 154 with open(filename) as build_info_file: 161 def _FetchBuildIdFromFile(cfg, build_target, build_id, pattern, filename): argument 181 temp_filename = os.path.join(tempdir, filename) 184 filename,
|
/tools/tradefederation/core/atest/proto/ |
D | external_user_log_pb2.py | 35 filename=None, 58 filename=None, 95 filename=None, 132 filename=None, 169 filename=None, 213 filename=None, 243 filename=None, 280 filename=None,
|
D | internal_user_log_pb2.py | 35 filename=None, 86 filename=None, 137 filename=None, 195 filename=None, 239 filename=None, 283 filename=None, 334 filename=None, 364 filename=None, 401 filename=None,
|
D | clientanalytics_pb2.py | 33 filename=None, 85 filename=None, 116 filename=None, 147 filename=None,
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/protos/ |
D | bluetooth_metric_pb2.py | 31 filename=None, 65 filename=None, 91 filename=None, 118 filename=None, 198 filename=None, 243 filename=None, 337 filename=None, 431 filename=None, 484 filename=None, 543 filename=None, [all …]
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 94 def _import_project_file_xml_etree(filename): argument 102 tree = xml.etree.ElementTree.parse(filename) 114 print("{0}: import error: {1}".format(os.path.basename(filename), err)) 126 for filename in filelist: 127 real_iml_file = os.path.join(abs_path, filename)
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSFileDownloader.java | 70 public InputStream downloadFile(String bucketName, String filename) throws IOException { in downloadFile() argument 75 getStorage().objects().get(bucketName, filename).executeMediaAsInputStream(); in downloadFile() 253 boolean isRemoteFolder(String bucketName, String filename) throws IOException { in isRemoteFolder() argument 254 filename = sanitizeDirectoryName(filename); in isRemoteFolder() 259 .setPrefix(filename) in isRemoteFolder()
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | audio_test_utils.py | 108 return audio_analysis.get_file_THDN(filename=latest_file_path, 112 return audio_analysis.get_file_max_THDN(filename=latest_file_path, 143 filename=latest_file_path, 179 filename=dest_file_path,
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/components/ |
D | ChooseTrace.kt | 32 val filename = fd.file in selectFile() constant 33 if (filename != null) { in selectFile() 34 val file = File(fd.directory, filename) in selectFile()
|
/tools/trebuchet/trebuchet/startup-analyzer/src/ |
D | StartupAnalyzer.kt | 109 val filename = args[0] in main() constant 111 println("Opening `$filename`") in main() 112 val trace = parseTrace(File(filename), verbose = false) in main()
|
/tools/test/connectivity/tools/ |
D | proto_check.py | 72 for filename in filenames: 73 if filename == gen_filename: 74 gen_file = os.path.join(root, filename)
|
/tools/tradefederation/core/src/com/android/tradefed/config/gcs/ |
D | GCSConfigurationFactory.java | 141 String getPath(String parent, String filename) { in getPath() argument 144 return filename; in getPath() 146 return parentPath.resolve(filename).normalize().toString(); in getPath()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/ |
D | PerformanceTest.java | 217 private File findApk(String filename) { in findApk() argument 218 File file = new File(mApkDir, filename); in findApk() 224 file = new File(mApkDir, Files.getNameWithoutExtension(filename) + "/" + filename); in findApk()
|
/tools/test/connectivity/acts/framework/acts/libs/logging/ |
D | log_stream.py | 323 def __create_rotating_file_handler(filename): argument 326 return MovableRotatingFileHandler(filename, maxBytes=10485760, 434 filename = os.path.basename(handler.baseFilename) 435 handler.set_file(os.path.join(new_dir, filename))
|