Home
last modified time | relevance | path

Searched refs:RESULT_CONNECTED (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java78 static final int RESULT_CONNECTED = 1; field in BluetoothPeripheralHandover
381 mHidResult = RESULT_CONNECTED; in nextStepConnect()
394 mHfpResult = RESULT_CONNECTED; in nextStepConnect()
405 mA2dpResult = RESULT_CONNECTED; in nextStepConnect()
423 } else if (mHidResult == RESULT_CONNECTED) { in nextStepConnect()
436 if (mA2dpResult == RESULT_CONNECTED || mHfpResult == RESULT_CONNECTED) { in nextStepConnect()
439 if (mA2dpResult == RESULT_CONNECTED) startTheMusic(); in nextStepConnect()
502 mHfpResult = RESULT_CONNECTED; in handleIntent()
516 mA2dpResult = RESULT_CONNECTED; in handleIntent()
530 mHidResult = RESULT_CONNECTED; in handleIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiDialogActivityTest.java25 import static com.android.settings.wifi.WifiDialogActivity.RESULT_CONNECTED;
130 verify(mActivity).setResult(RESULT_CONNECTED, null); in onSubmit_noPermissionForResult_setResultWithoutData()
140 verify(mActivity).setResult(RESULT_CONNECTED, mResultData); in onSubmit_hasPermissionForResult_setResultWithData()
149 verify(mActivity).setResult(RESULT_CONNECTED, null); in onSubmit2_noPermissionForResult_setResultWithoutData()
159 verify(mActivity).setResult(RESULT_CONNECTED, mResultData); in onSubmit2_hasPermissionForResult_setResultWithData()
218 verify(mActivity).setResult(RESULT_CONNECTED); in onActivityResult_noPermissionForResult_setResultWithoutData()
227 verify(mActivity).setResult(RESULT_CONNECTED, mResultData); in onActivityResult_hasPermissionForResult_setResultWithData()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java92 static final int RESULT_CONNECTED = RESULT_FIRST_USER; field in WifiDialogActivity
301 setResult(RESULT_CONNECTED, resultData); in onSubmit()
329 setResult(RESULT_CONNECTED, resultData); in onSubmit()
380 setResult(RESULT_CONNECTED, data); in onActivityResult()
382 setResult(RESULT_CONNECTED); in onActivityResult()