HomeSort by relevance Sort by last modified time
    Searched full:prefs (Results 201 - 225 of 1078) sorted by null

1 2 3 4 5 6 7 891011>>

  /libcore/luni/src/test/java/libcore/java/util/prefs/
PreferencesTest.java 17 package libcore.java.util.prefs;
23 import java.util.prefs.FileSystemPreferences;
24 import java.util.prefs.Preferences;
25 import java.util.prefs.PreferencesFactory;
80 final File userPrefs = new File(userPrefsDir, "prefs.xml");
OldFilePreferencesImplTest.java 17 package libcore.java.util.prefs;
20 import java.util.prefs.Preferences;
21 import java.util.prefs.PreferencesFactory;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
PreferencesSettingsFragment.java 87 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) {
91 Settings.readKeyPreviewPopupEnabled(prefs, res));
97 final SharedPreferences prefs = getSharedPreferences(); local
100 Settings.readVibrationEnabled(prefs, res));
102 Settings.readKeypressSoundEnabled(prefs, res));
  /packages/services/Telephony/src/com/android/phone/settings/
VisualVoicemailSettingsUtil.java 60 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); local
61 if (prefs.contains(IS_ENABLED_KEY)) {
64 return prefs.getBoolean(IS_ENABLED_KEY, false);
86 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); local
87 return prefs.contains(IS_ENABLED_KEY);
  /system/update_engine/
omaha_request_action_unittest.cc 43 #include "update_engine/common/prefs.h"
168 // OmahaRequestAction. |prefs| may be null, in which case a local MockPrefs
1155 NiceMock<MockPrefs> prefs; local
1356 NiceMock<MockPrefs> prefs; local
1405 NiceMock<MockPrefs> prefs; local
1437 NiceMock<MockPrefs> prefs; local
1469 NiceMock<MockPrefs> prefs; local
1506 NiceMock<MockPrefs> prefs; local
1531 NiceMock<MockPrefs> prefs; local
1576 NiceMock<MockPrefs> prefs; local
1603 NiceMock<MockPrefs> prefs; local
1626 NiceMock<MockPrefs> prefs; local
1785 NiceMock<MockPrefs> prefs; local
1833 NiceMock<MockPrefs> prefs; local
    [all...]
  /external/libchrome/base/
base.gyp 330 'prefs/base_prefs_export.h',
331 'prefs/default_pref_store.cc',
332 'prefs/default_pref_store.h',
333 'prefs/json_pref_store.cc',
334 'prefs/json_pref_store.h',
335 'prefs/overlay_user_pref_store.cc',
336 'prefs/overlay_user_pref_store.h',
337 'prefs/persistent_pref_store.h',
338 'prefs/pref_change_registrar.cc',
339 'prefs/pref_change_registrar.h'
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/
BackupTestActivity.java 63 private static final String TEST_PREFS_1 = "test-prefs-1";
67 private static final String TEST_PREFS_2 = "test-prefs-2";
130 SharedPreferences prefs = getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE); local
132 int intValue = prefs.getInt(INT_PREF, 0);
135 boolean boolValue = prefs.getBoolean(BOOL_PREF, false);
140 SharedPreferences prefs = getSharedPreferences(TEST_PREFS_2, MODE_PRIVATE); local
142 float floatValue = prefs.getFloat(FLOAT_PREF, 0.0f);
145 long longValue = prefs.getLong(LONG_PREF, 0L);
148 String stringValue = prefs.getString(STRING_PREF, null);
197 SharedPreferences prefs = getSharedPreferences(TEST_PREFS_1, MODE_PRIVATE) local
205 SharedPreferences prefs = getSharedPreferences(TEST_PREFS_2, MODE_PRIVATE); local
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
AndouKun.java 102 SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); local
103 final boolean debugLogs = prefs.getBoolean(PreferenceConstants.PREFERENCE_ENABLE_DEBUG, false);
143 mPrefsEditor = prefs.edit();
158 mLevelRow = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_ROW, 0);
159 mLevelIndex = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_INDEX, 0);
160 int completed = prefs.getInt(PreferenceConstants.PREFERENCE_LEVEL_COMPLETED, 0);
161 mTotalGameTime = prefs.getFloat(PreferenceConstants.PREFERENCE_TOTAL_GAME_TIME, 0.0f);
162 mRobotsDestroyed = prefs.getInt(PreferenceConstants.PREFERENCE_ROBOTS_DESTROYED, 0);
163 mPearlsCollected = prefs.getInt(PreferenceConstants.PREFERENCE_PEARLS_COLLECTED, 0);
164 mPearlsTotal = prefs.getInt(PreferenceConstants.PREFERENCE_PEARLS_TOTAL, 0)
289 SharedPreferences prefs = getSharedPreferences(PreferenceConstants.PREFERENCE_NAME, MODE_PRIVATE); local
    [all...]
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
CameraConfigurationManager.java 79 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
81 initializeTorch(parameters, prefs);
105 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
106 boolean currentSetting = false; // prefs.getBoolean(PreferencesActivity.KEY_FRONT_LIGHT, false);
108 // SharedPreferences.Editor editor = prefs.edit();
114 private static void initializeTorch(Camera.Parameters parameters, SharedPreferences prefs) {
115 boolean currentSetting = false;// prefs.getBoolean(PreferencesActivity.KEY_FRONT_LIGHT, false);
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/
Utils.java 94 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
95 SharedPreferences.Editor editor = prefs.edit();
109 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
110 Long lat = prefs.getLong(PREFERENCES_LAT, Long.MAX_VALUE);
111 Long lng = prefs.getLong(PREFERENCES_LNG, Long.MAX_VALUE);
124 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
125 SharedPreferences.Editor editor = prefs.edit();
134 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
135 return prefs.getBoolean(PREFERENCES_GEOFENCE_ENABLED, true);
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/
Utils.java 94 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
95 SharedPreferences.Editor editor = prefs.edit();
109 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
110 Long lat = prefs.getLong(PREFERENCES_LAT, Long.MAX_VALUE);
111 Long lng = prefs.getLong(PREFERENCES_LNG, Long.MAX_VALUE);
124 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
125 SharedPreferences.Editor editor = prefs.edit();
134 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
135 return prefs.getBoolean(PREFERENCES_GEOFENCE_ENABLED, true);
  /development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
Utils.java 94 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
95 SharedPreferences.Editor editor = prefs.edit();
109 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
110 Long lat = prefs.getLong(PREFERENCES_LAT, Long.MAX_VALUE);
111 Long lng = prefs.getLong(PREFERENCES_LNG, Long.MAX_VALUE);
124 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
125 SharedPreferences.Editor editor = prefs.edit();
134 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
135 return prefs.getBoolean(PREFERENCES_GEOFENCE_ENABLED, true);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListFilter.java 163 public static void storeToPreferences(SharedPreferences prefs, ContactListFilter filter) {
167 prefs.edit()
179 public static ContactListFilter restoreDefaultPreferences(SharedPreferences prefs) {
180 ContactListFilter filter = restoreFromPreferences(prefs);
193 private static ContactListFilter restoreFromPreferences(SharedPreferences prefs) {
194 int filterType = prefs.getInt(KEY_FILTER_TYPE, FILTER_TYPE_DEFAULT);
199 String accountName = prefs.getString(KEY_ACCOUNT_NAME, null);
200 String accountType = prefs.getString(KEY_ACCOUNT_TYPE, null);
201 String dataSet = prefs.getString(KEY_DATA_SET, null);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
EclipseXmlPrettyPrinter.java 51 * @param prefs the preferences to format with
57 XmlFormatPreferences prefs,
60 super(prefs, style, lineSeparator == null ? getDefaultLineSeparator() : lineSeparator);
68 * @param prefs the preferences to format with
78 @NonNull XmlFormatPreferences prefs,
83 EclipseXmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style,
118 * @param prefs the formatting preferences
127 @NonNull XmlFormatPreferences prefs,
131 XmlPrettyPrinter printer = new EclipseXmlPrettyPrinter(prefs, style, lineSeparator);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
PreferenceChangeEventTest.java 17 package org.apache.harmony.tests.java.util.prefs;
20 import java.util.prefs.PreferenceChangeEvent;
21 import java.util.prefs.Preferences;
FilePreferencesImplTest.java 17 package org.apache.harmony.tests.java.util.prefs;
21 import java.util.prefs.BackingStoreException;
22 import java.util.prefs.Preferences;
23 import java.util.prefs.PreferencesFactory;
  /packages/apps/EmergencyInfo/src/com/android/emergency/view/
ViewEmergencyContactsFragment.java 68 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); local
71 emergencyContactsString = prefs.getString(PreferenceKeys.KEY_EMERGENCY_CONTACTS, "");
76 prefs.getStringSet(
  /packages/screensavers/WebView/src/com/android/dreams/web/
Screensaver.java 68 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); local
69 final String url = prefs.getString("url", "file:///android_asset/default.html");
71 final boolean interactive = prefs.getBoolean("interactive", false);
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
GLTraceOptionsDialog.java 43 import org.osgi.service.prefs.BackingStoreException;
378 IEclipsePreferences prefs = new InstanceScope().getNode(GlTracePlugin.PLUGIN_ID); local
379 prefs.put(PREF_APP_PACKAGE, mAppPackageToTrace);
380 prefs.put(PREF_ACTIVITY, mActivityToTrace);
381 prefs.put(PREF_TRACEFILE, mTraceFilePath);
382 prefs.put(PREF_DEVICE, mSelectedDevice);
384 prefs.flush();
391 IEclipsePreferences prefs = new InstanceScope().getNode(GlTracePlugin.PLUGIN_ID); local
392 mAppPackageToTrace = prefs.get(PREF_APP_PACKAGE, "");
393 mActivityToTrace = prefs.get(PREF_ACTIVITY, "")
    [all...]
  /external/ipsec-tools/src/racoon/
policy.c 141 || spidx->prefs != prefixlen)
192 || a->prefs != b->prefs
252 b->prefs);
254 b->prefs);
256 a, b->prefs, saddr2str((struct sockaddr *)&sa1));
258 b, b->prefs, saddr2str((struct sockaddr *)&sa2));
322 u_int8_t prefs, prefd; local
332 prefs = spidx.prefs;
    [all...]
  /external/lz4/lib/
lz4frame.c 117 LZ4F_preferences_t prefs; member in struct:__anon19927
222 LZ4F_preferences_t prefs = { 0 }; local
226 if (preferencesPtr!=NULL) prefs = *preferencesPtr;
230 while (prefs.frameInfo.blockSizeID > proposedBSID)
234 prefs.frameInfo.blockSizeID = proposedBSID;
241 prefs.autoFlush = 1;
244 streamSize = LZ4F_compressBound(srcSize, &prefs);
262 LZ4F_preferences_t prefs = { 0 }; local
273 if (preferencesPtr!=NULL) prefs = *preferencesPtr;
277 while (prefs.frameInfo.blockSizeID > proposedBSID
    [all...]
  /external/icu/tools/srcgen/currysrc/libs/
org.eclipse.equinox.preferences.source_3.5.300.v20150408-1437.jar 
  /external/libgdx/tests/gdx-tests-android/src/com/badlogic/gdx/tests/android/
FragmentTestStarter.java 75 private SharedPreferences prefs; field in class:FragmentTestStarter.TestListFragment
83 prefs = getActivity().getSharedPreferences("libgdx-tests", Context.MODE_PRIVATE);
89 ((ListView)view.findViewById(android.R.id.list)).setSelectionFromTop(prefs.getInt("index", 0), prefs.getInt("top", 0));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ImportantNoticeUtils.java 121 final SharedPreferences prefs = getImportantNoticePreferences(context); local
122 if (!prefs.contains(KEY_TIMESTAMP_OF_CONTACTS_NOTICE)) {
123 prefs.edit()
127 final long firstDisplayTimeInMillis = prefs.getLong(
  /packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/define/
DebugFlags.java 29 public static void init(final SharedPreferences prefs) {

Completed in 3503 milliseconds

1 2 3 4 5 6 7 891011>>