aboutsummaryrefslogtreecommitdiff
path: root/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/NativeEngine.java
blob: 985797b1dc94937ce66c6c221624f604fc8ad875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.mobileer.oboetester;

public class NativeEngine {

    static native boolean isMMapSupported();

    static native boolean isMMapExclusiveSupported();

    static native void setWorkaroundsEnabled(boolean enabled);

    static native boolean areWorkaroundsEnabled();

    static native int getCpuCount();

    static native void setCpuAffinityMask(int mask);
}