fm/qcom/fmradio/FmTransceiver.java
static boolean release(String device) {
      if (sFd!=0)
      {
         FmReceiverJNI.closeFdNative(sFd);
         sFd = 0;
         Log.d("FmTransceiver", "Turned off: " + sFd);
      } else
      {
         Log.d("FmTransceiver", "Error turning off");
      }
      return true;
   }
/**
   *    Releases access to the V4L2 FM device.
   *    <p>
   *    This synchronous call allows a client to release control of
   *    V4L2 FM device.  This function should be called when the FM
   *    device is no longer needed. This should be the last call
   *    issued by the FM client. Once called, the client must call
   *    #acquire to re-aquire the V4L2 device control before the
   *    FM device can be used again.
   *    <p>
   *    Before the client can release control of the FM receiver
   *    interface, it must disable the FM receiver, if the client
   *    enabled it, and unregister any registered callback.  If the
   *    client has ownership of the receiver, it will automatically
   *    be returned to the system.
   *    <p>
   *    This call also powers down the FM Module.
   *    <p>
   *    @param device String that is path to radio device
   *    @return true if V4L2 FM device released, false if V4L2 FM
   *            device could not be released
   *    @see   #acquire
   */
Releases access to the V4L2 FM device.

This synchronous call allows a client to release control of
V4L2 FM device.  This function should be called when the FM
device is no longer needed. This should be the last call
issued by the FM client. Once called, the client must call
#acquire to re-aquire the V4L2 device control before the
FM device can be used again.

Before the client can release control of the FM receiver
interface, it must disable the FM receiver, if the client
enabled it, and unregister any registered callback.  If the
client has ownership of the receiver, it will automatically
be returned to the system.

This call also powers down the FM Module.

@param device String that is path to radio device
@return true if V4L2 FM device released, false if V4L2 FM
device could not be released
@see   #acquire
Releases access to the V4L2 FM device . This synchronous call allows a client to release control of V4L2 FM device . This function should be called when the FM device is no longer needed . This should be the last call issued by the FM client . Once called the client must call #acquire to re - aquire the V4L2 device control before the FM device can be used again . Before the client can release control of the FM receiver interface it must disable the FM receiver if the client enabled it and unregister any registered callback . If the client has ownership of the receiver it will automatically be returned to the system . This call also powers down the FM Module . @param device String that is path to radio device @return true if V4L2 FM device released false if V4L2 FM device could not be released @see #acquire
static boolean release(String device) {
      if (sFd!=0)
      {
         FmReceiverJNI.closeFdNative(sFd);
         sFd = 0;
         Log.d("FmTransceiver", "Turned off: " + sFd);
      } else
      {
         Log.d("FmTransceiver", "Error turning off");
      }
      return true;
   }
static boolean release ( String device ) { if ( sFd != 0 ) { FmReceiverJNI . closeFdNative ( sFd ) ; sFd = 0 ; Log . d ( "FmTransceiver" , "Turned off: " + sFd ) ; } else { Log . d ( "FmTransceiver" , "Error turning off" ) ; } return true ; }
Releases access to the V4L2 FM device.
Releases access to the V4L2 FM device .