Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 221) sorted by relevance

123456789

/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceBuildInfoTest.java69 DeviceBuildInfo copy = (DeviceBuildInfo) mBuildInfo.clone(); in testClone() local
72 assertEquals(VERSION, copy.getBasebandVersion()); in testClone()
76 .equals(copy.getBasebandImageFile().getAbsolutePath())); in testClone()
77 assertTrue(FileUtil.compareFileContents(mImageFile, copy.getBasebandImageFile())); in testClone()
79 if (copy.getBasebandImageFile() != null) { in testClone()
80 copy.getBasebandImageFile().delete(); in testClone()
82 copy.cleanUp(); in testClone()
102 DeviceBuildInfo copy = (DeviceBuildInfo) mBuildInfo.clone(); in testCloneWithProperties() local
104 assertNotEquals(copy.getTestsDir(), mBuildInfo.getTestsDir()); in testCloneWithProperties()
105 assertNotEquals(copy.getBasebandImageFile(), mBuildInfo.getBasebandImageFile()); in testCloneWithProperties()
[all …]
DBuildInfoTest.java68 BuildInfo copy = (BuildInfo) mBuildInfo.clone(); in testClone() local
70 copy.getBuildAttributes().get(ATTRIBUTE_KEY)); in testClone()
73 assertEquals(VERSION, copy.getVersion(FILE_KEY)); in testClone()
74 assertTrue(!mFile.getAbsolutePath().equals(copy.getFile(FILE_KEY).getAbsolutePath())); in testClone()
75 assertTrue(FileUtil.compareFileContents(mFile, copy.getFile(FILE_KEY))); in testClone()
76 assertEquals("tobecloned", copy.getDeviceSerial()); in testClone()
78 FileUtil.deleteFile(copy.getFile(FILE_KEY)); in testClone()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
DWifiBaseTest.py20 import copy
113 "2g": copy.copy(network_dict_2g),
114 "5g": copy.copy(network_dict_5g)
167 "2g": copy.copy(network_dict_2g),
168 "5g": copy.copy(network_dict_5g)
237 "2g": copy.copy(network_dict_2g),
238 "5g": copy.copy(network_dict_5g)
437 orig_network_list_5g = copy.copy(network_list_5g)
438 orig_network_list_2g = copy.copy(network_list_2g)
/tools/test/connectivity/acts/tests/google/power/wifi/
DPowerWiFiroamingTest.py17 import copy
49 network_main = copy.deepcopy(self.main_network)[hc.BAND_2G]
50 network_aux = copy.deepcopy(self.aux_network)[hc.BAND_2G]
70 network_main = copy.deepcopy(self.main_network)[hc.BAND_2G]
71 network_aux = copy.deepcopy(self.aux_network)[hc.BAND_2G]
118 network_main = copy.deepcopy(self.main_network)[hc.BAND_2G]
119 network_aux = copy.deepcopy(self.aux_network)[hc.BAND_2G]
165 network_main = copy.deepcopy(self.main_network)[hc.BAND_2G]
166 network_aux = copy.deepcopy(self.aux_network)[hc.BAND_2G]
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Ddhcp_config.py16 import copy
129 self.subnets = copy.deepcopy(subnets) if subnets else []
130 self.static_mappings = (copy.deepcopy(static_mappings)
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DMultiMapTest.java104 List<T> copy = new ArrayList<>(actual); in assertContainsExactly() local
106 int index = copy.indexOf(item); in assertContainsExactly()
110 copy.remove(index); in assertContainsExactly()
/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py17 import copy
367 flawed_config = copy.deepcopy(self.config)
373 flawed_config = copy.deepcopy(self.config)
379 flawed_config = copy.deepcopy(self.config)
385 modded_config = copy.deepcopy(self.config)
400 modded_config = copy.deepcopy(self.config)
462 modified_config = copy.deepcopy(self.device_config)
559 flawed_config = copy.deepcopy(self.device_config)
565 flawed_config = copy.deepcopy(self.device_config)
571 flawed_config = copy.deepcopy(self.device_config)
[all …]
Dacts_test_runner_test.py60 mock_test_config = self.base_mock_test_config.copy()
103 mock_test_config = self.base_mock_test_config.copy()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java743 IConfiguration copy = in testDeepClone() local
749 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone()
750 assertNotEquals(original.getTargetPreparers().get(0), copy.getTargetPreparers().get(0)); in testDeepClone()
753 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone()
754 assertNotEquals(original.getTests().get(0), copy.getTests().get(0)); in testDeepClone()
755 copy.validateOptions(); in testDeepClone()
764 IConfiguration copy = in testDeepClone_innerDevice() local
772 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone_innerDevice()
773 assertNotEquals(original.getTargetPreparers().get(0), copy.getTargetPreparers().get(0)); in testDeepClone_innerDevice()
776 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone_innerDevice()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java443 BuildInfo copy = null; in clone() local
445 copy = in clone()
458 copy.addAllBuildAttributes(this); in clone()
459 copy.setProperties(this.getProperties().toArray(new BuildInfoProperties[0])); in clone()
461 copy.addAllFiles(this); in clone()
465 copy.setBuildBranch(mBuildBranch); in clone()
466 copy.setBuildFlavor(mBuildFlavor); in clone()
467 copy.setDeviceSerial(mDeviceSerial); in clone()
469 return copy; in clone()
/tools/tradefederation/core/src/com/android/tradefed/config/
DDynamicRemoteFileResolver.java173 Collection<Object> copy = new ArrayList<>(c); in validateRemoteFilePath() local
174 for (Object o : copy) { in validateRemoteFilePath()
189 Map<Object, Object> copy = new LinkedHashMap<>(m); in validateRemoteFilePath() local
190 for (Entry<Object, Object> entry : copy.entrySet()) { in validateRemoteFilePath()
218 MultiMap<Object, Object> copy = new MultiMap<>(m); in validateRemoteFilePath() local
219 for (Object key : copy.keySet()) { in validateRemoteFilePath()
220 List<Object> mapValues = copy.get(key); in validateRemoteFilePath()
/tools/tradefederation/core/
DAndroid.mk25 deps := $(call copy-many-files,\
28 fwk_deps := $(call copy-many-files,\
31 isodeps := $(call copy-many-files,\
/tools/asuite/atest/test_runners/
Dsuite_plan_test_runner.py19 import copy
119 cmd_dict = copy.deepcopy(self.run_cmd_dict)
Dvts_tf_test_runner.py19 import copy
123 cmd_dict = copy.deepcopy(self.run_cmd_dict)
/tools/tradefederation/core/atest/test_runners/
Dsuite_plan_test_runner.py19 import copy
120 cmd_dict = copy.deepcopy(self.run_cmd_dict)
/tools/external/fat32lib/
DNOTICE7 Everyone is permitted to copy and distribute verbatim copies
25 …y, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or …
57copy and distribute verbatim copies of the Library's complete source code as you receive it, in an…
59 You may charge a fee for the physical act of transferring a copy, and you may at your option offer …
61 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work base…
75 …he ordinary GNU General Public License instead of this License to a given copy of the Library. To …
77copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all …
79 This option is useful when you wish to copy part of the code of the Library into a program that is …
81 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in o…
83copy from a designated place, then offering equivalent access to copy the source code from the sam…
[all …]
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/config/
DConfigurationDescriptor.java104 MultiMap<String, String> copy = new MultiMap<>(); in getAllMetaData() local
105 copy.putAll(mMetaData); in getAllMetaData()
106 return copy; in getAllMetaData()
/tools/trebuchet/trebuchet/traceutils/src/
DTraceUtils.kt68 fun copy(reader: StreamingReader, output: OutputStream) { in copy() method
89 copy(trace, outputStream) in extract()
/tools/asuite/aidegen/lib/
Dproject_config.py80 self.targets = args.targets.copy()
145 new_targets = targets.copy()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java246 List<LogRequest> copy = new ArrayList<>(); in flushEvents() local
248 copy.addAll(mExternalEventQueue); in flushEvents()
251 while (!copy.isEmpty()) { in flushEvents()
252 LogRequest event = copy.remove(0); in flushEvents()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java156 public CommandResult copy(String source, String dest) throws IOException { in copy() method in GCSBucketUtil
498 return copy(getUriForGcsPath(bucketPath), "."); in pull()
509 return copy(getUriForGcsPath(bucketPath), localFile.getPath()); in pull()
519 CommandResult res = copy(getUriForGcsPath(bucketPath), FILENAME_STDOUT); in pullContents()
541 return copy(localFile.getAbsolutePath(), getUriForGcsPath(bucketPath)); in push()
556 return copy(localFile.getAbsolutePath(), getUriForGcsPath(bucketPath)); in pushString()
/tools/tradefederation/core/atest/
Dtest_mapping.py20 import copy
61 self.options.append(copy.deepcopy(option).popitem())
/tools/asuite/atest/
Dtest_mapping.py18 import copy
59 self.options.append(copy.deepcopy(option).popitem())
/tools/test/connectivity/acts/framework/acts/
Dlogger.py24 from copy import copy
87 colored_record = copy(record)
/tools/tradefederation/core/tests/
DAndroid.mk21 $(copy-file-to-new-target)

123456789