I am new to android development platform. I came across a line of Code
IBluetooth bluetoothProxy = BuetoothAdapter.getDefaultAdapter().getBluetoothService(null);
in Bluetooth Socket.java class.
It will be great to know what is exactly happening behind the scenes.