private static boolean getOSMatches(String osNamePrefix, String osVersionPrefix) {
        return isOSMatch(OS_NAME, OS_VERSION, osNamePrefix, osVersionPrefix);
    }
Decides if the operating system matches.

@param osNamePrefix the prefix for the os name
@param osVersionPrefix the prefix for the version
@return true if matches, or false if not or can't determine
android/android_framework/base/src/main/java/lang3/SystemUtils.java