Home
last modified time | relevance | path

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

/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
DConstants.java36 public static final int REQUEST_ENABLE_BT = 1; field in Constants
DMainActivity.java68 startActivityForResult(enableBtIntent, Constants.REQUEST_ENABLE_BT); in onCreate()
82 case Constants.REQUEST_ENABLE_BT: in onActivityResult()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceScanActivity.java50 private static final int REQUEST_ENABLE_BT = 1; field in DeviceScanActivity
120 startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT); in onResume()
133 if (requestCode == REQUEST_ENABLE_BT && resultCode == Activity.RESULT_CANCELED) { in onActivityResult()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChat.java65 private static final int REQUEST_ENABLE_BT = 3; field in BluetoothChat
112 startActivityForResult(enableIntent, REQUEST_ENABLE_BT); in onStart()
305 case REQUEST_ENABLE_BT: in onActivityResult()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatFragment.java57 private static final int REQUEST_ENABLE_BT = 3; field in BluetoothChatFragment
112 startActivityForResult(enableIntent, REQUEST_ENABLE_BT); in onStart()
342 case REQUEST_ENABLE_BT: in onActivityResult()