question: public void enablePan ( BluetoothAdapter adapter ) { if ( mPan == null ) mPan = ( BluetoothPan ) connectProxy ( adapter , BluetoothProfile . PAN ) ; assertNotNull ( mPan ) ; long start = System . currentTimeMillis ( ) ; mPan . setBluetoothTethering ( true ) ; long stop = System . currentTimeMillis ( ) ; assertTrue ( mPan . isTetheringOn ( ) ) ; writeOutput ( String . format ( "enablePan() completed in %d ms" , ( stop - start ) ) ) ; }
target:  Enables PAN tethering on the local device and checks to make sure that tethering is enabled.