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.java138 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()
140 assertEquals(DialogInterface.BUTTON_POSITIVE, DialogStubActivity.buttonIndex); in testAlertDialogAPIWithMessage()
142 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()
144 assertEquals(DialogInterface.BUTTON_NEUTRAL, DialogStubActivity.buttonIndex); in testAlertDialogAPIWithMessage()
146 DialogStubActivity.buttonIndex = 0; in testAlertDialogAPIWithMessage()
148 assertEquals(DialogInterface.BUTTON_NEGATIVE, DialogStubActivity.buttonIndex); in testAlertDialogAPIWithMessage()
/cts/tests/app/app/src/android/app/stubs/
DDialogStubActivity.java72 public static int buttonIndex; field in DialogStubActivity
174 buttonIndex = msg.what; in onCreateDialog()