/system/libhidl/transport/include/hidl/ |
H A D | HidlTransportUtils.h | 20 #include <android/hidl/base/1.0/IBase.h> 31 Return<bool> canCastInterface(::android::hidl::base::V1_0::IBase* interface, 34 std::string getDescriptor(::android::hidl::base::V1_0::IBase* interface);
|
/system/update_engine/common/ |
H A D | clock.h | 29 base::Time GetWallclockTime() override; 31 base::Time GetMonotonicTime() override; 33 base::Time GetBootTime() override;
|
H A D | hwid_override.h | 23 #include <base/files/file_path.h> 24 #include <base/macros.h> 36 static std::string Read(const base::FilePath& root);
|
/system/update_engine/update_manager/ |
H A D | real_system_provider.cc | 19 #include <base/bind.h> 20 #include <base/callback.h> 21 #include <base/logging.h> 22 #include <base/time/time.h> 51 const base::TimeDelta poll_interval, 52 base::Callback<bool(T* res)> func) 62 const T* GetValue(base::TimeDelta /* timeout */, 73 base::TimeDelta::FromSeconds(kRetryPollVariableRetryIntervalSeconds)); 83 // The function to be called, stored as a base::Callback. 84 base [all...] |
/system/bt/stack/include/ |
H A D | btu.h | 30 #include <base/callback.h> 31 #include <base/location.h> 32 #include <base/threading/thread.h> 48 base::Callback<void(uint8_t*, uint16_t)> cb); 59 base::MessageLoop* get_message_loop();
|
/system/core/init/ |
H A D | log.cpp | 23 #include <android-base/logging.h> 34 android::base::InitLogging(argv, &android::base::KernelLogger); 43 android::base::InitLogging(argv, &android::base::KernelLogger); 47 android::base::LogSeverity severity = android::base::ERROR; 49 severity = android::base::WARNING; 51 severity = android::base::INFO; 58 android::base [all...] |
/system/tpm/trunks/ |
H A D | background_command_transceiver.h | 24 #include <base/memory/ref_counted.h> 25 #include <base/memory/weak_ptr.h> 26 #include <base/sequenced_task_runner.h> 35 // base::Thread background_thread("my thread"); 52 const scoped_refptr<base::SequencedTaskRunner>& task_runner); 66 base::WeakPtr<BackgroundCommandTransceiver> GetWeakPtr() { 71 scoped_refptr<base::SequencedTaskRunner> task_runner_; 74 base::WeakPtrFactory<BackgroundCommandTransceiver> weak_factory_;
|
H A D | trunks_factory_impl.cc | 19 #include <base/logging.h> 20 #include <base/memory/ptr_util.h> 75 return base::MakeUnique<TpmStateImpl>(*this); 79 return base::MakeUnique<TpmUtilityImpl>(*this); 84 return base::MakeUnique<PasswordAuthorizationDelegate>(password); 88 return base::MakeUnique<SessionManagerImpl>(*this); 92 return base::MakeUnique<HmacSessionImpl>(*this); 96 return base::MakeUnique<PolicySessionImpl>(*this, TPM_SE_POLICY); 100 return base::MakeUnique<PolicySessionImpl>(*this, TPM_SE_TRIAL); 104 return base [all...] |
H A D | background_command_transceiver_test.cc | 19 #include <base/bind.h> 20 #include <base/logging.h> 21 #include <base/message_loop/message_loop.h> 22 #include <base/run_loop.h> 23 #include <base/threading/platform_thread.h> 24 #include <base/threading/thread.h> 41 return std::string(base::PlatformThread::GetName()); 75 base::MessageLoopForIO message_loop_; 76 base::Thread test_thread_; 84 background_transceiver.SendCommand("test", base [all...] |
/system/update_engine/ |
H A D | testrunner.cc | 23 #include <base/at_exit.h> 24 #include <base/command_line.h> 25 #include <base/environment.h> 35 base::AtExitManager exit_manager; 49 std::unique_ptr<base::Environment> env(base::Environment::Create()); 57 base::CommandLine::Init(argc, argv);
|
H A D | hardware_chromeos.cc | 19 #include <base/files/file_path.h> 20 #include <base/files/file_util.h> 21 #include <base/logging.h> 22 #include <base/strings/string_number_conversions.h> 23 #include <base/strings/string_util.h> 124 bool HardwareChromeOS::IsOOBEComplete(base::Time* out_time_of_oobe) const { 138 *out_time_of_oobe = base::Time::FromTimeT(statbuf.st_mtime); 149 base::TrimWhitespaceASCII(return_value, base::TRIM_ALL, &return_value); 159 return HwidOverride::Read(base [all...] |
/system/core/debuggerd/ |
H A D | util.h | 22 #include <android-base/unique_fd.h> 29 ssize_t send_fd(int sockfd, const void* _Nonnull data, size_t len, android::base::unique_fd fd); 44 android::base::unique_fd* _Nullable out_fd); 46 bool Pipe(android::base::unique_fd* read, android::base::unique_fd* write);
|
/system/core/fs_mgr/ |
H A D | fs_mgr_boot_config.cpp | 19 #include <android-base/file.h> 20 #include <android-base/stringprintf.h> 21 #include <android-base/strings.h> 22 #include <android-base/properties.h> 33 if (android::base::ReadFileToString("/proc/cmdline", &cmdline)) { 34 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) { 35 std::vector<std::string> pieces = android::base::Split(entry, "="); 55 *out_val = android::base::GetProperty("ro.boot." + key, ""); 68 if (android::base [all...] |
/system/tpm/attestation/common/ |
H A D | attestation_interface.h | 22 #include <base/callback_forward.h> 43 base::Callback<void(const CreateGoogleAttestedKeyReply&)>; 49 using GetKeyInfoCallback = base::Callback<void(const GetKeyInfoReply&)>; 56 base::Callback<void(const GetEndorsementInfoReply&)>; 64 base::Callback<void(const GetAttestationKeyInfoReply&)>; 72 base::Callback<void(const ActivateAttestationKeyReply&)>; 80 base::Callback<void(const CreateCertifiableKeyReply&)>; 86 using DecryptCallback = base::Callback<void(const DecryptReply&)>; 91 using SignCallback = base::Callback<void(const SignReply&)>; 98 base [all...] |
/system/bt/stack/test/ |
H A D | stack_btu_test.cc | 19 #include <base/bind.h> 20 #include <base/logging.h> 21 #include <base/threading/thread.h> 40 void wait(int seconds, base::Closure callback) { 90 base::MessageLoop* message_loop; 100 helper.wait(5, base::Bind(&BtuMessageLoopTest::Fail, base::Unretained(this), 119 base::Bind(&BtuMessageLoopTest::TestCallback, base::Unretained(this))); 122 FROM_HERE, base [all...] |
/system/core/base/ |
H A D | errors_windows.cpp | 17 #include "android-base/errors.h" 21 #include "android-base/stringprintf.h" 22 #include "android-base/strings.h" 23 #include "android-base/utf8.h" 32 namespace base { namespace in namespace:android 43 return android::base::StringPrintf( 50 if (!android::base::WideToUTF8(msgbuf, &msg)) { 51 return android::base::StringPrintf( 57 msg = android::base::Trim(msg); 63 android::base [all...] |
H A D | quick_exit_test.cpp | 17 #include "android-base/quick_exit.h" 27 #include "android-base/test_utils.h" 39 ASSERT_EXIT(android::base::quick_exit(123), testing::ExitedWithCode(123), ""); 44 ASSERT_EXIT(android::base::quick_exit(123), testing::ExitedWithCode(123), ""); 50 ASSERT_EQ(0, android::base::at_quick_exit([]() { _exit(counter); })); 51 ASSERT_EQ(0, android::base::at_quick_exit([]() { counter += 2; })); 52 ASSERT_EQ(0, android::base::at_quick_exit([]() { counter *= 10; })); 53 ASSERT_EXIT(android::base::quick_exit(123), testing::ExitedWithCode(42), "");
|
H A D | errors_test.cpp | 17 #include "android-base/errors.h" 22 namespace base { namespace in namespace:android 33 } // namespace base
|
/system/core/debuggerd/tombstoned/ |
H A D | intercept_manager.h | 26 #include <android-base/unique_fd.h> 39 android::base::unique_fd sockfd; 42 android::base::unique_fd output_fd; 48 event_base* base; member in struct:InterceptManager 52 InterceptManager(event_base* _Nonnull base, int intercept_socket); 56 bool GetIntercept(pid_t pid, DebuggerdDumpType dump_type, android::base::unique_fd* out_fd);
|
/system/tpm/tpm_manager/client/ |
H A D | tpm_nvram_binder_proxy.cc | 19 #include <base/bind.h> 20 #include <base/callback.h> 21 #include <base/logging.h> 64 auto method = base::Bind(&ITpmNvram::DefineSpace, base::Unretained(binder_)); 65 auto get_error = base::Bind(&CreateErrorResponse<DefineSpaceReply>); 73 auto method = base::Bind(&ITpmNvram::DestroySpace, base::Unretained(binder_)); 74 auto get_error = base::Bind(&CreateErrorResponse<DestroySpaceReply>); 82 auto method = base [all...] |
H A D | tpm_ownership_binder_proxy.cc | 19 #include <base/bind.h> 20 #include <base/callback.h> 21 #include <base/logging.h> 67 base::Bind(&ITpmOwnership::GetTpmStatus, base::Unretained(binder_)); 68 auto get_error = base::Bind(&CreateErrorResponse<GetTpmStatusReply>); 78 base::Bind(&ITpmOwnership::TakeOwnership, base::Unretained(binder_)); 79 auto get_error = base::Bind(&CreateErrorResponse<TakeOwnershipReply>); 88 auto method = base [all...] |
/system/bt/service/ipc/dbus/ |
H A D | ipc_handler_dbus.h | 18 #include <base/threading/thread.h> 22 namespace base { namespace 24 } // namespace base 41 base::Thread* dbus_thread_;
|
/system/bt/service/example/heart_rate/ |
H A D | server_main.cc | 17 #include <base/at_exit.h> 18 #include <base/bind.h> 19 #include <base/command_line.h> 20 #include <base/location.h> 21 #include <base/logging.h> 22 #include <base/message_loop/message_loop.h> 23 #include <base/run_loop.h> 45 // doesn't stop unless I call both. Bug in base::MessageLoop? 46 base::RunLoop().Quit(); 47 base [all...] |
/system/bt/service/ |
H A D | settings.h | 21 #include <base/files/file_path.h> 22 #include <base/macros.h> 41 // base::CommandLine) and sets up the initial global settings. Returns false 52 const base::FilePath& create_ipc_socket_path() const { 69 base::FilePath create_ipc_socket_path_;
|
/system/core/base/include/android-base/ |
H A D | errors.h | 36 namespace base { namespace in namespace:android 43 } // namespace base
|