Home
last modified time | relevance | path

Searched refs:controllers_ (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/components/sync_driver/
Dmodel_association_manager_unittest.cc67 DataTypeController::TypeMap controllers_; member in browser_sync::SyncModelAssociationManagerTest
73 controllers_[syncer::BOOKMARKS] = in TEST_F()
75 controllers_[syncer::APPS] = in TEST_F()
77 ModelAssociationManager model_association_manager(&controllers_, in TEST_F()
89 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F()
91 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F()
97 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F()
99 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F()
104 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F()
106 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F()
[all …]
Dmodel_association_manager.cc115 controllers_(controllers), in ModelAssociationManager()
120 for (DataTypeController::TypeMap::const_iterator it = controllers_->begin(); in ModelAssociationManager()
121 it != controllers_->end(); ++it) { in ModelAssociationManager()
140 if (controllers_->find(it.Get()) != controllers_->end()) in Initialize()
164 for (DataTypeController::TypeMap::const_iterator it = controllers_->begin(); in StopDisabledTypes()
165 it != controllers_->end(); ++it) { in StopDisabledTypes()
185 DCHECK(controllers_->find(type) != controllers_->end()); in LoadEnabledTypes()
186 DataTypeController* dtc = controllers_->find(type)->second.get(); in LoadEnabledTypes()
236 DataTypeController* dtc = controllers_->find(type)->second.get(); in StartAssociationAsync()
268 for (DataTypeController::TypeMap::const_iterator it = controllers_->begin(); in Stop()
[all …]
Ddata_type_manager_impl.cc57 controllers_(controllers), in DataTypeManagerImpl()
87 controllers_->find(type.Get()); in Configure()
89 iter != controllers_->end()) { in Configure()
90 if (iter != controllers_->end()) { in Configure()
411 DataTypeController::TypeMap::const_iterator c_it = controllers_->find(type); in OnSingleDataTypeAssociationDone()
412 DCHECK(c_it != controllers_->end()); in OnSingleDataTypeAssociationDone()
Dmodel_association_manager.h156 const DataTypeController::TypeMap* controllers_; variable
Ddata_type_manager_impl.h130 const DataTypeController::TypeMap* controllers_; variable
Ddata_type_manager_impl_unittest.cc203 &controllers_, in SetUp()
239 controllers_[model_type] = new FakeDataTypeController(model_type); in AddController()
247 controllers_.find(model_type); in GetController()
248 if (it == controllers_.end()) { in GetController()
261 DataTypeController::TypeMap controllers_; member in browser_sync::SyncDataTypeManagerImplTest
/external/chromium_org/ui/ozone/platform/dri/
Dscreen_manager.cc25 controllers_.begin(), controllers_.end()); in ~ScreenManager()
31 if (it != controllers_.end()) { in RemoveDisplayController()
33 controllers_.erase(it); in RemoveDisplayController()
43 if (it != controllers_.end()) { in ConfigureDisplayController()
51 if (it == controllers_.end()) { in ConfigureDisplayController()
53 controllers_.insert(std::make_pair(++last_added_widget_, controller)); in ConfigureDisplayController()
80 if (it != controllers_.end()) { in DisableDisplayController()
93 if (controllers_.empty() && last_added_widget_ == 0) in GetDisplayController()
96 HardwareDisplayControllerMap::iterator it = controllers_.find(widget); in GetDisplayController()
97 if (it != controllers_.end()) in GetDisplayController()
[all …]
Dscreen_manager.h75 HardwareDisplayControllerMap controllers_; variable
/external/chromium_org/tools/android/forwarder2/
Dhost_forwarder_main.cc92 controllers_(new HostControllerMap()), in HostControllersManager()
101 FROM_HERE, controllers_.release()); in ~HostControllersManager()
155 manager->controllers_.get()); in DeleteHostController()
175 controller_key, controllers_.get()); in HandleRequestOnInternalThread()
191 if (controllers_->find(controller_key) != controllers_->end()) { in HandleRequestOnInternalThread()
218 controllers_->insert( in HandleRequestOnInternalThread()
231 for (HostControllerMap::const_iterator others = controllers_->begin(); in RemoveAdbPortForDeviceIfNeeded()
232 others != controllers_->end(); ++others) { in RemoveAdbPortForDeviceIfNeeded()
299 scoped_ptr<HostControllerMap> controllers_; member in forwarder2::__anond455fdcd0111::HostControllersManager
/external/chromium_org/content/browser/renderer_host/media/
Dvideo_capture_manager_unittest.cc100 ASSERT_TRUE(0 == controllers_.count(id)); in OnGotControllerCallback()
101 controllers_[id] = controller.get(); in OnGotControllerCallback()
131 ASSERT_TRUE(1 == controllers_.count(client_id)); in StopClient()
132 vcm_->StopCaptureForClient(controllers_[client_id], client_id, in StopClient()
134 controllers_.erase(client_id); in StopClient()
138 std::map<VideoCaptureControllerID, VideoCaptureController*> controllers_; member in content::VideoCaptureManagerTest
199 vcm_->StopCaptureForClient(controllers_[client_id], client_id, in TEST_F()
/external/chromium_org/content/browser/gamepad/
Dxbox_data_fetcher_mac.cc632 while (!controllers_.empty()) { in ~XboxDataFetcher()
633 RemoveController(*controllers_.begin()); in ~XboxDataFetcher()
763 for (std::set<XboxController*>::iterator i = controllers_.begin(); in ControllerForLocation()
764 i != controllers_.end(); in ControllerForLocation()
776 controllers_.insert(controller); in AddController()
782 controllers_.erase(controller); in RemoveController()
788 for (std::set<XboxController*>::iterator i = controllers_.begin(); in RemoveControllerByLocationID()
789 i != controllers_.end(); in RemoveControllerByLocationID()
Draw_input_data_fetcher_win.cc113 while (!controllers_.empty()) { in ClearControllers()
114 RawGamepadInfo* gamepad_info = controllers_.begin()->second; in ClearControllers()
115 controllers_.erase(gamepad_info->handle); in ClearControllers()
147 controllers_[device_handle] = gamepad_info; in EnumerateDevices()
156 std::map<HANDLE, RawGamepadInfo*>::iterator it = controllers_.find(handle); in GetGamepadInfo()
157 if (it != controllers_.end()) in GetGamepadInfo()
Dxbox_data_fetcher_mac.h172 std::set<XboxController*> controllers_; variable
Draw_input_data_fetcher_win.h122 std::map<HANDLE, RawGamepadInfo*> controllers_; variable
/external/chromium_org/chrome/browser/extensions/api/webrtc_audio_private/
Dwebrtc_audio_private_api.cc328 controllers_ = controllers; in OnControllerList()
329 num_remaining_sink_ids_ = controllers_.size(); in OnControllerList()
366 controllers_.begin(); in OnOutputDeviceNames()
367 for (; it != controllers_.end(); ++it) { in OnOutputDeviceNames()
Dwebrtc_audio_private_api.h168 content::RenderViewHost::AudioOutputControllerList controllers_; variable