Refactor proximity info

Change-Id: I668e6abfe202e1a56d59b6b6e58d1b4f003b720a
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h
index f5f5278..1f432b4 100644
--- a/native/jni/src/defines.h
+++ b/native/jni/src/defines.h
@@ -248,6 +248,9 @@
 // GCC warns about this.
 #define S_INT_MIN (-2147483647 - 1) // -(1 << 31)
 #endif
+
+#define MAX_PERCENTILE 100
+
 // Number of base-10 digits in the largest integer + 1 to leave room for a zero terminator.
 // As such, this is the maximum number of characters will be needed to represent an int as a
 // string, including the terminator; this is used as the size of a string buffer large enough to