Home
last modified time | relevance | path

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

123456

/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionUpdateRule.java32 Object update(String optionName, Object current, Object update) in update() argument
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/tradefederation/core/common_util/com/android/tradefed/config/
DOptionUpdateRule.java31 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
40 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
49 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
51 return current == null || compare(optionName, current, update) < 0; in shouldUpdate()
58 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
60 return current == null || compare(optionName, current, update) > 0; in shouldUpdate()
67 boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
79 abstract boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
86 public boolean shouldUpdate(String optionName, Object optionSource, Field field, Object update) in shouldUpdate() argument
95 return shouldUpdate(optionName, current, update); in shouldUpdate()
[all …]
/tools/loganalysis/tests/src/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/asuite/aidegen/lib/
Dproject_info.py139 self.project_module_names.update(_CORE_MODULES)
262 module_names.update(
265 module_names.update(self._get_robolectric_dep_module(module_names))
275 children.update(dep[name][constant.KEY_DEPENDENCIES])
277 dep.update(self.get_dep_modules(children, depth + 1))
360 self.source_path['source_folder_path'].update(set(module.src_dirs))
361 self.source_path['test_folder_path'].update(set(module.test_dirs))
362 self.source_path['r_java_path'].update(set(module.r_java_paths))
363 self.source_path['srcjar_path'].update(set(module.srcjar_paths))
365 rebuild_targets.update(module.build_targets)
[all …]
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 …]
Declipse_project_file_gen.py175 links.update(self._gen_src_links(self._get_other_src_folders()))
176 links.update(self._gen_r_link())
177 links.update(self._gen_bin_link())
/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/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/asuite/
Dasuite_run_unittests.py53 cmd_dict.update({ATEST_CMD : None})
55 cmd_dict.update({AIDEGEN_CMD : None})
60 cmd_dict.update({cmd : full_path})
/tools/dexter/dexter/
Ddexter_tests.py20 if args.update:
87 if args.update:
101 if args.update:
/tools/tradefederation/core/atest/
Dcli_translator.py131 test_infos.update(f_results)
201 test_infos.update(found_test_infos)
306 grouped_tests.update(tests)
353 grouped_tests.update(test_list)
358 tests.update(grouped_tests)
395 test_mapping_files.update(self._find_files(path, file_name))
407 checked_files.update(test_mapping_files)
430 tests.update(import_tests)
432 all_tests.setdefault(group, set()).update(grouped_tests)
/tools/asuite/atest/
Dcli_translator.py131 test_infos.update(f_results)
201 test_infos.update(found_test_infos)
307 grouped_tests.update(tests)
354 grouped_tests.update(test_list)
359 tests.update(grouped_tests)
396 test_mapping_files.update(self._find_files(path, file_name))
408 checked_files.update(test_mapping_files)
431 tests.update(import_tests)
433 all_tests.setdefault(group, set()).update(grouped_tests)
/tools/test/connectivity/acts/framework/acts/
Ddict_object.py38 super(DictObject, self).update(**kwargs)
84 c.update(dictionary)
/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/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/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiElement.java91 void update(int version, boolean deprecated) { in update() method in ApiElement
111 public void update(int version) { in update() method in ApiElement
112 update(version, isDeprecated()); in update()
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/
Dota_runner.py52 self.ota_tool.update(self)
168 def update(self): member in SingleUseOtaRunner
201 def update(self): member in MultiUseOtaRunner
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/
Dota_tool.py33 def update(self, ota_runner): member in OtaTool
/tools/external_updater/
DOWNERS2 # Please update this list if you find better candidates.
Dexternal_updater.py167 def update(args): function
201 updater.update()
261 update_parser.set_defaults(func=update)
/tools/test/graphicsbenchmark/
DOWNERS2 # Please update this list if you find better candidates.

123456