Home
last modified time | relevance | path

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

123

/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/create/
Dcreate_args.py41 dest="num",
48 dest="serial_log_file",
57 dest="autoconnect",
71 dest="autoconnect",
79 dest="unlock_screen",
86 dest="report_internal_ip",
94 dest="network",
100 dest="skip_pre_run_check",
105 dest="boot_timeout_secs",
111 dest="ins_timeout_secs",
[all …]
/tools/acloud/public/
Dacloud_common.py30 dest="email",
34 dest="config_file",
40 dest="service_account_json_private_key_path",
45 dest="report_file",
50 dest="log_file",
61 dest="no_metrics",
71 dest="config_file",
76 dest="service_account_json_private_key_path",
80 dest="report_file",
84 dest="log_file",
/tools/acloud/delete/
Ddelete_args.py43 dest="instance_names",
51 dest="all",
57 dest="adb_port",
63 dest="local_only",
69 dest="remote_host",
76 dest="host_user",
84 dest="host_ssh_private_key_path",
94 dest="instance_names",
/tools/acloud/setup/
Dsetup_args.py39 dest="host",
47 dest="host_base",
53 dest="gcp_init",
60 dest="force",
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/device/apps/
Dapp_installer.py42 def pull_from_device(ad, pkg_name, dest): argument
62 ad.pull_files(path_on_device, dest)
63 if os.path.isdir(dest):
64 dest = os.path.join(dest, os.path.basename(path_on_device))
65 return AppInstaller(ad, dest)
Dhotword_model_extractor.py45 def _extract(self, hotword_pkg, model_name, dest): argument
57 self._dut, hotword_pkg, dest)
66 return hotword_zip.extract(model_rel_path, dest)
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestResourceDownloader.java47 final File dest = new File(mRootDir, resource.getName()); in download() local
48 final File parent = dest.getParentFile(); in download()
54 FileUtil.hardlinkFile(src, dest); in download()
55 return dest; in download()
58 final List<String> cmdArgs = buildDownloadCommandArgs(url, dest); in download()
75 return dest; in download()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DFileChannelDataSource.java127 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() argument
133 if (size > dest.remaining()) { in copyTo()
139 int prevLimit = dest.limit(); in copyTo()
143 dest.limit(dest.position() + size); in copyTo()
148 chunkSize = mChannel.read(dest); in copyTo()
154 dest.limit(prevLimit); in copyTo()
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()
/tools/acloud/pull/
Dpull_args.py38 dest="instance_name",
44 dest="file_name",
52 dest="no_prompt",
/tools/acloud/reconnect/
Dreconnect_args.py36 dest="instance_names",
46 dest="all",
54 dest="autoconnect",
/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()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilFuncTest.java373 File dest = null; in testRecursiveSymlink() local
378 dest = FileUtil.createTempDir("dest-dir"); in testRecursiveSymlink()
379 FileUtil.recursiveSymlink(dir1, dest); in testRecursiveSymlink()
381 assertNotNull(FileUtil.findFile(dest, testFile.getName())); in testRecursiveSymlink()
384 FileUtil.recursiveDelete(dest); in testRecursiveSymlink()
395 File dest = null; in testSymlinkDeletion() local
400 dest = FileUtil.createTempDir("dest-dir"); in testSymlinkDeletion()
401 dest.delete(); in testSymlinkDeletion()
402 FileUtil.symlinkFile(dir1, dest); in testSymlinkDeletion()
404 assertNotNull(FileUtil.findFile(dest, testFile.getName())); in testSymlinkDeletion()
[all …]
/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()
95 public static void copyOptionsNoThrow(Object source, Object dest, String optionName) { in copyOptionsNoThrow() argument
97 copyOptions(source, dest, optionName); in copyOptionsNoThrow()
/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/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DDataSlice.kt35 dest: DataSlice = DataSlice()): DataSlice { in get()
36 dest.set(buffer, this.startIndex + startIndex, this.startIndex + endIndex) in get()
37 return dest in get()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
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()
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()
/tools/acloud/public/acloud_kernel/
Dacloud_kernel.py52 dest="instance_name",
59 dest="local_kernel_image",
/tools/asuite/atest/
Datest_arg_parser.py116 self.add_argument('-b', '--build', action='append_const', dest='steps',
122 dest='steps', const=constants.INSTALL_STEP,
130 self.add_argument('-t', '--test', action='append_const', dest='steps',
222 self.add_argument('--', dest='custom_args', nargs='*',
/tools/tradefederation/core/atest/
Datest_arg_parser.py116 self.add_argument('-b', '--build', action='append_const', dest='steps',
122 dest='steps', const=constants.INSTALL_STEP,
130 self.add_argument('-t', '--test', action='append_const', dest='steps',
220 self.add_argument('--', dest='custom_args', nargs='*',
/tools/asuite/aidegen/
Daidegen_main.py142 dest='ide_installed_path',
149 dest='config_reset',
155 dest='skip_build',
162 dest='android_tree',
168 dest='exclude_paths',

123