private static boolean isApkFile(File file) {
    return PackageParser.isApkFile(file);
  }
Directory where installed applications are stored
android/android_framework/patch-magisk/bridge/src/main/java/github/tornaco/android/thanox/magisk/bridge/util/PackageUtils.java