code: public static String getProtectionLevel(int value) {
          List<String> levels = new ArrayList<>(3);
          if ((value & 0x10) != 0) {
              value = value ^ 0x10;
              levels.add("system");
          }
          if ((value & 0x20) != 0) {
              value = value ^ 0x20;
              levels.add("development");
          }
          switch (value) {
              case 0:
                  levels.add("normal");
                  break;
              case 1:
                  levels.add("dangerous");
                  break;
              case 2:
                  levels.add("signature");
                  break;
              case 3:
                  levels.add("signatureOrSystem");
                  break;
              default:
                  levels.add("ProtectionLevel:" + Integer.toHexString(value));
          }
          return Strings.join(levels, "|");
      }
docs: http://developer.android.com/reference/android/content/pm/PermissionInfo.html