Home
last modified time | relevance | path

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

123

/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() 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/
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.py31 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/
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()
DZipMergeTest.java113 merged.update(); in mergeZipWithDeferredCrc()
154 merged.update(); in mergeZipKeepsDeflatedAndStored()
194 merged.update(); in mergeZipWithSorting()
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();
/tools/dexter/dexter/
Ddexter_tests.py20 if args.update:
85 if args.update:
99 if args.update:
/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
57 ota_runners[android_device].update()
/tools/test/connectivity/acts/framework/tests/libs/ota/
Dota_updater_test.py39 def update(self): member in MockOtaRunner
84 ota_updater.update(device)
92 ota_updater.update(device, ignore_update_errors=True)
/tools/tradefederation/core/atest/
Dcli_translator.py125 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/
Dota_runner.py41 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/
DApiElement.java87 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()
DApi.java59 classElement.update(version, deprecated); in addClass()
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/
Dota_tool.py33 def update(self, ota_runner): member in OtaTool
Dadb_sideload_ota_tool.py34 def update(self, ota_runner): member in AdbSideloadOtaTool
Dupdate_device_ota_tool.py43 def update(self, ota_runner): member in UpdateDeviceOtaTool
/tools/repohooks/tools/
Dcpplint.py-update25 Helper script to quickly update the bundled cpplint.py script.
Dcheckpatch.pl-update25 Helper script to quickly update the bundled checkpatch.pl script.
/tools/test/connectivity/acts/tests/sample/
DOtaSampleTest.py30 ota_updater.update(self.dut)
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/
Dota_tool_test.py32 ota_tool.OtaTool('').update(obj)
Dadb_sideload_ota_tool_test.py60 runner.update()
/tools/test/connectivity/acts/framework/acts/controllers/sniffer_lib/local/
Dlocal_base.py84 final_configs.update(self._base_configs)
86 final_configs.update(override_configs)

123