fm/qcom/fmradio/FmReceiver.java
public boolean cancelSearch () {
      boolean status = false;
      int state = getFMState();
      /* Check current state of FM device */
      if (state == FMState_Srch_InProg) {
         Log.v(TAG, "cancelSearch: Cancelling the on going search operation");
         setSearchState(subSrchLevel_SrchAbort);
         mControl.cancelSearch(sFd);
         return true;
      } else
         Log.d(TAG, "cancelSearch: No on going search operation to cancel");
      return status;
   }
/**
   *  Cancels an ongoing search operation
   *  (seek, scan, searchlist, etc).
   * <p>
   * This method should be used to cancel a previously initiated
   * search (e.g. Basic Seek/Scan, RDS Seek/Scans, Search list,
   * etc...).
   * <p>
   * Once completed, this command will generate an
   * FmRxEvSearchCancelledtr event to all registered clients.
   * Following this event, the client may also receive search events related
   * to the ongoing search now being complete.
   *
   *   <p>
   *    @return true if Cancel Search initiate succeeded, false if
   *            Cancel Search initiate failed.
   *   @see #searchStations(int, int, int)
   *   @see #searchStations(int, int, int)
   *   @see #searchStationList
   */
Cancels an ongoing search operation
.

This method should be used to cancel a previously initiated
search .

Once completed, this command will generate an
FmRxEvSearchCancelledtr event to all registered clients.
Following this event, the client may also receive search events related
to the ongoing search now being complete.


@return true if Cancel Search initiate succeeded, false if
Cancel Search initiate failed.
Cancels an ongoing search operation . This method should be used to cancel a previously initiated search . Once completed this command will generate an FmRxEvSearchCancelledtr event to all registered clients . Following this event the client may also receive search events related to the ongoing search now being complete . @return true if Cancel Search initiate succeeded false if Cancel Search initiate failed .
public boolean cancelSearch () {
      boolean status = false;
      int state = getFMState();
      /* Check current state of FM device */
      if (state == FMState_Srch_InProg) {
         Log.v(TAG, "cancelSearch: Cancelling the on going search operation");
         setSearchState(subSrchLevel_SrchAbort);
         mControl.cancelSearch(sFd);
         return true;
      } else
         Log.d(TAG, "cancelSearch: No on going search operation to cancel");
      return status;
   }
public boolean cancelSearch ( ) { boolean status = false ; int state = getFMState ( ) ; /* Check current state of FM device */ if ( state == FMState_Srch_InProg ) { Log . v ( TAG , "cancelSearch: Cancelling the on going search operation" ) ; setSearchState ( subSrchLevel_SrchAbort ) ; mControl . cancelSearch ( sFd ) ; return true ; } else Log . d ( TAG , "cancelSearch: No on going search operation to cancel" ) ; return status ; }
Cancels an ongoing search operation
  (seek, scan, searchlist, etc).
Cancels an ongoing search operation ( seek scan searchlist etc ) .