Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java88 @VisibleForTesting int mWhichDialog; field in BluetoothOppTransferActivity
161 if (mWhichDialog != DIALOG_SEND_ONGOING && mWhichDialog != DIALOG_RECEIVE_ONGOING) { in onCreate()
189 mWhichDialog = DIALOG_RECEIVE_COMPLETE_SUCCESS; in displayWhichDialog()
191 mWhichDialog = DIALOG_RECEIVE_COMPLETE_FAIL; in displayWhichDialog()
194 mWhichDialog = DIALOG_RECEIVE_ONGOING; in displayWhichDialog()
199 mWhichDialog = DIALOG_SEND_COMPLETE_SUCCESS; in displayWhichDialog()
202 mWhichDialog = DIALOG_SEND_COMPLETE_FAIL; in displayWhichDialog()
205 mWhichDialog = DIALOG_SEND_ONGOING; in displayWhichDialog()
212 + mWhichDialog in displayWhichDialog()
220 if ((mWhichDialog == DIALOG_RECEIVE_ONGOING) || (mWhichDialog == DIALOG_SEND_ONGOING)) { in setUpDialog()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivityTest.java147 check.set(activity.mWhichDialog == DIALOG_SEND_ONGOING); in onCreate_showSendOnGoingDialog()
169 check.set(activity.mWhichDialog == DIALOG_SEND_COMPLETE_SUCCESS); in onCreate_showSendCompleteSuccessDialog()
191 check.set(activity.mWhichDialog == DIALOG_SEND_COMPLETE_FAIL); in onCreate_showSendCompleteFailDialog()
213 check.set(activity.mWhichDialog == DIALOG_RECEIVE_ONGOING); in onCreate_showReceiveOnGoingDialog()
236 check.set(activity.mWhichDialog == DIALOG_RECEIVE_COMPLETE_SUCCESS); in onCreate_showReceiveCompleteSuccessDialog()
259 check.set(activity.mWhichDialog == DIALOG_RECEIVE_COMPLETE_FAIL); in onCreate_showReceiveCompleteFailDialog()