xref: /aosp_15_r20/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/NativeEngine.java (revision 05767d913155b055644481607e6fa1e35e2fe72c)
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