OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Prefs
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
AutoAddTrackerTest.java
29
import com.android.systemui.
Prefs
;
30
import com.android.systemui.
Prefs
.Key;
45
Prefs
.putBoolean(mContext, Key.QS_DATA_SAVER_ADDED, true);
46
Prefs
.putBoolean(mContext, Key.QS_WORK_ADDED, true);
53
assertFalse(
Prefs
.getBoolean(mContext, Key.QS_DATA_SAVER_ADDED, false));
54
assertFalse(
Prefs
.getBoolean(mContext, Key.QS_WORK_ADDED, false));
/system/update_engine/common/
prefs.h
92
class
Prefs
: public PrefsBase {
94
Prefs
() : PrefsBase(&file_storage_) {}
135
DISALLOW_COPY_AND_ASSIGN(
Prefs
);
/development/samples/ToyVpn/src/com/example/android/toyvpn/
ToyVpnClient.java
27
public interface
Prefs
{
43
final SharedPreferences
prefs
= getSharedPreferences(
Prefs
.NAME, MODE_PRIVATE);
local
44
serverAddress.setText(
prefs
.getString(
Prefs
.SERVER_ADDRESS, ""));
45
serverPort.setText(
prefs
.getString(
Prefs
.SERVER_PORT, ""));
46
sharedSecret.setText(
prefs
.getString(
Prefs
.SHARED_SECRET, ""));
49
prefs
.edit(
[
all
...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
AutoTileManagerTest.java
27
import com.android.systemui.
Prefs
;
28
import com.android.systemui.
Prefs
.Key;
48
Prefs
.putBoolean(mContext, Key.QS_NIGHTDISPLAY_ADDED, false);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DndTile.java
48
import com.android.systemui.
Prefs
;
101
Prefs
.putBoolean(context,
Prefs
.Key.DND_TILE_VISIBLE, visible);
105
return
Prefs
.getBoolean(context,
Prefs
.Key.DND_TILE_VISIBLE, false /* defaultValue */);
109
Prefs
.putBoolean(context,
Prefs
.Key.DND_TILE_COMBINED_ICON, combined);
113
return
Prefs
.getBoolean(context,
Prefs
.Key.DND_TILE_COMBINED_ICON,
137
int zen =
Prefs
.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, Global.ZEN_MODE_ALARMS)
[
all
...]
DataSaverTile.java
23
import com.android.systemui.
Prefs
;
63
||
Prefs
.getBoolean(mContext,
Prefs
.Key.QS_DATA_SAVER_DIALOG_SHOWN, false)) {
77
Prefs
.putBoolean(mContext,
Prefs
.Key.QS_DATA_SAVER_DIALOG_SHOWN, true);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
AutoAddTracker.java
31
import com.android.systemui.
Prefs
;
32
import com.android.systemui.
Prefs
.Key;
55
if (
Prefs
.getBoolean(context, convertPref[0], false)) {
57
Prefs
.putBoolean(context, convertPref[0], false);
/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/volume/
ZenFooter.java
32
import com.android.systemui.
Prefs
;
126
Prefs
.putBoolean(mContext,
Prefs
.Key.DND_CONFIRMED_ALARM_INTRODUCTION, true);
157
final boolean confirmed =
Prefs
.getBoolean(mContext,
158
Prefs
.Key.DND_CONFIRMED_ALARM_INTRODUCTION, false);
ZenModePanel.java
60
import com.android.systemui.
Prefs
;
272
Prefs
.putBoolean(mContext, prefKey, true);
279
return
Prefs
.Key.DND_CONFIRMED_PRIORITY_INTRODUCTION;
281
return
Prefs
.Key.DND_CONFIRMED_SILENCE_INTRODUCTION;
283
return
Prefs
.Key.DND_CONFIRMED_ALARM_INTRODUCTION;
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
RecentsTaskLoadPlan.java
35
import com.android.systemui.
Prefs
;
299
* Migrate the last active time from the
prefs
to the secure settings.
302
* 1) fetch the last stack active time from the
prefs
303
* 2) set the
prefs
to the last stack active time for all users
310
long legacyLastStackActiveTime =
Prefs
.getLong(mContext,
311
Prefs
.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, -1);
313
Prefs
.remove(mContext,
Prefs
.Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
UserSwitcherController.java
60
import com.android.systemui.
Prefs
;
61
import com.android.systemui.
Prefs
.Key;
241
Prefs
.putBoolean(mContext, Key.SEEN_MULTI_USER, true);
[
all
...]
Completed in 1007 milliseconds