/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() argument 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/tests/src/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 …]
|
D | ArgsOptionParserTest.java | 243 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/ |
D | ota_runner_test.py | 31 def update(self, unused): member in MockOtaTool 110 runner.update() 118 runner.update() 120 runner.update() 133 runner.update() 159 runner.update() 169 runner.update() 171 runner.update() 181 runner.update() 182 runner.update() [all …]
|
/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()
|
D | ZipMergeTest.java | 113 merged.update(); in mergeZipWithDeferredCrc() 154 merged.update(); in mergeZipKeepsDeflatedAndStored() 194 merged.update(); in mergeZipWithSorting()
|
D | AlignmentTest.java | 144 zf.update(); 209 zf.update(); 466 zf.update(); 504 zf.update(); 808 zf.update(); 820 zf.update(); 836 zf.update(); 849 zf.update();
|
/tools/dexter/dexter/ |
D | dexter_tests.py | 20 if args.update: 85 if args.update: 99 if args.update:
|
/tools/test/connectivity/acts/framework/acts/ |
D | dict_object.py | 38 super(DictObject, self).update(**kwargs) 84 c.update(dictionary)
|
/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 57 ota_runners[android_device].update()
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ |
D | ota_updater_test.py | 39 def update(self): member in MockOtaRunner 84 ota_updater.update(device) 92 ota_updater.update(device, ignore_update_errors=True)
|
/tools/tradefederation/core/atest/ |
D | cli_translator.py | 125 grouped_tests.update( 133 tests.update(parent_dir_tests) 137 grouped_tests.update(test_list) 139 tests.update(all_tests.get(
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/ |
D | ota_runner.py | 41 self.ota_tool.update(self) 97 def update(self): member in SingleUseOtaRunner 130 def update(self): member in MultiUseOtaRunner
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiElement.java | 87 public void update(int version, boolean deprecated) { in update() method in ApiElement 107 public void update(int version) { in update() method in ApiElement 108 update(version, false); in update()
|
D | Api.java | 59 classElement.update(version, deprecated); in addClass()
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/ |
D | ota_tool.py | 33 def update(self, ota_runner): member in OtaTool
|
D | adb_sideload_ota_tool.py | 34 def update(self, ota_runner): member in AdbSideloadOtaTool
|
D | update_device_ota_tool.py | 43 def update(self, ota_runner): member in UpdateDeviceOtaTool
|
/tools/repohooks/tools/ |
D | cpplint.py-update | 25 Helper script to quickly update the bundled cpplint.py script.
|
D | checkpatch.pl-update | 25 Helper script to quickly update the bundled checkpatch.pl script.
|
/tools/test/connectivity/acts/tests/sample/ |
D | OtaSampleTest.py | 30 ota_updater.update(self.dut)
|
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/ |
D | ota_tool_test.py | 32 ota_tool.OtaTool('').update(obj)
|
D | adb_sideload_ota_tool_test.py | 60 runner.update()
|
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/ |
D | local_base.py | 84 final_configs.update(self._base_configs) 86 final_configs.update(override_configs)
|