Home
last modified time | relevance | path

Searched refs:CURRENT (Results 1 – 8 of 8) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/util/config/
DOptionUpdateRuleTest.java26 private static final Object CURRENT = "5 current value"; field in OptionUpdateRuleTest
33 assertEquals(CURRENT, OptionUpdateRule.FIRST.update(OPTION_NAME, CURRENT, UPDATE)); in testFirst_simple()
38 assertEquals(UPDATE, OptionUpdateRule.LAST.update(OPTION_NAME, CURRENT, UPDATE)); in testLast_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()
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()
59 OptionUpdateRule.IMMUTABLE.update(OPTION_NAME, CURRENT, UPDATE); in testImmutable_simple()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DOptionUpdateRuleTest.java26 private static final Object CURRENT = "5 current value"; field in OptionUpdateRuleTest
33 assertFalse(OptionUpdateRule.FIRST.shouldUpdate(OPTION_NAME, CURRENT, UPDATE)); in testFirst_simple()
38 assertTrue(OptionUpdateRule.LAST.shouldUpdate(OPTION_NAME, CURRENT, UPDATE)); in testLast_simple()
43 assertFalse(OptionUpdateRule.GREATEST.shouldUpdate(OPTION_NAME, CURRENT, SMALL_UPDATE)); in testGreatest_simple()
44 assertTrue(OptionUpdateRule.GREATEST.shouldUpdate(OPTION_NAME, CURRENT, BIG_UPDATE)); in testGreatest_simple()
49 assertTrue(OptionUpdateRule.LEAST.shouldUpdate(OPTION_NAME, CURRENT, SMALL_UPDATE)); in testLeast_simple()
50 assertFalse(OptionUpdateRule.LEAST.shouldUpdate(OPTION_NAME, CURRENT, BIG_UPDATE)); in testLeast_simple()
56 OptionUpdateRule.IMMUTABLE.shouldUpdate(OPTION_NAME, CURRENT, UPDATE); in testImmutable_simple()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DUserInfo.java44 CURRENT, enumConstant
59 return this == CURRENT; in isCurrent()
129 case CURRENT: in isUserType()
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/power/
Dpower_metrics.py25 CURRENT = 'current' variable
41 CURRENT: {
80 return Measurement(amps, CURRENT, AMP)
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/power/
Dpower_metrics_test.py23 from acts.test_utils.instrumentation.power.power_metrics import CURRENT
43 measurement = Measurement(2, CURRENT, MILLIAMP)
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DSwitchUserTargetPreparer.java41 private UserInfo.UserType mUserToSwitchTo = UserInfo.UserType.CURRENT;
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DUserChecker.java42 private UserInfo.UserType mUserToSwitchTo = UserInfo.UserType.CURRENT;
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...