Home
last modified time | relevance | path

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

1234567

/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/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.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 …]
/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 …]
DArgsOptionParserTest.java243 final String update = OptionUpdateRuleSource.BIGGER_VALUE; in testOptionUpdateRule_immutable() local
246 parser.parse(new String[] {"--immutable", update}); in testOptionUpdateRule_immutable()
253 parser.parse(new String[] {"--null-immutable", update}); in testOptionUpdateRule_immutable()
254 assertEquals(update, object.mNullImmutableOption); in testOptionUpdateRule_immutable()
257 parser.parse(new String[] {"--null-immutable", update}); in testOptionUpdateRule_immutable()
/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)
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/asuite/atest/
Dcli_translator.py130 test_infos.update(f_results)
200 test_infos.update(found_test_infos)
306 grouped_tests.update(tests)
337 grouped_tests.update(test_list)
342 tests.update(grouped_tests)
379 test_mapping_files.update(atest_utils.find_files(path, file_name))
391 checked_files.update(test_mapping_files)
414 tests.update(import_tests)
416 all_tests.setdefault(group, set()).update(grouped_tests)
/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/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()
DAlignmentTest.java144 zf.update();
209 zf.update();
466 zf.update();
504 zf.update();
808 zf.update();
820 zf.update();
836 zf.update();
849 zf.update();
DZFileTest.java238 zf.update();
269 zf.update();
547 zf.update(); in addingFileDoesNotAddDirectoriesAutomatically()
1279 zf.update(); in cannotAddMoreThan0x7fffExtraField()
1306 zf.update(); in cannotAddMoreThan0x7fffExtraField()
1350 zf.update(); in canAddMoreThan0x7fffExtraField()
1377 zf.update(); in canAddMoreThan0x7fffExtraField()
1560 zf.update(); in sortZipContentsWithDeferredCrc32()
1631 zf.update();
/tools/metalava/
DAPI-LINT.md45 You can pass a flag to metalava ("--update-baseline") to tell it to update the
58 then the build system will automatically supply `--update-baseline` on your
70 2. You can update the baseline by executing the following
187 (This is generated when metalava is invoked with both --verbose and --update-baseline.)
/tools/asuite/
Dasuite_run_unittests.py54 cmd_dict.update({ATEST_CMD: None})
56 cmd_dict.update({AIDEGEN_CMD: None})
58 cmd_dict.update({PLUGIN_LIB_CMD: None})
63 cmd_dict.update({cmd : full_path})
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dapollo_acts.py137 profiles.update(COMP_PROFILE_CONNECTED)
169 profiles.update(COMP_PROFILE_DISCONNECTED)
359 android_act.dut.ui_util.uia.wait.update()
390 android_act.dut.ui_util.uia.wait.update()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
DWifiBaseTest.py419 networks_dict["2g"].update(radius_conf_2g)
421 networks_dict["5g"].update(radius_conf_5g)
434 networks_dict["2g"].update(radius_conf_pwd)
436 networks_dict["5g"].update(radius_conf_pwd)
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DArgsOptionParserTest.java261 final String update = OptionUpdateRuleSource.BIGGER_VALUE; in testOptionUpdateRule_immutable() local
264 parser.parse(new String[] {"--immutable", update}); in testOptionUpdateRule_immutable()
271 parser.parse(new String[] {"--null-immutable", update}); in testOptionUpdateRule_immutable()
272 assertEquals(update, object.mNullImmutableOption); in testOptionUpdateRule_immutable()
275 parser.parse(new String[] {"--null-immutable", update}); in testOptionUpdateRule_immutable()
/tools/dexter/dexter/
Ddexter_tests.py20 if args.update:
87 if args.update:
101 if args.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

1234567