/system/connectivity/shill/cellular/ |
H A D | modem_gsm_network_proxy_interface.h | 33 typedef base::Callback<void(uint32_t)> SignalQualitySignalCallback; 34 typedef base::Callback<void( 38 typedef base::Callback<void(uint32_t)> NetworkModeSignalCallback; 40 typedef base::Callback<void(uint32_t, const Error&)> SignalQualityCallback; 41 typedef base::Callback<void(uint32_t, 45 typedef base::Callback<void(const GSMScanResults&,
|
/system/connectivity/shill/ |
H A D | connection_tester.cc | 21 #include <base/bind.h> 22 #include <base/strings/string_util.h> 23 #include <base/strings/stringprintf.h> 34 using base::Bind; 35 using base::Callback; 36 using base::StringPrintf;
|
H A D | hook_table.h | 48 #include <base/cancelable_callback.h> 49 #include <base/macros.h> 66 void Add(const std::string& name, const base::Closure& start); 89 explicit HookAction(const base::Closure& start_callback) 93 const base::Closure start_callback; 119 base::CancelableClosure timeout_callback_;
|
H A D | json_store.cc | 30 #include <base/files/important_file_writer.h> 31 #include <base/files/file_util.h> 32 #include <base/json/json_string_value_serializer.h> 33 #include <base/memory/scoped_ptr.h> 34 #include <base/strings/string_number_conversions.h> 35 #include <base/strings/string_util.h> 36 #include <base/strings/stringprintf.h> 37 #include <base/values.h> 86 // A coerced value is used to represent values that base::Value does 89 bool IsCoercedValue(const base [all...] |
/system/connectivity/shill/dbus/ |
H A D | chromeos_modem_manager_proxy.h | 23 #include <base/macros.h> 43 const base::Closure& service_appeared_callback, 44 const base::Closure& service_vanished_callback); 70 base::Closure service_appeared_callback_; 71 base::Closure service_vanished_callback_; 74 base::WeakPtrFactory<ChromeosModemManagerProxy> weak_factory_{this};
|
H A D | chromeos_wimax_manager_proxy.h | 23 #include <base/macros.h> 37 const base::Closure& service_appeared_callback, 38 const base::Closure& service_vanished_callback); 81 base::Closure service_appeared_callback_; 82 base::Closure service_vanished_callback_; 86 base::WeakPtrFactory<ChromeosWiMaxManagerProxy> weak_factory_{this};
|
/system/connectivity/shill/shims/ |
H A D | openvpn_script.cc | 20 #include <base/at_exit.h> 21 #include <base/command_line.h> 22 #include <base/logging.h> 23 #include <base/memory/ref_counted.h> 35 base::AtExitManager exit_manager; 36 base::CommandLine::Init(argc, argv);
|
/system/core/metricsd/ |
H A D | timer.cc | 25 base::TimeTicks ClockWrapper::GetCurrentTime() const { 26 return base::TimeTicks::Now(); 34 elapsed_time_ = base::TimeDelta(); // Sets elapsed_time_ to zero. 79 elapsed_time_ = base::TimeDelta(); // Sets elapsed_time_ to zero. 88 bool Timer::GetElapsedTime(base::TimeDelta* elapsed_time) const { 109 base::TimeDelta elapsed_time;
|
/system/core/metricsd/uploader/ |
H A D | metrics_log.cc | 21 #include <base/files/file_util.h> 32 bool MetricsLog::LoadFromFile(const base::FilePath& saved_log) { 34 if (!base::ReadFileToString(saved_log, &encoded_log)) { 43 base::DeleteFile(saved_log, false); 54 bool MetricsLog::SaveToFile(const base::FilePath& path) { 59 base::WriteFile(path, encoded_log.data(), encoded_log.size())) {
|
/system/tpm/tpm_manager/server/ |
H A D | tpm_connection.cc | 19 #include <base/logging.h> 20 #include <base/stl_util.h> 21 #include <base/threading/platform_thread.h> 22 #include <base/time/time.h> 95 base::PlatformThread::Sleep( 96 base::TimeDelta::FromMilliseconds(kTpmConnectIntervalMs));
|
/system/update_engine/common/ |
H A D | fake_hardware.h | 23 #include <base/time/time.h> 51 bool IsOOBEComplete(base::Time* out_time_of_oobe) const override { 65 bool GetNonVolatileDirectory(base::FilePath* path) const override { 69 bool GetPowerwashSafeDirectory(base::FilePath* path) const override { 83 void SetIsOOBEComplete(base::Time oobe_timestamp) { 113 base::Time oobe_timestamp_;
|
/system/update_engine/include/libcros/ |
H A D | dbus-proxy-mocks.h | 9 #include <base/callback_forward.h> 10 #include <base/logging.h> 11 #include <base/macros.h> 37 const base::Callback<void()>& /*success_callback*/, 38 const base::Callback<void(brillo::Error*)>& /*error_callback*/, 57 void(const base::Callback<void(const std::string&,
|
/system/update_engine/update_manager/ |
H A D | default_policy.h | 23 #include <base/time/time.h> 42 return last_check_allowed_time_ != base::Time::Max(); 47 void set_last_check_allowed_time(base::Time timestamp) { 50 base::Time last_check_allowed_time() const { 55 base::Time last_check_allowed_time_ = base::Time::Max();
|
H A D | real_random_provider.cc | 24 #include <base/files/file_path.h> 25 #include <base/files/scoped_file.h> 26 #include <base/strings/stringprintf.h> 52 const uint64_t* GetValue(base::TimeDelta /* timeout */, 64 *errmsg = base::StringPrintf( 76 base::ScopedFILE fp_;
|
H A D | update_manager.h | 24 #include <base/callback.h> 25 #include <base/memory/ref_counted.h> 26 #include <base/time/time.h> 51 base::TimeDelta evaluation_timeout, 52 base::TimeDelta expiration_timeout, State* state); 88 base::Callback<void(EvalStatus, const R& result)> callback, 131 base::Callback<void(EvalStatus status, const R& result)> callback, 155 const base::TimeDelta evaluation_timeout_; 158 const base::TimeDelta expiration_timeout_; 168 base [all...] |
/system/webservd/webservd/ |
H A D | permission_broker_firewall.cc | 21 #include <base/bind.h> 22 #include <base/macros.h> 40 const base::Closure& callback) { 45 base::Bind(&PermissionBrokerFirewall::OnPermissionBrokerOnline, 52 const base::Callback<void(bool)>& success_cb, 53 const base::Callback<void(brillo::Error*)>& failure_cb) {
|
/system/update_engine/ |
H A D | p2p_manager_unittest.cc | 30 #include <base/bind.h> 31 #include <base/callback.h> 32 #include <base/files/file_util.h> 33 #include <base/message_loop/message_loop.h> 34 #include <base/strings/stringprintf.h> 52 using base::TimeDelta; 91 base::MessageLoopForIO base_loop_; 144 base::Time start_time = base::Time::FromDoubleT(1246996800.); 148 base [all...] |
/system/core/crash_reporter/ |
H A D | udev_collector_test.cc | 17 #include <base/files/file_enumerator.h> 18 #include <base/files/file_util.h> 19 #include <base/files/scoped_temp_dir.h> 20 #include <base/strings/stringprintf.h> 27 using base::FilePath; 64 base::FileEnumerator enumerator(path, false, base::FileEnumerator::FILES, 84 base::ScopedTempDir temp_dir_generator_; 93 FilePath(base::StringPrintf("%s/%s", 97 FilePath(base [all...] |
/system/connectivity/shill/net/ |
H A D | attribute_list_unittest.cc | 24 #include <base/bind.h> 77 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); 104 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); 116 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); 127 base::Bind(&AttributeListTest::AttributeMethod, base::Unretained(this)))); 137 base [all...] |
/system/connectivity/shill/wifi/ |
H A D | mac80211_monitor.cc | 21 #include <base/files/file_util.h> 22 #include <base/strings/string_number_conversions.h> 23 #include <base/strings/string_split.h> 24 #include <base/strings/stringprintf.h> 55 const base::Closure& on_repair_callback, 82 queue_state_file_path_ = base::FilePath( 83 base::StringPrintf(kQueueStatusPathFormat, phy_name.c_str())); 84 wake_queues_file_path_ = base::FilePath( 85 base::StringPrintf(kWakeQueuesPathFormat, phy_name.c_str())); 129 if (!base [all...] |
/system/update_engine/include/power_manager/ |
H A D | dbus-proxies.h | 9 #include <base/bind.h> 10 #include <base/callback.h> 11 #include <base/logging.h> 12 #include <base/macros.h> 13 #include <base/memory/ref_counted.h> 39 const base::Callback<void()>& success_callback, 40 const base::Callback<void(brillo::Error*)>& error_callback, 52 const base::Callback<void()>& success_callback, 53 const base::Callback<void(brillo::Error*)>& error_callback, 69 const base [all...] |
/system/core/adb/client/ |
H A D | main.cpp | 26 #include <android-base/errors.h> 27 #include <android-base/file.h> 28 #include <android-base/logging.h> 29 #include <android-base/stringprintf.h> 47 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 51 if (!android::base::WideToUTF8(temp_path, &temp_path_utf8)) { 59 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid()); 116 std::string local_name = android::base::StringPrintf("tcp:%d", server_port); 145 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 155 if (!android::base [all...] |
/system/tpm/trunks/ |
H A D | trunksd.cc | 19 #include <base/at_exit.h> 20 #include <base/bind.h> 21 #include <base/command_line.h> 22 #include <base/threading/thread.h> 75 base::CommandLine::Init(argc, argv); 76 base::CommandLine *cl = base::CommandLine::ForCurrentProcess(); 111 base::Thread background_thread(kBackgroundThreadName); 116 FROM_HERE, base::Bind(&trunks::ResourceManager::Initialize, 117 base [all...] |
/system/weaved/buffet/ |
H A D | buffet_config.h | 23 #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...] |
/system/webservd/libwebserv/ |
H A D | dbus_server.h | 22 #include <base/macros.h> 65 const base::Closure& on_server_online, 66 const base::Closure& on_server_offline); 76 const base::Callback<void(ProtocolHandler*)>& callback) override; 79 const base::Callback<void(ProtocolHandler*)>& callback) override; 81 base::TimeDelta GetDefaultRequestTimeout() const override; 134 base::Closure on_server_online_; 135 base::Closure on_server_offline_; 136 base::Callback<void(ProtocolHandler*)> on_protocol_handler_connected_; 137 base [all...] |