Searched refs:base (Results 501 - 525 of 1314) sorted by relevance

<<21222324252627282930>>

/system/extras/simpleperf/
H A Dcmd_stat_test.cpp19 #include <android-base/file.h>
20 #include <android-base/stringprintf.h>
21 #include <android-base/test_utils.h>
88 std::string pid_list = android::base::StringPrintf(
97 std::string tid_list = android::base::StringPrintf(
117 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &s));
139 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &s));
H A Devent_fd.cpp31 #include <android-base/file.h>
32 #include <android-base/logging.h>
33 #include <android-base/stringprintf.h>
98 return android::base::StringPrintf(
124 if (!android::base::ReadFully(perf_event_fd_, counter, sizeof(*counter))) {
137 ATRACE_INT64(android::base::StringPrintf(
141 ATRACE_INT64(android::base::StringPrintf(
H A Dperf_regs.cpp20 #include <android-base/logging.h>
21 #include <android-base/stringprintf.h>
22 #include <android-base/strings.h>
36 } else if (android::base::StartsWith(arch, "arm")) {
141 return android::base::StringPrintf("r%d", reg - PERF_REG_X86_R8 + 8);
151 return android::base::StringPrintf("r%d", reg - PERF_REG_ARM_R0);
159 return android::base::StringPrintf("r%d", reg - PERF_REG_ARM64_X0);
/system/nvram/hal/
H A Dfake_nvram_storage.cpp26 #include <android-base/file.h>
27 #include <android-base/logging.h>
28 #include <android-base/unique_fd.h>
79 android::base::unique_fd data_file_fd(
105 if (!android::base::ReadFully(data_file_fd.get(), blob->data(),
116 android::base::unique_fd data_file_fd(TEMP_FAILURE_RETRY(
127 if (!android::base::WriteFully(data_file_fd.get(), blob.data(),
/system/tpm/trunks/
H A Dtrunks_client.cc24 #include <base/command_line.h>
25 #include <base/logging.h>
26 #include <base/strings/string_number_conversions.h>
64 return base::HexEncode(bytes.data(), bytes.size());
164 base::CommandLine::Init(argc, argv);
166 base::CommandLine* cl = base::CommandLine::ForCurrentProcess();
H A Dtrunks_binder_proxy.cc19 #include <base/bind.h>
20 #include <base/callback.h>
21 #include <base/logging.h>
/system/update_engine/
H A Dupdate_attempter.h28 #include <base/bind.h>
29 #include <base/time/time.h>
194 virtual bool GetBootTimeAtUpdate(base::Time *out_boot_time);
219 base::Callback<void(bool, bool)>* // NOLINT(readability/function)
397 base::TimeTicks last_notify_time_;
477 base::TimeDelta scatter_factor_;
494 std::unique_ptr<base::Callback<void(bool, bool)>>
218 set_forced_update_pending_callback( base::Callback<void(bool, bool)>* callback) argument
H A Dupdate_attempter_android.cc23 #include <base/bind.h>
24 #include <base/logging.h>
25 #include <base/strings/string_number_conversions.h>
48 using base::Bind;
49 using base::TimeDelta;
50 using base::TimeTicks;
151 if (!base::StringToUint64(headers[kPayloadPropertyFileSize],
161 if (!base::StringToUint64(headers[kPayloadPropertyMetadataSize],
188 base::StringToInt(headers[kPayloadPropertyPowerwash], &data_wipe) &&
193 if (!base
[all...]
/system/bt/osi/test/
H A Dalarm_test.cc19 #include <base/message_loop/message_loop.h>
20 #include <base/run_loop.h>
31 using base::Closure;
32 using base::TimeDelta;
42 base::MessageLoop* message_loop_;
43 base::RunLoop* run_loop_;
47 message_loop_ = new base::MessageLoop();
48 run_loop_ = new base::RunLoop();
60 base::MessageLoop* get_message_loop() { return message_loop_; }
/system/core/init/
H A Daction.cpp19 #include <android-base/chrono_utils.h>
20 #include <android-base/logging.h>
21 #include <android-base/properties.h>
22 #include <android-base/strings.h>
26 using android::base::Join;
94 android::base::Timer t;
99 if (duration > 50ms || android::base::GetMinimumLogSeverity() <= android::base::DEBUG) {
194 std::string prop_val = android::base::GetProperty(trigger_name, "");
H A Dbuiltins.cpp42 #include <android-base/chrono_utils.h>
43 #include <android-base/file.h>
44 #include <android-base/logging.h>
45 #include <android-base/parseint.h>
46 #include <android-base/properties.h>
47 #include <android-base/strings.h>
207 std::string options = android::base::Join(std::vector<std::string>(it, args.end()), ' ');
450 android::base::ScopedLogSeverity info(android::base::INFO);
560 android::base
[all...]
/system/core/libziparchive/
H A Dunzip.cpp32 #include <android-base/file.h>
33 #include <android-base/strings.h>
67 if (!MakeDirectoryHierarchy(android::base::Dirname(path))) return false;
145 if (!android::base::WriteFully(1, buffer, entry.uncompressed_length)) {
153 if (android::base::StartsWith(name, "/") || android::base::StartsWith(name, "../") ||
162 if (!android::base::EndsWith(dst, "/")) dst += '/';
167 if (!MakeDirectoryHierarchy(android::base::Dirname(name))) {
172 if (android::base::EndsWith(name, "/")) {
/system/libhidl/transport/include/hidl/
H A DHidlBinderSupport.h22 #include <android/hidl/base/1.0/BnHwBase.h>
23 #include <android/hidl/base/1.0/IBase.h>
43 uint64_t cookie, const sp<::android::hidl::base::V1_0::IBase> &base);
49 wp<::android::hidl::base::V1_0::IBase> mBase;
350 using ::android::hidl::base::V1_0::IBase;
351 using ::android::hidl::base::V1_0::BnHwBase;
359 sp<IBase> base = static_cast<BnHwBase*>(binderIface.get())->getImpl(); local
360 if (details::canCastInterface(base.get(), IType::descriptor)) {
/system/connectivity/wificond/tests/
H A Dshell_utils.cpp28 #include <android-base/logging.h>
29 #include <android-base/unique_fd.h>
31 using android::base::unique_fd;
/system/core/adb/
H A Dtransport_local.cpp33 #include <android-base/parsenetaddress.h>
34 #include <android-base/stringprintf.h>
38 #include <android-base/properties.h>
114 if (!android::base::ParseNetAddress(address, &host, &port, &serial, response)) {
121 *response = android::base::StringPrintf("unable to connect to %s: %s",
138 *response = android::base::StringPrintf("already connected to %s", serial.c_str());
140 *response = android::base::StringPrintf("connected to %s", serial.c_str());
271 std::string serial = android::base::StringPrintf("host-%d", fd);
370 std::string serial = android::base::StringPrintf("host-%d", fd);
399 if (android::base
[all...]
/system/core/storaged/
H A Dmain.cpp31 #include <android-base/macros.h>
32 #include <android-base/logging.h>
33 #include <android-base/stringprintf.h>
/system/extras/preopt2cachename/
H A Dpreopt2cachename.cpp19 #include <android-base/logging.h>
20 #include <android-base/strings.h>
35 std::vector<std::string> split_file_location = android::base::Split(file_location, "/");
/system/tools/aidl/
H A Dtype_namespace.cpp26 using android::base::StringPrintf;
27 using android::base::Split;
28 using android::base::Trim;
/system/tpm/attestation/server/
H A Dpkcs11_key_store.h24 #include <base/callback_forward.h>
25 #include <base/macros.h>
73 base::Callback<bool(const std::string& key_name,
/system/update_engine/common/
H A Dtest_utils.cc37 #include <base/files/file_util.h>
38 #include <base/format_macros.h>
39 #include <base/logging.h>
40 #include <base/strings/string_util.h>
41 #include <base/strings/stringprintf.h>
47 using base::StringPrintf;
114 bool IsXAttrSupported(const base::FilePath& dir_path) {
199 base::FilePath(filename).BaseName().value().c_str(),
261 base::FilePath GetBuildArtifactsPath() {
262 base
[all...]
/system/update_engine/update_manager/
H A Dreal_device_policy_provider.h74 Variable<base::TimeDelta>* var_scatter_factor() override {
134 // result to a base::TimeDelta. It returns the same value as
136 bool ConvertScatterFactor(base::TimeDelta* scatter_factor) const;
167 AsyncCopyVariable<base::TimeDelta> var_scatter_factor_{"scatter_factor"};
/system/vold/
H A DEmulatedVolume.cpp20 #include <android-base/stringprintf.h>
21 #include <android-base/logging.h>
33 using android::base::StringPrintf;
/system/bt/hci/src/
H A Dhci_layer.cc23 #include <base/bind.h>
24 #include <base/logging.h>
25 #include <base/run_loop.h>
26 #include <base/sequenced_task_runner.h>
27 #include <base/threading/thread.h>
95 static base::MessageLoop* message_loop_ = nullptr;
96 static base::RunLoop* run_loop_ = nullptr;
103 static std::queue<base::Closure> command_queue;
111 static base::Callback<void(const tracked_objects::Location&, BT_HDR*)>
140 FROM_HERE, base
[all...]
/system/update_engine/payload_consumer/
H A Ddelta_performer_integration_test.cc26 #include <base/files/file_path.h>
27 #include <base/files/file_util.h>
28 #include <base/strings/string_util.h>
29 #include <base/strings/stringprintf.h>
249 signature_size_string = base::StringPrintf("%d:%d",
252 signature_size_string = base::StringPrintf("%d", signature_size);
255 System(base::StringPrintf(
285 System(base::StringPrintf(
291 int verify_result = System(base::StringPrintf(
323 base
[all...]
/system/core/debuggerd/
H A Ddebuggerd_test.cpp30 #include <android-base/file.h>
31 #include <android-base/logging.h>
32 #include <android-base/macros.h>
33 #include <android-base/parseint.h>
34 #include <android-base/properties.h>
35 #include <android-base/strings.h>
36 #include <android-base/unique_fd.h>
46 using android::base::unique_fd;
112 if (!android::base::ReadFileToString("/proc/sys/fs/pipe-max-size", &pipe_size_str)) {
116 pipe_size_str = android::base
[all...]

Completed in 251 milliseconds

<<21222324252627282930>>