code: private static PathStrategy getPathStrategy(Context context, String authority) {
      PathStrategy strat;
      synchronized (sCache) {
        strat = sCache.get(authority);
        if (strat == null) {
          try {
            strat = parsePathStrategy(context, authority);
          } catch (IOException e) {
            throw new IllegalArgumentException(
                "Failed to parse " + META_DATA_FILE_PROVIDER_PATHS + " meta-data", e);
          } catch (XmlPullParserException e) {
            throw new IllegalArgumentException(
                "Failed to parse " + META_DATA_FILE_PROVIDER_PATHS + " meta-data", e);
          }
          sCache.put(authority, strat);
        }
      }
      return strat;
    }
docs: Return {@link PathStrategy} for given authority, either by parsing or
  returning from cache.