Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 54) sorted by relevance

123

/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java708 public Configuration clone() { in clone() method in Configuration
709 Configuration clone = new Configuration(getName(), getDescription()); in clone() local
715 IDeviceConfiguration newDeviceConfig = config.clone(); in clone()
718 clone.setConfigurationObjectListNoThrow(entry.getKey(), newDeviceConfigList); in clone()
720 clone.setConfigurationObjectListNoThrow(entry.getKey(), entry.getValue()); in clone()
723 clone.setCommandLine(this.mCommandLine); in clone()
724 return clone; in clone()
731 Configuration clonedConfig = this.clone(); in partialDeepClone()
767 Object clone = o.getClass().getConstructor().newInstance(); in cloneTFobject() local
768 OptionCopier.copyOptions(o, clone); in cloneTFobject()
[all …]
DDeviceConfigurationHolder.java214 public IDeviceConfiguration clone() { in clone() method in DeviceConfigurationHolder
215 return clone(getDeviceName()); in clone()
219 public IDeviceConfiguration clone(String newName) { in clone() method in DeviceConfigurationHolder
DIDeviceConfiguration.java106 public IDeviceConfiguration clone(); in clone() method
109 public IDeviceConfiguration clone(String newName); in clone() method
/tools/tradefederation/core/src/com/android/tradefed/build/
DOtaDeviceBuildInfo.java448 public IBuildInfo clone() { in clone() method in OtaDeviceBuildInfo
449 OtaDeviceBuildInfo clone = new OtaDeviceBuildInfo(); in clone() local
451 clone.setBaselineBuild((IDeviceBuildInfo)mBaselineBuild.clone()); in clone()
454 clone.setOtaBuild((IDeviceBuildInfo)mOtaBuild.clone()); in clone()
456 return clone; in clone()
DOtaToolsDeviceBuildInfo.java63 public IBuildInfo clone() { in clone() method in OtaToolsDeviceBuildInfo
65 OtaToolsDeviceBuildInfo clone = new OtaToolsDeviceBuildInfo( in clone() local
66 (OtaDeviceBuildInfo)super.clone()); in clone()
69 clone.setOtaTools(toolsCopy); in clone()
70 return clone; in clone()
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DSimpleFileLoggerTest.java120 SimpleFileLogger clone = mLogger.clone(); in testClone() local
122 clone.init(); in testClone()
123 clone.printLog(LogLevel.DEBUG, LOG_TAG, "clone"); in testClone()
125 clone.closeLog(); in testClone()
DFileLoggerTest.java156 FileLogger clone = (FileLogger) logger.clone(); in testClone() local
157 assertEquals(LogLevel.INFO, clone.getLogLevel()); in testClone()
159 assertNotEquals(logger, clone); in testClone()
160 assertEquals(logger.getMaxLogSizeMbytes(), clone.getMaxLogSizeMbytes()); in testClone()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleSplitter.java208 T clone = (T) prep.getClass().getDeclaredConstructor().newInstance(); in clonePreparers() local
209 OptionCopier.copyOptions(prep, clone); in clonePreparers()
211 if (clone instanceof IAbiReceiver) { in clonePreparers()
212 ((IAbiReceiver) clone).setAbi(((IAbiReceiver) prep).getAbi()); in clonePreparers()
214 clones.add(clone); in clonePreparers()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceBuildInfoTest.java69 DeviceBuildInfo copy = (DeviceBuildInfo) mBuildInfo.clone(); in testClone()
102 DeviceBuildInfo copy = (DeviceBuildInfo) mBuildInfo.clone(); in testCloneWithProperties()
111 copy = (DeviceBuildInfo) mBuildInfo.clone(); in testCloneWithProperties()
130 DeviceBuildInfo copy = (DeviceBuildInfo) mBuildInfo.clone(); in testProperty_skipCopy()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandOptions.java307 public ICommandOptions clone() { in clone() method in CommandOptions
308 CommandOptions clone = new CommandOptions(); in clone() local
310 OptionCopier.copyOptions(this, clone); in clone()
314 return clone; in clone()
DICommandOptions.java89 public ICommandOptions clone(); in clone() method
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DCollectorHelper.java45 IMetricCollector clone = in cloneCollectors() local
47 OptionCopier.copyOptionsNoThrow(collector, clone); in cloneCollectors()
48 cloneList.add(clone); in cloneCollectors()
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java1015 mApkSigningBlock = apkSigingBlock.clone(); in OutputApkSigningBlockRequestImpl()
1021 return mApkSigningBlock.clone(); in getApkSigningBlock()
1187 return mDigest.clone(); in getDigest()
DApkSignerEngine.java442 mData = data.clone(); in JarEntry()
456 return mData.clone(); in getData()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DGuaranteedEncodedFormX509Certificate.java35 this.mEncodedForm = (encodedForm != null) ? encodedForm.clone() : null; in GuaranteedEncodedFormX509Certificate()
40 return (mEncodedForm != null) ? mEncodedForm.clone() : null; in getEncoded()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DCentralDirectoryHeader.java396 protected CentralDirectoryHeader clone() throws CloneNotSupportedException { in clone() method in CentralDirectoryHeader
397 CentralDirectoryHeader cdr = (CentralDirectoryHeader) super.clone(); in clone()
DZFile.java2009 newFileData = fromCdr.clone(); in mergeFrom()
2171 clonedCdh = entry.getCentralDirectoryHeader().clone(); in realign()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java1383 mValue = value.clone(); in AdditionalAttribute()
1391 return mValue.clone(); in getValue()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DIShardableListener.java25 IShardableListener clone(); in clone() method
/tools/tradefederation/core/src/com/android/tradefed/log/
DILeveledLogOutput.java71 public ILeveledLogOutput clone(); in clone() method
DSimpleFileLogger.java51 public SimpleFileLogger clone() { in clone() method in SimpleFileLogger
DStdoutLogger.java87 public ILeveledLogOutput clone() { in clone() method in StdoutLogger
DHistoryLogger.java85 public ILeveledLogOutput clone() { in clone() method in HistoryLogger
DFileLogger.java64 public ILeveledLogOutput clone() { in clone() method in FileLogger
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DParentShardReplicate.java59 deepCopy.getDeviceConfig().get(0).clone(newName); in replicatedSetup()

123