/system/extras/simpleperf/ |
H A D | cmd_stat_test.cpp | 19 #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 D | event_fd.cpp | 31 #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 D | perf_regs.cpp | 20 #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 D | fake_nvram_storage.cpp | 26 #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 D | trunks_client.cc | 24 #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 D | trunks_binder_proxy.cc | 19 #include <base/bind.h> 20 #include <base/callback.h> 21 #include <base/logging.h>
|
/system/update_engine/ |
H A D | update_attempter.h | 28 #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 D | update_attempter_android.cc | 23 #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 D | alarm_test.cc | 19 #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 D | action.cpp | 19 #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 D | builtins.cpp | 42 #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 D | unzip.cpp | 32 #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 D | HidlBinderSupport.h | 22 #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 D | shell_utils.cpp | 28 #include <android-base/logging.h> 29 #include <android-base/unique_fd.h> 31 using android::base::unique_fd;
|
/system/core/adb/ |
H A D | transport_local.cpp | 33 #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 D | main.cpp | 31 #include <android-base/macros.h> 32 #include <android-base/logging.h> 33 #include <android-base/stringprintf.h>
|
/system/extras/preopt2cachename/ |
H A D | preopt2cachename.cpp | 19 #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 D | type_namespace.cpp | 26 using android::base::StringPrintf; 27 using android::base::Split; 28 using android::base::Trim;
|
/system/tpm/attestation/server/ |
H A D | pkcs11_key_store.h | 24 #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 D | test_utils.cc | 37 #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 D | real_device_policy_provider.h | 74 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 D | EmulatedVolume.cpp | 20 #include <android-base/stringprintf.h> 21 #include <android-base/logging.h> 33 using android::base::StringPrintf;
|
/system/bt/hci/src/ |
H A D | hci_layer.cc | 23 #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 D | delta_performer_integration_test.cc | 26 #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 D | debuggerd_test.cpp | 30 #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...] |