Home
last modified time | relevance | path

Searched refs:GetCallback (Results 1 – 25 of 103) sorted by relevance

12345

/external/chromium_org/ppapi/tests/
Dtest_file_ref.cc61 callback.WaitForResult(loader.Open(request, callback.GetCallback())); in MakeExternalFileRef()
83 dir->ReadDirectoryEntries(output_callback.GetCallback())); in DeleteDirectoryRecursively()
98 callback.WaitForResult(file_ref.Delete(callback.GetCallback())); in DeleteDirectoryRecursively()
104 callback.WaitForResult(dir->Delete(callback.GetCallback())); in DeleteDirectoryRecursively()
203 callback.WaitForResult(loader.Open(request, callback.GetCallback())); in TestGetName()
237 callback.WaitForResult(loader.Open(request, callback.GetCallback())); in TestGetPath()
278 callback.WaitForResult(loader.Open(request, callback.GetCallback())); in TestGetParent()
297 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); in TestMakeDirectory()
303 callback.WaitForResult(dir_ref.MakeDirectory(callback.GetCallback())); in TestMakeDirectory()
311 .MakeDirectory(callback.GetCallback()); in TestMakeDirectory()
[all …]
Dtest_file_io.cc93 file_io->Read(read_offset, buf, sizeof(buf), callback.GetCallback())); in ReadEntireFile()
114 callback.WaitForResult(file_io->Read(offset, 256, callback.GetCallback())); in ReadToArrayEntireFile()
158 callback.GetCallback())); in WriteEntireBuffer()
200 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); in TestOpen()
293 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); in TestOpenDirectory()
299 callback.WaitForResult(dir_ref.MakeDirectory(callback.GetCallback())); in TestOpenDirectory()
307 callback.GetCallback())); in TestOpenDirectory()
319 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); in TestReadWriteSetLength()
329 callback.GetCallback())); in TestReadWriteSetLength()
343 callback.GetCallback())); in TestReadWriteSetLength()
[all …]
Dtest_tcp_socket_private.cc64 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); in TestBasic()
82 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); in TestReadWrite()
102 cb.WaitForResult(socket.Connect(host_.c_str(), ssl_port_, cb.GetCallback())); in TestReadWriteSSL()
107 socket.SSLHandshake(host_.c_str(), ssl_port_, cb.GetCallback())); in TestReadWriteSSL()
130 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); in TestConnectAddress()
141 cb.WaitForResult(socket.ConnectWithNetAddress(&address, cb.GetCallback())); in TestConnectAddress()
162 cb.GetCallback())); in TestSetOption()
166 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); in TestSetOption()
172 cb.GetCallback())); in TestSetOption()
178 cb.GetCallback())); in TestSetOption()
[all …]
Dtest_truetype_font.cc106 cc.GetCallback())); in TestGetFontFamilies()
121 cc.GetCallback().output(), in TestGetFontFamilies()
122 cc.GetCallback().pp_completion_callback())); in TestGetFontFamilies()
137 cc.GetCallback())); in TestGetFontsInFamily()
154 cc2.GetCallback())); in TestGetFontsInFamily()
165 cc.WaitForResult(font.Describe(cc.GetCallback())); in TestGetFontsInFamily()
182 cc.GetCallback().output(), in TestGetFontsInFamily()
183 cc.GetCallback().pp_completion_callback())); in TestGetFontsInFamily()
229 cc.WaitForResult(font.Describe(cc.GetCallback())); in TestDescribe()
248 cc.GetCallback().pp_completion_callback())); in TestDescribe()
[all …]
Dtest_tcp_socket.cc73 cb.WaitForResult(socket.Connect(addr_, cb.GetCallback())); in TestConnect()
96 cb.WaitForResult(socket.Bind(any_port_address, cb.GetCallback())); in TestConnect()
100 cb.WaitForResult(socket.Connect(addr_, cb.GetCallback())); in TestConnect()
123 cb.WaitForResult(socket.Connect(addr_, cb.GetCallback())); in TestReadWrite()
145 true, cb_1.GetCallback()); in TestSetOption()
147 256, cb_2.GetCallback()); in TestSetOption()
149 512, cb_3.GetCallback()); in TestSetOption()
163 cb_1.WaitForResult(socket.Connect(addr_, cb_1.GetCallback())); in TestSetOption()
168 false, cb_1.GetCallback()); in TestSetOption()
170 512, cb_2.GetCallback()); in TestSetOption()
[all …]
Dtest_udp_socket.cc91 callback.WaitForResult(socket.Connect(address_, callback.GetCallback())); in GetLocalAddress()
104 callback_1.GetCallback())); in SetBroadcastOptions()
110 PP_UDPSOCKET_OPTION_BROADCAST, pp::Var(true), callback_2.GetCallback())); in SetBroadcastOptions()
120 callback.WaitForResult(socket->Bind(address, callback.GetCallback())); in BindUDPSocket()
158 socket->RecvFrom(&buffer[0], size, callback.GetCallback())); in ReadSocket()
175 callback.GetCallback()); in PassMessage()
266 PP_UDPSOCKET_OPTION_ADDRESS_REUSE, pp::Var(1), callback.GetCallback())); in TestSetOption()
271 PP_UDPSOCKET_OPTION_BROADCAST, pp::Var(false), callback.GetCallback())); in TestSetOption()
279 callback.GetCallback())); in TestSetOption()
285 callback.GetCallback())); in TestSetOption()
[all …]
Dtest_network_proxy.cc28 callback.GetCallback())); in TestGetProxyForURL()
39 callback.GetCallback())); in TestGetProxyForURL()
49 callback.GetCallback())); in TestGetProxyForURL()
60 callback.GetCallback())); in TestGetProxyForURL()
68 callback.GetCallback())); in TestGetProxyForURL()
Dtest_file_system.cc33 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); in TestOpen()
41 rv = fs.Open(1024, callback.GetCallback()); in TestOpen()
54 int32_t rv_1 = file_system.Open(1024, callback_1.GetCallback()); in TestMultipleOpens()
57 callback_2.WaitForResult(file_system.Open(1024, callback_2.GetCallback())); in TestMultipleOpens()
67 callback_3.WaitForResult(file_system.Open(1024, callback_3.GetCallback())); in TestMultipleOpens()
Dtest_websocket.cc316 callback.GetCallback().pp_completion_callback())); in Connect()
396 callback.GetCallback().pp_completion_callback())); in TestInvalidConnect()
401 callback.GetCallback().pp_completion_callback())); in TestInvalidConnect()
434 callback.GetCallback().pp_completion_callback())); in TestProtocols()
493 callback.GetCallback().pp_completion_callback())); in TestInvalidClose()
503 ws, 1U, reason, callback.GetCallback().pp_completion_callback())); in TestInvalidClose()
513 callback.GetCallback().pp_completion_callback())); in TestInvalidClose()
524 async_callback.GetCallback().pp_completion_callback()); in TestInvalidClose()
528 callback.GetCallback().pp_completion_callback())); in TestInvalidClose()
547 async_callback.GetCallback().pp_completion_callback()); in TestInvalidClose()
[all …]
Dtest_tcp_server_socket_private.cc66 socket.Connect(host_.c_str(), port_, callback.GetCallback())); in GetLocalAddress()
80 socket->Read(buffer, num_bytes, callback.GetCallback())); in SyncRead()
95 socket->Write(buffer, num_bytes, callback.GetCallback())); in SyncWrite()
109 socket->ConnectWithNetAddress(address, callback.GetCallback())); in SyncConnect()
133 socket->Listen(address, backlog, callback.GetCallback())); in SyncListen()
161 accept_callback.GetCallback()); in TestListen()
216 connect_callbacks[i]->GetCallback()); in TestBacklog()
224 server_socket.Accept(&resources[i], callback.GetCallback())); in TestBacklog()
Dtest_url_loader.cc46 callback.GetCallback())); in WriteEntireBuffer()
161 callback.GetCallback())); in ReadEntireFile()
180 loader->ReadResponseBody(buf, sizeof(buf), callback.GetCallback())); in ReadEntireResponseBody()
197 callback.WaitForResult(loader.Open(request, callback.GetCallback())); in LoadAndCompareBody()
224 callback.WaitForResult(file_system->Open(1024, callback.GetCallback())); in OpenFileSystem()
246 callback.GetCallback())); in PrepareFileForPost()
330 callback.WaitForResult(loader.Open(request, callback.GetCallback())); in Open()
454 callback.WaitForResult(loader.Open(request, callback.GetCallback())); in TestStreamToFile()
469 callback.WaitForResult(loader.FinishStreamingToFile(callback.GetCallback())); in TestStreamToFile()
475 callback.GetCallback())); in TestStreamToFile()
[all …]
Dtest_host_resolver_private.cc54 socket->Connect(host.c_str(), port, callback.GetCallback())); in SyncConnect()
65 socket->ConnectWithNetAddress(&address, callback.GetCallback())); in SyncConnect()
77 socket->Read(buffer, num_bytes, callback.GetCallback())); in SyncRead()
90 socket->Write(buffer, num_bytes, callback.GetCallback())); in SyncWrite()
122 host_resolver->Resolve(host, port, hint, callback.GetCallback())); in SyncResolve()
Dtest_network_monitor.cc138 network_monitor.UpdateNetworkList(test_callback.GetCallback())); in TestBasic()
151 network_monitor.UpdateNetworkList(test_callback.GetCallback())); in Test2Monitors()
160 network_monitor_2.UpdateNetworkList(test_callback_2.GetCallback())); in Test2Monitors()
176 network_monitor->UpdateNetworkList(test_callback.GetCallback())); in TestDeleteInCallback()
Dtest_host_resolver.cc51 callback.WaitForResult(socket->Connect(address, callback.GetCallback())); in SyncConnect()
63 socket->Read(buffer, num_bytes, callback.GetCallback())); in SyncRead()
76 socket->Write(buffer, num_bytes, callback.GetCallback())); in SyncWrite()
107 host_resolver->Resolve(host.c_str(), port, hint, callback.GetCallback())); in SyncResolve()
/external/chromium_org/ppapi/tests/extensions/socket/
Dtest_socket.cc106 Optional<socket::CreateOptions_Dev>(), callback.GetCallback())); in TestServerSocket()
118 callback.GetCallback())); in TestServerSocket()
131 Optional<socket::CreateOptions_Dev>(), callback.GetCallback())); in TestServerSocket()
142 client_socket_id, address_, port_, callback.GetCallback())); in TestServerSocket()
153 callback.WaitForResult(socket_.Accept(socket_id, callback.GetCallback())); in TestServerSocket()
168 callback.GetCallback())); in TestServerSocket()
181 accepted_socket_id, Optional<int32_t>(), callback.GetCallback())); in TestServerSocket()
206 callback.GetCallback())); in TestMulticast()
217 socket_id, 0, callback.GetCallback())); in TestMulticast()
225 socket_id, -3, callback.GetCallback())); in TestMulticast()
[all …]
/external/chromium_org/chromeos/dbus/
Dshill_service_client_unittest.cc132 mock_closure.GetCallback(), in TEST_F()
133 mock_error_callback.GetCallback()); in TEST_F()
156 mock_closure.GetCallback(), in TEST_F()
157 mock_error_callback.GetCallback()); in TEST_F()
179 mock_closure.GetCallback(), in TEST_F()
180 mock_error_callback.GetCallback()); in TEST_F()
210 mock_list_value_callback.GetCallback(), in TEST_F()
211 mock_error_callback.GetCallback()); in TEST_F()
232 mock_closure.GetCallback(), in TEST_F()
233 mock_error_callback.GetCallback()); in TEST_F()
[all …]
Dshill_device_client_unittest.cc174 mock_closure.GetCallback(), in TEST_F()
175 mock_error_callback.GetCallback()); in TEST_F()
239 mock_closure.GetCallback(), in TEST_F()
240 mock_error_callback.GetCallback()); in TEST_F()
263 mock_closure.GetCallback(), in TEST_F()
264 mock_error_callback.GetCallback()); in TEST_F()
288 mock_closure.GetCallback(), in TEST_F()
289 mock_error_callback.GetCallback()); in TEST_F()
315 mock_closure.GetCallback(), in TEST_F()
316 mock_error_callback.GetCallback()); in TEST_F()
[all …]
Dshill_manager_client_unittest.cc199 mock_closure.GetCallback(), in TEST_F()
200 mock_error_callback.GetCallback()); in TEST_F()
219 mock_closure.GetCallback(), in TEST_F()
220 mock_error_callback.GetCallback()); in TEST_F()
239 mock_closure.GetCallback(), in TEST_F()
240 mock_error_callback.GetCallback()); in TEST_F()
259 mock_closure.GetCallback(), in TEST_F()
260 mock_error_callback.GetCallback()); in TEST_F()
285 mock_error_callback.GetCallback()); in TEST_F()
309 mock_error_callback.GetCallback()); in TEST_F()
[all …]
Dgsm_sms_client.cc33 typedef GsmSMSClient::GetCallback GetCallback; typedef in chromeos::__anon4e07744c0111::SMSProxy
73 void Get(uint32 index, const GetCallback& callback) { in Get()
125 void OnGet(const GetCallback& callback, dbus::Response* response) { in OnGet()
194 const GetCallback& callback) OVERRIDE { in Get()
Dshill_profile_client_unittest.cc123 error_callback.GetCallback()); in TEST_F()
158 error_callback.GetCallback()); in TEST_F()
181 mock_closure.GetCallback(), in TEST_F()
182 mock_error_callback.GetCallback()); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_oauth2_token_service_factory.h22 typedef base::Callback<void(DeviceOAuth2TokenService*)> GetCallback; typedef
35 static void Get(const GetCallback& callback);
66 void RunAsync(const GetCallback& callback);
72 std::queue<GetCallback> pending_callbacks_;
/external/chromium_org/components/dom_distiller/core/
Dtask_tracker_unittest.cc27 TaskTracker::CancelCallback GetCallback() { in GetCallback() function in dom_distiller::test::TestCancelCallback
71 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
79 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
88 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
105 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
126 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
148 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
Ddom_distiller_service_unittest.cc92 ASSERT_FALSE(distiller->GetCallback().is_null()); in TEST_F()
109 ASSERT_FALSE(distiller->GetCallback().is_null()); in TEST_F()
134 ASSERT_FALSE(distiller->GetCallback().is_null()); in TEST_F()
142 ASSERT_FALSE(distiller2->GetCallback().is_null()); in TEST_F()
164 ASSERT_FALSE(distiller->GetCallback().is_null()); in TEST_F()
185 ASSERT_FALSE(distiller->GetCallback().is_null()); in TEST_F()
/external/chromium_org/chrome/browser/metrics/
Dmetrics_reporting_scheduler_unittest.cc18 base::Closure GetCallback() { in GetCallback() function in MetricsReportingSchedulerTest
39 MetricsReportingScheduler scheduler(GetCallback()); in TEST_F()
50 MetricsReportingScheduler scheduler(GetCallback()); in TEST_F()
/external/chromium_org/chrome/utility/local_discovery/
Dservice_discovery_client_unittest.cc177 ServiceWatcher::UpdatedCallback GetCallback() { in GetCallback() function in local_discovery::__anon6aed384f0111::MockServiceWatcherClient
219 "_privet._tcp.local", delegate.GetCallback())); in TEST_F()
241 "_privet._tcp.local", delegate.GetCallback())); in TEST_F()
261 "_privet._tcp.local", delegate.GetCallback())); in TEST_F()
279 "_privet._tcp.local", delegate.GetCallback()); in TEST_F()
299 "_privet._tcp.local", delegate.GetCallback())); in TEST_F()
326 "_privet._tcp.local", delegate.GetCallback())); in TEST_F()

12345