private java.io.File getFile(android.os.ParcelFileDescriptor p4)
    {
        try {
            java.io.File v1_5 = new StringBuilder();
            v1_5.append(/proc/self/fd/);
            v1_5.append(p4.getFd());
            String v4_1 = android.system.Os.readlink(v1_5.toString());
        } catch (android.system.ErrnoException) {
            return 0;
        }
        if (!android.system.OsConstants.S_ISREG(android.system.Os.stat(v4_1).st_mode)) {
            return 0;
        } else {
            return new java.io.File(v4_1);
        }
    }