/system/update_engine/update_manager/ |
H A D | update_manager-inl.h | 23 #include <base/bind.h> 24 #include <base/location.h> 82 base::Callback<void(EvalStatus status, const R& result)> callback, 98 base::Closure reeval_callback = base::Bind( 100 base::Unretained(this), ec, callback, 138 base::Callback<void(EvalStatus, const R& result)> callback, 146 std::unique_ptr<base::Callback<void(EvaluationContext*)>>( 147 new base::Callback<void(EvaluationContext*)>( 148 base 137 AsyncPolicyRequest( base::Callback<void(EvalStatus, const R& result)> callback, EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, ActualArgs... args) argument [all...] |
H A D | generic_variables.h | 26 #include <base/callback.h> 67 PollCopyVariable(const std::string& name, const base::TimeDelta poll_interval, 72 PollCopyVariable(const std::string& name, const base::TimeDelta poll_interval, 75 PollCopyVariable(const std::string& name, const base::TimeDelta poll_interval, 84 inline const T* GetValue(base::TimeDelta /* timeout */, 123 const T* GetValue(base::TimeDelta /* timeout */, 138 CallCopyVariable(const std::string& name, base::Callback<T(void)> func) 141 const base::TimeDelta poll_interval, 142 base::Callback<T(void)> func) 147 const T* GetValue(base [all...] |
/system/update_engine/ |
H A D | boot_control_recovery.cc | 19 #include <base/bind.h> 20 #include <base/files/file_util.h> 21 #include <base/logging.h> 22 #include <base/strings/string_util.h> 115 base::FilePath misc_device; 132 base::FilePath path = misc_device.DirName().Append(partition_name + suffix); 133 if (!base::PathExists(path)) { 172 base::Callback<void(bool)> callback) { 178 FROM_HERE, base::Bind(callback, ret == 0)) !=
|
H A D | hardware_chromeos.h | 23 #include <base/macros.h> 24 #include <base/time/time.h> 45 bool IsOOBEComplete(base::Time* out_time_of_oobe) const override; 52 bool GetNonVolatileDirectory(base::FilePath* path) const override; 53 bool GetPowerwashSafeDirectory(base::FilePath* path) const override;
|
/system/bt/main/ |
H A D | bte_main.cc | 29 #include <base/logging.h> 30 #include <base/threading/thread.h> 102 base::MessageLoop* hci_message_loop = get_message_loop(); 110 from_here, base::Bind(&btu_hci_msg_process, p_msg)); 131 hci->set_data_cb(base::Bind(&post_to_hci_message_loop));
|
/system/bt/service/common/bluetooth/ |
H A D | scan_settings.h | 19 #include <base/time/time.h> 25 // frameworks/base/core/java/android/bluetooth/le/ScanSettings.java. 117 ResultType result_type, base::TimeDelta report_delay_ms, 134 const base::TimeDelta& report_delay() const { return report_delay_ms_; } 135 void set_report_delay(const base::TimeDelta& delay) { 156 base::TimeDelta report_delay_ms_;
|
/system/bt/service/ipc/binder/ |
H A D | ipc_handler_binder.cc | 19 #include <base/bind.h> 20 #include <base/logging.h> 21 #include <base/message_loop/message_loop.h> 59 base::MessageLoop::current()->task_runner()->PostTask( 60 FROM_HERE, base::Bind(&IPCHandlerBinder::NotifyStarted, this));
|
/system/bt/service/ |
H A D | settings.cc | 19 #include <base/base_switches.h> 20 #include <base/command_line.h> 21 #include <base/logging.h> 33 auto command_line = base::CommandLine::ForCurrentProcess(); 40 base::FilePath path(iter.second);
|
/system/core/fastboot/ |
H A D | bootimg_utils.cpp | 43 size_t page_size, size_t base, off_t tags_offset, 65 hdr->kernel_addr = base + kernel_offset; 66 hdr->ramdisk_addr = base + ramdisk_offset; 67 hdr->second_addr = base + second_offset; 68 hdr->tags_addr = base + tags_offset; 40 mkbootimg(void* kernel, int64_t kernel_size, off_t kernel_offset, void* ramdisk, int64_t ramdisk_size, off_t ramdisk_offset, void* second, int64_t second_size, off_t second_offset, size_t page_size, size_t base, off_t tags_offset, int64_t* bootimg_size) argument
|
/system/media/brillo/audio/audioservice/ |
H A D | audio_daemon.h | 25 #include <base/files/file.h> 26 #include <base/memory/weak_ptr.h> 55 void EventCallback(base::File* file); 93 std::stack<base::File> files_; 98 // Used to generate weak_ptr to AudioDaemon for use in base::Bind. 99 base::WeakPtrFactory<AudioDaemon> weak_ptr_factory_{this};
|
H A D | audio_service_callback.cpp | 20 #include <base/bind.h> 21 #include <base/logging.h> 32 connected_callback_ = base::Bind(callback->OnAudioDeviceAdded); 33 disconnected_callback_ = base::Bind(callback->OnAudioDeviceRemoved); 34 volume_callback_ = base::Bind(callback->OnVolumeChanged);
|
/system/update_engine/common/ |
H A D | subprocess_unittest.cc | 28 #include <base/bind.h> 29 #include <base/files/scoped_temp_dir.h> 30 #include <base/location.h> 31 #include <base/message_loop/message_loop.h> 32 #include <base/strings/string_util.h> 33 #include <base/strings/stringprintf.h> 34 #include <base/time/time.h> 46 using base::TimeDelta; 73 base::MessageLoopForIO base_loop_; 135 base [all...] |
H A D | boot_control_interface.h | 23 #include <base/callback.h> 24 #include <base/macros.h> 78 virtual bool MarkBootSuccessfulAsync(base::Callback<void(bool)> callback) = 0;
|
H A D | utils_unittest.cc | 28 #include <base/files/file_path.h> 29 #include <base/files/file_util.h> 30 #include <base/files/scoped_temp_dir.h> 60 base::FilePath file; 61 EXPECT_TRUE(base::CreateTemporaryFile(&file)); 76 base::FilePath file; 77 EXPECT_TRUE(base::CreateTemporaryFile(&file)); 101 base::ScopedTempDir temp_dir; 256 EXPECT_EQ(utils::FormatTimeDelta(base::TimeDelta::FromMilliseconds(100)), 258 EXPECT_EQ(utils::FormatTimeDelta(base [all...] |
/system/bt/btif/src/ |
H A D | btif_ble_advertiser.cc | 24 #include <base/bind.h> 31 using base::Bind; 32 using base::Owned; 98 base::Unretained(BleAdvertisingManager::Get()), 100 base::Unretained(this), cb))); 120 base::Unretained(BleAdvertisingManager::Get()), 134 base::Unretained(BleAdvertisingManager::Get()), advertiser_id, 135 base::Owned(p_params), jni_thread_wrapper(FROM_HERE, cb))); 143 base::Unretained(BleAdvertisingManager::Get()), advertiser_id, 156 base [all...] |
/system/core/adb/ |
H A D | adb_utils.cpp | 30 #include <android-base/file.h> 31 #include <android-base/logging.h> 32 #include <android-base/parseint.h> 33 #include <android-base/stringprintf.h> 34 #include <android-base/strings.h> 127 const std::string parent(android::base::Dirname(path)); 171 android::base::StringAppendF(&line, "%02x", p[i]); 188 return android::base::StringPrintf("%s: %s", msg, strerror(errno)); 210 if (android::base::StartsWith(source, "tcp:")) { 213 if (!android::base [all...] |
/system/bt/service/hal/ |
H A D | fake_bluetooth_interface.h | 17 #include <base/macros.h> 18 #include <base/observer_list.h> 69 base::ObserverList<Observer> observers_;
|
/system/core/init/ |
H A D | bootchart.cpp | 35 #include <android-base/file.h> 36 #include <android-base/logging.h> 37 #include <android-base/properties.h> 38 #include <android-base/stringprintf.h> 40 using android::base::StringPrintf; 54 if (!android::base::ReadFileToString("/proc/uptime", &uptime)) return 0; 74 std::string fingerprint = android::base::GetProperty("ro.build.fingerprint", ""); 78 android::base::ReadFileToString("/proc/cmdline", &kernel_cmdline); 99 if (android::base::ReadFileToString(procfile, &content)) { 117 android::base [all...] |
/system/core/libappfuse/include/libappfuse/ |
H A D | FuseBridgeLoop.h | 25 #include <android-base/macros.h> 51 bool AddBridge(int mount_id, base::unique_fd dev_fd, base::unique_fd proxy_fd);
|
/system/libhidl/transport/ |
H A D | Static.cpp | 35 ConcurrentMap<const ::android::hidl::base::V1_0::IBase*, wp<::android::hardware::BHwBinder>> 38 ConcurrentMap<wp<::android::hidl::base::V1_0::IBase>, SchedPrio> gServicePrioMap{}; 40 ConcurrentMap<std::string, std::function<sp<::android::hidl::base::V1_0::IBase>(void *)>>
|
/system/nfc/src/adaptation/ |
H A D | ringbuffer.cc | 27 uint8_t* base; member in struct:ringbuffer_t 37 p->base = static_cast<uint8_t*>(calloc(size, sizeof(uint8_t))); 38 p->head = p->tail = p->base; 45 if (rb != NULL) free(rb->base); 67 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; 80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; 93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; 100 if (b >= (rb->base [all...] |
/system/tpm/tpm_manager/server/ |
H A D | dbus_service.cc | 64 kGetTpmStatus, base::Unretained(this), 70 kTakeOwnership, base::Unretained(this), 76 kRemoveOwnerDependency, base::Unretained(this), 85 kDefineSpace, base::Unretained(this), 90 kDestroySpace, base::Unretained(this), 96 kWriteSpace, base::Unretained(this), 101 kReadSpace, base::Unretained(this), 106 kLockSpace, base::Unretained(this), 111 kListSpaces, base::Unretained(this), 116 kGetSpaceInfo, base [all...] |
H A D | tpm_connection.cc | 19 #include <base/logging.h> 20 #include <base/stl_util.h> 21 #include <base/threading/platform_thread.h> 22 #include <base/time/time.h> 74 base::PlatformThread::Sleep( 75 base::TimeDelta::FromMilliseconds(kTpmConnectIntervalMs));
|
/system/tpm/trunks/ |
H A D | hmac_session_impl.cc | 21 #include <base/logging.h> 22 #include <base/macros.h> 23 #include <base/stl_util.h>
|
H A D | trunks_dbus_service.h | 23 #include <base/memory/weak_ptr.h> 63 base::WeakPtr<TrunksDBusService> GetWeakPtr() { 71 base::WeakPtrFactory<TrunksDBusService> weak_factory_{this};
|