Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 120) sorted by relevance

12345

/platform_testing/libraries/flag-helpers/libflagtest/
Dflag_checker.cpp53 std::vector<std::string> flag_args = android::base::Split(feature_flag.second, ","); in CheckFlagCondition()
57 std::string package_name = android::base::StringReplace(flag_args[1], "::", ".", true); in CheckFlagCondition()
58 std::string full_flag_name = android::base::StringPrintf( in CheckFlagCondition()
60 android::base::Trim(flag_args[0]).c_str(), in CheckFlagCondition()
61 android::base::Trim(package_name).c_str(), in CheckFlagCondition()
62 android::base::Trim(flag_args[2]).c_str() in CheckFlagCondition()
64 return android::base::GetProperty(SYSTEM_PROPERTY_PREFIX + full_flag_name, "") == in CheckFlagCondition()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java149 public <T extends ITestHelper> T get(Class<T> base) { in get() argument
150 return get(base, ""); in get()
161 public <T extends ITestHelper> T get(Class<T> base, String keyword) { in get() argument
162 List<T> matching = getAll(base, keyword); in get()
177 public <T extends ITestHelper> T get(Class<T> base, Pattern regex) { in get() argument
178 List<T> matching = getAll(base, regex); in get()
193 private <T extends ITestHelper> List<T> getAll(Class<T> base, String keyword) { in getAll() argument
195 return getAll(base, p); in getAll()
206 private <T extends ITestHelper> List<T> getAll(Class<T> base, Pattern regex) { in getAll() argument
223 if (base.isAssignableFrom(clazz) in getAll()
[all …]
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DPresubmitBranchRule.java42 public Statement apply(Statement base, Description description) { in apply() argument
47 return base; in apply()
59 return base; in apply()
DPresubmitRule.java49 public Statement apply(Statement base, Description description) { in apply() argument
52 if (annotation == null) return base; in apply()
58 return base; in apply()
74 if (match) return base; in apply()
DPlatinumRule.java41 public Statement apply(Statement base, Description description) { in apply() argument
44 if (annotation == null) return base; in apply()
53 return base; in apply()
69 if (match) return base; in apply()
DPortraitLandscapeRule.kt19 override fun apply(base: Statement, description: Description): Statement = in apply()
24 base.runInOrientation(PORTRAIT) in apply()
27 base.runInOrientation(LANDSCAPE) in apply()
DSkipOnAospRule.java29 public Statement apply(Statement base, Description description) { in apply() argument
31 if (!Build.PRODUCT.startsWith("aosp_")) return base; in apply()
DRepeatTestRule.java62 public Statement apply(@NonNull Statement base, @NonNull Description description) { in apply() argument
65 return base; in apply()
67 return new RepeatTestStatement(base, repeat.value()); in apply()
DBaselineProfileRule.java54 public Statement apply(final Statement base, final Description description) { in apply() argument
81 base.evaluate(); in apply()
136 return base; in apply()
DSamplerRule.java120 public Statement apply(Statement base, Description description) { in apply() argument
121 if (!sEnabled) return base; in apply()
128 SamplerRule.super.apply(base, description).evaluate(); in apply()
/platform_testing/libraries/flicker/utils/test/src/android/tools/rules/
DInitializeCrossPlatformRule.kt24 override fun apply(base: Statement?, description: Description?): Statement { in apply()
27 base?.evaluate() in apply()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DHardwareRenderingRule.kt31 override fun apply(base: Statement, description: Description): Statement { in apply()
35 base.evaluate() in apply()
DTimeZoneRule.kt31 override fun apply(base: Statement, description: Description): Statement { in apply()
39 base.evaluate() in apply()
DFontsRule.kt36 override fun apply(base: Statement, description: Description): Statement { in apply()
41 base.evaluate() in apply()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTransitionExecutionRuleTest.kt74 rule.apply(base = null, description = Consts.description(this)).evaluate() in runSuccessfully()
82 rule.apply(base = null, description = Consts.description(this)).evaluate() in setTransitionStartAndEndTime()
92 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwsTransitionFailure()
103 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwsTransitionFailureEmptyTransitions()
114 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwsAssertionFailure()
124 rule.apply(base = null, description = Consts.description(this)).evaluate() in createsValidTags()
157 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwErrorCreateInvalidTagWithSpace()
168 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwErrorCreateInvalidTagDuplicate()
179 rule.apply(base = null, description = Consts.description(this)).evaluate() in throwErrorCreateInvalidTagWithUnderscore()
DTraceMonitorRuleTest.kt59 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesSuccessfully()
67 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesSuccessfullyMonitor2()
77 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesWithStartFailure()
89 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesStartFailureMonitor2()
101 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesWithStopFailure()
113 rule.apply(base = null, description = Consts.description(this)).evaluate() in executesStopFailureMonitor2()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DOWNERS4 per-file BackupUtils.java = file:platform/frameworks/base:/services/backup/OWNERS
6 per-file LogcatInspector.java = file:platform/frameworks/base:/services/backup/OWNERS
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DCheckFlagsRule.java40 public Statement apply(Statement base, Description description) { in apply() argument
52 base.evaluate(); in apply()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/samples/testing/
DSampleExtraArgsSuite.java59 public Statement apply(Statement base, Description description) {
69 base.evaluate();
91 public Statement apply(Statement base, Description description) {
100 base.evaluate();
/platform_testing/tests/automotive/health/rules/src/android/platform/scenario/
DColdAppStartupRunRule.java38 public Statement apply(final Statement base, final Description description) { in apply() argument
39 return mRuleChain.apply(base, description); in apply()
DAppStartupRunRule.java71 public Statement apply(final Statement base, final Description description) { in apply() argument
72 return mRuleChain.apply(base, description); in apply()
/platform_testing/libraries/flag-helpers/junit/
DAndroid.bp32 name: "flag-junit-base",
50 "flag-junit-base",
62 "flag-junit-base",
/platform_testing/libraries/system-helpers/
DOWNERS2 include platform/frameworks/base:/packages/SystemUI/OWNERS
/platform_testing/libraries/app-helpers/
DOWNERS3 include platform/frameworks/base:/packages/SystemUI/OWNERS
/platform_testing/libraries/systemui-helper/
DOWNERS1 include platform/frameworks/base:/packages/SystemUI/OWNERS

12345