public class TunerService extends SystemUI
Modifier and Type | Class and Description |
---|---|
static class |
TunerService.ClearReceiver |
static interface |
TunerService.Tunable |
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_CLEAR |
mComponents, mContext
Constructor and Description |
---|
TunerService() |
Modifier and Type | Method and Description |
---|---|
void |
addTunable(TunerService.Tunable tunable,
String... keys) |
void |
clearAll() |
static TunerService |
get(Context context) |
String |
getValue(String setting) |
int |
getValue(String setting,
int def) |
static boolean |
isTunerEnabled(Context context) |
void |
reloadSetting(Uri uri) |
void |
removeTunable(TunerService.Tunable tunable) |
protected void |
reregisterAll() |
static void |
setTunerEnabled(Context context,
boolean enabled) |
void |
setValue(String setting,
int value) |
void |
setValue(String setting,
String value) |
static void |
showResetRequest(Context context,
Runnable onDisabled) |
void |
start() |
dump, getComponent, onBootCompleted, onConfigurationChanged, overrideNotificationAppName, putComponent
public static final String ACTION_CLEAR
public int getValue(String setting, int def)
public void setValue(String setting, int value)
public void addTunable(TunerService.Tunable tunable, String... keys)
public void removeTunable(TunerService.Tunable tunable)
protected void reregisterAll()
public void reloadSetting(Uri uri)
public void clearAll()
public static TunerService get(Context context)
public static final void setTunerEnabled(Context context, boolean enabled)
public static final boolean isTunerEnabled(Context context)