public static int getUriType(Uri paramUri) {
   assertNonRelative(paramUri);
   String str = paramUri.getScheme();
   if ("content".equals(str)) {
     return 2;
   }
   if ("android.resource".equals(str)) {
     return 3;
   }
   if ("file".equals(str)) {
     if (paramUri.getPath().startsWith("/android_asset/")) {
       return 1;
     }
     return 0;
   }
   if ("data".equals(str)) {
     return 4;
   }
   if ("http".equals(str)) {
     return 5;
   }
   if ("https".equals(str)) {
     return 6;
   }
   return -1;
 }
 public static int getUriType(Uri uri) {
   assertNonRelative(uri);
   String scheme = uri.getScheme();
   if (ContentResolver.SCHEME_CONTENT.equals(scheme)) {
     return URI_TYPE_CONTENT;
   }
   if (ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme)) {
     return URI_TYPE_RESOURCE;
   }
   if (ContentResolver.SCHEME_FILE.equals(scheme)) {
     if (uri.getPath().startsWith("/android_asset/")) {
       return URI_TYPE_ASSET;
     }
     return URI_TYPE_FILE;
   }
   if ("data".equals(scheme)) {
     return URI_TYPE_DATA;
   }
   if ("http".equals(scheme)) {
     return URI_TYPE_HTTP;
   }
   if ("https".equals(scheme)) {
     return URI_TYPE_HTTPS;
   }
   return URI_TYPE_UNKNOWN;
 }
 public Uri remapUri(Uri paramUri) {
   assertNonRelative(paramUri);
   Uri localUri = pluginManager.remapUri(paramUri);
   if (localUri != null) {
     return localUri;
   }
   return paramUri;
 }
 public Uri remapUri(Uri uri) {
   assertNonRelative(uri);
   Uri pluginUri = pluginManager.remapUri(uri);
   return pluginUri != null ? pluginUri : uri;
 }