Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 185) sorted by relevance

12345678

/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionUpdateRule.java32 Object update(String optionName, Object current, Object update) in update() method
34 if (current == null) return update; in update()
42 Object update(String optionName, Object current, Object update) in update() argument
44 return update; in update()
51 Object update(String optionName, Object current, Object update) in update() method
53 if (current == null) return update; in update()
54 if (compare(optionName, current, update) < 0) { in update()
56 return update; in update()
67 Object update(String optionName, Object current, Object update) in update() method
69 if (current == null) return update; in update()
[all …]
/tools/loganalysis/javatests/com/android/loganalysis/util/config/
DOptionUpdateRuleTest.java32 assertEquals(UPDATE, OptionUpdateRule.FIRST.update(OPTION_NAME, null, UPDATE)); in testFirst_simple()
33 assertEquals(CURRENT, OptionUpdateRule.FIRST.update(OPTION_NAME, CURRENT, UPDATE)); in testFirst_simple()
37 assertEquals(UPDATE, OptionUpdateRule.LAST.update(OPTION_NAME, null, UPDATE)); in testLast_simple()
38 assertEquals(UPDATE, OptionUpdateRule.LAST.update(OPTION_NAME, CURRENT, UPDATE)); in testLast_simple()
43 SMALL_UPDATE, OptionUpdateRule.GREATEST.update(OPTION_NAME, null, SMALL_UPDATE)); in testGreatest_simple()
44 assertEquals(CURRENT, OptionUpdateRule.GREATEST.update(OPTION_NAME, CURRENT, SMALL_UPDATE)); in testGreatest_simple()
46 BIG_UPDATE, OptionUpdateRule.GREATEST.update(OPTION_NAME, CURRENT, BIG_UPDATE)); in testGreatest_simple()
50 assertEquals(BIG_UPDATE, OptionUpdateRule.LEAST.update(OPTION_NAME, null, BIG_UPDATE)); in testLeast_simple()
52 SMALL_UPDATE, OptionUpdateRule.LEAST.update(OPTION_NAME, CURRENT, SMALL_UPDATE)); in testLeast_simple()
53 assertEquals(CURRENT, OptionUpdateRule.LEAST.update(OPTION_NAME, CURRENT, BIG_UPDATE)); in testLeast_simple()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/config/
DOptionUpdateRule.java33 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
42 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
51 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
53 return current == null || compare(optionName, current, update) < 0; in shouldUpdate()
60 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
62 return current == null || compare(optionName, current, update) > 0; in shouldUpdate()
69 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
81 abstract boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
88 public boolean shouldUpdate(String optionName, Object optionSource, Field field, Object update) in shouldUpdate() argument
99 return shouldUpdate(optionName, current, update); in shouldUpdate()
[all …]
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_runners/
Dota_runner_test.py32 def update(self, unused): member in MockOtaTool
139 runner.update()
147 runner.update()
149 runner.update()
162 runner.update()
188 runner.update()
198 runner.update()
200 runner.update()
210 runner.update()
211 runner.update()
[all …]
/tools/asuite/aidegen/lib/
Dclion_project_file_gen_unittest.py59 mod_info.update(self._PATH_DICT)
68 mod_info.update(self._MOD_NAME_DICT)
83 mod_info.update(self._MOD_NAME_DICT)
100 mod_info.update(self._PATH_DICT)
101 mod_info.update(self._MOD_NAME_DICT)
126 mod_info.update(self._PATH_DICT)
127 mod_info.update(self._MOD_NAME_DICT)
143 mod_info.update(self._PATH_DICT)
144 mod_info.update(self._MOD_NAME_DICT)
157 mod_info.update(self._PATH_DICT)
[all …]
Dproject_info.py153 self.project_module_names.update(_CORE_MODULES)
272 module_names.update(
275 module_names.update(self._get_robolectric_dep_module(module_names))
285 children.update(dep[name][constant.KEY_DEPENDENCIES])
287 dep.update(self.get_dep_modules(children, depth + 1))
370 self.source_path['source_folder_path'].update(set(module.src_dirs))
371 self.source_path['test_folder_path'].update(set(module.test_dirs))
372 self.source_path['r_java_path'].update(set(module.r_java_paths))
373 self.source_path['srcjar_path'].update(set(module.srcjar_paths))
375 rebuild_targets.update(module.build_targets)
[all …]
/tools/external_updater/
Dupdate_package.sh34 cp -a --update=none $external_dir/$1 .
44 cp -a -f --update=none $external_dir/MODULE_LICENSE_* .
50 cp -a -f --update=none $external_dir/cargo2android* .
53 cp -a -f --update=none $external_dir/cargo_embargo* .
61 cp -a -f --update=none $external_dir/cargo2rulesmk* .
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/third_party_ap_profiles/
Dasus.py111 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
118 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
206 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
215 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
327 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
339 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
435 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
453 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
544 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
550 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
Dlinksys.py90 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
97 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
171 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
177 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
275 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
283 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
Dnetgear.py119 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
127 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
243 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
250 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
Dtplink.py108 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
117 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
216 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
227 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
354 rates.update(hostapd_constants.CCK_AND_OFDM_BASIC_RATES)
362 rates.update(hostapd_constants.OFDM_ONLY_BASIC_RATES)
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileSortTest.java118 mZFile.update(); in noSort()
133 mZFile.update();
151 mZFile.update(); in autoSort()
165 mZFile.update(); in sortFilesAfterUpdate()
176 mZFile.update(); in sortFilesAfterUpdate()
195 mZFile.update(); in sortFilesWithAlignment()
209 mZFile.update(); in sortFilesOnClosedFile()
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/
Dwlan_policy_controller.py382 update = self.sl4f.wlan_policy_lib.wlanGetUpdate(
392 if update.get('error'):
396 update['error'])
399 for network in update['result']['networks']:
445 update = self.sl4f.wlan_policy_lib.wlanGetUpdate(
456 if update.get('error'):
460 update['error'])
463 if len(update['result']['networks']) == 0:
467 for network in update['result']['networks']:
520 update = self.sl4f.wlan_policy_lib.wlanGetUpdate(
[all …]
/tools/asuite/adevice/
DREADME.md3 Adevice is a command-line tool that enables Android Platform developers to update their device with…
26 ``` adevice update ```
31 # Adding a module to the update set
32 …les to the device that are not normally part of the image, you can add them to the update set with:
36 # Removing a module from the update set
37 To remove modules that you added to the update set:
/tools/asuite/atest/
Ddevice_update.py32 def update(self, serials: List[str] = None): member in DeviceUpdateMethod
49 def update(self, serials: List[str] = None) -> None: member in NoopUpdateMethod
63 def update(self, serials: List[str] = None) -> None: member in AdeviceUpdateMethod
Ddevice_update_unittest.py29 self.assertIsNone(adevice.update())
35 self.assertRaises(device_update.Error, adevice.update)
Dconstants.py61 globals().update(json.load(config_file))
79 globals().update(json.load(config_file))
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApi.kt68 classElement.update(version, deprecated) in addClass()
107 sdkExtensions.update(30, false) in backfillSdkExtensions()
109 sdkExtensions.getMethod("getExtensionVersion(I)I")!!.update(30, false) in backfillSdkExtensions()
110 sdkExtensions.getMethod("getAllExtensionVersions()Ljava/util/Map;")!!.update(31, false) in backfillSdkExtensions()
/tools/dexter/dexter/
Ddexter_tests.py19 if args.update:
99 if args.update:
113 if args.update:
/tools/test/connectivity/acts/framework/acts/
Ddict_object.py38 super(DictObject, self).update(**kwargs)
84 c.update(dictionary)
/tools/test/connectivity/acts/framework/tests/libs/ota/
Dota_updater_test.py39 def update(self): member in MockOtaRunner
88 ota_updater.update(device)
96 ota_updater.update(device, ignore_update_errors=True)
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DMessageDigestSink.java37 md.update(buf, offset, length); in consume()
48 md.update(buf); in consume()
/tools/test/connectivity/acts/framework/acts/libs/ota/
Dota_updater.py44 def update(android_device, ignore_update_errors=False): function
58 ota_runners[android_device].update()
/tools/external_updater/tests/endtoend/
Dtest_update.py25 …def update(self, updater_cmd: list[str], paths: list[Path], args: list[str] | None = None, bug_num… member in TestUpdate
51 self.update(updater_cmd, [a.local.path], args=['--refresh'], bug_number=bug_number)
/tools/asuite/atest/coverage/
Dcoverage.py146 code_under_test.update(
156 code_under_test.update(_get_test_deps(test_info, mod_info))
250 report_binaries.update(_find_native_binaries(module_dir))
261 report_binaries.update(
296 src_paths.update(

12345678