Home
last modified time | relevance | path

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

12345678910>>...15

/tools/tradefederation/core/javatests/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.java74 BuildInfo copy = (BuildInfo) mBuildInfo.clone(); in testClone() local
76 copy.getBuildAttributes().get(ATTRIBUTE_KEY)); in testClone()
79 assertEquals(VERSION, copy.getVersion(FILE_KEY)); in testClone()
80 assertTrue(!mFile.getAbsolutePath().equals(copy.getFile(FILE_KEY).getAbsolutePath())); in testClone()
81 assertTrue(FileUtil.compareFileContents(mFile, copy.getFile(FILE_KEY))); in testClone()
82 assertEquals("tobecloned", copy.getDeviceSerial()); in testClone()
83 Truth.assertThat(copy.getRemoteFiles()) in testClone()
86 FileUtil.deleteFile(copy.getFile(FILE_KEY)); in testClone()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DCommonCopyMethodItemTest.kt43 override fun copy( in copy() method in com.android.tools.metalava.model.testsuite.methoditem.CommonCopyMethodItemTest.CopyMethod
51 override fun copy( in copy() method in com.android.tools.metalava.model.testsuite.methoditem.CommonCopyMethodItemTest.CopyMethod
59 abstract fun copy(sourceMethodItem: MethodItem, targetClassItem: ClassItem): MethodItem in copy() method in com.android.tools.metalava.model.testsuite.methoditem.CommonCopyMethodItemTest.CopyMethod
83 copyMethod.copy(sourceMemberItem, targetClassItem) in getMember()
86 fun `test copy method from interface to class uses public visibility`() { in getMember()
130 fun `test copy method from interface to class does not copy default modifier`() { in test copy method from interface to class does not copy default modifier()
175 fun `test copy method from interface to class does copy static modifier`() { in test copy method from interface to class does copy static modifier()
219 fun `test copy non-final method from non-final class to final class does not change final`() { in test copy non-final method from non-final class to final class does not change final()
266 …fun `test copy non deprecated method from non deprecated class to deprecated class treats method a… in test copy non deprecated method from non deprecated class to deprecated class treats method as deprecated()
318 …fun `test copy non deprecated method from deprecated class to non deprecated class treats method a… in test copy non deprecated method from deprecated class to non deprecated class treats method as deprecated()
[all …]
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DFileFormatTest.kt291 format = FileFormat.V3.copy(kotlinStyleNulls = false, migrating = "test"), in Check header and specifier (v3 + kotlin-style-nulls=no,migrating=test)()
306 format = FileFormat.V2.copy(kotlinStyleNulls = true, migrating = "test"), in Check header and specifier (v2 + kotlin-style-nulls=yes,migrating=test)()
355 expectedFormat = FileFormat.V5.copy(kotlinStyleNulls = false), in Check format parsing (v5) - kotlin-style-nulls property()
383 format = FileFormat.V2.copy(kotlinStyleNulls = true, migrating = "test") in Check header and specifier (v2 + kotlin-style-nulls=yes + migrating=test)()
398 format = FileFormat.V3.copy(kotlinStyleNulls = false, migrating = "test"), in Check header and specifier (v3 + kotlin-style-nulls=no)()
407 FileFormat.V2.copy( in Check header (v2 + overloaded-method-order=source but no migrating)()
418 @Suppress("UnusedDataClassCopyResult") FileFormat.V2.copy(migrating = "a,b") in Check no ',' in migrating()
437 FileFormat.V5.copy( in Check header and specifier (v5 + overloaded-method-order=source)()
455 FileFormat.V5.copy( in Check header and specifier (v5 + overloaded-method-order=source,migrating=test)()
473 FileFormat.V5.copy( in Check header and specifier (v5 + language=java)()
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/wifi6e/
DWifiNetworkSelector6eTest.py80 network = self.ap1.copy()
105 network = ap2.copy()
130 network = ap2.copy()
153 network = self.ap1.copy()
166 ap1 = self.ap1.copy()
183 network = self.ap2.copy()
210 network = self.ap1.copy()
233 network = self.ap1.copy()
241 network = self.ap2.copy()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/fielditem/
DCommonCopyFieldItemTest.kt37 fun `test copy field from interface to class uses public visibility`() { in getMember()
81 fun `test copy field from interface to class does copy static modifier`() { in test copy field from interface to class does copy static modifier()
125 fun `test copy field from interface to class does set implicit static modifier`() { in test copy field from interface to class does set implicit static modifier()
155 …fun `test copy non deprecated field from non deprecated class to deprecated class treats field as … in test copy non deprecated field from non deprecated class to deprecated class treats field as deprecated()
207 …fun `test copy non deprecated field from deprecated class to non deprecated class treats field as … in test copy non deprecated field from deprecated class to non deprecated class treats field as not deprecated()
259 fun `test copy deprecated field from one class to another keeps field as deprecated`() { in test copy deprecated field from one class to another keeps field as deprecated()
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/
Dbits_service_config.py17 import copy
68 self.config_dic = copy.deepcopy(DEFAULT_MONSOON_CONFIG_DICT)
149 kibble_config = copy.deepcopy(user_defined_kibble_config)
151 kibble_config = copy.deepcopy(DEFAULT_KIBBLE_CONFIG)
156 self.boards_configs[board] = copy.deepcopy(
228 self.config_dic = copy.deepcopy(DEFAULT_SERVICE_CONFIG_DICT)
/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]
124 network_main = copy.deepcopy(self.main_network)[hc.BAND_2G]
125 network_aux = copy.deepcopy(self.aux_network)[hc.BAND_2G]
176 network_main = copy.deepcopy(self.main_network)[hc.BAND_2G]
177 network_aux = copy.deepcopy(self.aux_network)[hc.BAND_2G]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiNetworkSelectorTest.py153 network = self.reference_networks[AP_1]['5g'].copy()
178 network = self.reference_networks[AP_1]['5g'].copy()
204 network = self.reference_networks[AP_1]['2g'].copy()
228 network = self.reference_networks[AP_1]['5g'].copy()
243 wrong_passwd_network = self.reference_networks[AP_1]['5g'].copy()
260 network = self.reference_networks[AP_2]['5g'].copy()
380 network = self.reference_networks[AP_1]['5g'].copy()
417 network = self.reference_networks[AP_1]['5g'].copy()
445 network = self.reference_networks[AP_1]['5g'].copy()
455 network = self.reference_networks[AP_2]['5g'].copy()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationTest.java765 IConfiguration copy = in testDeepClone() local
771 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone()
772 assertNotEquals(original.getTargetPreparers().get(0), copy.getTargetPreparers().get(0)); in testDeepClone()
775 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone()
776 assertNotEquals(original.getTests().get(0), copy.getTests().get(0)); in testDeepClone()
777 copy.validateOptions(); in testDeepClone()
787 IConfiguration copy = in testDeepClone_innerDevice() local
795 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone_innerDevice()
796 assertNotEquals(original.getTargetPreparers().get(0), copy.getTargetPreparers().get(0)); in testDeepClone_innerDevice()
799 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone_innerDevice()
[all …]
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/
DSignatureFormatOptionsTest.kt196 FileFormat.V2.copy( in --format with overloaded-method-order=signature()
226 FileFormat.V2.copy( in --format specifier with all the supported properties()
243 FileFormat.V2.copy( in --format specifier with add additional overrides property()
323 FileFormat.V2.copy( in --format specifier with v2 some properties, including 'migrating' when migratingAllowed=true()
355 FileFormat.V5.copy( in --format specifier with v5, some properties, excluding 'migrating' when migratingAllowed=true()
372 FileFormat.V5.copy( in --format specifier with v5, some properties, including 'migrating' when migratingAllowed=true()
DUpdateSignatureHeaderCommandTest.kt170 format = FileFormat.V2.copy(kotlinStyleNulls = true), in Update signature (v2 to v2 + kotlin-style-nulls=true but no migrating)()
189 format = FileFormat.V2.copy(kotlinStyleNulls = true, migrating = "test"), in Update signature (v2 to v2 + kotlin-style-nulls=true,migrating=test)()
210 format = FileFormat.V3.copy(kotlinStyleNulls = false, migrating = "test"), in Update signature (v2 to v3 + kotlin-style-nulls=false,migrating=test)()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
DWifiBaseTest.py20 import copy
245 "2g": copy.copy(network_dict_2g),
246 "5g": copy.copy(network_dict_5g)
301 "2g": copy.copy(network_dict_2g),
302 "5g": copy.copy(network_dict_5g)
371 "2g": copy.copy(network_dict_2g),
372 "5g": copy.copy(network_dict_5g)
761 orig_network_list_5g = copy.copy(network_list_5g)
762 orig_network_list_2g = copy.copy(network_list_2g)
Dota_chamber.py90 self.config = config.copy()
128 self.config = config.copy()
155 self.config = config.copy()
208 self.config = config.copy()
299 self.config = config.copy()
/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py17 import copy
371 flawed_config = copy.deepcopy(self.config)
377 flawed_config = copy.deepcopy(self.config)
383 flawed_config = copy.deepcopy(self.config)
389 modded_config = copy.deepcopy(self.config)
404 modded_config = copy.deepcopy(self.config)
466 modified_config = copy.deepcopy(self.device_config)
563 flawed_config = copy.deepcopy(self.device_config)
569 flawed_config = copy.deepcopy(self.device_config)
575 flawed_config = copy.deepcopy(self.device_config)
[all …]
/tools/treble/gki/
Drepack_gki.py85 shutil.copy(
121 shutil.copy(img_zip_path, args.out_dir)
130 shutil.copy(target_files_zip_path, args.out_dir)
133 shutil.copy(os.path.join(tmp_bootimg_dir, 'otatools.zip'), args.out_dir)
/tools/netsim/ui/
Drollup.config.mjs3 import { copy } from '@web/rollup-plugin-copy';
38 copy({
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DMultiMapTest.java109 List<T> copy = new ArrayList<>(actual); in assertContainsExactly() local
111 int index = copy.indexOf(item); in assertContainsExactly()
115 copy.remove(index); in assertContainsExactly()
/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/asuite/atest/test_runners/
Dsuite_plan_test_runner.py17 import copy
165 cmd_dict = copy.deepcopy(self.run_cmd_dict)
180 env_vars = os.environ.copy()
Dvts_tf_test_runner.py17 import copy
130 cmd_dict = copy.deepcopy(self.run_cmd_dict)
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Ddhcp_config.py15 import copy
145 self.subnets = copy.deepcopy(subnets) if subnets else []
146 self.static_mappings = (copy.deepcopy(static_mappings)
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java472 BuildInfo copy = null; in clone() local
474 copy = in clone()
487 copy.addAllBuildAttributes(this); in clone()
488 copy.setProperties(this.getProperties().toArray(new BuildInfoProperties[0])); in clone()
490 copy.addAllFiles(this); in clone()
494 copy.setBuildBranch(mBuildBranch); in clone()
495 copy.setBuildFlavor(mBuildFlavor); in clone()
496 copy.setDeviceSerial(mDeviceSerial); in clone()
498 return copy; in clone()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiType.kt37 return ApiPredicate(config = apiPredicateConfig.copy(ignoreShown = true)) in getReferenceFilter()
57 config = apiPredicateConfig.copy(ignoreShown = true), in getReferenceFilter()
/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()

12345678910>>...15