Home
last modified time | relevance | path

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

123

/tools/acloud/create/
Dcreate_args.py42 dest="num",
49 dest="serial_log_file",
58 dest="autoconnect",
72 dest="autoconnect",
80 dest="unlock_screen",
87 dest="report_internal_ip",
95 dest="network",
101 dest="skip_pre_run_check",
106 dest="boot_timeout_secs",
112 dest="ins_timeout_secs",
[all …]
/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/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/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",
Dacloud_main.py200 dest="emulator_build_id",
206 dest="emulator_branch",
213 dest="base_image",
220 dest="tags",
/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/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()
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/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/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/acloud/setup/
Dsetup_args.py46 dest="host",
54 dest="host_base",
60 dest="gcp_init",
67 dest="force",
74 dest="update_config",
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java2353 public int directRead(long offset, @Nonnull ByteBuffer dest) throws IOException { in directRead() argument
2356 if (!dest.hasRemaining()) { in directRead()
2369 return raf.getChannel().read(dest); in directRead()
2403 public void directFullyRead(long offset, @Nonnull ByteBuffer dest) throws IOException { in directFullyRead() argument
2406 if (!dest.hasRemaining()) { in directFullyRead()
2419 while (dest.hasRemaining()) { in directFullyRead()
2421 int chunkSize = fileChannel.read(dest); in directFullyRead()
2424 "Failed to read " + dest.remaining() + " more bytes: premature EOF"); in directFullyRead()
/tools/asuite/aidegen/
Daidegen_main.py140 dest='ide_installed_path',
147 dest='config_reset',
153 dest='skip_build',
160 dest='android_tree',
166 dest='exclude_paths',
/tools/acloud/internal/lib/
Dutils.py309 def MakeTarFile(src_dict, dest): argument
317 logger.info("Compressing %s into %s.", src_dict.keys(), dest)
318 with tarfile.open(dest, "w:gz") as tar:
433 def Decompress(sourcefile, dest=None): argument
444 dest_path = dest if dest else "."
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py104 dest='create_sample',
121 dest='use_cases_verified',
126 dest='binary_upload_verified',
133 dest='test_all_samples',
139 dest='compare_sample_native',
/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/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/atest/
Datest_arg_parser.py119 self.add_argument('-b', '--build', action='append_const', dest='steps',
125 dest='steps', const=constants.INSTALL_STEP,
132 self.add_argument('-t', '--test', action='append_const', dest='steps',
236 self.add_argument('--', dest='custom_args', nargs='*',
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheTest.java355 private void assertFetchRemoteFile(String remotePath, List<String> relativePaths, File dest) in assertFetchRemoteFile() argument
358 File fileCopy = dest; in assertFetchRemoteFile()
359 if (dest != null) { in assertFetchRemoteFile()
360 mCache.fetchRemoteFile(mMockDownloader, remotePath, dest); in assertFetchRemoteFile()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java156 public CommandResult copy(String source, String dest) throws IOException { in copy() argument
158 CLog.d("Copying %s => %s", source, dest); in copy()
180 command.add(dest); in copy()
191 dest, in copy()
/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",

123