Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 193) 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() method
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/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/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/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/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)
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)
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)
/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/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* .
DREADME.md3 external updater is a tool to automatically update libraries in external/.
32 tools/external_updater/updater.sh update $PROJECT_PATH
38 tools/external_updater/updater.sh update --no-upload $PROJECT_PATH
44 tools/external_updater/updater.sh update --keep-local-changes $PROJECT_PATH
50 tools/external_updater/updater.sh update --no-build $PROJECT_PATH
56 tools/external_updater/updater.sh update --bug $BUG_NUMBER $PROJECT_PATH
/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/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()
DApiElement.kt90 fun update(version: Int, deprecated: Boolean) { in update() method in com.android.tools.metalava.apilevels.ApiElement
118 fun update(version: Int) { in update() method in com.android.tools.metalava.apilevels.ApiElement
119 update(version, isDeprecated) in update()
/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
Dcli_translator.py491 grouped_tests.update(tests)
520 grouped_tests.update(test_list)
524 tests.update(temp_tests)
527 tests.update(grouped_tests)
571 test_mapping_files.update(atest_utils.find_files(path, file_name))
582 checked_files.update(test_mapping_files)
606 tests.update(import_tests)
608 all_tests.setdefault(group, set()).update(grouped_tests)
/tools/dexter/dexter/
Ddexter_tests.py19 if args.update:
99 if args.update:
113 if args.update:
/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(
/tools/asuite/atest/test_runners/
Datest_tf_test_runner.py222 extra_args_for_deviceless_test.update({constants.HOST: True})
719 build_targets.update(test.query_build_targets())
720 runtime_targets.update(test.query_runtime_targets())
985 data.update(test_info_i.data)
1300 self.log_args.update({
1304 self.run_cmd_dict.update({
1573 build_targets.update(self._get_harness_build_targets())
1574 build_targets.update(self._get_test_build_targets())
1628 build_targets.update(_get_libs_deps(self._info, self._variant))
1629 build_targets.update(
[all …]
Dmobly_test_runner.py243 self._current_workunit.update(details)
249 self._build_client.client.workunit().update(
297 self._build_client.client.testartifact().update(
442 build_targets.update(test_runner_base.gather_build_targets(test_infos))
574 local_testbed[CONFIG_KEY_TEST_PARAMS].update(
581 files.update({
584 files.update({
/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/test/connectivity/acts_tests/tests/google/cellular/performance/
DCellularLtePlusFr1PeakThroughputTest.py67 metric_map.update({
97 metric_map.update({
161 row_dict.update({
195 row_dict.update({

12345678