Home
last modified time | relevance | path

Searched refs:weak_factory_ (Results 1 – 25 of 61) sorted by relevance

123

/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc24 : alarm_fd_(timerfd_create(CLOCK_REALTIME_ALARM, 0)), weak_factory_(this) {} in SimpleAlarmTimer()
43 weak_factory_.InvalidateWeakPtrs(); in Stop()
60 weak_factory_.InvalidateWeakPtrs(); in Reset()
93 weak_factory_.GetWeakPtr())); in Reset()
102 weak_factory_.GetWeakPtr())); in Reset()
127 base::WeakPtr<SimpleAlarmTimer> weak_ptr = weak_factory_.GetWeakPtr(); in OnTimerFired()
Dalarm_timer_chromeos.h75 base::WeakPtrFactory<SimpleAlarmTimer> weak_factory_; variable
/external/perfetto/src/perfetto_cmd/
Dtrigger_producer.cc40 weak_factory_(this) { in TriggerProducer()
43 auto weak_this = weak_factory_.GetWeakPtr(); in TriggerProducer()
60 auto weak_this = weak_factory_.GetWeakPtr(); in OnConnect()
/external/libchrome/base/task/
Dcancelable_task_tracker.cc59 : next_id_(1),weak_factory_(this) {} in CancelableTaskTracker()
93 BindOnce(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id); in PostTaskAndReply()
119 BindOnce(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id), in NewTrackedTaskId()
155 weak_factory_.InvalidateWeakPtrs(); in TryCancelAll()
/external/libchrome/mojo/public/cpp/bindings/
Dstrong_binding.h55 return binding->weak_factory_.GetWeakPtr(); in Create()
106 weak_factory_(this) { in StrongBinding()
128 base::WeakPtrFactory<StrongBinding> weak_factory_; variable
Dstrong_associated_binding.h57 return binding->weak_factory_.GetWeakPtr(); in Create()
98 weak_factory_(this) { in StrongAssociatedBinding()
120 base::WeakPtrFactory<StrongAssociatedBinding> weak_factory_; variable
/external/libchrome/base/task/sequence_manager/test/
Dtest_task_queue.cc14 : TaskQueue(std::move(impl), spec), weak_factory_(this) {} in TestTaskQueue()
19 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
Dtest_task_queue.h27 WeakPtrFactory<TestTaskQueue> weak_factory_; variable
/external/libchrome/base/task/sequence_manager/
Dthread_controller_impl.cc28 weak_factory_(this) { in ThreadControllerImpl()
30 BindRepeating(&ThreadControllerImpl::DoWork, weak_factory_.GetWeakPtr(), in ThreadControllerImpl()
33 BindRepeating(&ThreadControllerImpl::DoWork, weak_factory_.GetWeakPtr(), in ThreadControllerImpl()
158 WeakPtr<ThreadControllerImpl> weak_ptr = weak_factory_.GetWeakPtr(); in DoWork()
Dsequence_manager_impl_unittest.cc1973 : clock_(clock), weak_factory_(this) {} in CancelableTask()
1980 WeakPtrFactory<CancelableTask> weak_factory_; member in base::sequence_manager::internal::sequence_manager_impl_unittest::CancelableTask
2003 task1.weak_factory_.GetWeakPtr(), &run_times), in TEST_P()
2008 task2.weak_factory_.GetWeakPtr(), &run_times), in TEST_P()
2011 task1.weak_factory_.InvalidateWeakPtrs(); in TEST_P()
2344 task1.weak_factory_.GetWeakPtr(), &run_times), in TEST_P()
2349 task2.weak_factory_.GetWeakPtr(), &run_times), in TEST_P()
2354 task3.weak_factory_.GetWeakPtr(), &run_times), in TEST_P()
2359 task4.weak_factory_.GetWeakPtr(), &run_times), in TEST_P()
2362 task2.weak_factory_.InvalidateWeakPtrs(); in TEST_P()
[all …]
/external/libchrome/mojo/public/cpp/system/
Dsimple_watcher.cc132 weak_factory_(this) { in SimpleWatcher()
161 context_ = Context::Create(weak_factory_.GetWeakPtr(), task_runner_, in Watch()
245 base::Bind(&SimpleWatcher::OnHandleReady, weak_factory_.GetWeakPtr(), in ArmOrNotify()
272 base::WeakPtr<SimpleWatcher> weak_self = weak_factory_.GetWeakPtr(); in OnHandleReady()
Ddata_pipe_drainer.cc22 weak_factory_(this) { in DataPipeDrainer()
26 base::Bind(&DataPipeDrainer::WaitComplete, weak_factory_.GetWeakPtr())); in DataPipeDrainer()
Dstring_data_pipe_producer.cc64 weak_factory_(this) {} in StringDataPipeProducer()
82 weak_factory_.GetWeakPtr(), MOJO_RESULT_OK)); in Write()
Ddata_pipe_drainer.h40 base::WeakPtrFactory<DataPipeDrainer> weak_factory_; variable
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc129 weak_factory_(this) { in HeapprofdProducer()
198 auto weak_producer = weak_factory_.GetWeakPtr(); in OnDisconnect()
276 auto weak_producer = weak_factory_.GetWeakPtr(); in ScheduleActiveDataSourceWatchdog()
298 auto weak_producer = weak_factory_.GetWeakPtr(); in ActiveDataSourceWatchdogCheck()
459 auto weak_producer = weak_factory_.GetWeakPtr(); in StartDataSource()
499 auto weak_producer = weak_factory_.GetWeakPtr(); in DoContinuousDump()
577 auto weak_producer = weak_factory_.GetWeakPtr(); in Dump()
757 auto weak_this = weak_factory_.GetWeakPtr(); in PostAllocRecord()
768 auto weak_this = weak_factory_.GetWeakPtr(); in PostFreeRecord()
779 auto weak_this = weak_factory_.GetWeakPtr(); in PostSocketDisconnected()
/external/libchrome/base/files/
Dfile_descriptor_watcher_posix.cc166 weak_factory_(this) { in Controller()
169 watcher_ = std::make_unique<Watcher>(weak_factory_.GetWeakPtr(), mode, fd); in Controller()
186 WeakPtr<Controller> weak_this = weak_factory_.GetWeakPtr(); in RunCallback()
/external/perfetto/src/traced/service/
Dlazy_producer.cc38 weak_factory_(this) {} in LazyProducer()
63 auto weak_this = weak_factory_.GetWeakPtr(); in StopDataSource()
/external/libchrome/base/
Drun_loop.cc74 weak_factory_(this) { in RunLoop()
161 base::Bind(&RunLoop::Quit, weak_factory_.GetWeakPtr())); in QuitClosure()
174 base::Bind(&RunLoop::QuitWhenIdle, weak_factory_.GetWeakPtr())); in QuitWhenIdleClosure()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.h85 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
133 base::WeakPtrFactory<FtraceController> weak_factory_; // Keep last.
Dftrace_controller.cc142 weak_factory_(this) { in FtraceController()
259 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); in DrainCPUs()
298 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); in StartIfNeeded()
353 base::WeakPtr<FtraceController> weak_this = weak_factory_.GetWeakPtr(); in Flush()
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner.cc49 weak_factory_(this) {} in FileScanner()
68 auto weak_this = weak_factory_.GetWeakPtr(); in Scan()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.cc89 weak_factory_(this) { in AndroidLogDataSource()
169 auto weak_this = weak_factory_.GetWeakPtr(); in EnableSocketWatchTask()
195 auto weak_this = weak_factory_.GetWeakPtr(); in OnSocketDataAvailable()
220 auto weak_this = weak_factory_.GetWeakPtr(); in ReadLogSocket()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dconnector.cc151 weak_factory_(this) { in Connector()
160 weak_self_ = weak_factory_.GetWeakPtr(); in Connector()
200 weak_factory_.InvalidateWeakPtrs(); in PassMessagePipe()
/external/perfetto/src/traced/probes/power/
Dandroid_power_data_source.cc134 weak_factory_(this) { in AndroidPowerDataSource()
176 auto weak_this = weak_factory_.GetWeakPtr(); in Tick()
/external/libbrillo/brillo/dbus/
Ddbus_service_watcher.cc20 &DBusServiceWatcher::OnServiceOwnerChange, weak_factory_.GetWeakPtr());

123