@VisibleForTesting void recordFailureReasons(Context context){
  int reasons=FailureReason.bitValue(failureReasons(context));
  mFailureReasonsToRecord.add(reasons);
  if (LibraryLoader.isInitialized()) {
    Integer reasonsToRecord;
    while ((reasonsToRecord=mFailureReasonsToRecord.poll()) != null) {
      RecordHistogram.recordSparseSlowlyHistogram("Precache.Fetch.FailureReasons",reasonsToRecord);
      RecordUserAction.record("Precache.Fetch.IntentReceived");
    }
  }
}

@ VisibleForTesting void recordFailureReasons ( Context context ) { int reasons = FailureReason . bitValue ( failureReasons ( context ) ) ; mFailureReasonsToRecord . add ( reasons ) ; if ( LibraryLoader . isInitialized ( ) ) { Integer reasonsToRecord ; while ( ( reasonsToRecord = mFailureReasonsToRecord . poll ( ) ) != null ) { RecordHistogram . recordSparseSlowlyHistogram ( "Precache.Fetch.FailureReasons" , reasonsToRecord ) ; RecordUserAction . record ( "Precache.Fetch.IntentReceived" ) ; } } }
tries to record a histogram enumerating all of the return value of failurereasons ( ) . if the native libraries are not already loaded , no histogram is recorded .
