code: public Set<ResTable_config> GetResourceConfigurations(boolean exclude_system,
        boolean exclude_mipmap) {
      // ATRACE_NAME("AssetManager::GetResourceConfigurations");
      Set<ResTable_config> configurations = new HashSet<>();
      for (final PackageGroup package_group : package_groups_) {
        for (final ConfiguredPackage package_ : package_group.packages_) {
          if (exclude_system && package_.loaded_package_.IsSystem()) {
            continue;
          }
          package_.loaded_package_.CollectConfigurations(exclude_mipmap, configurations);
        }
      }
      return configurations;
    }
docs: boolean exclude_mipmap = false);