Home
last modified time | relevance | path

Searched refs:buttonIndex (Results 1 – 2 of 2) sorted by relevance

/cts/tests/app/src/android/app/cts/
DAlertDialogTest.java122 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()
124 assertEquals(DialogInterface.BUTTON_POSITIVE, DialogStubActivity.buttonIndex); in testAlertDialogAPIWithMessage()
126 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()
128 assertEquals(DialogInterface.BUTTON_NEUTRAL, DialogStubActivity.buttonIndex); in testAlertDialogAPIWithMessage()
130 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()
132 assertEquals(DialogInterface.BUTTON_NEGATIVE, DialogStubActivity.buttonIndex); in testAlertDialogAPIWithMessage()
/cts/tests/app/app/src/android/app/stubs/
DDialogStubActivity.java71 public static int buttonIndex; field in DialogStubActivity
173 buttonIndex = msg.what; in onCreateDialog()