Home
last modified time | relevance | path

Searched refs:Preferences (Results 1 – 17 of 17) sorted by relevance

/packages/apps/TV/src/com/android/tv/tuner/
DTunerPreferenceProvider.java61 return Preferences.CONTENT_URI.buildUpon().appendPath(key).build(); in buildPreferenceUri()
67 public interface Preferences { interface in TunerPreferenceProvider
118 + Preferences._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," in onCreate()
119 + Preferences.COLUMN_KEY + " TEXT NOT NULL," in onCreate()
120 + Preferences.COLUMN_VALUE + " TEXT);"); in onCreate()
153 return Preferences.CONTENT_TYPE; in getType()
155 return Preferences.CONTENT_ITEM_TYPE; in getType()
181 db.delete(PREFERENCES_TABLE, Preferences.COLUMN_KEY + " like ?", in insertRow()
182 new String[]{values.getAsString(Preferences.COLUMN_KEY)}); in insertRow()
186 Uri rowUri = buildPreferenceUri(values.getAsString(Preferences.COLUMN_KEY)); in insertRow()
DTunerPreferences.java31 import com.android.tv.tuner.TunerPreferenceProvider.Preferences;
74 TunerPreferenceProvider.Preferences.CONTENT_URI, true, sContentObserver); in initialize()
239 values.put(Preferences.COLUMN_KEY, key); in setPreference()
240 values.put(Preferences.COLUMN_VALUE, value); in setPreference()
242 resolver.insert(Preferences.CONTENT_URI, values); in setPreference()
274 String[] projection = new String[] { Preferences.COLUMN_KEY, Preferences.COLUMN_VALUE }; in doInBackground()
275 try (Cursor cursor = resolver.query(Preferences.CONTENT_URI, projection, null, null, in doInBackground()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java23 import com.android.email.Preferences;
73 final Preferences preferences = Preferences.getPreferences(context); in migrate()
176 Preferences.CONV_LIST_ICON_NONE, preferences.getConversationListIcon()); in migrate()
189 case Preferences.AUTO_ADVANCE_OLDER: in migrate()
191 case Preferences.AUTO_ADVANCE_NEWER: in migrate()
193 case Preferences.AUTO_ADVANCE_MESSAGE_LIST: in migrate()
/packages/apps/Email/provider_src/com/android/email/
DPreferences.java35 public class Preferences { class
87 private static Preferences sPreferences;
91 private Preferences(Context context) { in Preferences() method in Preferences
101 public static synchronized Preferences getPreferences(Context context) { in getPreferences()
103 sPreferences = new Preferences(context); in getPreferences()
DDebugUtils.java18 final Preferences prefs = Preferences.getPreferences(context); in init()
32 Preferences prefs = Preferences.getPreferences(context); in updateLoggingFlags()
/packages/apps/Email/src/com/android/email/activity/setup/
DDebugFragment.java31 import com.android.email.Preferences;
41 private Preferences mPreferences;
55 mPreferences = Preferences.getPreferences(context); in onCreateView()
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/
DWifiWakeupHelper.java41 import com.android.networkrecommendation.config.Preferences;
144 Set<String> hashedSsidSet = Preferences.ssidsForWakeupShown.get(); in startWifiSession()
156 Preferences.ssidsForWakeupShown.put(hashedSsidSet); in startWifiSession()
DWifiWakeupController.java38 import com.android.networkrecommendation.config.Preferences;
295 Set<String> ssidsOnDisable = Preferences.savedSsidsOnDisable.get(); in readDisabledSsidsFromSharedPreferences()
308 Preferences.savedSsidsOnDisable.put(ssids); in writeDisabledSsidsToSharedPreferences()
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
DPreferences.java18 public final class Preferences { class
19 private Preferences() {} in Preferences() method in Preferences
DPreferencesMonitor.java61 if (Preferences.shouldBackup(key)) { in onSharedPreferenceChanged()
DPrefsBackupHelper.java65 if (Preferences.shouldBackup(preference.getKey())) { in copyMatchingPreferences()
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/config/
DPreferences.java23 public final class Preferences { class
24 private Preferences() {} in Preferences() method in Preferences
/packages/apps/Email/provider_src/com/android/email/service/
DEmailBroadcastProcessorService.java38 import com.android.email.Preferences;
311 final Preferences pref = Preferences.getPreferences(this); in performOneTimeInitialization()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java55 import com.android.documentsui.prefs.Preferences;
200 assert(Preferences.shouldBackup(pref)); in onPreferenceChanged()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java27 import com.android.email.Preferences;
228 String devUID = Preferences.getPreferences(context).getDeviceUID(); in getImapId()
/packages/apps/Email/src/com/android/email2/ui/
DMailActivityEmail.java29 import com.android.email.Preferences;
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java70 import com.android.email.Preferences;
533 String legacyBackup = Preferences.getLegacyBackupPreference(context); in restoreIfNeeded()
539 Preferences.clearLegacyBackupPreference(context); in restoreIfNeeded()
2293 Preferences.getPreferences(getContext()).setLastUsedAccountId(accountId); in call()
3735 Preferences.getPreferences(getContext()).getLastUsedAccountId(); in addCombinedAccountRow()