@Implements(value=android.provider.Settings.Secure.class) public static class ShadowSettings.ShadowSecure extends java.lang.Object
Shadow for Settings.Secure
Constructor and Description |
---|
ShadowSecure() |
Modifier and Type | Method and Description |
---|---|
protected static float |
getFloat(android.content.ContentResolver cr,
java.lang.String name) |
protected static float |
getFloat(android.content.ContentResolver cr,
java.lang.String name,
float def) |
protected static int |
getInt(android.content.ContentResolver resolver,
java.lang.String name) |
protected static int |
getInt(android.content.ContentResolver resolver,
java.lang.String name,
int def) |
protected static long |
getLong(android.content.ContentResolver cr,
java.lang.String name) |
protected static long |
getLong(android.content.ContentResolver cr,
java.lang.String name,
long def) |
protected static java.lang.String |
getString(android.content.ContentResolver cr,
java.lang.String name) |
protected static java.lang.String |
getStringForUser(android.content.ContentResolver cr,
java.lang.String name,
int userHandle) |
protected static boolean |
putFloat(android.content.ContentResolver cr,
java.lang.String name,
float value) |
protected static boolean |
putInt(android.content.ContentResolver resolver,
java.lang.String name,
int value) |
protected static boolean |
putIntForUser(android.content.ContentResolver cr,
java.lang.String name,
int value,
int userHandle) |
protected static boolean |
putLong(android.content.ContentResolver cr,
java.lang.String name,
long value) |
protected static boolean |
putString(android.content.ContentResolver cr,
java.lang.String name,
java.lang.String value) |
protected static void |
setLocationProviderEnabled(android.content.ContentResolver cr,
java.lang.String provider,
boolean enabled) |
protected static boolean |
setLocationProviderEnabledForUser(android.content.ContentResolver cr,
java.lang.String provider,
boolean enabled,
int uid) |
@Implementation(minSdk=17) protected static boolean setLocationProviderEnabledForUser(android.content.ContentResolver cr, java.lang.String provider, boolean enabled, int uid)
@Implementation(maxSdk=16) protected static void setLocationProviderEnabled(android.content.ContentResolver cr, java.lang.String provider, boolean enabled)
@Implementation protected static boolean putInt(android.content.ContentResolver resolver, java.lang.String name, int value)
@Implementation(minSdk=21) protected static boolean putIntForUser(android.content.ContentResolver cr, java.lang.String name, int value, int userHandle)
@Implementation protected static int getInt(android.content.ContentResolver resolver, java.lang.String name) throws android.provider.Settings.SettingNotFoundException
android.provider.Settings.SettingNotFoundException
@Implementation protected static int getInt(android.content.ContentResolver resolver, java.lang.String name, int def)
@Implementation protected static boolean putString(android.content.ContentResolver cr, java.lang.String name, java.lang.String value)
@Implementation protected static java.lang.String getString(android.content.ContentResolver cr, java.lang.String name)
@Implementation(minSdk=17) protected static java.lang.String getStringForUser(android.content.ContentResolver cr, java.lang.String name, int userHandle)
@Implementation protected static boolean putLong(android.content.ContentResolver cr, java.lang.String name, long value)
@Implementation protected static long getLong(android.content.ContentResolver cr, java.lang.String name, long def)
@Implementation protected static long getLong(android.content.ContentResolver cr, java.lang.String name) throws android.provider.Settings.SettingNotFoundException
android.provider.Settings.SettingNotFoundException
@Implementation protected static boolean putFloat(android.content.ContentResolver cr, java.lang.String name, float value)
@Implementation protected static float getFloat(android.content.ContentResolver cr, java.lang.String name, float def)
@Implementation protected static float getFloat(android.content.ContentResolver cr, java.lang.String name) throws android.provider.Settings.SettingNotFoundException
android.provider.Settings.SettingNotFoundException