OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPreferences
(Results
1 - 15
of
15
) sorted by null
/packages/apps/Email/tests/src/com/android/email/
AccountUnitTests.java
31
private Preferences
mPreferences
;
40
mPreferences
= Preferences.getPreferences(getContext());
50
if (mAccount != null &&
mPreferences
!= null) {
51
mAccount.delete(
mPreferences
);
66
SharedPreferences.Editor editor =
mPreferences
.mSharedPreferences.edit();
72
mAccount.refresh(
mPreferences
);
76
mAccount.save(
mPreferences
);
79
String newString =
mPreferences
.mSharedPreferences.getString(mUuid + ".senderUri", null);
81
String oldString =
mPreferences
.mSharedPreferences.getString(mUuid + ".transportUri", null);
101
SharedPreferences.Editor editor =
mPreferences
.mSharedPreferences.edit()
[
all
...]
PreferencesUnitTests.java
34
private Preferences
mPreferences
;
42
mPreferences
= Preferences.getPreferences(getContext());
52
if (mAccount != null &&
mPreferences
!= null) {
53
mAccount.delete(
mPreferences
);
70
Account lookup =
mPreferences
.getAccountByContentUri(testAccountUri);
75
lookup =
mPreferences
.getAccountByContentUri(testAccountUri);
80
lookup =
mPreferences
.getAccountByContentUri(testAccountUri);
85
lookup =
mPreferences
.getAccountByContentUri(testAccountUri);
94
mAccount.save(
mPreferences
);
AccountBackupRestoreTests.java
38
private Preferences
mPreferences
;
52
mPreferences
= Preferences.getPreferences(mContext);
68
Account[] oldAccounts =
mPreferences
.getAccounts();
70
oldAccount.delete(
mPreferences
);
80
backupAccount.save(
mPreferences
);
82
Account[] oldBackups =
mPreferences
.getAccounts();
89
AccountBackupRestore.doBackupAccounts(mMockContext,
mPreferences
);
91
Account[] backups =
mPreferences
.getAccounts();
121
AccountBackupRestore.doBackupAccounts(mMockContext,
mPreferences
);
126
Account[] backups =
mPreferences
.getAccounts()
[
all
...]
LegacyConversionsTests.java
81
Preferences
mPreferences
= null;
98
mLegacyAccount.delete(
mPreferences
);
633
mPreferences
= Preferences.getPreferences(mProviderContext);
662
mLegacyAccount.save(
mPreferences
);
[
all
...]
/packages/apps/Phone/src/com/android/phone/sip/
SipSharedPreferences.java
37
private SharedPreferences
mPreferences
;
41
mPreferences
= context.getSharedPreferences(
47
SharedPreferences.Editor editor =
mPreferences
.edit();
58
return
mPreferences
.getString(KEY_PRIMARY_ACCOUNT, null);
63
mPreferences
.getString(KEY_PRIMARY_ACCOUNT, null));
68
mPreferences
.getString(KEY_PRIMARY_ACCOUNT, null));
72
SharedPreferences.Editor editor =
mPreferences
.edit();
78
return
mPreferences
.getInt(KEY_NUMBER_OF_PROFILES, 0);
SipEditor.java
591
private Preference[]
mPreferences
;
610
mPreferences
= new Preference[group.getPreferenceCount()];
612
for (int i = 0, n =
mPreferences
.length; i < n; i++) {
616
mPreferences
[i] = pref;
624
for (Preference pref :
mPreferences
) {
634
for (Preference pref :
mPreferences
) {
/packages/apps/Phone/src/com/android/phone/
GsmUmtsAdditionalCallOptions.java
21
private ArrayList<Preference>
mPreferences
= new ArrayList<Preference> ();
34
mPreferences
.add(mCLIRButton);
35
mPreferences
.add(mCWButton);
42
mInitIndex =
mPreferences
.size();
67
if (mInitIndex <
mPreferences
.size()-1 && !isFinishing()) {
69
Preference pref =
mPreferences
.get(mInitIndex);
GsmUmtsCallForwardOptions.java
37
private final ArrayList<CallForwardEditPreference>
mPreferences
=
61
mPreferences
.add(mButtonCFU);
62
mPreferences
.add(mButtonCFB);
63
mPreferences
.add(mButtonCFNRy);
64
mPreferences
.add(mButtonCFNRc);
81
mPreferences
.get(mInitIndex).init(this, false);
83
mInitIndex =
mPreferences
.size();
85
for (CallForwardEditPreference pref :
mPreferences
) {
104
for (CallForwardEditPreference pref :
mPreferences
) {
117
if (mInitIndex <
mPreferences
.size()-1 && !isFinishing())
[
all
...]
/packages/apps/Email/src/com/android/email/activity/
Debug.java
43
private Preferences
mPreferences
;
51
mPreferences
= Preferences.getPreferences(this);
83
mPreferences
.setEnableDebugLogging(Email.DEBUG);
87
mPreferences
.setEnableSensitiveLogging(Email.DEBUG_SENSITIVE);
91
mPreferences
.setEnableExchangeLogging(isChecked);
94
mPreferences
.setEnableExchangeFileLogging(isChecked);
UpgradeAccounts.java
351
final Preferences
mPreferences
;
357
mPreferences
= Preferences.getPreferences(mContext);
439
info.account.delete(
mPreferences
);
[
all
...]
/packages/apps/Mms/src/com/android/mms/util/
DownloadManager.java
64
private final SharedPreferences
mPreferences
;
101
mAutoDownload = getAutoDownloadState(
mPreferences
, isRoaming);
115
mPreferences
= PreferenceManager.getDefaultSharedPreferences(context);
116
mPreferences
.registerOnSharedPreferenceChangeListener(mPreferencesChangeListener);
122
mAutoDownload = getAutoDownloadState(
mPreferences
);
/packages/apps/Camera/src/com/android/camera/
Camera.java
142
private ComboPreferences
mPreferences
;
279
String value =
mPreferences
.getString(CameraSettings.KEY_EXPOSURE,
282
Editor editor =
mPreferences
.edit();
316
mPreferences
, getContentResolver());
383
mPreferences
, getContentResolver());
[
all
...]
VideoCamera.java
127
private ComboPreferences
mPreferences
;
288
mPreferences
= new ComboPreferences(this);
289
CameraSettings.upgradeGlobalPreferences(
mPreferences
.getGlobal());
290
mCameraId = CameraSettings.readPreferredCameraId(
mPreferences
);
291
mPreferences
.setLocalId(this, mCameraId);
292
CameraSettings.upgradeLocalPreferences(
mPreferences
.getLocal());
594
String quality =
mPreferences
.getString(
[
all
...]
/packages/apps/Music/src/com/android/music/
MediaPlaybackService.java
145
private SharedPreferences
mPreferences
;
297
mPreferences
= getSharedPreferences("Music", MODE_WORLD_READABLE | MODE_WORLD_WRITEABLE);
372
Editor ed =
mPreferences
.edit();
438
if (
mPreferences
.contains("cardid")) {
440
id =
mPreferences
.getInt("cardid", ~mCardId);
445
q =
mPreferences
.getString("queue", "");
476
int pos =
mPreferences
.getInt("curpos", 0);
523
long seekpos =
mPreferences
.getLong("seekpos", 0);
529
int repmode =
mPreferences
.getInt("repeatmode", REPEAT_NONE);
535
int shufmode =
mPreferences
.getInt("shufflemode", SHUFFLE_NONE)
[
all
...]
/packages/apps/Email/src/com/android/email/
Account.java
55
private transient Preferences
mPreferences
;
127
mPreferences
= preferences;
298
mPreferences
= preferences;
Completed in 363 milliseconds