Home
last modified time | relevance | path

Searched refs:DeveloperPreference (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/common/src/com/android/tv/common/dev/
DDeveloperPreferences.java27 public static final DeveloperPreference<Boolean> ALLOW_ANALYTICS_IN_ENG =
28 DeveloperPreference.create("tv_allow_analytics_in_eng", false);
35 public static final DeveloperPreference<Boolean> ALLOW_STRICT_MODE =
36 DeveloperPreference.create("tv_allow_strict_mode", true);
43 public static final DeveloperPreference<Boolean> LOG_KEYEVENT =
44 DeveloperPreference.create("tv_log_keyevent", false);
51 public static final DeveloperPreference<Boolean> USE_DEBUG_KEYS =
52 DeveloperPreference.create("tv_use_debug_keys", false);
59 public static final DeveloperPreference<Boolean> USE_TRACKER =
60 DeveloperPreference.create("tv_use_tracker", true);
[all …]
DDeveloperPreference.java24 public abstract class DeveloperPreference<T> { class
35 public static DeveloperPreference<Boolean> create(String key, boolean defaultValue) { in create()
50 public static DeveloperPreference<Integer> create(String key, int defaultValue) { in create()
58 private DeveloperPreference(String key, T defaultValue) { in DeveloperPreference() method in DeveloperPreference
99 private static final class DeveloperBooleanPreference extends DeveloperPreference<Boolean> {
116 private static final class DeveloperIntegerPreference extends DeveloperPreference<Integer> {
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/dev/
DDeveloperPreferenceTest.java35 DeveloperPreference<Boolean> devPref = DeveloperPreference.create("test", true); in createBoolean_default_true()
37 DeveloperPreference.getPreferences(RuntimeEnvironment.systemContext) in createBoolean_default_true()
47 DeveloperPreference<Integer> devPref = DeveloperPreference.create("test", 1); in create_integer_default_one()
49 DeveloperPreference.getPreferences(RuntimeEnvironment.systemContext) in create_integer_default_one()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DDeveloperPreferenceFeature.java21 import com.android.tv.common.dev.DeveloperPreference;
26 private final DeveloperPreference<Boolean> mPreference;
35 return from(DeveloperPreference.create(key, defaultValue)); in create()
42 DeveloperPreference<Boolean> developerPreference) { in from()
46 private DeveloperPreferenceFeature(DeveloperPreference<Boolean> mPreference) { in DeveloperPreferenceFeature()