Searched refs:base (Results 351 - 375 of 1314) sorted by relevance

<<11121314151617181920>>

/system/core/libprocinfo/include/procinfo/
H A Dprocess.h29 #include <android-base/logging.h>
30 #include <android-base/parseint.h>
31 #include <android-base/unique_fd.h>
83 if (!android::base::ParseInt(dent->d_name, &tid, 1, std::numeric_limits<pid_t>::max())) {
104 android::base::unique_fd fd(open(task_path, O_DIRECTORY | O_RDONLY | O_CLOEXEC));
/system/extras/verity/
H A Dverity_verifier.cpp24 #include <android-base/file.h>
25 #include <android-base/test_utils.h>
26 #include <android-base/unique_fd.h>
36 if (!android::base::ReadFileToString(path, &content) ||
83 android::base::unique_fd fd(open(argv[1], O_RDONLY));
/system/media/brillo/audio/audioservice/
H A Daudio_device_handler.h26 #include <base/bind.h>
27 #include <base/files/file_path.h>
95 // |callback| is an object of type base::Callback that accepts a
99 base::Callback<void(DeviceConnectionState,
137 void GetInitialAudioDeviceState(const base::FilePath& path);
195 base::Callback<void(DeviceConnectionState,
/system/tools/hidl/
H A DFmqType.cpp22 #include <android-base/logging.h>
44 const std::string base = fullName(); local
48 return base;
51 return "const " + base + "&";
54 return "const " + base + "*";
H A DHandleType.cpp22 #include <android-base/logging.h>
38 const std::string base = local
44 return base;
47 return "const " + base + "&";
50 return base;
/system/update_engine/common/
H A Dhttp_fetcher.h24 #include <base/callback.h>
25 #include <base/logging.h>
26 #include <base/macros.h>
70 const base::Closure& callback);
167 std::unique_ptr<base::Closure> callback_;
H A Dhttp_fetcher_unittest.cc27 #include <base/bind.h>
28 #include <base/location.h>
29 #include <base/logging.h>
30 #include <base/message_loop/message_loop.h>
31 #include <base/strings/string_number_conversions.h>
32 #include <base/strings/string_util.h>
33 #include <base/strings/stringprintf.h>
34 #include <base/time/time.h>
82 string port_str = (port ? base::StringPrintf(":%hu", port) : "");
83 return base
[all...]
/system/update_engine/
H A Dmetrics.h20 #include <base/time/time.h>
198 base::TimeDelta os_age);
260 base::TimeDelta duration,
261 base::TimeDelta duration_uptime,
304 base::TimeDelta total_duration,
H A Dchrome_browser_proxy_resolver_unittest.cc26 #include <base/macros.h>
71 base::Callback<void(const std::string&, const std::string&)>
73 base::Callback<void(brillo::Error*)> error_callback_;
126 resolver_.GetProxiesForUrl(kUrl, base::Bind(&CopyProxies, &proxies));
141 resolver_.GetProxiesForUrl(kUrl, base::Bind(&CopyProxies, &proxies));
156 auto callback = base::Bind(
173 resolver_.GetProxiesForUrl(kUrl, base::Bind(&CopyProxies, &proxies));
H A Dmetrics_utils_unittest.cc83 base::TimeDelta duration;
91 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000));
117 fake_clock.SetWallclockTime(base::Time::FromInternalValue(2000000));
128 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000));
141 fake_clock.SetWallclockTime(base::Time::FromInternalValue(3000000));
145 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000));
156 base::TimeDelta duration;
161 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(1000000));
187 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(2000000));
198 fake_clock.SetMonotonicTime(base
[all...]
/system/core/debuggerd/tombstoned/
H A Dintercept_manager.cpp27 #include <android-base/logging.h>
28 #include <android-base/unique_fd.h>
34 using android::base::unique_fd;
160 event_assign(intercept->intercept_event, intercept_manager->base, sockfd, EV_READ | EV_TIMEOUT,
180 event_base* base = evconnlistener_get_base(listener); local
182 event_new(base, sockfd, EV_TIMEOUT | EV_READ, intercept_request_cb, intercept);
187 InterceptManager::InterceptManager(event_base* base, int intercept_socket) : base(base) { argument
188 this->listener = evconnlistener_new(base, intercept_accept_c
[all...]
/system/core/init/
H A Dutil_test.cpp23 #include <android-base/stringprintf.h>
24 #include <android-base/test_utils.h>
114 std::string path = android::base::StringPrintf("%s/does-not-exist", test_dir.path);
172 std::string path = android::base::StringPrintf("%s/three/directories/deep", test_dir.path);
174 std::string path1 = android::base::StringPrintf("%s/three", test_dir.path);
176 std::string path2 = android::base::StringPrintf("%s/three/directories", test_dir.path);
178 std::string path3 = android::base::StringPrintf("%s/three/directories/deep", test_dir.path);
184 std::string path = android::base::StringPrintf("%s/three////directories/deep//", test_dir.path);
186 std::string path1 = android::base::StringPrintf("%s/three", test_dir.path);
188 std::string path2 = android::base
[all...]
H A Ddescriptors.cpp24 #include <android-base/logging.h>
25 #include <android-base/stringprintf.h>
26 #include <android-base/strings.h>
27 #include <android-base/unique_fd.h>
80 std::string path = android::base::StringPrintf("%s/%s", ANDROID_SOCKET_DIR, name().c_str());
85 auto types = android::base::Split(type(), "+");
112 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(name().c_str(),
H A Dinit_parser.cpp21 #include <android-base/chrono_utils.h>
22 #include <android-base/logging.h>
23 #include <android-base/stringprintf.h>
24 #include <android-base/strings.h>
77 if (android::base::StartsWith(args[0], prefix.c_str())) {
115 android::base::Timer t;
146 android::base::StringPrintf("%s/%s", path.c_str(), current_file->d_name);
H A Dreboot.cpp38 #include <android-base/chrono_utils.h>
39 #include <android-base/file.h>
40 #include <android-base/logging.h>
41 #include <android-base/macros.h>
42 #include <android-base/properties.h>
43 #include <android-base/stringprintf.h>
44 #include <android-base/strings.h>
45 #include <android-base/unique_fd.h>
57 using android::base::StringPrintf;
58 using android::base
[all...]
H A Dutil.cpp34 #include <android-base/file.h>
35 #include <android-base/logging.h>
36 #include <android-base/properties.h>
37 #include <android-base/stringprintf.h>
38 #include <android-base/strings.h>
39 #include <android-base/unique_fd.h>
50 using android::base::boot_clock;
100 android::base::unique_fd fd(socket(PF_UNIX, type, 0));
171 android::base::unique_fd fd(
190 if (!android::base
[all...]
/system/bt/stack/include/
H A Dble_advertiser.h22 #include <base/bind.h>
30 using MultiAdvCb = base::Callback<void(uint8_t /* status */)>;
32 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
99 base::Callback<void(uint8_t /* inst_id */, int8_t /* tx_power */,
107 base::Callback<void(uint8_t /* inst_id */, uint8_t /* status */)>
115 base::Callback<void(uint8_t /* inst_id */, uint8_t /* status */)>) = 0;
163 base::Callback<void(uint8_t /* address_type*/, RawAddress /*address*/)>;
/system/core/fastboot/
H A Dtcp.cpp31 #include <android-base/parseint.h>
32 #include <android-base/stringprintf.h>
94 std::string handshake_message(android::base::StringPrintf("FB%02d", kProtocolVersion));
97 *error = android::base::StringPrintf("Failed to send initialization message (%s)",
105 *error = android::base::StringPrintf(
117 if (!android::base::ParseInt(buffer + 2, &version) || version < kProtocolVersion) {
118 *error = android::base::StringPrintf("Unknown TCP protocol version %s (host version %02d)",
/system/tools/hidl/c2hal/
H A Dmain.cpp19 #include <android-base/logging.h>
20 #include <android-base/macros.h>
58 static bool isPathPrefix(const std::string &prefix, const std::string &base) { argument
59 if (prefix.size() >= base.size()) {
64 if (base[prefix.size()] != '.') {
69 return prefix == base.substr(0, prefix.size());
157 SetMinimumLogSeverity(android::base::VERBOSE);
/system/tpm/tpm_manager/server/
H A Dtpm_manager_service.h22 #include <base/callback.h>
23 #include <base/macros.h>
24 #include <base/memory/weak_ptr.h>
25 #include <base/threading/thread.h>
52 // Tasks that run on the worker thread are bound with base::Unretained which is
103 const base::Callback<void(const ReplyProtobufType&)> callback,
193 std::unique_ptr<base::Thread> worker_thread_;
195 base::WeakPtrFactory<TpmManagerService> weak_factory_;
H A Dtpm_manager_service.cc19 #include <base/callback.h>
20 #include <base/command_line.h>
38 worker_thread_.reset(new base::Thread("TpmManager Service Worker"));
40 base::Thread::Options(base::MessageLoop::TYPE_IO, 0));
41 base::Closure task =
42 base::Bind(&TpmManagerService::InitializeTask, base::Unretained(this));
317 const base::Callback<void(const ReplyProtobufType&)> callback,
330 base
[all...]
/system/update_engine/payload_generator/
H A Dgenerate_delta_main.cc26 #include <base/logging.h>
27 #include <base/strings/string_number_conversions.h>
28 #include <base/strings/string_split.h>
59 base::SplitString(signature_sizes_flag, ":", base::TRIM_WHITESPACE,
60 base::SPLIT_WANT_ALL);
63 bool parsing_successful = base::StringToInt(str, &size);
131 base::SplitString(signature_file_flag, ":", base::TRIM_WHITESPACE,
132 base
[all...]
/system/vold/
H A Dvdc.cpp33 #include <android-base/logging.h>
34 #include <android-base/stringprintf.h>
54 android::base::InitLogging(argv, &android::base::KernelLogger);
56 android::base::InitLogging(argv, &android::base::StderrLogger);
96 std::string cmd(android::base::StringPrintf("%d ", seq));
/system/core/adb/client/
H A Dusb_windows.cpp35 #include <android-base/errors.h>
229 android::base::SystemErrorCodeToString(GetLastError()).c_str());
240 android::base::SystemErrorCodeToString(GetLastError()).c_str());
247 android::base::SystemErrorCodeToString(GetLastError()).c_str());
289 android::base::SystemErrorCodeToString(GetLastError()).c_str());
300 android::base::SystemErrorCodeToString(GetLastError()).c_str());
311 android::base::SystemErrorCodeToString(GetLastError()).c_str());
323 android::base::SystemErrorCodeToString(GetLastError()).c_str());
339 android::base::SystemErrorCodeToString(GetLastError()).c_str());
374 android::base
[all...]
/system/core/adb/
H A Dadb_client.cpp38 #include <android-base/stringprintf.h>
39 #include <android-base/strings.h>
40 #include <android-base/thread_annotations.h>
129 *error = android::base::StringPrintf("protocol fault (status %02x %02x %02x %02x?!)",
141 *error = android::base::StringPrintf("bad service name length (%zd)",
149 *error = android::base::StringPrintf("cannot connect to daemon at %s: %s",
232 *error = android::base::StringPrintf("cannot parse version string: %s",
309 return android::base::StringPrintf("host-transport-id:%" PRIu64 ":%s", __adb_transport_id,
312 return android::base::StringPrintf("host-serial:%s:%s", __adb_serial, command);
321 return android::base
[all...]

Completed in 839 milliseconds

<<11121314151617181920>>