1 package com.mobileer.oboetester; 2 3 public class NativeEngine { 4 isMMapSupported()5 static native boolean isMMapSupported(); 6 isMMapExclusiveSupported()7 static native boolean isMMapExclusiveSupported(); 8 setWorkaroundsEnabled(boolean enabled)9 static native void setWorkaroundsEnabled(boolean enabled); 10 areWorkaroundsEnabled()11 static native boolean areWorkaroundsEnabled(); 12 getCpuCount()13 static native int getCpuCount(); 14 setCpuAffinityMask(int mask)15 static native void setCpuAffinityMask(int mask); 16 } 17