attempts to get the name of a remote device , otherwise returns the address . concode_field_sep String TAG concode_elem_sep List<CachedBluetoothDevice> mCachedDevices concode_elem_sep LocalBluetoothManager mLocalManager concode_elem_sep List<Callback> mCallbacks concode_field_sep void onScanningStateChanged concode_elem_sep void showUnbondMessage concode_elem_sep void onBtClassChanged concode_elem_sep void onDeviceNameUpdated concode_elem_sep void onBluetoothStateChanged concode_elem_sep void dispatchDeviceDeleted concode_elem_sep void onProfileStateChanged concode_elem_sep void onConnectingError concode_elem_sep boolean readPairedDevices concode_elem_sep void checkForDeviceRemoval concode_elem_sep List<CachedBluetoothDevice> getCachedDevicesCopy concode_elem_sep void onDeviceDisappeared concode_elem_sep void dispatchDeviceAdded concode_elem_sep void onDeviceAppeared concode_elem_sep void onBondingStateChanged concode_elem_sep void onUuidChanged concode_elem_sep CachedBluetoothDevice findDevice
String function ( BluetoothDevice arg0 ) { CachedBluetoothDevice loc0 = findDevice ( arg0 ) ; if ( loc0 != null ) return loc0 . getName ( ) ; String loc1 = arg0 . getName ( ) ; if ( loc1 != null ) return loc1 ; return arg0 . getAddress ( ) ; }