Searched refs:base (Results 26 - 50 of 1314) sorted by relevance

1234567891011>>

/system/libhidl/transport/include/hidl/
H A DHidlTransportUtils.h20 #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 Dclock.h29 base::Time GetWallclockTime() override;
31 base::Time GetMonotonicTime() override;
33 base::Time GetBootTime() override;
H A Dhwid_override.h23 #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 Dreal_system_provider.cc19 #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 Dbtu.h30 #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 Dlog.cpp23 #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 Dbackground_command_transceiver.h24 #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 Dtrunks_factory_impl.cc19 #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 Dbackground_command_transceiver_test.cc19 #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 Dtestrunner.cc23 #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 Dhardware_chromeos.cc19 #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 Dutil.h22 #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 Dfs_mgr_boot_config.cpp19 #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 Dattestation_interface.h22 #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 Dstack_btu_test.cc19 #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 Derrors_windows.cpp17 #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 Dquick_exit_test.cpp17 #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 Derrors_test.cpp17 #include "android-base/errors.h"
22 namespace base { namespace in namespace:android
33 } // namespace base
/system/core/debuggerd/tombstoned/
H A Dintercept_manager.h26 #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 Dtpm_nvram_binder_proxy.cc19 #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 Dtpm_ownership_binder_proxy.cc19 #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 Dipc_handler_dbus.h18 #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 Dserver_main.cc17 #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 Dsettings.h21 #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 Derrors.h36 namespace base { namespace in namespace:android
43 } // namespace base

Completed in 533 milliseconds

1234567891011>>