/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
AutoTileManager.java | 20 import com.android.systemui.Prefs; 21 import com.android.systemui.Prefs.Key; 41 if (!Prefs.getBoolean(context, Key.QS_HOTSPOT_ADDED, false)) { 44 if (!Prefs.getBoolean(context, Key.QS_DATA_SAVER_ADDED, false)) { 47 if (!Prefs.getBoolean(context, Key.QS_INVERT_COLORS_ADDED, false)) { 54 Prefs.putBoolean(mContext, Key.QS_INVERT_COLORS_ADDED, true); 66 if (!Prefs.getBoolean(context, Key.QS_WORK_ADDED, false)) { 81 Prefs.putBoolean(mContext, Key.QS_WORK_ADDED, true); 104 Prefs.putBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true); 121 Prefs.putBoolean(mContext, Key.QS_HOTSPOT_ADDED, true) [all...] |
PhoneStatusBar.java | 135 import com.android.systemui.Prefs; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
DndTile.java | 37 import com.android.systemui.Prefs; 80 Prefs.putBoolean(context, Prefs.Key.DND_TILE_VISIBLE, visible); 84 return Prefs.getBoolean(context, Prefs.Key.DND_TILE_VISIBLE, false /* defaultValue */); 88 Prefs.putBoolean(context, Prefs.Key.DND_TILE_COMBINED_ICON, combined); 92 return Prefs.getBoolean(context, Prefs.Key.DND_TILE_COMBINED_ICON, 126 int zen = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, Global.ZEN_MODE_ALARMS) [all...] |
DataSaverTile.java | 23 import com.android.systemui.Prefs; 61 || Prefs.getBoolean(mContext, Prefs.Key.QS_DATA_SAVER_DIALOG_SHOWN, false)) { 80 Prefs.putBoolean(mContext, Prefs.Key.QS_DATA_SAVER_DIALOG_SHOWN, true);
|
/system/update_engine/ |
daemon_state_android.cc | 24 #include "update_engine/common/prefs.h" 46 // Initialize prefs. 48 // TODO(deymo): Fall back to in-memory prefs if there's no physical directory 54 Prefs* prefs = new Prefs(); local 55 prefs_.reset(prefs); 56 if (!prefs->Init(non_volatile_path.Append(kPrefsSubDirectory))) {
|
real_system_state.cc | 79 // Initialize standard and powerwash-safe prefs. 81 // TODO(deymo): Fall back to in-memory prefs if there's no physical directory 87 Prefs* prefs; local 88 prefs_.reset(prefs = new Prefs()); 89 if (!prefs->Init(non_volatile_path.Append(kPrefsSubDirectory))) { 96 // TODO(deymo): Fall-back to in-memory prefs if there's no powerwash-safe 101 powerwash_safe_prefs_.reset(prefs = new Prefs()); [all...] |
/system/update_engine/common/ |
prefs.cc | 17 #include "update_engine/common/prefs.h" 107 // Prefs 109 bool Prefs::Init(const base::FilePath& prefs_dir) { 113 bool Prefs::FileStorage::Init(const base::FilePath& prefs_dir) { 118 bool Prefs::FileStorage::GetKey(const string& key, string* value) const { 128 bool Prefs::FileStorage::SetKey(const string& key, const string& value) { 141 bool Prefs::FileStorage::KeyExists(const string& key) const { 147 bool Prefs::FileStorage::DeleteKey(const string& key) { 154 bool Prefs::FileStorage::GetFileNameForKey(const string& key,
|
prefs.h | 92 class Prefs : public PrefsBase { 94 Prefs() : PrefsBase(&file_storage_) {} 135 DISALLOW_COPY_AND_ASSIGN(Prefs);
|
prefs_unittest.cc | 17 #include "update_engine/common/prefs.h" 59 Prefs prefs_;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
TunerZenModePanel.java | 28 import com.android.systemui.Prefs; 86 mZenMode = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
RecentsTaskLoadPlan.java | 33 import com.android.systemui.Prefs; 137 long lastStackActiveTime = Prefs.getLong(mContext, 138 Prefs.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, 0); 192 Prefs.putLong(mContext, Prefs.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
VolumeUI.java | 38 import com.android.systemui.Prefs; 191 Prefs.remove(mContext, key); 193 Prefs.putBoolean(mContext, key, (Boolean) value); 195 Prefs.putInt(mContext, key, (Integer) value); 197 Prefs.putLong(mContext, key, (Long) value);
|
ZenModePanel.java | 56 import com.android.systemui.Prefs; 211 Prefs.putBoolean(mContext, prefKey, true); 218 return Prefs.Key.DND_CONFIRMED_PRIORITY_INTRODUCTION; 220 return Prefs.Key.DND_CONFIRMED_SILENCE_INTRODUCTION; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
Prefs.java | 28 public final class Prefs { 29 private Prefs() {} // no instantation
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/ |
PipManager.java | 42 import com.android.systemui.Prefs; 54 import static com.android.systemui.Prefs.Key.TV_PICTURE_IN_PICTURE_ONBOARDING_SHOWN; 205 mOnboardingShown = Prefs.getBoolean( 441 Prefs.putBoolean(mContext, TV_PICTURE_IN_PICTURE_ONBOARDING_SHOWN, true);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
RecentsActivity.java | 44 import com.android.systemui.Prefs; 178 Prefs.putLong(RecentsActivity.this, Prefs.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, [all...] |
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
shared_prefs.py | 167 """Helper object to read and update "Shared Prefs" of Android apps. 180 prefs = shared_prefs.SharedPrefs(device, 'com.my.app', 'my_prefs.xml') 181 prefs.Load() 182 prefs.GetString('someHashValue') # => '249b3e5af13d4db2' 183 prefs.SetInt('databaseVersion', 42) 184 prefs.Remove('featureEnabled') 185 prefs.Commit()
|
/system/update_engine/payload_generator/ |
generate_delta_main.cc | 33 #include "update_engine/common/prefs.h" 191 Prefs prefs; local 194 LOG_IF(ERROR, !prefs.Init(base::FilePath(prefs_dir))) 217 DeltaPerformer performer(&prefs, nullptr, nullptr, nullptr, &install_plan); 230 DeltaPerformer::ResetUpdateProgress(&prefs, false);
|