Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 30) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DOptionCopierTest.java137 OptionDest dest = new OptionDest(); in testCopyOptions_string() local
138 OptionCopier.copyOptions(source, dest); in testCopyOptions_string()
139 assertEquals(source.mMyOption, dest.mDestOption); in testCopyOptions_string()
146 OptionDest dest = new OptionDest(); in testCopyOptions_int() local
147 OptionCopier.copyOptions(source, dest); in testCopyOptions_int()
148 assertEquals(source.mMyIntOption, dest.mDestIntOption); in testCopyOptions_int()
156 OptionDest dest = new OptionDest(); in testCopyOptions_collection() local
157 dest.mStringDestCollection.add("bar"); in testCopyOptions_collection()
158 OptionCopier.copyOptions(source, dest); in testCopyOptions_collection()
159 assertEquals(2, dest.mStringDestCollection.size()); in testCopyOptions_collection()
[all …]
/tools/acloud/public/
Dacloud_common.py30 dest="email",
35 dest="config_file",
41 dest="report_file",
46 dest="log_file",
51 dest="verbose",
56 dest="very_verbose",
Dacloud_main.py111 dest="build_target",
117 dest="branch",
122 dest="build_id",
127 dest="spec",
133 dest="num",
140 dest="gce_image",
145 dest="local_disk_image",
151 dest="no_cleanup",
159 dest="serial_log_file",
166 dest="logcat_file",
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/
DFolderBuildInfo.java88 static void linkOrCopy(File orig, File dest) throws IOException { in linkOrCopy() argument
90 FileUtil.recursiveHardlink(orig, dest); in linkOrCopy()
95 dest.getAbsolutePath()); in linkOrCopy()
97 FileUtil.recursiveDelete(dest); in linkOrCopy()
99 FileUtil.recursiveCopy(orig, dest); in linkOrCopy()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DClusterChain.java197 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
DShortName.java105 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()
DFatFile.java111 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()
DFatLfnDirectory.java282 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/tests/src/com/android/tradefed/util/
DFileUtilFuncTest.java348 File dest = null; in testRecursiveSymlink() local
353 dest = FileUtil.createTempDir("dest-dir"); in testRecursiveSymlink()
354 FileUtil.recursiveSymlink(dir1, dest); in testRecursiveSymlink()
356 assertNotNull(FileUtil.findFile(dest, testFile.getName())); in testRecursiveSymlink()
359 FileUtil.recursiveDelete(dest); in testRecursiveSymlink()
369 File dest = null; in testSymlinkDeletion() local
374 dest = FileUtil.createTempDir("dest-dir"); in testSymlinkDeletion()
375 dest.delete(); in testSymlinkDeletion()
376 FileUtil.symlinkFile(dir1, dest); in testSymlinkDeletion()
378 assertNotNull(FileUtil.findFile(dest, testFile.getName())); in testSymlinkDeletion()
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DZFileDataSource.java126 public void copyTo(long offset, int size, @Nonnull ByteBuffer dest) throws IOException { in copyTo() argument
133 int prevLimit = dest.limit(); in copyTo()
135 file.directFullyRead(this.offset + offset, dest); in copyTo()
137 dest.limit(prevLimit); in copyTo()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DRamDisk.java116 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()
DFileDisk.java110 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()
/tools/acloud/public/acloud_kernel/
Dacloud_kernel.py53 dest="instance_name",
60 dest="local_kernel_image",
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DByteArrayDataSink.java132 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()
DByteBufferDataSource.java78 public void copyTo(long offset, int size, ByteBuffer dest) { in copyTo() argument
79 dest.put(getByteBuffer(offset, size)); in copyTo()
DChainedDataSource.java97 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() argument
98 feed(offset, size, new ByteBufferSink(dest)); in copyTo()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionCopier.java58 public static void copyOptionsNoThrow(Object source, Object dest) { in copyOptionsNoThrow() argument
60 copyOptions(source, dest); in copyOptionsNoThrow()
/tools/tradefederation/core/atest/
Datest.py288 parser.add_argument('-b', '--build', action='append_const', dest='steps',
290 parser.add_argument('-i', '--install', action='append_const', dest='steps',
292 parser.add_argument('-t', '--test', action='append_const', dest='steps',
322 parser.add_argument('--', dest='custom_args', nargs='*',
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFsFile.java62 public void read(long offset, ByteBuffer dest) throws IOException; in read() argument
DBlockDevice.java48 public abstract void read(long devOffset, ByteBuffer dest) in read() argument
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSource.java97 void copyTo(long offset, int size, ByteBuffer dest) throws IOException; in copyTo() argument
/tools/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java91 public void addDestination(String dest) { in addDestination() argument
92 mDestinations.add(dest); in addDestination()
/tools/acloud/internal/lib/
Dutils.py256 def MakeTarFile(src_dict, dest): argument
264 logger.info("Compressing %s into %s.", src_dict.keys(), dest)
265 with tarfile.open(dest, "w:gz") as tar:
/tools/tradefederation/core/src/com/android/tradefed/result/
DEmailResultReporter.java96 public void addDestination(String dest) { in addDestination() argument
97 mDestinations.add(dest); in addDestination()
/tools/test/connectivity/acts/tests/google/wifi/
DWifiPowerTest.py141 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)

12