/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 235 fun write( in <lambda>() method 287 writer.write("@Deprecated") in <lambda>() 288 writer.write(if (separateLines) "\n" else " ") in <lambda>() 309 writer.write(visibilityLevel.javaSourceCodeModifier + " ") in <lambda>() 313 writer.write("default ") in <lambda>() 317 writer.write("static ") in <lambda>() 327 writer.write("final ") in <lambda>() 331 writer.write("sealed ") in <lambda>() 335 writer.write("suspend ") in <lambda>() 339 writer.write("inline ") in <lambda>() [all …]
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZFileTest.java | 91 Files.write(new byte[0], zf); in readExistingEmptyFile() 226 zos.write(new byte[] { 1, 2, 3, 4 }); 313 zos.write(new byte[] { 1, 2, 3, 4, 5 }); 315 zos.write(new byte[] { 6, 7, 8 }); 317 zos.write(new byte[] { 9, 0, 1, 2, 3, 4 }); 353 zos.write(new byte[]{1, 2, 3, 4, 5}); 355 zos.write(new byte[]{6, 7, 8}); 357 zos.write(new byte[]{9, 0, 1, 2, 3, 4}); 395 zos.write(new byte[]{1, 2, 3, 4, 5}); 397 zos.write(new byte[]{6, 7, 8}); [all …]
|
D | ExtraFieldTest.java | 94 zos.write(new byte[] { 1, 2, 3 }); in readEntryWithNoExtraField() 122 zos.write(new byte[] { 1, 2, 3 }); in readSingleExtraField() 134 segments.get(0).write(ByteBuffer.wrap(segData)); in readSingleExtraField() 169 zos.write(new byte[] { 1, 2, 3 }); in readMultipleExtraFields() 182 segments.get(0).write(ByteBuffer.wrap(segData)); in readMultipleExtraFields() 187 segments.get(1).write(ByteBuffer.wrap(segData)); in readMultipleExtraFields() 192 segments.get(2).write(ByteBuffer.wrap(segData)); in readMultipleExtraFields() 234 s.write(ByteBuffer.wrap(sData)); in addExtraFieldToExistingEntry() 330 s.write(ByteBuffer.wrap(sData)); in updateExtraFieldOfExistingEntry()
|
/tools/asuite/aidegen/lib/ |
D | clion_project_file_gen.py | 261 hfile.write(content) 271 hfile.write(_SET_C_COMPILER.format( 273 hfile.write(_SET_CXX_COMPILER.format( 289 hfile.write(_LIST_APPEND_HEADER) 290 hfile.write(_SOURCE_FILES_LINE) 292 hfile.write(''.join([_build_cmake_path(src, ' '), '\n'])) 293 hfile.write(_END_WITH_ONE_BLANK_LINE) 321 hfile.write( 340 hfile.write(_FLAGS_DICT[key]) 429 hfile.write(_MINI_VERSION_SUPPORT.format(_MINI_VERSION)) [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | CentralDirectory.java | 442 cdhs[idx].getExtraField().write(ByteBuffer.wrap(extraFields[idx])); in computeByteRepresentation() 453 F_SIGNATURE.write(out); in computeByteRepresentation() 454 F_MADE_BY.write(out, cdhs[idx].getMadeBy()); in computeByteRepresentation() 455 F_VERSION_EXTRACT.write(out, compressInfos[idx].getVersionExtract()); in computeByteRepresentation() 456 F_GP_BIT.write(out, cdhs[idx].getGpBit().getValue()); in computeByteRepresentation() 457 F_METHOD.write(out, compressInfos[idx].getMethod().methodCode); in computeByteRepresentation() 460 F_LAST_MOD_TIME.write(out, 0); in computeByteRepresentation() 461 F_LAST_MOD_DATE.write(out, 0); in computeByteRepresentation() 463 F_LAST_MOD_TIME.write(out, cdhs[idx].getLastModTime()); in computeByteRepresentation() 464 F_LAST_MOD_DATE.write(out, cdhs[idx].getLastModDate()); in computeByteRepresentation() [all …]
|
D | StoredEntry.java | 710 F_LOCAL_SIGNATURE.write(out); in toHeaderData() 711 F_VERSION_EXTRACT.write(out, compressInfo.getVersionExtract()); in toHeaderData() 712 F_GP_BIT.write(out, cdh.getGpBit().getValue()); in toHeaderData() 713 F_METHOD.write(out, compressInfo.getMethod().methodCode); in toHeaderData() 716 F_LAST_MOD_TIME.write(out, 0); in toHeaderData() 717 F_LAST_MOD_DATE.write(out, 0); in toHeaderData() 719 F_LAST_MOD_TIME.write(out, cdh.getLastModTime()); in toHeaderData() 720 F_LAST_MOD_DATE.write(out, cdh.getLastModDate()); in toHeaderData() 723 F_CRC32.write(out, cdh.getCrc32()); in toHeaderData() 724 F_COMPRESSED_SIZE.write(out, compressInfo.getCompressedSize()); in toHeaderData() [all …]
|
D | Eocd.java | 256 F_SIGNATURE.write(out); in computeByteRepresentation() 257 F_NUMBER_OF_DISK.write(out); in computeByteRepresentation() 258 F_DISK_CD_START.write(out); in computeByteRepresentation() 259 F_RECORDS_DISK.write(out, totalRecords); in computeByteRepresentation() 260 F_RECORDS_TOTAL.write(out, totalRecords); in computeByteRepresentation() 261 F_CD_SIZE.write(out, directorySize); in computeByteRepresentation() 262 F_CD_OFFSET.write(out, directoryOffset); in computeByteRepresentation() 263 F_COMMENT_SIZE.write(out, comment.length); in computeByteRepresentation()
|
/tools/tradefederation/core/python-lib/tradefed_py/ |
D | tf_runner.py | 51 self.stream.write('TEST_RUN_STARTED %s\n' % json.dumps(resp)) 61 self.stream.write('TEST_STARTED %s\n' % json.dumps(resp)) 71 self.stream.write('TEST_ENDED %s\n' % json.dumps(resp)) 82 self.stream.write('TEST_FAILED %s\n' % json.dumps(resp)) 84 self.stream.write('TEST_ENDED %s\n' % json.dumps(resp)) 95 self.stream.write('TEST_IGNORED %s\n' % json.dumps(resp)) 97 self.stream.write('TEST_ENDED %s\n' % json.dumps(resp)) 108 self.stream.write('TEST_ASSUMPTION_FAILURE %s\n' % json.dumps(resp)) 110 self.stream.write('TEST_ENDED %s\n' % json.dumps(resp)) 120 self.stream.write('TEST_ASSUMPTION_FAILURE %s\n' % json.dumps(resp)) [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 111 writer.write(",\n") in <lambda>() 129 writer.write(field.name()) in <lambda>() 160 ModifierList.write( in <lambda>() 286 writer.write(", ") in <lambda>() 293 writer.write("(") in <lambda>() 299 writer.write(cast) in <lambda>() 301 writer.write(typeString) in <lambda>() 303 writer.write(")") in <lambda>() 305 writer.write("null") in <lambda>() 310 writer.write("(") in <lambda>() [all …]
|
/tools/repohooks/tools/ |
D | android_test_mapping_format_unittest.py | 201 f.write(VALID_TEST_MAPPING) 208 f.write(BAD_JSON) 217 f.write(BAD_TEST_WRONG_KEY) 227 f.write(BAD_TEST_WRONG_HOST_VALUE) 237 f.write(BAD_TEST_WRONG_PREFERRED_TARGETS_VALUE_NONE_LIST) 244 f.write(BAD_TEST_WRONG_PREFERRED_TARGETS_VALUE_WRONG_TYPE) 254 f.write(BAD_TEST_WRONG_OPTION) 264 f.write(BAD_IMPORT_WRONG_KEY) 274 f.write(BAD_IMPORT_WRONG_IMPORT_VALUE) 284 f.write(BAD_FILE_PATTERNS) [all …]
|
D | cpplint.py | 957 sys.stderr.write('Category \'%s\' errors found: %d\n' % 959 sys.stdout.write('Total errors found: %d\n' % self.error_count) 1242 sys.stderr.write('%s(%s): error cpplint: [%s] %s [%d]\n' % ( 1245 sys.stderr.write('%s:%s: warning: %s [%s] [%d]\n' % ( 1248 sys.stderr.write('%s:%s: %s [%s] [%d]\n' % ( 1834 sys.stderr.write("\n_root fixup, _root = '%s', repository name = '%s'\n" 1840 sys.stderr.write("_root unspecified\n") 1856 sys.stderr.write(("_root lstrip (maybe_path=%s, file_path_from_root=%s," + 1870 sys.stderr.write(("_root prepend (maybe_path=%s, full_path=%s, " + 1877 sys.stderr.write("_root ignore, returning %s\n" %(file_path_from_root)) [all …]
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | GameQualificationFpsCollector.java | 148 outputFile.write("Vsync: " + raw[0] + "\n"); in processRawData() 149 outputFile.write("Latest Seen: " + mLatestSeen + "\n"); in processRawData() 151 outputFile.write(String.format("%20s", "Desired Present Time") + "\t"); in processRawData() 152 outputFile.write(String.format("%20s", "Actual Present Time") + "\t"); in processRawData() 153 outputFile.write(String.format("%20s", "Frame Ready Time") + "\n"); in processRawData() 165 outputFile.write(String.format("%20d", Long.parseLong(parts[0])) + "\t"); in processRawData() 166 outputFile.write(String.format("%20d", Long.parseLong(parts[1])) + "\t"); in processRawData() 167 outputFile.write(String.format("%20d", Long.parseLong(parts[2])) + "\n"); in processRawData() 174 outputFile.write("\n\n"); in processRawData() 205 outputFile.write("Loop " + runIndex + " timestamp: " + startTimestamp + " ns\n"); in processTimestampsSlice() [all …]
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/utils/ |
D | CachedFileContentsTest.java | 38 Files.write("abc", f, Charsets.US_ASCII); in createFileAndCheckWithNoChanges() 52 Files.write("abc", f, Charsets.US_ASCII); in createFileAndCheckChanges() 59 Files.write("def", f, Charsets.US_ASCII); in createFileAndCheckChanges() 68 Files.write("abc", f, Charsets.US_ASCII); in createFileUpdateAndCheckChanges() 75 Files.write("def", f, Charsets.US_ASCII); in createFileUpdateAndCheckChanges() 85 Files.write("bar", f, Charsets.US_ASCII); in immediateChangesDetected() 90 Files.write("xpto", f, Charsets.US_ASCII); in immediateChangesDetected() 97 Files.write("bar", f, Charsets.US_ASCII); in immediateChangesDetectedEvenWithHackedTs() 103 Files.write("xpto", f, Charsets.US_ASCII); in immediateChangesDetectedEvenWithHackedTs() 111 Files.write("bar", f, Charsets.US_ASCII); in immediateChangesWithNoContentChangeNotDetected() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ShellOutputReceiverStreamTest.java | 51 stream.write(mRandomTestByte); in testNullReceiver() 52 stream.write(mRandomTestData); in testNullReceiver() 53 stream.write(mRandomTestData, 0, mRandomTestData.length); in testNullReceiver() 62 stream.write(testByte); in testUpperBitsIgnoredInSingleByteWrite() 71 stream.write(mRandomTestByte); in testWriteSingleBytes() 72 stream.write(mRandomTestByte); in testWriteSingleBytes() 81 stream.write(mRandomTestData); in testWriteFullByteArray1() 89 stream.write(mRandomTestData, 0, mRandomTestData.length); in testWriteFullByteArray2() 98 stream.write(mRandomTestData, 0, len); in testWritePartialByteArray()
|
D | FixedByteArrayOutputStreamTest.java | 53 mOutStream.write(text.getBytes()); in writeTextIntoStreamAndReturn() 103 mOutStream.write(prefix.getBytes()); in testWriteWithWrap() 115 mOutStream.write(text.getBytes(), offset, text.length() - offset); in testLessThanBufferWithOffset() 133 mOutStream.write(prefix.getBytes()); in testWriteWithOffsetAndWrap() 134 mOutStream.write(followup.getBytes(), offset, followup.length() - offset); in testWriteWithOffsetAndWrap()
|
/tools/treble/split/ |
D | manifest_split_test.py | 32 test_config.write(""" 47 repo_list_file.write(""" 60 module_info_file.write("""{ 111 module_info_file.write("""{ 264 repo_list_file.write(""" 277 manifest_file.write(""" 292 module_info_file.write("""{ 339 config_file.write(""" 421 manifest_file.write("""
|
/tools/treble/build/sandbox/ |
D | overlay_test.py | 84 test_config.write( 110 test_config.write( 122 test_allowed_projects.write( 140 test_config.write( 171 test_config.write( 205 test_config.write( 230 test_config.write( 258 test_config.write( 286 test_config.write(
|
D | config_test.py | 89 test_config.write(_TEST_CONFIG_XML) 105 test_config.write(_TEST_CONFIG_XML) 134 test_config.write(_TEST_CONFIG_XML) 160 test_config.write(_TEST_CONFIG_XML) 182 test_config.write(_TEST_CONTEXTS_CONFIG_XML) 224 test_config.write("""<?xml version="1.0" encoding="UTF-8" ?> 254 test_config.write( 283 test_config.write(_TEST_CONFIG_XML)
|
/tools/platform-compat/build/ |
D | process-compat-config-test.py | 47 self.merger.write(self.xml) 52 self.merger.write(self.xml) 58 self.merger.write(self.xml) 69 self.merger.write(self.xml) 89 self.merger.write(self.xml) 96 self.merger.write(self.xml) 102 self.merger.write(self.xml) 108 self.merger.write(self.xml)
|
D | process_compat_config.py | 73 self.write_errors_to.write( 79 self.write_errors_to.write( 92 def write(self, filename): member in ConfigMerger 94 self.tree.write(filename, encoding='utf-8', xml_declaration=True) 98 self.strip_config_for_device().write(filename, encoding='utf-8', xml_declaration=True) 139 config.write(args.merged_config)
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1DerEncoder.java | 301 encodedValue.write(firstByte); in toOid() 314 encodedValue.write(node); in toOid() 318 encodedValue.write(0x80 | (node >> 7)); in toOid() 319 encodedValue.write(node & 0x7f); in toOid() 323 encodedValue.write(0x80 | (node >> 14)); in toOid() 324 encodedValue.write(0x80 | ((node >> 7) & 0x7f)); in toOid() 325 encodedValue.write(node & 0x7f); in toOid()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | DriverTest.kt | 170 override fun write(b: ByteArray?, off: Int, len: Int) { in <lambda>() method in com.android.tools.metalava.DriverTest.TeeWriter 171 otherStream.write(b, off, len) in <lambda>() 172 super.write(b, off, len) in <lambda>() 175 override fun write(b: ByteArray?) { in <lambda>() method in com.android.tools.metalava.DriverTest.TeeWriter 176 otherStream.write(b) in <lambda>() 177 super.write(b) in <lambda>() 180 override fun write(b: Int) { in <lambda>() method in com.android.tools.metalava.DriverTest.TeeWriter 181 otherStream.write(b) in <lambda>() 182 super.write(b) in <lambda>()
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiRvrTwTest.py | 144 port.write('V?;'.encode()) 163 port.write(InputdB.encode()) 208 port.write('DG?;'.encode()) 231 port.write(InputDG.encode()) 349 out_file.write("\n".join(data)) 398 out_file.write("\n".join(data))
|
/tools/apksig/src/main/java/com/android/apksig/internal/jar/ |
D | ManifestWriter.java | 71 out.write(CRLF); in writeSectionDelimiter() 96 out.write(CRLF); in writeLine() 97 out.write(' '); in writeLine() 100 out.write(lineBytes, offset, chunkLength); in writeLine() 105 out.write(CRLF); in writeLine()
|
/tools/acloud/internal/lib/ |
D | ota_tools.py | 178 output_file.write(b("lpmake=%s\n" % lpmake_path)) 182 output_file.write(b(line)) 188 output_file.write(b("%s_image=%s\n" % 260 output_file.write(b("%s %s %s\n" % (get_image(split_line[1]), 264 output_file.write(b(line))
|