/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionUpdateRule.java | 32 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/ |
D | OptionUpdateRuleTest.java | 32 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/ |
D | OptionUpdateRule.java | 33 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/ |
D | ota_runner_test.py | 32 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/ |
D | clion_project_file_gen_unittest.py | 59 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 …]
|
D | project_info.py | 153 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/ |
D | update_package.sh | 34 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/ |
D | asus.py | 111 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)
|
D | linksys.py | 90 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)
|
D | netgear.py | 119 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)
|
D | tplink.py | 108 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/ |
D | ZFileSortTest.java | 118 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/ |
D | wlan_policy_controller.py | 382 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/ |
D | README.md | 3 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/ |
D | device_update.py | 32 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
|
D | device_update_unittest.py | 29 self.assertIsNone(adevice.update()) 35 self.assertRaises(device_update.Error, adevice.update)
|
D | constants.py | 61 globals().update(json.load(config_file)) 79 globals().update(json.load(config_file))
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | Api.kt | 68 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/ |
D | dexter_tests.py | 19 if args.update: 99 if args.update: 113 if args.update:
|
/tools/test/connectivity/acts/framework/acts/ |
D | dict_object.py | 38 super(DictObject, self).update(**kwargs) 84 c.update(dictionary)
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ |
D | ota_updater_test.py | 39 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/ |
D | MessageDigestSink.java | 37 md.update(buf, offset, length); in consume() 48 md.update(buf); in consume()
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ |
D | ota_updater.py | 44 def update(android_device, ignore_update_errors=False): function 58 ota_runners[android_device].update()
|
/tools/external_updater/tests/endtoend/ |
D | test_update.py | 25 …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/ |
D | coverage.py | 146 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(
|