/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
D | StateChangerRuleTest.java | 58 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
|
D | SafeCleanerRuleTest.java | 69 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 …]
|
D | StateKeeperRuleTest.java | 57 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
|
D | RetryRuleTest.java | 75 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/ |
D | StateChangerRuleTest.java | 58 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
|
D | SafeCleanerRuleTest.java | 69 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 …]
|
D | StateKeeperRuleTest.java | 57 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
|
D | RetryRuleTest.java | 75 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/ |
D | FragmentTestUtil.java | 39 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 …]
|
D | RecreatedActivity.java | 70 public void waitForResume(ActivityTestRule<? extends Activity> rule) throws Throwable { in waitForResume()
|
/cts/tests/app/src/android/app/cts/ |
D | AutomaticZenRuleTest.java | 48 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/ |
D | AngleDriverTestActivity.java | 37 public ActivityTestRule<AngleIntegrationTestActivity> rule = field in AngleDriverTestActivity
|
/cts/hostsidetests/angle/app/driverTestSecondary/src/com/android/angleIntegrationTest/driverTestSecondary/ |
D | AngleDriverTestActivity.java | 37 public ActivityTestRule<AngleIntegrationTestActivity> rule = field in AngleDriverTestActivity
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 97 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/ |
D | SELinuxNeverallowTestGen.py | 82 def neverallow_rule_to_test(rule, test_num): argument
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsPolicyTest.java | 212 private <T extends Activity> T launchAndWait(ActivityTestRule<T> rule) { in launchAndWait()
|
D | LocationInWindowTests.java | 161 private <T extends Activity> T launchAndWait(ActivityTestRule<T> rule, in launchAndWait()
|
D | LocationOnScreenTests.java | 148 private <T extends Activity> T launchAndWait(ActivityTestRule<T> rule, in launchAndWait()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | ActivityLaunchUtils.java | 64 ActivityTestRule<T> rule) throws Exception { in launchActivityAndWaitForItToBeOnscreen()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DialogStubActivity.java | 321 ActivityTestRule<T> rule, int dialogNumber) { in startDialogActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | ConditionProviderVerifierActivity.java | 306 AutomaticZenRule rule = mNm.getAutomaticZenRule(id); in test() local
|