Home
last modified time | relevance | path

Searched refs:DialogStubActivity (Results 1 – 5 of 5) sorted by relevance

/cts/tests/app/src/android/app/cts/
DAlertDialogTest.java26 import android.app.stubs.DialogStubActivity;
52 private DialogStubActivity mActivity;
58 public ActivityTestRule<DialogStubActivity> mActivityRule =
59 new ActivityTestRule<>(DialogStubActivity.class, true, false);
67 mActivity = DialogStubActivity.startDialogActivity(mActivityRule, dialogNumber); in startDialogActivity()
74 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG); in testAlertDialog()
112 doTestAlertDialog(DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED); in testAlertDialogDeprecatedAPI()
117 ? DialogStubActivity.TEST_ALERTDIALOG_DEPRECATED_WITH_MESSAGE in testAlertDialogAPIWithMessage()
118 : DialogStubActivity.TEST_ALERTDIALOG_WITH_MESSAGE); in testAlertDialogAPIWithMessage()
138 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()
[all …]
DDialogTest.java28 import android.app.stubs.DialogStubActivity;
96 private DialogStubActivity mActivity;
99 public ActivityTestRule<DialogStubActivity> mActivityRule =
100 new ActivityTestRule<>(DialogStubActivity.class, false, false);
110 mActivity = DialogStubActivity.startDialogActivity(mActivityRule, dialogNumber); in startDialogActivity()
135 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellable()
143 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellable()
151 startDialogActivity(DialogStubActivity.TEST_PROTECTED_CANCELABLE); in testConstructor_protectedCancellableEsc()
160 startDialogActivity(DialogStubActivity.TEST_PROTECTED_NOT_CANCELABLE); in testConstructor_protectedNotCancellableEsc()
191 startDialogActivity(DialogStubActivity.TEST_ONSTART_AND_ONSTOP); in testOnStartCreateStop()
[all …]
DAlertDialog_BuilderCursorTest.java24 import android.app.stubs.DialogStubActivity;
46 extends ActivityInstrumentationTestCase2<DialogStubActivity> {
97 super("android.app.stubs", DialogStubActivity.class); in AlertDialog_BuilderCursorTest()
DAlertDialog_BuilderTest.java31 import android.app.stubs.DialogStubActivity;
92 public ActivityTestRule<DialogStubActivity> mActivityRule =
93 new ActivityTestRule<>(DialogStubActivity.class);
/cts/tests/app/app/src/android/app/stubs/
DDialogStubActivity.java45 public class DialogStubActivity extends Activity { class
264 mAlertDialog = new AlertDialog.Builder(DialogStubActivity.this).create(); in getAlertDialogInstance()
296 mAlertDialog = new AlertDialog.Builder(DialogStubActivity.this).create(); in getCustomAlertDialogInstance()