B2G/gecko/toolkit/mozapps/extensions/AddonManager.jsm
/**
   * Asynchronously gets all current AddonInstalls.
   *
   * @param  aCallback
   *         A callback which will be passed an array of AddonInstalls
   */
Asynchronously gets all current AddonInstalls.
@param  aCallback
A callback which will be passed an array of AddonInstalls
Asynchronously gets all current AddonInstalls . @param aCallback A callback which will be passed an array of AddonInstalls
function AMI_getAllInstalls(aCallback) {
    if (!gStarted)
      throw Components.Exception("AddonManager is not initialized",
                                 Cr.NS_ERROR_NOT_INITIALIZED);
    this.getInstallsByTypes(null, aCallback);
  }
function AMI_getAllInstalls ( aCallback ) { if ( ! gStarted ) throw Components . Exception ( "AddonManager is not initialized" , Cr . NS_ERROR_NOT_INITIALIZED ) ; this . getInstallsByTypes ( null , aCallback ) ; }
Asynchronously gets all current AddonInstalls.
Asynchronously gets all current AddonInstalls .