Searched refs:base (Results 1 - 25 of 1598) sorted by last modified time

1234567891011>>

/system/weaved/buffet/
H A Dap_manager_client.cc39 object_manager_proxy_->SetManagerAddedCallback(base::Bind(
41 object_manager_proxy_->SetServiceAddedCallback(base::Bind(
44 object_manager_proxy_->SetServiceRemovedCallback(base::Bind(
46 object_manager_proxy_->SetManagerRemovedCallback(base::Bind(
92 config_proxy->set_ssid(ssid_, base::Bind(&ApManagerClient::OnSsidSet,
H A Dap_manager_client.h22 #include <base/callback.h>
23 #include <base/memory/ref_counted.h>
63 base::WeakPtrFactory<ApManagerClient> weak_ptr_factory_{this};
H A Davahi_mdns_client.cc25 #include <base/guid.h>
51 : service_name_(base::GenerateGUID()) {
H A Dbinder_command_proxy.cc115 std::unique_ptr<base::DictionaryValue> dict;
129 std::unique_ptr<base::DictionaryValue> dict;
H A Dbinder_command_proxy.h20 #include <base/macros.h>
H A Dbinder_command_proxy_unittest.cc102 base::DictionaryValue empty_dict_;
103 base::DictionaryValue expected_result_dict_;
H A Dbinder_weave_service.cc19 #include <base/bind.h>
64 base::Bind(&BinderWeaveService::OnCommand,
H A Dbinder_weave_service.h22 #include <base/macros.h>
23 #include <base/memory/weak_ptr.h>
66 base::WeakPtrFactory<BinderWeaveService> weak_ptr_factory_{this};
H A Dbluetooth_client.h22 #include <base/macros.h>
H A Dbuffet_config.cc20 #include <base/files/file_util.h>
21 #include <base/files/important_file_writer.h>
22 #include <base/logging.h>
23 #include <base/message_loop/message_loop.h>
24 #include <base/strings/string_number_conversions.h>
41 bool ReadFile(const base::FilePath& path, std::string* content) override {
42 return base::ReadFileToString(path, content);
44 bool WriteFile(const base::FilePath& path,
46 return base::ImportantFileWriter::WriteFileAtomically(path, content);
96 if (!base
[all...]
H A Dbuffet_config.h23 #include <base/callback.h>
24 #include <base/files/file_path.h>
45 base::FilePath defaults;
46 base::FilePath settings;
48 base::FilePath definitions;
49 base::FilePath test_definitions;
57 virtual bool ReadFile(const base::FilePath& path, std::string* content) = 0;
58 virtual bool WriteFile(const base::FilePath& path,
90 base::FilePath CreatePath(const std::string& name) const;
91 bool LoadFile(const base
[all...]
H A Dbuffet_config_unittest.cc19 #include <base/bind.h>
86 config_options.settings = base::FilePath{"settings_file"};
105 bool ReadFile(const base::FilePath& path, std::string* content) override {
112 bool WriteFile(const base::FilePath& path,
H A Dbuffet_testrunner.cc15 #include <base/at_exit.h>
19 base::AtExitManager exit_manager;
H A Dencryptor.h21 #include <base/macros.h>
H A Dhttp_transport_client.cc17 #include <base/bind.h>
78 base::TimeDelta::FromSeconds(kRequestTimeoutSeconds));
98 FROM_HERE, base::Bind(callback, nullptr, base::Passed(&error)));
102 request.GetResponse(base::Bind(&OnSuccessCallback, callback),
103 base::Bind(&OnErrorCallback, callback));
H A Dmain.cc20 #include <base/files/file_path.h>
127 options.config_options.defaults = base::FilePath{FLAGS_config_path};
128 options.config_options.settings = base::FilePath{FLAGS_state_path};
129 options.config_options.definitions = base::FilePath{"/etc/weaved"};
131 base::FilePath{FLAGS_test_definitions_path};
H A Dmanager.cc21 #include <base/bind.h>
22 #include <base/bind_helpers.h>
23 #include <base/files/file_enumerator.h>
24 #include <base/files/file_util.h>
25 #include <base/json/json_reader.h>
26 #include <base/json/json_writer.h>
27 #include <base/message_loop/message_loop.h>
28 #include <base/time/time.h>
63 const char kBaseComponent[] = "base";
64 const char kRebootCommand[] = "base
[all...]
H A Dmanager.h23 #include <base/files/file_path.h>
24 #include <base/macros.h>
25 #include <base/memory/weak_ptr.h>
26 #include <base/values.h>
143 base::WeakPtrFactory<Manager> weak_ptr_factory_{this};
H A Dmdns_client.h24 #include <base/guid.h>
25 #include <base/memory/ref_counted.h>
H A Dshill_client.cc19 #include <base/message_loop/message_loop.h>
20 #include <base/stl_util.h>
108 base::Bind(&ShillClient::OnManagerPropertyChange,
110 base::Bind(&ShillClient::OnManagerPropertyChangeRegistration,
112 auto owner_changed_cb = base::Bind(&ShillClient::OnShillServiceOwnerChange,
146 base::MessageLoop::current()->PostTask(
147 FROM_HERE, base::Bind(callback, base::Passed(&error)));
169 base::MessageLoop::current()->PostTask(
170 FROM_HERE, base
[all...]
H A Dshill_client.h23 #include <base/callback.h>
24 #include <base/cancelable_callback.h>
25 #include <base/macros.h>
26 #include <base/memory/ref_counted.h>
27 #include <base/memory/weak_ptr.h>
134 base::WeakPtrFactory<ShillClient> weak_factory_{this};
H A Dsocket_stream.cc23 #include <base/bind.h>
24 #include <base/bind_helpers.h>
25 #include <base/files/file_util.h>
26 #include <base/message_loop/message_loop.h>
27 #include <base/strings/stringprintf.h>
62 addr = base::StringPrintf("<Unknown address family: %d>", sa->sa_family);
117 base::Bind([](const ReadCallback& callback,
120 base::Bind(&OnError, base::Bind(callback, 0)), &brillo_error)) {
123 base
[all...]
H A Dsocket_stream.h20 #include <base/callback.h>
21 #include <base/macros.h>
H A Dwebserv_client.cc94 const base::Closure& server_available_callback)
99 base::Bind(&base::DoNothing),
100 base::Bind(&base::DoNothing));
102 base::Bind(&WebServClient::OnProtocolHandlerConnected,
105 base::Bind(&WebServClient::OnProtocolHandlerDisconnected,
115 path, "", base::Bind(&WebServClient::OnRequest,
123 path, "", base::Bind(&WebServClient::OnRequest,
135 base
[all...]
H A Dwebserv_client.h22 #include <base/memory/weak_ptr.h>
49 const base::Closure& server_available_callback);
60 base::TimeDelta GetRequestTimeout() const override;
79 base::Closure server_available_callback_;
81 base::WeakPtrFactory<WebServClient> weak_ptr_factory_{this};

Completed in 93 milliseconds

1234567891011>>