/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | OptionCopierTest.java | 110 OptionDest dest = new OptionDest(); in testCopyOptions_string() local 111 OptionCopier.copyOptions(source, dest); in testCopyOptions_string() 112 assertEquals(source.mMyOption, dest.mDestOption); in testCopyOptions_string() 120 OptionDest dest = new OptionDest(); in testCopyOptions_int() local 121 OptionCopier.copyOptions(source, dest); in testCopyOptions_int() 122 assertEquals(source.mMyIntOption, dest.mDestIntOption); in testCopyOptions_int() 131 OptionDest dest = new OptionDest(); in testCopyOptions_collection() local 132 dest.mStringDestCollection.add("bar"); in testCopyOptions_collection() 133 OptionCopier.copyOptions(source, dest); in testCopyOptions_collection() 134 assertEquals(2, dest.mStringDestCollection.size()); in testCopyOptions_collection() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | FolderBuildInfo.java | 87 static void linkOrCopy(File orig, File dest) throws IOException { in linkOrCopy() argument 89 FileUtil.recursiveHardlink(orig, dest); in linkOrCopy() 94 dest.getAbsolutePath()); in linkOrCopy() 96 FileUtil.recursiveDelete(dest); in linkOrCopy() 98 FileUtil.recursiveCopy(orig, dest); in linkOrCopy()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | RandomAccessFileDataSource.java | 116 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() argument 122 if (size > dest.remaining()) { in copyTo() 128 int prevLimit = dest.limit(); in copyTo() 132 dest.limit(dest.position() + size); in copyTo() 138 chunkSize = fileChannel.read(dest); in copyTo() 144 dest.limit(prevLimit); in copyTo()
|
D | ByteArrayDataSink.java | 132 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() argument 136 dest.put(mArray, (int) offset, size); in copyTo() 202 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() argument 206 dest.put(mArray, (int) (mSliceOffset + offset), size); in copyTo()
|
D | ByteBufferDataSource.java | 78 public void copyTo(long offset, int size, ByteBuffer dest) { in copyTo() argument 79 dest.put(getByteBuffer(offset, size)); in copyTo()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | ClusterChain.java | 197 public void readData(long offset, ByteBuffer dest) in readData() argument 200 int len = dest.remaining(); in readData() 212 dest.limit(dest.position() + size); in readData() 214 dev.read(getDevOffset(chain[chainIdx], clusOfs), dest); in readData() local 223 dest.limit(dest.position() + size); in readData() 225 dev.read(getDevOffset(chain[chainIdx], 0), dest); in readData() local
|
D | ShortName.java | 105 final byte[] dest = new byte[11]; in checkSum() 107 dest[i] = (byte) name[i]; in checkSum() 109 int sum = dest[0]; in checkSum() 111 sum = dest[i] + (((sum & 1) << 7) + ((sum & 0xfe) >> 1)); in checkSum() 167 public void write(byte[] dest) { in write() argument 169 dest[i] = (byte) name[i]; in write()
|
D | FatFile.java | 111 public void read(long offset, ByteBuffer dest) throws IOException { in read() argument 114 final int len = dest.remaining(); in read() 126 chain.readData(offset, dest); in read()
|
D | FatLfnDirectory.java | 282 ArrayList<FatDirectoryEntry> dest = in updateLFN() local 287 dest.addAll(Arrays.asList(encoded)); in updateLFN() 290 final int size = dest.size(); in updateLFN() 293 dir.setEntries(dest); in updateLFN()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | JackCodeCoverageTest.java | 154 File dest = FileUtil.createTempDir("coverage"); in generateCoverageReport() local 167 cmd.add(dest.getAbsolutePath()); in generateCoverageReport() 174 FileUtil.recursiveDelete(dest); in generateCoverageReport() 184 return copyFile(new File(dest, String.format("report.%s", ext))); in generateCoverageReport() 186 FileUtil.recursiveDelete(dest); in generateCoverageReport() 189 return dest; in generateCoverageReport()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
D | FileDisk.java | 110 public void read(long devOffset, ByteBuffer dest) throws IOException { in read() argument 113 int toRead = dest.remaining(); in read() 118 final int read = fc.read(dest, devOffset); in read()
|
D | RamDisk.java | 116 public void read(long devOffset, ByteBuffer dest) throws IOException { in read() argument 127 data.limit((int) (devOffset + dest.remaining())); in read() 130 dest.put(data); in read()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionCopier.java | 58 public static void copyOptionsNoThrow(Object source, Object dest) { in copyOptionsNoThrow() argument 60 copyOptions(source, dest); in copyOptionsNoThrow()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
D | FsFile.java | 62 public void read(long offset, ByteBuffer dest) throws IOException; in read() argument
|
D | BlockDevice.java | 48 public abstract void read(long devOffset, ByteBuffer dest) in read() argument
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
D | DataSource.java | 97 void copyTo(long offset, int size, ByteBuffer dest) throws IOException; in copyTo() argument
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | TerribleFailureEmailHandler.java | 91 public void addDestination(String dest) { in addDestination() argument 92 mDestinations.add(dest); in addDestination()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JackCodeCoverageTestTest.java | 133 File dest = FileUtil.createTempFile(Files.getNameWithoutExtension(resourcePath), in extractResource() local 135 FileUtil.writeToFile(getClass().getResourceAsStream(resourcePath), dest); in extractResource() local 136 return dest; in extractResource()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | EmailResultReporter.java | 99 public void addDestination(String dest) { in addDestination() argument 100 mDestinations.add(dest); in addDestination()
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiPowerTest.py | 141 dest = os.path.join(self.iperf_server.log_path, "iperf.txt") 142 self.dut.adb.pull(pmc_iperf_json_file, " ", dest) 143 result = ip_server.IPerfResult(dest)
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | RunUtil.java | 730 private static Thread inheritIO(final InputStream src, final OutputStream dest, String name) { in inheritIO() argument 735 StreamUtil.copyStreams(src, dest); in inheritIO()
|