/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTestUtil.java | 28 import android.support.test.rule.ActivityTestRule; 38 public static void waitForExecution(final ActivityTestRule<? extends Activity> rule) { in waitForExecution() argument 44 rule.runOnUiThread(() -> { in waitForExecution() 46 rule.runOnUiThread(() -> { in waitForExecution() 53 private static void runOnUiThreadRethrow(ActivityTestRule<? extends Activity> rule, in runOnUiThreadRethrow() argument 59 rule.runOnUiThread(r); in runOnUiThreadRethrow() 67 final ActivityTestRule<? extends Activity> rule) { in executePendingTransactions() argument 68 return executePendingTransactions(rule, rule.getActivity().getFragmentManager()); in executePendingTransactions() 72 final ActivityTestRule<? extends Activity> rule, final FragmentManager fm) { in executePendingTransactions() argument 74 runOnUiThreadRethrow(rule, new Runnable() { in executePendingTransactions() [all …]
|
D | FragmentManagerNonConfigTest.java | 22 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/app/src/android/app/cts/ |
D | AutomaticZenRuleTest.java | 45 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, in testDescribeContents() local 47 assertEquals(expected, rule.describeContents()); in testDescribeContents() 51 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, in testWriteToParcel() local 54 rule.writeToParcel(parcel, 0); in testWriteToParcel() 63 rule.setName(null); in testWriteToParcel() 65 rule.writeToParcel(parcel, 0); in testWriteToParcel() 77 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, in testSetConditionId() local 79 rule.setConditionId(newConditionId); in testSetConditionId() 80 assertEquals(newConditionId, rule.getConditionId()); in testSetConditionId() 84 AutomaticZenRule rule = new AutomaticZenRule(mName, mOwner, mConditionId, in testSetEnabled() local [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | RetryRuleTest.java | 65 final RetryRule rule = new RetryRule(2); in testPassOnRetryableException() local 66 rule.apply(new RetryableStatement<RetryableException>(1, sRetryableException), mDescription) in testPassOnRetryableException() 72 final RetryRule rule = new RetryRule(2); in testFailOnRetryableException() local 74 rule.apply(new RetryableStatement<RetryableException>(2, sRetryableException), in testFailOnRetryableException() 84 final RetryRule rule = new RetryRule(2); in testPassOnStaleObjectException() local 85 rule.apply(new RetryableStatement<StaleObjectException>(1, sStaleObjectException), in testPassOnStaleObjectException() 92 final RetryRule rule = new RetryRule(2); in testFailOnStaleObjectException() local 94 rule.apply(new RetryableStatement<StaleObjectException>(2, sStaleObjectException), in testFailOnStaleObjectException()
|
D | DatePickerSpinnerActivityTest.java | 18 import android.support.test.rule.ActivityTestRule;
|
D | DatePickerCalendarActivityTest.java | 18 import android.support.test.rule.ActivityTestRule;
|
D | TimePickerSpinnerActivityTest.java | 18 import android.support.test.rule.ActivityTestRule;
|
D | TimePickerClockActivityTest.java | 18 import android.support.test.rule.ActivityTestRule;
|
/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 56 rule = NeverallowRule(line) 57 rule.treble_only = (treble_only_depth > 0) 58 rules.append(rule) 67 def neverallow_rule_to_test(rule, test_num): argument 68 squashed_neverallow = rule.statement.replace("\n", " ") 75 "true" if rule.treble_only else "false") 93 for rule in neverallow_rules: 94 src_body += neverallow_rule_to_test(rule, i)
|
/cts/tools/vm-tests-tf/ |
D | jill-jarjar-rules.txt | 1 rule org.objectweb.** com.android.jill.@0
|
/cts/hostsidetests/jvmti/base/app/src/android/jvmti/cts/ |
D | JvmtiTestBase.java | 19 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/tests/app/src/android/app/cts/ |
D | PictureInPictureActionsTest.java | 23 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewCameraTest.java | 23 import android.support.test.rule.ActivityTestRule;
|
D | ScaleGestureDetectorTest.java | 26 import android.support.test.rule.ActivityTestRule;
|
D | DisplayRefreshRateTest.java | 24 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/sample/src/android/sample/cts/ |
D | SampleJUnit4DeviceTest.java | 28 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | KeyListenerTestCase.java | 21 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationTestUtils.java | 21 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/tests/colormode/src/android/colormode/cts/ |
D | AttributeWideColorModeTest.java | 24 import android.support.test.rule.ActivityTestRule;
|
D | DefaultColorModeTest.java | 24 import android.support.test.rule.ActivityTestRule;
|
D | WideColorModeTest.java | 24 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ProgressBarDrawableContainerTest.java | 25 import android.support.test.rule.ActivityTestRule;
|
D | AnalogClockTest.java | 21 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureTest.java | 24 import android.support.test.rule.ActivityTestRule;
|
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/ |
D | ToastTest.java | 19 import android.support.test.rule.ActivityTestRule;
|