Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 21 of 21) sorted by relevance

/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DStateChangerRuleTest.java58 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testSetAndRestoreOnSuccess() local
73 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testDontSetIfSameValueOnSuccess() local
85 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testSetButDontRestoreIfSameValueOnSuccess() local
99 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testDontSetButRestoreIfValueChangedOnSuccess() local
113 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testSetAndRestoreOnFailure() local
130 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testDontSetIfSameValueOnFailure() local
144 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testSetButDontRestoreIfSameValueOnFailure() local
160 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testDontSetButRestoreIfValueChangedOnFailure() local
DSafeCleanerRuleTest.java69 final SafeCleanerRule rule = new SafeCleanerRule(); in testEmptyRule_testPass() local
75 final SafeCleanerRule rule = new SafeCleanerRule(); in testEmptyRule_testFails() local
83 final SafeCleanerRule rule = new SafeCleanerRule().setDumper(mDumper); in testEmptyRule_testFails_withDumper() local
92 final SafeCleanerRule rule = new SafeCleanerRule() in testOnlyTestFails() local
104 final SafeCleanerRule rule = new SafeCleanerRule() in testOnlyTestFails_withDumper() local
118 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneRunnerFails() local
133 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneRunnerFails_withDumper() local
152 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneExtraExceptionThrownAsCallable() local
167 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneExtraExceptionThrown() local
184 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneExtraExceptionThrown_withDumper() local
[all …]
DStateKeeperRuleTest.java57 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testRestoreOnSuccess() local
70 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testRestoreOnFailure() local
85 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testDoNotRestoreWhenNotChanged() local
96 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testDoNotRestoreOnFailure() local
DRetryRuleTest.java75 final RetryRule rule = new RetryRule(1); in testPassOnRetryableException() local
85 final RetryRule rule = new RetryRule(1); in testPassOnRetryableExceptionWithTimeout() local
95 final RetryRule rule = new RetryRule(1); in testFailOnRetryableException() local
106 final RetryRule rule = new RetryRule(0); in testPassWhenDisabledAndStatementPass() local
116 final RetryRule rule = new RetryRule(0); in testFailWhenDisabledAndStatementThrowsRetryableException() local
129 final RetryRule rule = new RetryRule(0); in testFailWhenDisabledAndStatementThrowsNonRetryableException() local
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DStateChangerRuleTest.java58 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testSetAndRestoreOnSuccess() local
73 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testDontSetIfSameValueOnSuccess() local
85 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testSetButDontRestoreIfSameValueOnSuccess() local
99 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testDontSetButRestoreIfValueChangedOnSuccess() local
113 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testSetAndRestoreOnFailure() local
130 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testDontSetIfSameValueOnFailure() local
144 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testSetButDontRestoreIfSameValueOnFailure() local
160 final StateChangerRule<String> rule = new StateChangerRule<>(mStateManager, in testDontSetButRestoreIfValueChangedOnFailure() local
DSafeCleanerRuleTest.java69 final SafeCleanerRule rule = new SafeCleanerRule(); in testEmptyRule_testPass() local
75 final SafeCleanerRule rule = new SafeCleanerRule(); in testEmptyRule_testFails() local
83 final SafeCleanerRule rule = new SafeCleanerRule().setDumper(mDumper); in testEmptyRule_testFails_withDumper() local
92 final SafeCleanerRule rule = new SafeCleanerRule() in testOnlyTestFails() local
104 final SafeCleanerRule rule = new SafeCleanerRule() in testOnlyTestFails_withDumper() local
118 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneRunnerFails() local
133 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneRunnerFails_withDumper() local
152 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneExtraExceptionThrownAsCallable() local
167 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneExtraExceptionThrown() local
184 final SafeCleanerRule rule = new SafeCleanerRule() in testTestPass_oneExtraExceptionThrown_withDumper() local
[all …]
DStateKeeperRuleTest.java57 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testRestoreOnSuccess() local
70 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testRestoreOnFailure() local
85 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testDoNotRestoreWhenNotChanged() local
96 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testDoNotRestoreOnFailure() local
DRetryRuleTest.java75 final RetryRule rule = new RetryRule(1); in testPassOnRetryableException() local
85 final RetryRule rule = new RetryRule(1); in testPassOnRetryableExceptionWithTimeout() local
95 final RetryRule rule = new RetryRule(1); in testFailOnRetryableException() local
106 final RetryRule rule = new RetryRule(0); in testPassWhenDisabledAndStatementPass() local
116 final RetryRule rule = new RetryRule(0); in testFailWhenDisabledAndStatementThrowsRetryableException() local
129 final RetryRule rule = new RetryRule(0); in testFailWhenDisabledAndStatementThrowsNonRetryableException() local
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTestUtil.java39 public static void waitForExecution(final ActivityTestRule<? extends Activity> rule) { in waitForExecution()
54 private static void runOnUiThreadRethrow(ActivityTestRule<? extends Activity> rule, in runOnUiThreadRethrow()
68 final ActivityTestRule<? extends Activity> rule) { in executePendingTransactions()
73 final ActivityTestRule<? extends Activity> rule, final FragmentManager fm) { in executePendingTransactions()
84 public static boolean popBackStackImmediate(final ActivityTestRule<? extends Activity> rule) { in popBackStackImmediate()
88 public static boolean popBackStackImmediate(final ActivityTestRule<? extends Activity> rule, in popBackStackImmediate()
100 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate()
105 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate()
117 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate()
122 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate()
[all …]
DRecreatedActivity.java70 public void waitForResume(ActivityTestRule<? extends Activity> rule) throws Throwable { in waitForResume()
/cts/tests/app/src/android/app/cts/
DAutomaticZenRuleTest.java48 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, in testDescribeContents() local
54 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConfigActivity, mConditionId, in testWriteToParcel() local
82 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConfigActivity, mConditionId, in testSetConditionId() local
89 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConfigActivity, mConditionId, in testSetEnabled() local
96 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConfigActivity, mConditionId, in testSetInterruptionFilter() local
106 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConfigActivity, mConditionId, in testSetName() local
114 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConfigActivity, mConditionId, in testSetConfigurationActivity() local
124 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConfigActivity, mConditionId, in testCreateRuleWithZenPolicy() local
/cts/hostsidetests/angle/app/driverTest/src/com/android/angleIntegrationTest/driverTest/
DAngleDriverTestActivity.java37 public ActivityTestRule<AngleIntegrationTestActivity> rule = field in AngleDriverTestActivity
/cts/hostsidetests/angle/app/driverTestSecondary/src/com/android/angleIntegrationTest/driverTestSecondary/
DAngleDriverTestActivity.java37 public ActivityTestRule<AngleIntegrationTestActivity> rule = field in AngleDriverTestActivity
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java97 private boolean hasVirtualNavigationBar(ActivityTestRule<? extends LightBarBaseActivity> rule) in hasVirtualNavigationBar()
132 protected void assumeHasColoredStatusBar(ActivityTestRule<? extends LightBarBaseActivity> rule) in assumeHasColoredStatusBar()
148 ActivityTestRule<? extends LightBarBaseActivity> rule) throws Throwable { in assumeHasColoredNavigationBar()
/cts/tools/selinux/
DSELinuxNeverallowTestGen.py82 def neverallow_rule_to_test(rule, test_num): argument
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsPolicyTest.java212 private <T extends Activity> T launchAndWait(ActivityTestRule<T> rule) { in launchAndWait()
DLocationInWindowTests.java161 private <T extends Activity> T launchAndWait(ActivityTestRule<T> rule, in launchAndWait()
DLocationOnScreenTests.java148 private <T extends Activity> T launchAndWait(ActivityTestRule<T> rule, in launchAndWait()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java64 ActivityTestRule<T> rule) throws Exception { in launchActivityAndWaitForItToBeOnscreen()
/cts/tests/app/app/src/android/app/stubs/
DDialogStubActivity.java321 ActivityTestRule<T> rule, int dialogNumber) { in startDialogActivity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DConditionProviderVerifierActivity.java306 AutomaticZenRule rule = mNm.getAutomaticZenRule(id); in test() local