Home
last modified time | relevance | path

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

12345678910

/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/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/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)
442 orig_network_list_5g = copy.copy(network_list_5g)
443 orig_network_list_2g = copy.copy(network_list_2g)
Dwifi_retail_ap.py89 …rome_capabilities = selenium.webdriver.common.desired_capabilities.DesiredCapabilities.CHROME.copy(
207 self.ap_settings = ap_settings.copy()
247 assumed_ap_settings = self.ap_settings.copy()
580 return self.ap_settings.copy()
836 return self.ap_settings.copy()
1249 init_settings = self.ap_settings.copy()
1259 return self.ap_settings.copy()
Dota_chamber.py86 self.config = config.copy()
122 self.config = config.copy()
161 self.config = config.copy()
/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_base_class_test.py969 configs = self.test_run_config.copy()
982 configs = self.test_run_config.copy()
1009 mock_test_config = self.test_run_config.copy()
1031 mock_test_config = self.test_run_config.copy()
1046 mock_test_config = self.test_run_config.copy()
1072 mock_test_config = self.test_run_config.copy()
1088 mock_test_config = self.test_run_config.copy()
1099 test_run_config = self.test_run_config.copy()
1111 test_run_config = self.test_run_config.copy()
1122 test_run_config = self.test_run_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/test/connectivity/acts_tests/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/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.java193 Collection<Object> copy = new ArrayList<>(c); in validateRemoteFilePath() local
194 for (Object o : copy) { in validateRemoteFilePath()
209 Map<Object, Object> copy = new LinkedHashMap<>(m); in validateRemoteFilePath() local
210 for (Entry<Object, Object> entry : copy.entrySet()) { in validateRemoteFilePath()
238 MultiMap<Object, Object> copy = new MultiMap<>(m); in validateRemoteFilePath() local
239 for (Object key : copy.keySet()) { in validateRemoteFilePath()
240 List<Object> mapValues = copy.get(key); in validateRemoteFilePath()
DConfigurationDef.java233 Map<String, Boolean> copy = new LinkedHashMap<>(); in createConfiguration() local
234 copy.put(DEFAULT_DEVICE_NAME, false); in createConfiguration()
235 copy.putAll(mExpectedDevices); in createConfiguration()
236 mExpectedDevices = copy; in createConfiguration()
/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/asuite/aidegen/lib/
Dmodule_info_util_unittest.py19 import copy
227 test_m_dict = copy.deepcopy(_TEST_DEP_SRC_DICT)
236 test_m_dict = copy.deepcopy(_TEST_DEP_FOO_DIST)
245 test_m_dict = copy.deepcopy(_TEST_DEP_SRC_DICT)
258 test_m_dict = copy.deepcopy(_TEST_CLASS_DICT)
/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/test/connectivity/acts/tests/google/wifi/
DWifiNetworkRequestTest.py168 network_specifier = self.wpa_psk_5g.copy();
298 network_specifier_with_bssid = self.wpa_psk_2g.copy();
354 network_specifier_with_bssid = self.wpa_psk_2g.copy();
393 network_specifier = self.wpa_psk_5g.copy();
DWifiThroughputStabilityTest.py188 test_result_dict['ap_settings'] = test_result['ap_settings'].copy()
357 curr_llstats = llstats_obj.llstats_incremental.copy()
359 test_result['testcase_params'] = testcase_params.copy()
360 test_result['ap_settings'] = self.access_point.ap_settings.copy()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGTestBase.java626 Set<String> copy = new LinkedHashSet<>(); in erasePrependedFileName() local
629 copy.add(filter.substring(filename.length() + 1)); in erasePrependedFileName()
631 copy.add(filter); in erasePrependedFileName()
635 filters.addAll(copy); in erasePrependedFileName()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1055 final List<InvocationThread> copy; in checkInvocations() local
1057 copy = new ArrayList<InvocationThread>(mInvocationThreadMap.values()); in checkInvocations()
1059 for (InvocationThread thread : copy) { in checkInvocations()
1930 List<InvocationThread> copy = new ArrayList<InvocationThread>(); in displayInvocationsInfo() local
1932 copy.addAll(mInvocationThreadMap.values()); in displayInvocationsInfo()
1938 for (InvocationThread invThread : copy) { in displayInvocationsInfo()
/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/tradefederation/core/
DAndroid.mk25 deps := $(call copy-many-files,\
28 fwk_deps := $(call copy-many-files,\
31 isodeps := $(call copy-many-files,\
/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/test/connectivity/acts/framework/acts/
Dlogger.py24 from copy import copy
87 colored_record = copy(record)

12345678910