Searched refs:Get (Results 1 - 25 of 4314) sorted by relevance

1234567891011>>

/external/chromium_org/extensions/common/permissions/
H A Dpermission_message_provider.cc12 const PermissionMessageProvider* PermissionMessageProvider::Get() { function in class:extensions::PermissionMessageProvider
13 return &(ExtensionsClient::Get()->GetPermissionMessageProvider());
/external/chromium_org/base/threading/
H A Dthread_restrictions.cc30 bool previous_disallowed = g_io_disallowed.Get().Get();
31 g_io_disallowed.Get().Set(!allowed);
37 if (g_io_disallowed.Get().Get()) {
49 bool previous_disallowed = g_singleton_disallowed.Get().Get();
50 g_singleton_disallowed.Get().Set(!allowed);
56 if (g_singleton_disallowed.Get().Get()) {
[all...]
/external/chromium_org/chrome/browser/chromeos/power/
H A Dsession_state_controller_delegate_chromeos.cc21 if (KioskModeSettings::Get()->IsKioskModeEnabled()) {
27 DBusThreadManager::Get()->GetSessionManagerClient()->RequestLockScreen();
31 DBusThreadManager::Get()->GetPowerManagerClient()->RequestShutdown();
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dtest_object_store_test.py12 self.assertEqual(None, store.Get('hi').Get())
13 self.assertEqual({}, store.GetMulti(['hi', 'lo']).Get())
18 self.assertEqual('bye', store.Get('hi').Get())
19 self.assertEqual({'hi': 'bye'}, store.GetMulti(['hi', 'lo']).Get())
21 self.assertEqual('blah', store.Get('hi').Get())
22 self.assertEqual({'hi': 'blah'}, store.GetMulti(['hi', 'lo']).Get())
24 self.assertEqual(None, store.Get('h
[all...]
H A Dpersistent_object_store_test.py18 self.assertEqual('value', object_store.Get('key').Get())
21 self.assertEqual('value', another_object_store.Get('key').Get())
25 self.assertEqual(mapping, object_store.GetMulti(mapping.keys()).Get())
27 another_object_store.GetMulti(mapping.keys()).Get())
30 self.assertEqual({}, object_store.GetMulti(mapping.keys()).Get())
31 self.assertEqual({}, another_object_store.GetMulti(mapping.keys()).Get())
37 self.assertEqual(None, another_object_store.Get('key').Get())
[all...]
H A Dchained_compiled_file_system_test.py46 self.assertEqual(self._chained_compiled_fs.GetFromFile('a.txt').Get(),
47 self._base_compiled_fs.GetFromFile('a.txt').Get())
48 self.assertEqual(self._chained_compiled_fs.GetFromFile('new.txt').Get(),
50 self.assertEqual(self._chained_compiled_fs.GetFromFile('dir/new.txt').Get(),
53 self.assertNotEqual(self._chained_compiled_fs.GetFromFile('a.txt').Get(),
54 self._base_compiled_fs.GetFromFile('a.txt').Get())
55 self.assertEqual(self._chained_compiled_fs.GetFromFile('a.txt').Get(),
56 self._new_file_system.ReadSingle('a.txt').Get())
59 self.assertEqual(self._chained_compiled_fs.GetFromFileListing('dir/').Get(),
60 self._base_compiled_fs.GetFromFileListing('dir/').Get())
[all...]
H A Dcache_chain_object_store_test.py28 self.assertEqual('storage', self._store.Get('storage.html').Get())
34 self.assertEqual('storage', self._store.Get('storage.html').Get())
40 self.assertEqual('runtime', self._store.Get('runtime.html').Get())
46 self.assertEqual('runtime', self._first.Get('runtime.html').Get())
49 self.assertEqual('runtime', self._store.Get('runtime.html').Get())
[all...]
/external/chromium_org/device/bluetooth/
H A Dbluetooth_adapter_factory.cc41 DCHECK(default_adapter.Get());
42 scoped_refptr<BluetoothAdapter> adapter(default_adapter.Get().get());
44 iter = adapter_callbacks.Get().begin();
45 iter != adapter_callbacks.Get().end();
49 adapter_callbacks.Get().clear();
59 if (default_adapter.Get())
75 if (!default_adapter.Get()) {
76 default_adapter.Get() =
78 DCHECK(!default_adapter.Get()->IsInitialized());
81 if (!default_adapter.Get()
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dproxy_lock.cc26 base::Lock* ProxyLock::Get() { function in class:ppapi::ProxyLock
27 if (g_disable_locking || g_disable_locking_for_thread.Get().Get())
29 return &g_proxy_lock.Get();
32 // Functions below should only access the lock via Get to ensure that they don't
39 base::Lock* lock = Get();
42 const bool deadlock = g_proxy_locked_on_thread.Get().Get();
46 g_proxy_locked_on_thread.Get().Set(true);
52 base::Lock* lock = Get();
[all...]
/external/chromium_org/chromeos/login/
H A Dlogin_state_unittest.cc30 LoginState::Get()->set_always_logged_in(false);
31 LoginState::Get()->AddObserver(this);
35 LoginState::Get()->RemoveObserver(this);
42 logged_in_user_type_ = LoginState::Get()->GetLoggedInUserType();
63 EXPECT_FALSE(LoginState::Get()->IsUserLoggedIn());
64 EXPECT_FALSE(LoginState::Get()->IsInSafeMode());
67 LoginState::Get()->GetLoggedInUserType());
70 LoginState::Get()->SetLoggedInState(LoginState::LOGGED_IN_ACTIVE,
73 LoginState::Get()->GetLoggedInUserType());
74 EXPECT_TRUE(LoginState::Get()
[all...]
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_globals.h28 static Globals* Get();
30 static LibraryList* GetLibraries() { return &Get()->libraries_; }
32 static SearchPathList* GetSearchPaths() { return &Get()->search_paths_; }
34 static RDebug* GetRDebug() { return &Get()->rdebug_; }
46 ScopedGlobalLock() { Globals::Get()->Lock(); }
48 ~ScopedGlobalLock() { Globals::Get()->Unlock(); }
/external/chromium_org/ash/system/chromeos/audio/
H A Dtray_audio_delegate_chromeos.cc16 CrasAudioHandler::Get()->AdjustOutputVolumeToAudibleLevel();
20 return CrasAudioHandler::Get()->GetOutputDefaultVolumeMuteThreshold();
24 return CrasAudioHandler::Get()->GetOutputVolumePercent();
29 if (!CrasAudioHandler::Get()->GetPrimaryActiveOutputDevice(&device))
46 CrasAudioHandler* audio_handler = CrasAudioHandler::Get();
52 return CrasAudioHandler::Get()->IsOutputMuted();
56 CrasAudioHandler::Get()->SetOutputMute(is_muted);
60 CrasAudioHandler::Get()->SetOutputVolumePercent(level);
/external/chromium_org/extensions/browser/
H A Dextension_system.cc20 ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) { function in class:extensions::ExtensionSystem
21 return ExtensionsBrowserClient::Get()
/external/chromium_org/sync/test/
H A Dnull_directory_change_delegate.cc17 write_transaction_info.Get().mutations.Get().begin();
18 it != write_transaction_info.Get().mutations.Get().end(); ++it) {
28 write_transaction_info.Get().mutations.Get().begin();
29 it != write_transaction_info.Get().mutations.Get().end(); ++it) {
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dextension_system_event_observer.cc13 DBusThreadManager::Get()->GetPowerManagerClient()->AddObserver(this);
14 DBusThreadManager::Get()->GetSessionManagerClient()->AddObserver(this);
18 DBusThreadManager::Get()->GetPowerManagerClient()->RemoveObserver(this);
19 DBusThreadManager::Get()->GetSessionManagerClient()->RemoveObserver(this);
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dinput_method_configuration_unittest.cc13 InputMethodManager* manager = InputMethodManager::Get();
17 manager = InputMethodManager::Get();
23 InputMethodManager* manager = InputMethodManager::Get();
27 manager = InputMethodManager::Get();
/external/chromium_org/chrome/renderer/extensions/
H A Dchrome_v8_extension_handler.cc21 RenderThread::Get()->RemoveRoute(routing_id_);
26 routing_id_ = RenderThread::Get()->GenerateRoutingID();
27 RenderThread::Get()->AddRoute(routing_id_, this);
34 RenderThread::Get()->Send(message);
/external/chromium_org/chrome/renderer/
H A Dnet_benchmarking_extension.h14 static v8::Extension* Get();
/external/chromium_org/net/base/
H A Dbandwidth_metrics.cc19 g_bandwidth_metrics.Get().StopStream();
24 g_bandwidth_metrics.Get().StartStream();
29 g_bandwidth_metrics.Get().StopStream();
33 g_bandwidth_metrics.Get().RecordBytes(bytes);
/external/chromium_org/chrome/browser/sync/test/integration/
H A Denable_disable_test.cc53 ASSERT_TRUE(GetClient(0)->EnableSyncForDatatype(it.Get()));
60 if (it.Get() == syncer::AUTOFILL_PROFILE || it.Get() == syncer::SESSIONS) {
64 if (!syncer::ProxyTypes().Has(it.Get())) {
65 ASSERT_TRUE(DoesTopLevelNodeExist(user_share, it.Get()) ||
66 IsUnready(data_type_status_table, it.Get()))
67 << syncer::ModelTypeToString(it.Get());
71 if (it.Get() == syncer::AUTOFILL) {
74 } else if (it.Get() == syncer::HISTORY_DELETE_DIRECTIVES ||
75 it.Get()
[all...]
/external/chromium_org/sync/js/
H A Djs_event_details.cc18 const base::DictionaryValue& JsEventDetails::Get() const { function in class:syncer::JsEventDetails
19 return details_.Get();
24 base::JSONWriter::Write(&Get(), &str);
/external/chromium_org/chrome/browser/android/
H A Dresource_mapper.cc23 if (g_id_map.Get().empty()) {
27 ResourceMap::iterator iterator = g_id_map.Get().find(resource_id);
28 if (iterator != g_id_map.Get().end()) {
38 DCHECK(g_id_map.Get().empty());
41 #define DEFINE_RESOURCE_ID(c_id,java_id) g_id_map.Get()[c_id] = next_id++;
/external/chromium_org/extensions/browser/api/system_memory/
H A Dmemory_info_provider.cc26 provider_.Get() = provider;
37 MemoryInfoProvider* MemoryInfoProvider::Get() { function in class:extensions::MemoryInfoProvider
38 if (provider_.Get().get() == NULL)
39 provider_.Get() = new MemoryInfoProvider();
40 return provider_.Get().get();
/external/chromium_org/content/app/android/
H A Dcontent_main.cc43 if (!g_content_runner.Get().get()) {
44 ContentMainParams params(g_content_main_delegate.Get().get());
45 g_content_runner.Get().reset(ContentMainRunner::Create());
46 g_content_runner.Get()->Initialize(params);
48 return g_content_runner.Get()->Run();
52 DCHECK(!g_content_main_delegate.Get().get());
53 g_content_main_delegate.Get().reset(delegate);
/external/chromium_org/chrome/browser/ui/ash/
H A Dchrome_shell_delegate_chromeos.cc72 DCHECK(chromeos::AccessibilityManager::Get());
73 chromeos::AccessibilityManager::Get()->EnableHighContrast(
74 !chromeos::AccessibilityManager::Get()->IsHighContrastEnabled());
78 DCHECK(chromeos::AccessibilityManager::Get());
79 return chromeos::AccessibilityManager::Get()->IsSpokenFeedbackEnabled();
84 DCHECK(chromeos::AccessibilityManager::Get());
85 chromeos::AccessibilityManager::Get()->ToggleSpokenFeedback(notify);
89 DCHECK(chromeos::AccessibilityManager::Get());
90 return chromeos::AccessibilityManager::Get()->IsHighContrastEnabled();
94 DCHECK(chromeos::MagnificationManager::Get());
[all...]

Completed in 641 milliseconds

1234567891011>>