@Implements(value=android.system.Os.class, minSdk=21) public final class ShadowOs extends Object
Modifier and Type | Method | Description |
---|---|---|
static void |
setSysconfValue(int name,
long value) |
Configures values to be returned by sysconf.
|
protected static long |
sysconf(int name) |
Returns the value configured via setSysconfValue, or -1 if one hasn't been configured.
|
public static void setSysconfValue(int name, long value)
@Implementation protected static long sysconf(int name)