HomeSort by relevance Sort by last modified time
    Searched refs:Prefs (Results 1 - 15 of 15) sorted by null

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
Prefs.java 22 public class Prefs {
26 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE);
30 return context.getSharedPreferences(Prefs.SHARED_PREFS_NAME, Context.MODE_PRIVATE).edit();
  /external/chromium_org/chrome/test/pyautolib/
prefs_info.py 13 info = self.GetPrefsInfo() # fetch prefs snapshot
14 print info.Prefs() # all prefs
15 print info.Prefs('session.restore_on_startup') # a single pref
17 See more tests in chrome/test/functional/prefs.py.
28 The info is represented as a hierarchy of prefs values.
37 A typical dict representing prefs snapshot looks like:
38 { u'prefs':
61 def Prefs(self, path=None):
93 all = self.prefsdict.get('prefs', {})
    [all...]
  /external/chromium_org/chrome/test/functional/
prefs.py 33 raw_input('Interact with the browser and hit <enter> to dump prefs... ')
34 self.pprint(self.GetPrefsInfo().Prefs())
47 self.assertEqual(self.GetPrefsInfo().Prefs(pyauto.kRestoreOnStartup), 1)
81 self.assertEqual(self.GetPrefsInfo().Prefs(pyauto.kRestoreOnStartup), 4)
99 self.GetPrefsInfo().Prefs(pyauto.kGeolocationDefaultContentSetting))
106 self.GetPrefsInfo().Prefs(pyauto.kGeolocationDefaultContentSetting))
131 self.GetPrefsInfo().Prefs(pyauto.kContentSettingsPatternPairs))
142 {}, self.GetPrefsInfo().Prefs(pyauto.kContentSettingsPatternPairs))
167 self.GetPrefsInfo().Prefs(pyauto.kContentSettingsPatternPairs))
prefs_ui.py 43 behavior_key = self.GetPrefsInfo().Prefs(
82 1, self.GetPrefsInfo().Prefs(pyauto.kGeolocationDefaultContentSetting))
85 2, self.GetPrefsInfo().Prefs(pyauto.kGeolocationDefaultContentSetting))
88 3, self.GetPrefsInfo().Prefs(pyauto.kGeolocationDefaultContentSetting))
177 3, self.GetPrefsInfo().Prefs(pyauto.kGeolocationDefaultContentSetting))
274 self.GetPrefsInfo().Prefs(pyauto.kRegisteredProtocolHandlers))
330 self.GetPrefsInfo().Prefs(pyauto.kRestoreOnStartup))
333 self.GetPrefsInfo().Prefs(pyauto.kRestoreOnStartup))
336 self.GetPrefsInfo().Prefs(pyauto.kRestoreOnStartup))
344 self.GetPrefsInfo().Prefs(pyauto.kRestoreOnStartup)
    [all...]
chromeos_prefs.py 38 current_user_images = self.GetLocalStatePrefsInfo().Prefs(
multiprofile.py 64 prefs_info = self.GetPrefsInfo(windex=windex).Prefs(
80 self.GetPrefsInfo(windex=windex).Prefs(pyauto.kHomePage))
120 self.GetPrefsInfo().Prefs(pyauto.kURLsToRestoreOnStartup))
131 self.assertTrue(url in self.GetPrefsInfo().Prefs(pyauto.kHomePage))
161 self.assertEqual(self.GetPrefsInfo().Prefs(pyauto.kRestoreOnStartup),
fullscreen_mouselock.py 213 """Verify prefs when fullscreen is allowed."""
217 self.GetPrefsInfo().Prefs()['profile']['content_settings'])
224 """Verify prefs is empty when exit fullscreen mode before allowing."""
230 self.GetPrefsInfo().Prefs()['profile']['content_settings'])
245 self.GetPrefsInfo().Prefs()['profile']['content_settings'])
261 self.GetPrefsInfo().Prefs()['profile']['content_settings'])
extensions.py 233 extension_settings = self.GetPrefsInfo().Prefs()['extensions']['settings']
319 extension_settings = self.GetPrefsInfo().Prefs()['extensions']['settings']
omnibox.py 209 self.assertTrue(self.GetPrefsInfo().Prefs(pyauto.kSearchSuggestEnabled))
215 self.assertFalse(self.GetPrefsInfo().Prefs(pyauto.kSearchSuggestEnabled))
stress.py 732 self.assertEqual(value, self.GetPrefsInfo().Prefs(
737 default_prefs.Prefs(getattr(pyauto, key)))
  /external/chromium_org/chromeos/dbus/
power_policy_controller_unittest.cc 46 TEST_F(PowerPolicyControllerTest, Prefs) {
47 PowerPolicyController::PrefValues prefs; local
48 prefs.ac_screen_dim_delay_ms = 600000;
49 prefs.ac_screen_off_delay_ms = 660000;
50 prefs.ac_idle_delay_ms = 720000;
51 prefs.battery_screen_dim_delay_ms = 300000;
52 prefs.battery_screen_off_delay_ms = 360000;
53 prefs.battery_idle_delay_ms = 420000;
54 prefs.ac_idle_action = PowerPolicyController::ACTION_SUSPEND;
55 prefs.battery_idle_action = PowerPolicyController::ACTION_STOP_SESSION
    [all...]
  /external/chromium_org/chrome/test/chromedriver/
capabilities_unittest.cc 153 TEST(ParseCapabilities, Prefs) {
155 base::DictionaryValue prefs; local
156 prefs.SetString("key1", "value1");
157 prefs.SetString("key2.k", "value2");
159 caps.Set("chromeOptions.prefs", prefs.DeepCopy());
162 ASSERT_TRUE(capabilities.prefs->Equals(&prefs));
  /external/chromium_org/chrome/third_party/chromevox/
chromeVoxChromePageScript.js     [all...]
chromeVoxChromeOptionsScript.js     [all...]
chromeVoxChromeBackgroundScript.js     [all...]

Completed in 306 milliseconds