Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 36) sorted by relevance

12

/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()
35 return current; in update()
42 Object update(String optionName, Object current, Object update) in update() argument
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()
59 return current; in update()
67 Object update(String optionName, Object current, Object update) in update() argument
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
33 return current == null; in shouldUpdate()
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
70 if (current != null) { in shouldUpdate()
79 abstract boolean shouldUpdate(String optionName, Object current, Object update) in shouldUpdate() argument
[all …]
/tools/test/connectivity/acts/tests/google/tel/etc/
Dmanage_sim.py59 current = active_list[iccid]
60 current['droid_serial'] = droid_device.serial
66 current[
73 current['operator'] = ''
76 current['capability'] = ['voice', 'ims', 'volte', 'vt', 'sms',
84 current['phone_num'] = ''
86 current['phone_num'] = tel_test_utils.phone_number_formatter(
118 current = simconf[iccid]
121 current['operator'] = active_sims[iccid]['operator']
122 current['capability'] = active_sims[iccid]['capability']
[all …]
/tools/tradefederation/core/src/com/android/tradefed/guice/
DInvocationScope.java147 T current = (T) scopedObjects.get(key); in scope()
148 if (current == null && !scopedObjects.containsKey(key)) { in scope()
149 current = unscoped.get(); in scope()
152 if (Scopes.isCircularProxy(current)) { in scope()
153 return current; in scope()
156 scopedObjects.put(key, current); in scope()
158 return current; in scope()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBatchProcessor.kt127 var current: Iterator<U>? = null in par_map() variable
136 current = next.get().iterator() in par_map()
141 val ret = current!!.next() in par_map()
142 if (!current!!.hasNext()) { in par_map()
143 current = null in par_map()
150 return current != null in par_map()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectory.java269 final FatLfnDirectoryEntry current = in parseLfn() local
272 if (!current.realEntry.isDeleted() && current.isValid()) { in parseLfn()
273 checkUniqueName(current.getName()); in parseLfn()
275 shortNameIndex.put(current.realEntry.getShortName(), current); in parseLfn() local
276 longNameIndex.put(current.getName().toLowerCase(), current); in parseLfn() local
/tools/metalava/src/test/java/com/android/tools/metalava/
DCompatibilityCheckBaselineTest.kt48 fun `Test current-API check, with error message`() { in Test current-API check, with error message()
100 fun `Test current-API check, with global baseline`() { in Test current-API check, with global baseline()
183 fun `Test current-API check, but with compatibility-released baseline`() { in Test current-API check, but with compatibility-released baseline()
DDocAnalyzerTest.kt1232 fun `Api levels around current and preview`() { in Api levels around current and preview()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/
Dcommon.py45 def __init__(self, time, current): argument
54 self._current = float(current)
62 def current(self): member in MonsoonDataRecord
/tools/dexter/slicer/
DAndroid.bp39 sdk_version: "current",
59 sdk_version: "current",
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java294 TestRecord.Builder current = mLatestChild.peek(); in testRunFailed() local
297 if (TestStatus.UNKNOWN.equals(current.getStatus())) { in testRunFailed()
298 current.setDebugInfo(debugBuilder.build()); in testRunFailed()
311 TestRecord.Builder current = mLatestChild.peek(); in testRunFailed() local
333 if (TestStatus.UNKNOWN.equals(current.getStatus())) { in testRunFailed()
334 current.setDebugInfo(debugBuilder.build()); in testRunFailed()
486 TestRecord.Builder current = mLatestChild.peek(); in logAssociation() local
488 fullmap.putAll(current.getArtifactsMap()); in logAssociation()
491 current.putAllArtifacts(fullmap); in logAssociation()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_proxy.py318 def set_max_initial_current(self, current): argument
320 if current < 0 or current > 8:
322 'range [0, 8].') % current)
323 val = 1023 - int((current / 8) * 1023)
/tools/test/connectivity/acts/framework/acts/bin/
Dmonsoon.py36 if args.current is not None:
37 mon.set_max_current(args.current)
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/data/
Dsample_timestamp_proto.txt9 key: "current"
81 key: "current"
/tools/external_updater/
Dgithub_archive_updater.py151 current = self.get_current_version()
152 if git_utils.is_commit(current):
157 current, self.new_version), end='')
/tools/loganalysis/tests/src/com/android/loganalysis/util/config/
DArgsOptionParserTest.java205 final String current = OptionUpdateRuleSource.DEFAULT_VALUE; in testOptionUpdateRule_greater() local
210 assertEquals(current, object.mFirstOption); in testOptionUpdateRule_greater()
214 assertEquals(current, object.mLeastOption); in testOptionUpdateRule_greater()
224 final String current = OptionUpdateRuleSource.DEFAULT_VALUE; in testOptionUpdateRule_lesser() local
229 assertEquals(current, object.mFirstOption); in testOptionUpdateRule_lesser()
232 assertEquals(current, object.mGreatestOption); in testOptionUpdateRule_lesser()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationExtension.java222 String current = mainAttributes.getValue(attribute); in setMainAttribute() local
223 if (!value.equals(current)) { in setMainAttribute()
/tools/test/connectivity/acts/framework/acts/test_utils/power/cellular/
Dcellular_traffic_power_test.py426 current = []
442 current.append(i)
446 print(current)
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/power/
Dpower_metrics.py284 def current_to_power(self, current): argument
286 return (Measurement.watts(current.to_unit(AMP).value * self._voltage))
/tools/trebuchet/
DCONTRIBUTING.md12 your current agreements on file or to sign a new one.
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java389 int current = algorithm.getMinSdkVersion(); in getMinSdkFromV3SignatureAlgorithms() local
390 if (current < min) { in getMinSdkFromV3SignatureAlgorithms()
391 if (current <= mMinSdkVersion || current <= AndroidSdkVersion.P) { in getMinSdkFromV3SignatureAlgorithms()
393 return current; in getMinSdkFromV3SignatureAlgorithms()
395 min = current; in getMinSdkFromV3SignatureAlgorithms()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DArgsOptionParserTest.java223 final String current = OptionUpdateRuleSource.DEFAULT_VALUE; in testOptionUpdateRule_greater() local
228 assertEquals(current, object.mFirstOption); in testOptionUpdateRule_greater()
232 assertEquals(current, object.mLeastOption); in testOptionUpdateRule_greater()
242 final String current = OptionUpdateRuleSource.DEFAULT_VALUE; in testOptionUpdateRule_lesser() local
247 assertEquals(current, object.mFirstOption); in testOptionUpdateRule_lesser()
250 assertEquals(current, object.mGreatestOption); in testOptionUpdateRule_lesser()
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerGnssBaseTest.py85 data_point.current * voltage
/tools/metalava/
DAPI-LINT.md41 current warnings and errors in the codebase. When metalava runs, it looks up the
111 You can view the exact set of existing issues (current APIs that get flagged by
/tools/tradefederation/core/
Dtradefed_win.bat17 :: A helper script that launches TradeFederation from the current build

12