HomeSort by relevance Sort by last modified time
    Searched refs:manager_ (Results 1 - 25 of 209) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/gpu/command_buffer/common/
debug_marker_manager_unittest.cc 20 DebugMarkerManager manager_; member in class:gpu::gles2::DebugMarkerManagerTest
25 EXPECT_STREQ("", manager_.GetMarker().c_str());
27 manager_.PopGroup();
29 EXPECT_STREQ("", manager_.GetMarker().c_str());
31 manager_.SetMarker("mark1");
32 EXPECT_STREQ(".mark1", manager_.GetMarker().c_str());
33 manager_.SetMarker("mark2");
34 EXPECT_STREQ(".mark2", manager_.GetMarker().c_str());
36 manager_.PushGroup("abc");
37 EXPECT_STREQ(".abc", manager_.GetMarker().c_str())
    [all...]
  /external/chromium_org/ash/test/
shelf_item_delegate_manager_test_api.cc 16 : manager_(manager) {
17 DCHECK(manager_);
22 manager_->id_to_item_delegate_map_.begin(),
23 manager_->id_to_item_delegate_map_.end());
24 manager_->id_to_item_delegate_map_.clear();
  /external/chromium/chrome/browser/sync/
signin_manager_unittest.cc 23 manager_.reset(new SigninManager());
55 scoped_ptr<SigninManager> manager_; member in class:SigninManagerTest
61 manager_->Initialize(profile_.get());
62 EXPECT_TRUE(manager_->GetUsername().empty());
64 manager_->StartSignIn("username", "password", "", "");
65 EXPECT_FALSE(manager_->GetUsername().empty());
74 manager_.reset(new SigninManager());
75 manager_->Initialize(profile_.get());
76 EXPECT_EQ("user@gmail.com", manager_->GetUsername());
80 manager_->Initialize(profile_.get())
    [all...]
  /external/chromium_org/gpu/command_buffer/client/
vertex_array_object_manager_unittest.cc 20 manager_.reset(new VertexArrayObjectManager(
28 scoped_ptr<VertexArrayObjectManager> manager_; member in class:gpu::gles2::VertexArrayObjectManagerTest
39 EXPECT_FALSE(manager_->HaveEnabledClientSideBuffers());
43 EXPECT_FALSE(manager_->GetVertexAttrib(
45 EXPECT_FALSE(manager_->GetAttribPointer(
49 EXPECT_TRUE(manager_->GetVertexAttrib(
52 EXPECT_TRUE(manager_->GetVertexAttrib(
55 EXPECT_TRUE(manager_->GetVertexAttrib(
58 EXPECT_TRUE(manager_->GetVertexAttrib(
61 EXPECT_TRUE(manager_->GetVertexAttrib
    [all...]
mapped_memory_unittest.cc 152 manager_.reset(new MappedMemoryManager(
159 manager_.reset();
163 scoped_ptr<MappedMemoryManager> manager_; member in class:gpu::MappedMemoryManagerTest
171 void* mem1 = manager_->Alloc(kSize, &id1, &offset1);
178 manager_->Free(mem1);
179 void* mem2 = manager_->Alloc(kSize, &id2, &offset2);
186 void* mem3 = manager_->Alloc(kSize, &id3, &offset3);
192 manager_->Free(mem3);
197 void* mem4 = manager_->Alloc(kSize / 2, &id4, &offset4);
198 void* mem5 = manager_->Alloc(kSize / 2, &id5, &offset5)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/input_method/
input_method_manager_impl_unittest.cc 61 manager_.reset(new InputMethodManagerImpl(
64 manager_->SetCandidateWindowControllerForTesting(
67 manager_->SetXKeyboardForTesting(xkeyboard_);
121 manager_.reset();
143 manager_->InitializeComponentExtensionForTesting(delegate.Pass());
146 scoped_ptr<InputMethodManagerImpl> manager_; member in class:chromeos::input_method::__anon7021::InputMethodManagerImplTest
212 EXPECT_TRUE(manager_->GetXKeyboard());
213 EXPECT_EQ(xkeyboard_, manager_->GetXKeyboard());
220 manager_->AddCandidateWindowObserver(&observer);
229 manager_->RemoveCandidateWindowObserver(&observer)
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
id_manager_unittest.cc 23 IdManager manager_; member in class:gpu::gles2::IdManagerTest
32 EXPECT_TRUE(manager_.AddMapping(kClientId1, kServiceId1));
35 EXPECT_TRUE(manager_.GetServiceId(kClientId1, &service_id));
38 EXPECT_TRUE(manager_.GetClientId(kServiceId1, &client_id));
43 EXPECT_FALSE(manager_.GetServiceId(kClientId2, &service_id));
44 EXPECT_FALSE(manager_.GetClientId(kServiceId2, &client_id));
48 EXPECT_TRUE(manager_.AddMapping(kClientId2, kServiceId2));
51 EXPECT_TRUE(manager_.GetServiceId(kClientId1, &service_id));
53 EXPECT_TRUE(manager_.GetServiceId(kClientId2, &service_id));
56 EXPECT_TRUE(manager_.GetClientId(kServiceId1, &client_id))
    [all...]
vertex_attrib_manager_unittest.cc 42 manager_ = new VertexAttribManager();
43 manager_->Initialize(kNumVertexAttribs);
47 manager_ = NULL;
54 scoped_refptr<VertexAttribManager> manager_; member in class:gpu::gles2::VertexAttribManagerTest
63 EXPECT_TRUE(manager_->GetVertexAttrib(kNumVertexAttribs) == NULL);
64 EXPECT_FALSE(manager_->HaveFixedAttribs());
67 manager_->GetEnabledVertexAttribs();
71 VertexAttrib* attrib = manager_->GetVertexAttrib(ii);
81 manager_->Enable(ii, true);
88 manager_->GetEnabledVertexAttribs()
    [all...]
texture_manager_unittest.cc 63 manager_.reset(new TextureManager(
67 manager_->Initialize();
72 manager_->Destroy(false);
73 manager_.reset();
81 gl_.get(), error_state_.get(), manager_.get(),
88 scoped_ptr<TextureManager> manager_; member in class:gpu::gles2::TextureManagerTest
106 EXPECT_FALSE(manager_->HaveUnrenderableTextures());
107 EXPECT_FALSE(manager_->HaveUnsafeTextures());
108 EXPECT_FALSE(manager_->HaveUnclearedMips());
110 manager_->CreateTexture(kClient1Id, kService1Id)
403 scoped_ptr<TextureManager> manager_; member in class:gpu::gles2::TextureTestBase
    [all...]
mailbox_manager_unittest.cc 27 manager_ = new MailboxManager;
71 scoped_refptr<MailboxManager> manager_; member in class:gpu::gles2::MailboxManagerTest
84 manager_->GenerateMailbox(&name);
85 manager_->ProduceTexture(0, name, texture);
86 EXPECT_EQ(texture, manager_->ConsumeTexture(0, name));
89 EXPECT_EQ(texture, manager_->ConsumeTexture(0, name));
92 EXPECT_EQ(NULL, manager_->ConsumeTexture(1, name));
96 EXPECT_EQ(NULL, manager_->ConsumeTexture(0, name));
104 manager_->GenerateMailbox(&name1);
106 manager_->ProduceTexture(0, name1, texture)
    [all...]
vertex_array_manager_unittest.cc 35 manager_ = new VertexArrayManager();
39 delete manager_;
46 VertexArrayManager* manager_; member in class:gpu::gles2::VertexArrayManagerTest
60 manager_->CreateVertexAttribManager(
63 VertexAttribManager* info1 = manager_->GetVertexAttribManager(kClient1Id);
67 EXPECT_TRUE(manager_->GetClientId(info1->service_id(), &client_id));
70 EXPECT_TRUE(manager_->GetVertexAttribManager(kClient2Id) == NULL);
72 manager_->RemoveVertexAttribManager(kClient2Id);
78 manager_->RemoveVertexAttribManager(kClient1Id);
79 EXPECT_TRUE(manager_->GetVertexAttribManager(kClient1Id) == NULL)
    [all...]
renderbuffer_manager_unittest.cc 28 manager_.reset(new RenderbufferManager(
33 manager_->Destroy(true);
34 manager_.reset();
41 scoped_ptr<RenderbufferManager> manager_; member in class:gpu::gles2::RenderbufferManagerTestBase
79 EXPECT_EQ(kMaxSize, manager_->max_renderbuffer_size());
80 EXPECT_EQ(kMaxSamples, manager_->max_samples());
81 EXPECT_FALSE(manager_->HaveUnclearedRenderbuffers());
83 manager_->CreateRenderbuffer(kClient1Id, kService1Id);
86 manager_->GetRenderbuffer(kClient1Id);
88 EXPECT_FALSE(manager_->HaveUnclearedRenderbuffers())
    [all...]
shader_manager_unittest.cc 24 manager_.Destroy(false);
40 ShaderManager manager_; member in class:gpu::gles2::ShaderManagerTest
49 Shader* info0 = manager_.CreateShader(
53 Shader* shader1 = manager_.GetShader(kClient1Id);
56 EXPECT_TRUE(manager_.GetShader(kClient2Id) == NULL);
58 manager_.MarkAsDeleted(shader1);
59 EXPECT_TRUE(manager_.GetShader(kClient1Id) == NULL);
67 Shader* shader1 = manager_.CreateShader(
74 manager_.Destroy(true);
76 shader1 = manager_.GetShader(kClient1Id)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/screens/
screen_flow.h 36 ScreenManager* screen_manager() { return manager_; }
42 manager_ = manager;
46 ScreenManager* manager_; member in class:chromeos::ScreenFlow
  /external/chromium_org/components/policy/core/common/cloud/
user_cloud_policy_manager_unittest.cc 43 if (manager_) {
44 manager_->RemoveObserver(&observer_);
45 manager_->Shutdown();
52 manager_.reset(new UserCloudPolicyManager(
59 manager_->Init(&schema_registry_);
60 manager_->AddObserver(&observer_);
75 scoped_ptr<UserCloudPolicyManager> manager_; member in class:policy::__anon10201::UserCloudPolicyManagerTest
86 EXPECT_CALL(observer_, OnUpdatePolicy(manager_.get()));
88 EXPECT_TRUE(expected_bundle_.Equals(manager_->policies()));
89 EXPECT_TRUE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME))
    [all...]
  /external/chromium_org/ui/base/accelerators/
accelerator_manager_unittest.cc 60 AcceleratorManager manager_; member in class:ui::test::AcceleratorManagerTest
66 manager_.Register(accelerator_a, AcceleratorManager::kNormalPriority,
70 EXPECT_TRUE(manager_.Process(accelerator_a));
77 manager_.Register(accelerator_a, AcceleratorManager::kNormalPriority,
80 manager_.Register(accelerator_a, AcceleratorManager::kNormalPriority,
85 EXPECT_TRUE(manager_.Process(accelerator_a));
93 manager_.Register(accelerator_a, AcceleratorManager::kNormalPriority,
96 manager_.Register(accelerator_b, AcceleratorManager::kNormalPriority,
101 manager_.Unregister(accelerator_b, &target);
102 EXPECT_TRUE(manager_.Process(accelerator_a))
    [all...]
  /external/chromium_org/chrome/browser/download/
all_download_item_notifier.cc 10 : manager_(manager),
13 manager_->AddObserver(this);
15 manager_->GetAllDownloads(&items);
25 if (manager_)
26 manager_->RemoveObserver(this);
37 DCHECK_EQ(manager_, manager);
38 manager_->RemoveObserver(this);
39 manager_ = NULL;
52 observer_->OnDownloadUpdated(manager_, item);
57 observer_->OnDownloadOpened(manager_, item)
    [all...]
  /external/chromium_org/components/policy/core/common/
external_data_fetcher.cc 15 : manager_(manager),
20 : manager_(other.manager_),
34 return first->manager_.get() == second->manager_.get() &&
39 if (manager_)
40 manager_->Fetch(policy_, callback);
  /external/chromium/chrome/browser/extensions/
extension_menu_manager_unittest.cc 61 ExtensionMenuManager manager_; member in class:ExtensionMenuManagerTest
77 ASSERT_TRUE(manager_.AddContextItem(extension, item1));
78 ASSERT_EQ(item1, manager_.GetItemById(item1->id()));
80 manager_.MenuItems(item1->extension_id());
86 ASSERT_TRUE(manager_.AddContextItem(extension, item2));
87 ASSERT_EQ(item2, manager_.GetItemById(item2->id()));
88 items = manager_.MenuItems(item2->extension_id());
97 ASSERT_TRUE(manager_.AddContextItem(extension, item3));
98 ASSERT_EQ(item3, manager_.GetItemById(id3));
99 ASSERT_EQ(3u, manager_.MenuItems(extension_id)->size())
    [all...]
  /external/chromium_org/chrome/browser/signin/
signin_manager_unittest.cc 70 SigninManagerTest() : manager_(NULL) {}
74 manager_ = NULL;
111 DCHECK(!manager_);
113 manager_ = static_cast<SigninManager*>(
120 DCHECK(!manager_);
125 manager_ = naked_manager_.get();
197 EXPECT_TRUE(manager_->GetAuthenticatedUsername().empty());
201 EXPECT_FALSE(manager_->GetAuthenticatedUsername().empty());
206 manager_->GetAuthenticatedUsername()));
218 EXPECT_TRUE(manager_->GetAuthenticatedUsername().empty())
246 SigninManager* manager_; member in class:SigninManagerTest
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/power/
power_api_unittest.cc 135 manager_.reset(new PowerSaveBlockerStubManager);
174 scoped_ptr<PowerSaveBlockerStubManager> manager_; member in class:extensions::PowerApiTest
182 EXPECT_EQ(BLOCK_DISPLAY_SLEEP, manager_->PopFirstRequest());
183 EXPECT_EQ(NONE, manager_->PopFirstRequest());
185 EXPECT_EQ(UNBLOCK_DISPLAY_SLEEP, manager_->PopFirstRequest());
186 EXPECT_EQ(NONE, manager_->PopFirstRequest());
189 EXPECT_EQ(BLOCK_APP_SUSPENSION, manager_->PopFirstRequest());
190 EXPECT_EQ(NONE, manager_->PopFirstRequest());
192 EXPECT_EQ(UNBLOCK_APP_SUSPENSION, manager_->PopFirstRequest());
193 EXPECT_EQ(NONE, manager_->PopFirstRequest())
    [all...]
  /external/chromium_org/cc/base/
ref_counted_managed.h 35 : manager_(manager) {
36 manager_->live_object_count_++;
45 DCHECK_GT(manager_->live_object_count_, 0);
46 manager_->live_object_count_--;
50 manager_->Release(static_cast<T*>(this));
58 RefCountedManager<T>* manager_; member in class:cc::RefCountedManaged
  /external/chromium_org/chrome/browser/extensions/
menu_manager_unittest.cc 52 manager_(&profile_, ExtensionSystem::Get(&profile_)->state_store()),
94 MenuManager manager_; member in class:extensions::MenuManagerTest
110 ASSERT_TRUE(manager_.AddContextItem(extension, item1));
111 ASSERT_EQ(item1, manager_.GetItemById(item1->id()));
112 const MenuItem::List* items = manager_.MenuItems(item1->extension_id());
118 ASSERT_TRUE(manager_.AddContextItem(extension, item2));
119 ASSERT_EQ(item2, manager_.GetItemById(item2->id()));
120 items = manager_.MenuItems(item2->extension_id());
129 ASSERT_TRUE(manager_.AddContextItem(extension, item3));
130 ASSERT_EQ(item3, manager_.GetItemById(id3))
    [all...]
  /external/chromium_org/net/quic/
quic_sent_packet_manager_test.cc 30 : manager_(true, &helper_, &clock_, kFixRate),
32 QuicSentPacketManagerPeer::SetSendAlgorithm(&manager_, send_algorithm_);
42 EXPECT_FALSE(manager_.HasUnackedPackets());
43 EXPECT_EQ(0u, manager_.GetNumRetransmittablePackets());
47 EXPECT_TRUE(manager_.HasUnackedPackets());
48 EXPECT_EQ(packets[0], manager_.GetLeastUnackedSentPacket());
50 EXPECT_TRUE(manager_.IsUnacked(packets[i])) << packets[i];
56 SequenceNumberSet unacked = manager_.GetUnackedPackets();
63 if (manager_.HasRetransmittableFrames(*it)) {
67 EXPECT_EQ(num_packets, manager_.GetNumRetransmittablePackets())
142 QuicSentPacketManager manager_; member in class:net::test::__anon12036::QuicSentPacketManagerTest
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
user_cloud_policy_manager_chromeos_unittest.cc 143 if (manager_) {
144 manager_->RemoveObserver(&observer_);
145 manager_->Shutdown();
158 manager_.reset(new UserCloudPolicyManagerChromeOS(
167 manager_->Init(&schema_registry_);
168 manager_->AddObserver(&observer_);
169 manager_->Connect(&prefs_, &device_management_service_, NULL,
172 EXPECT_FALSE(manager_->IsInitializationComplete(POLICY_DOMAIN_CHROME));
173 EXPECT_FALSE(manager_->core()->service()->IsInitializationComplete());
184 new UserCloudPolicyTokenForwarder(manager_.get(), token_service))
322 scoped_ptr<UserCloudPolicyManagerChromeOS> manager_; member in class:policy::UserCloudPolicyManagerChromeOSTest
    [all...]

Completed in 1130 milliseconds

1 2 3 4 5 6 7 8 9