B2G/gecko/dom/system/gonk/RILContentHelper.js
/**
   * Helper for guarding us again invalid action values for call forwarding.
   */
Helper for guarding us again invalid action values for call forwarding.
Helper for guarding us again invalid action values for call forwarding .
function _isValidCFAction(action) {
     switch (action) {
       case Ci.nsIDOMMozMobileCFInfo.CALL_FORWARD_ACTION_DISABLE:
       case Ci.nsIDOMMozMobileCFInfo.CALL_FORWARD_ACTION_ENABLE:
       case Ci.nsIDOMMozMobileCFInfo.CALL_FORWARD_ACTION_REGISTRATION:
       case Ci.nsIDOMMozMobileCFInfo.CALL_FORWARD_ACTION_ERASURE:
         return true;
       default:
         return false;
     }
  }
function _isValidCFAction ( action ) { switch ( action ) { case Ci . nsIDOMMozMobileCFInfo . CALL_FORWARD_ACTION_DISABLE : case Ci . nsIDOMMozMobileCFInfo . CALL_FORWARD_ACTION_ENABLE : case Ci . nsIDOMMozMobileCFInfo . CALL_FORWARD_ACTION_REGISTRATION : case Ci . nsIDOMMozMobileCFInfo . CALL_FORWARD_ACTION_ERASURE : return true ; default : return false ; } }
Helper for guarding us again invalid action values for call forwarding.
Helper for guarding us again invalid action values for call forwarding .