question: search devices concode_field_sep BluetoothDevice connectedDevice concode_elem_sep BroadcastReceiver receiver concode_elem_sep Context context concode_elem_sep CustomProgressDialog progressDialog concode_elem_sep SharePreferenceUtil mSharePreferenceUtil concode_elem_sep ArrayList<BluetoothDevice> unbondDevices concode_elem_sep boolean isConnect concode_elem_sep Button switchBT concode_elem_sep ArrayList<BluetoothDevice> bondDevices concode_elem_sep ListView unbondDevicesListView concode_elem_sep ListView bondDevicesListView concode_elem_sep Button searchDevices concode_elem_sep BluetoothAdapter bluetoothAdapter concode_field_sep void closeBluetooth concode_elem_sep boolean isOpen concode_elem_sep void addBandDevices concode_elem_sep void addUnbondDevices concode_elem_sep void addUnbondDevicesToListView concode_elem_sep void openBluetooth concode_elem_sep void addBondDevicesToListView concode_elem_sep void initIntentFilter concode_elem_sep void onReceive concode_elem_sep void UnregisterReceiver
target: void function ( ) { this . bondDevices . clear ( ) ; this . unbondDevices . clear ( ) ; if ( bluetoothAdapter . isDiscovering ( ) ) { bluetoothAdapter . cancelDiscovery ( ) ; } this . bluetoothAdapter . startDiscovery ( ) ; }