/external/perfetto/src/perfetto_cmd/ |
trigger_producer.cc | 43 auto weak_this = weak_factory_.GetWeakPtr(); local 45 [weak_this]() { 46 if (!weak_this || weak_this->issued_callback_) 48 weak_this->issued_callback_ = true; 49 weak_this->callback_(false); 60 auto weak_this = weak_factory_.GetWeakPtr(); local 61 task_runner_->PostTask([weak_this]() { 62 if (!weak_this || weak_this->issued_callback_ [all...] |
/external/perfetto/src/traced/service/ |
lazy_producer.cc | 63 auto weak_this = weak_factory_.GetWeakPtr(); local 65 [weak_this, cur_generation] { 66 if (!weak_this) 68 if (weak_this->generation_ == cur_generation) 69 weak_this->SetAndroidProperty(weak_this->property_name_, "0");
|
/external/perfetto/src/tracing/core/ |
shared_memory_arbiter_impl.cc | 174 base::WeakPtr<SharedMemoryArbiterImpl> weak_this; local 180 weak_this = weak_ptr_factory_.GetWeakPtr(); 246 task_runner_->PostTask([weak_this] { 247 if (weak_this) 248 weak_this->FlushPendingCommitDataRequests(); 269 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 270 task_runner_->PostTask([weak_this, callback] { 271 if (weak_this) 272 weak_this->FlushPendingCommitDataRequests(std::move(callback)); 306 auto weak_this = weak_ptr_factory_.GetWeakPtr() 319 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 376 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 385 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local [all...] |
startup_trace_writer_registry.cc | 118 auto weak_this = weak_ptr_factory_->GetWeakPtr(); local 119 task_runner_->PostTask([weak_this] { 120 if (weak_this) 121 weak_this->TryBindWriters(); 139 auto weak_this = weak_ptr_factory_->GetWeakPtr(); local 144 task_runner_->PostTask([weak_this, callback]() { 145 if (!weak_this) 148 callback(weak_this.get());
|
tracing_service_impl.cc | 495 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 506 [weak_this, tsid]() { 507 if (weak_this) 508 weak_this->OnStartTriggersTimeout(tsid); 680 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 682 [weak_this, tsid] { 685 if (!weak_this) 687 auto* tracing_session_ptr = weak_this->GetTracingSession(tsid); 699 weak_this->FlushAndDisableTracing(tsid); 706 auto weak_this = weak_ptr_factory_.GetWeakPtr() local 830 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 943 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 1091 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 1111 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 1281 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 1310 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 1338 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 1607 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 1620 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 2295 auto weak_this = GetWeakPtr(); local 2371 auto weak_this = GetWeakPtr(); local 2381 auto weak_this = GetWeakPtr(); local 2405 auto weak_this = GetWeakPtr(); local 2473 auto weak_this = GetWeakPtr(); local 2640 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 2673 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 2684 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 2698 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 2709 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 2739 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local [all...] |
/external/perfetto/src/tracing/ipc/consumer/ |
consumer_ipc_client_impl.cc | 78 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 80 [weak_this](ipc::AsyncResult<protos::EnableTracingResponse> response) { 81 if (weak_this) 82 weak_this->OnEnableTracingResponse(std::move(response)); 223 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 226 [weak_this](ipc::AsyncResult<protos::DetachResponse> response) { 227 if (weak_this) 228 weak_this->consumer_->OnDetach(!!response); 243 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 245 async_response.Bind([weak_this]( [all...] |
/external/perfetto/src/traced/probes/android_log/ |
android_log_data_source.cc | 169 auto weak_this = weak_factory_.GetWeakPtr(); local 170 task_runner_->AddFileDescriptorWatch(logdr_sock_.fd(), [weak_this] { 171 if (weak_this) 172 weak_this->OnSocketDataAvailable(); 195 auto weak_this = weak_factory_.GetWeakPtr(); local 197 [weak_this] { 198 if (weak_this) { 199 weak_this->ReadLogSocket(); 200 weak_this->EnableSocketWatchTask(true); 220 auto weak_this = weak_factory_.GetWeakPtr() local [all...] |
/external/perfetto/src/traced/probes/filesystem/ |
file_scanner.cc | 68 auto weak_this = weak_factory_.GetWeakPtr(); 70 [weak_this, task_runner] { 71 if (!weak_this) 73 weak_this->Scan(task_runner);
|
inode_file_data_source.cc | 245 auto weak_this = GetWeakPtr(); local 247 [weak_this] { 248 if (!weak_this) { 252 weak_this.get()->FindMissingInodes(); 349 auto weak_this = GetWeakPtr(); local 352 [weak_this] { 353 if (!weak_this) { 357 weak_this->FindMissingInodes(); 388 auto weak_this = GetWeakPtr(); local
|
/external/perfetto/src/traced/probes/ftrace/ |
ftrace_controller.cc | 259 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); local 260 task_runner_->PostTask([weak_this] { 261 if (weak_this) 262 weak_this->UnblockReaders(); 298 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); local 353 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); local 355 [weak_this, flush_id] { 356 if (weak_this) 357 weak_this->OnFlushTimeout(flush_id);
|
/external/perfetto/src/traced/probes/sys_stats/ |
sys_stats_data_source.cc | 142 auto weak_this = GetWeakPtr(); local 143 task_runner_->PostTask(std::bind(&SysStatsDataSource::Tick, weak_this)); 147 void SysStatsDataSource::Tick(base::WeakPtr<SysStatsDataSource> weak_this) { 148 if (!weak_this) 150 SysStatsDataSource& thiz = *weak_this; 155 std::bind(&SysStatsDataSource::Tick, weak_this), delay_ms);
|
/external/perfetto/src/traced/probes/power/ |
android_power_data_source.cc | 176 auto weak_this = weak_factory_.GetWeakPtr(); local 178 [weak_this] { 179 if (weak_this) 180 weak_this->Tick();
|
/external/perfetto/src/traced/probes/ |
probes_producer.cc | 340 auto weak_this = weak_factory_.GetWeakPtr(); local 351 auto flush_callback = [weak_this, flush_request_id, ds_id] { 352 if (weak_this) 353 weak_this->OnDataSourceFlushComplete(flush_request_id, ds_id); 366 [weak_this, flush_request_id] { 367 if (weak_this) 368 weak_this->OnFlushTimeout(flush_request_id);
|
/external/perfetto/src/traced/probes/ps/ |
process_stats_data_source.cc | 126 auto weak_this = GetWeakPtr(); local 127 task_runner_->PostTask(std::bind(&ProcessStatsDataSource::Tick, weak_this)); 343 base::WeakPtr<ProcessStatsDataSource> weak_this) { 344 if (!weak_this) 346 ProcessStatsDataSource& thiz = *weak_this; 350 std::bind(&ProcessStatsDataSource::Tick, weak_this), delay_ms);
|
/external/libchrome/base/files/ |
file_descriptor_watcher_posix.cc | 186 WeakPtr<Controller> weak_this = weak_factory_.GetWeakPtr(); local 191 if (weak_this)
|
/external/perfetto/src/tracing/ipc/service/ |
consumer_ipc_service.cc | 125 auto weak_this = weak_ptr_factory_.GetWeakPtr(); local 126 auto callback = [weak_this, it](bool success) { 127 if (weak_this) 128 weak_this->OnFlushCallback(success, std::move(it));
|
/external/perfetto/src/profiling/memory/ |
heapprofd_producer.cc | 757 auto weak_this = weak_factory_.GetWeakPtr(); local 758 task_runner_->PostTask([weak_this, raw_alloc_rec] { 759 if (weak_this) 760 weak_this->HandleAllocRecord(std::move(*raw_alloc_rec)); 768 auto weak_this = weak_factory_.GetWeakPtr(); local 769 task_runner_->PostTask([weak_this, raw_free_rec] { 770 if (weak_this) 771 weak_this->HandleFreeRecord(std::move(*raw_free_rec)); 779 auto weak_this = weak_factory_.GetWeakPtr(); local 780 task_runner_->PostTask([weak_this, ds_id, pid, stats] [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p4.cpp | 215 weak_ptr<T> weak_this; member in struct:enable_shared_from_this
|