Package org.robolectric.shadows
Class ShadowOs
java.lang.Object
org.robolectric.shadows.ShadowOs
A Shadow for android.system.Os
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Method Details
-
setSysconfValue
public static void setSysconfValue(int name, long value) Configures values to be returned by sysconf. -
sysconf
Returns the value configured via setSysconfValue, or -1 if one hasn't been configured.
-