/external/chromium_org/ppapi/tests/ |
D | test_file_ref.cc | 61 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 …]
|
D | test_file_io.cc | 93 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 …]
|
D | test_tcp_socket_private.cc | 64 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 …]
|
D | test_truetype_font.cc | 106 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 …]
|
D | test_tcp_socket.cc | 73 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 …]
|
D | test_udp_socket.cc | 91 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 …]
|
D | test_network_proxy.cc | 28 callback.GetCallback())); in TestGetProxyForURL() 39 callback.GetCallback())); in TestGetProxyForURL() 49 callback.GetCallback())); in TestGetProxyForURL() 60 callback.GetCallback())); in TestGetProxyForURL() 68 callback.GetCallback())); in TestGetProxyForURL()
|
D | test_file_system.cc | 33 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()
|
D | test_websocket.cc | 316 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 …]
|
D | test_tcp_server_socket_private.cc | 66 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()
|
D | test_url_loader.cc | 46 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 …]
|
D | test_host_resolver_private.cc | 54 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()
|
D | test_network_monitor.cc | 138 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()
|
D | test_host_resolver.cc | 51 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/ |
D | test_socket.cc | 106 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/ |
D | shill_service_client_unittest.cc | 132 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 …]
|
D | shill_device_client_unittest.cc | 174 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 …]
|
D | shill_manager_client_unittest.cc | 199 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 …]
|
D | gsm_sms_client.cc | 33 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()
|
D | shill_profile_client_unittest.cc | 123 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/ |
D | device_oauth2_token_service_factory.h | 22 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/ |
D | task_tracker_unittest.cc | 27 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()
|
D | dom_distiller_service_unittest.cc | 92 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/ |
D | metrics_reporting_scheduler_unittest.cc | 18 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/ |
D | service_discovery_client_unittest.cc | 177 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()
|