/system/core/base/ |
H A D | logging.cpp | 21 #include "android-base/logging.h" 55 #include <android-base/macros.h> 56 #include <android-base/strings.h> 119 namespace base { namespace in namespace:android 149 void KernelLogger(android::base::LogId, android::base::LogSeverity severity, 153 [android::base::VERBOSE] = 7, // KERN_DEBUG (there is no verbose kernel log 155 [android::base::DEBUG] = 7, // KERN_DEBUG 156 [android::base::INFO] = 6, // KERN_INFO 157 [android::base [all...] |
/system/core/debuggerd/libdebuggerd/test/ |
H A D | dump_memory_test.cpp | 23 #include <android-base/file.h> 159 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); 179 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); 198 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); 211 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); 267 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); 287 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); 312 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); 338 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); 392 ASSERT_TRUE(android::base [all...] |
/system/core/libunwindstack/ |
H A D | ArmExidx.cpp | 22 #include <android-base/stringprintf.h> 37 log_str += android::base::StringPrintf(" 0x%02x", data); 204 msg += android::base::StringPrintf("r%zu", i + 4); 272 msg += android::base::StringPrintf("-r%d", 4 + end_reg); 346 msg += android::base::StringPrintf("r%zu", i); 401 std::string msg = android::base::StringPrintf("pop {d%d", start_reg); 404 msg += android::base::StringPrintf("-d%d", end_reg); 432 msg += android::base::StringPrintf("-d%d", last_reg + 8); 486 std::string msg = android::base::StringPrintf("pop {wR%d", start_reg); 489 msg += android::base [all...] |
/system/nfc/halimpl/bcm2079x/adaptation/ |
H A D | config.cpp | 106 inline bool isDigit(char c, int base) { argument 108 if (base == 16) { 123 inline int getDigitValue(char c, int base) { argument 125 if (base == 16) { 185 int base = 0; local 199 (bResetContent ? "base" : "optional"), name); 234 base = 0; 239 base = 10; 240 numValue = getDigitValue(c, base); 244 base [all...] |
/system/nfc/halimpl/pn54x/utils/ |
H A D | phNxpConfig.cpp | 167 inline bool isDigit(char c, int base) { argument 169 if (base == 16) { 184 inline int getDigitValue(char c, int base) { argument 186 if (base == 16) { 256 int base = 0; local 296 base = 0; 301 base = 10; 302 numValue = getDigitValue(c, base); 307 base = 16; 316 base [all...] |
/system/nfc/src/adaptation/ |
H A D | config.cpp | 106 inline bool isDigit(char c, int base) { argument 108 if (base == 16) { 123 inline int getDigitValue(char c, int base) { argument 125 if (base == 16) { 185 int base = 0; local 199 (bResetContent ? "base" : "optional"), name); 243 base = 0; 248 base = 10; 249 numValue = getDigitValue(c, base); 253 base [all...] |
/system/connectivity/wificond/net/ |
H A D | netlink_manager.h | 24 #include <android-base/macros.h> 25 #include <android-base/unique_fd.h> 231 bool SetupSocket(android::base::unique_fd* netlink_fd); 232 bool WatchSocket(android::base::unique_fd* netlink_fd); 253 android::base::unique_fd sync_netlink_fd_; 254 android::base::unique_fd async_netlink_fd_;
|
/system/extras/simpleperf/ |
H A D | cmd_kmem_test.cpp | 19 #include <android-base/file.h> 20 #include <android-base/strings.h> 21 #include <android-base/test_utils.h> 50 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &result->content)); 53 android::base::Split(result->content, "\n"); 56 std::string s = android::base::Trim(line);
|
H A D | command.cpp | 24 #include <android-base/logging.h> 102 android::base::InitLogging(argv, android::base::StderrLogger); 104 android::base::LogSeverity log_severity = android::base::INFO; 127 android::base::ScopedLogSeverity severity(log_severity);
|
H A D | utils.cpp | 32 #include <android-base/file.h> 33 #include <android-base/logging.h> 34 #include <android-base/stringprintf.h> 243 bool GetLogSeverity(const std::string& name, android::base::LogSeverity* severity) { 244 static std::map<std::string, android::base::LogSeverity> log_severity_map = { 245 {"verbose", android::base::VERBOSE}, 246 {"debug", android::base::DEBUG}, 247 {"info", android::base::INFO}, 248 {"warning", android::base::WARNING}, 249 {"error", android::base [all...] |
/system/tools/aidl/ |
H A D | io_delegate.cpp | 30 #include <android-base/strings.h> 39 using android::base::Split; 161 // The "base" directory is just the root of the file system. On Windows, 164 string base = directories[0]; local 165 if (base.empty()) { 166 base = "/"; 173 return CreatedNestedDirs(base, directories);
|
/system/update_engine/ |
H A D | binder_service_android.cc | 19 #include <base/bind.h> 20 #include <base/logging.h> 71 base::Bind( 72 base::IgnoreResult(&BinderUpdateEngineAndroidService::UnbindCallback), 73 base::Unretained(this), 74 base::Unretained(callback_binder.get())));
|
H A D | certificate_checker.cc | 21 #include <base/logging.h> 22 #include <base/strings/string_number_conversions.h> 23 #include <base/strings/string_util.h> 24 #include <base/strings/stringprintf.h> 162 string digest_string = base::HexEncode(digest, digest_length); 165 base::StringPrintf("%s-%d-%d", kPrefsUpdateServerCertificate,
|
H A D | image_properties_chromeos_unittest.cc | 21 #include <base/files/file_util.h> 22 #include <base/files/scoped_temp_dir.h> 39 EXPECT_TRUE(base::CreateDirectory(tempdir_.path().Append("etc"))); 40 EXPECT_TRUE(base::CreateDirectory( 41 base::FilePath(tempdir_.path().value() + kStatefulPartition + "/etc"))); 53 base::ScopedTempDir tempdir_;
|
/system/update_engine/update_manager/ |
H A D | real_shill_provider.cc | 21 #include <base/logging.h> 22 #include <base/strings/stringprintf.h> 41 base::Bind(&RealShillProvider::OnManagerPropertyChanged, 42 base::Unretained(this)), 43 base::Bind(&RealShillProvider::OnSignalConnected, 44 base::Unretained(this)));
|
H A D | default_policy.cc | 47 base::TimeDelta::FromSeconds(kCheckIntervalInSeconds))) { 70 result->backoff_expiry = base::Time(); 71 result->scatter_wait_period = base::TimeDelta();
|
/system/core/bootstat/ |
H A D | bootstat.cpp | 34 #include <android-base/chrono_utils.h> 35 #include <android-base/logging.h> 36 #include <android-base/parseint.h> 37 #include <android-base/strings.h> 65 if (android::base::ParseInt(value_str, &value)) { 206 if (!android::base::ParseInt(build_date_str, &build_date)) { 229 if (android::base::ParseInt(value, &time_in_ms)) { 250 auto stages = android::base::Split(value, ","); 253 auto stageTimingValues = android::base::Split(stageTiming, ":"); 258 if (android::base [all...] |
/system/core/init/ |
H A D | keychords.cpp | 26 #include <android-base/logging.h> 27 #include <android-base/properties.h> 80 std::string adb_enabled = android::base::GetProperty("init.svc.adbd", "");
|
/system/core/libbinderwrapper/include/binderwrapper/ |
H A D | stub_binder_wrapper.h | 24 #include <base/macros.h> 35 // First, assuming a base IFoo binder interface, create a stub class that 101 const ::base::Closure& callback) override; 122 std::map<sp<IBinder>, ::base::Closure> death_callbacks_;
|
/system/core/liblog/tests/ |
H A D | log_wrap_test.cpp | 23 #include <android-base/chrono_utils.h> 24 #include <android-base/stringprintf.h> 73 android::base::Timer timer;
|
/system/core/logcat/tests/ |
H A D | exec_benchmark.cpp | 19 #include <android-base/file.h> 29 android::base::ReadFdToString(fileno(fp), &ret); 44 android::base::ReadFdToString(fileno(fp), &ret);
|
/system/netd/tests/ |
H A D | tun_interface.cpp | 30 #include <android-base/stringprintf.h> 31 #include <android-base/strings.h> 38 using android::base::StringPrintf;
|
/system/tpm/tpm_manager/client/ |
H A D | binder_proxy_helper.h | 25 using CallbackType = base::Callback<void(const ResponseProtobufType&)>; 27 base::Callback<void(ResponseProtobufType*)>; 28 using BinderMethodType = base::Callback<android::binder::Status(
|
/system/tpm/trunks/ |
H A D | tpm_handle.cc | 22 #include <base/callback.h> 23 #include <base/logging.h> 24 #include <base/posix/eintr_wrapper.h>
|
/system/update_engine/common/ |
H A D | mock_hardware.h | 74 MOCK_CONST_METHOD1(IsOOBEComplete, bool(base::Time* out_time_of_oobe)); 79 MOCK_CONST_METHOD1(GetNonVolatileDirectory, bool(base::FilePath*)); 80 MOCK_CONST_METHOD1(GetPowerwashSafeDirectory, bool(base::FilePath*));
|