Home
last modified time | relevance | path

Searched refs:GetWeakPtr (Results 1 – 25 of 94) sorted by relevance

1234

/external/libchrome/base/memory/
Dweak_ptr_unittest.cc217 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
224 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
232 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
233 WeakPtr<int> ptr2 = factory.GetWeakPtr(); in TEST()
245 ptr = factory.GetWeakPtr(); in TEST()
255 a = factory.GetWeakPtr(); in TEST()
256 b = factory.GetWeakPtr(); in TEST()
269 a = factory.GetWeakPtr(); in TEST()
271 WeakPtr<int> b = factory.GetWeakPtr(); in TEST()
282 WeakPtr<Base> ptr = factory.GetWeakPtr(); in TEST()
[all …]
/external/libbrillo/brillo/streams/
Dstream.cc59 weak_ptr_factory_.GetWeakPtr(), buffer, in ReadAllAsync()
132 weak_ptr_factory_.GetWeakPtr(), buffer, in WriteAllAsync()
181 weak_ptr_factory_.GetWeakPtr(), in FlushAsync()
216 base::Bind(&Stream::OnReadAsyncDone, weak_ptr_factory_.GetWeakPtr(), in ReadAsyncImpl()
227 base::Bind(&Stream::OnReadAvailable, weak_ptr_factory_.GetWeakPtr(), in ReadAsyncImpl()
280 base::Bind(&Stream::OnWriteAsyncDone, weak_ptr_factory_.GetWeakPtr(), in WriteAsyncImpl()
290 base::Bind(&Stream::OnWriteAvailable, weak_ptr_factory_.GetWeakPtr(), in WriteAsyncImpl()
338 weak_ptr_factory_.GetWeakPtr(), buffer, in ReadAllAsyncCallback()
365 weak_ptr_factory_.GetWeakPtr(), buffer, in WriteAllAsyncCallback()
/external/perfetto/src/ipc/
Dclient_impl_unittest.cc231 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
280 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
309 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
349 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
395 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
450 cli_->BindService(proxy[i]->GetWeakPtr()); in TEST_F()
463 cli_->BindService(proxy2->GetWeakPtr()); in TEST_F()
464 cli_->BindService(proxy1->GetWeakPtr()); in TEST_F()
487 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
498 cli_->BindService(proxy->GetWeakPtr()); in TEST_F()
[all …]
Dservice_proxy.cc67 request, drop_reply, weak_ptr_factory_.GetWeakPtr(), in BeginInvoke()
113 base::WeakPtr<ServiceProxy> ServiceProxy::GetWeakPtr() const { in GetWeakPtr() function in perfetto::ipc::ServiceProxy
114 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
/external/libchrome/base/task/sequence_manager/test/
Dtest_task_queue.cc18 WeakPtr<TestTaskQueue> TestTaskQueue::GetWeakPtr() { in GetWeakPtr() function in base::sequence_manager::TestTaskQueue
19 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc93 weak_factory_.GetWeakPtr())); in Reset()
102 weak_factory_.GetWeakPtr())); in Reset()
127 base::WeakPtr<SimpleAlarmTimer> weak_ptr = weak_factory_.GetWeakPtr(); in OnTimerFired()
/external/perfetto/src/traced/probes/initial_display_state/
Dinitial_display_state_data_source.cc67 InitialDisplayStateDataSource::GetWeakPtr() const { in GetWeakPtr() function in perfetto::InitialDisplayStateDataSource
68 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
73 auto weak_this = GetWeakPtr(); in Tick()
/external/libchrome/mojo/public/cpp/bindings/
Dinterface_ptr_set.h37 std::forward_as_tuple(weak_interface_ptr->GetWeakPtr())); in AddPtr()
110 base::WeakPtr<Element> GetWeakPtr() { in GetWeakPtr() function
111 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
/external/perfetto/src/perfetto_cmd/
Dtrigger_producer.cc41 auto weak_this = weak_factory_.GetWeakPtr(); in TriggerProducer()
58 auto weak_this = weak_factory_.GetWeakPtr(); in OnConnect()
/external/perfetto/src/profiling/perf/
Dperf_producer.cc249 auto weak_this = weak_factory_.GetWeakPtr(); in StartDataSource()
369 auto weak_this = weak_factory_.GetWeakPtr(); in TickDataSourceRead()
388 auto weak_this = weak_factory_.GetWeakPtr(); in ReadAndParsePerCpuBuffer()
507 auto weak_this = weak_factory_.GetWeakPtr(); in InitiateDescriptorLookup()
521 auto weak_this = weak_factory_.GetWeakPtr(); in StartDescriptorLookup()
559 auto weak_this = weak_factory_.GetWeakPtr(); in PostEmitSample()
633 auto weak_this = weak_factory_.GetWeakPtr(); in PostEmitSkippedSample()
684 auto weak_producer = weak_factory_.GetWeakPtr(); in PostFinishDataSourceStop()
775 auto weak_producer = weak_factory_.GetWeakPtr(); in OnDisconnect()
/external/perfetto/src/base/
Dweak_ptr_unittest.cc33 WeakPtr<WeakClass> weak_ptr1 = owned_instance->weak_factory.GetWeakPtr(); in TEST()
35 weak_ptr2 = owned_instance->weak_factory.GetWeakPtr(); in TEST()
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc184 auto weak_producer = weak_factory_.GetWeakPtr(); in OnDisconnect()
262 auto weak_producer = weak_factory_.GetWeakPtr(); in ScheduleActiveDataSourceWatchdog()
284 auto weak_producer = weak_factory_.GetWeakPtr(); in ActiveDataSourceWatchdogCheck()
508 auto weak_producer = weak_factory_.GetWeakPtr(); in StartDataSource()
569 auto weak_producer = weak_factory_.GetWeakPtr(); in ShutdownDataSource()
592 auto weak_producer = weak_factory_.GetWeakPtr(); in DoContinuousDump()
711 auto weak_producer = weak_factory_.GetWeakPtr(); in Flush()
906 auto weak_this = weak_factory_.GetWeakPtr(); in PostAllocRecord()
917 auto weak_this = weak_factory_.GetWeakPtr(); in PostFreeRecord()
928 auto weak_this = weak_factory_.GetWeakPtr(); in PostSocketDisconnected()
[all …]
Djava_hprof_producer.cc43 auto weak_producer = weak_factory_.GetWeakPtr(); in DoContinuousDump()
111 auto weak_producer = weak_factory_.GetWeakPtr(); in StartDataSource()
189 auto weak_producer = weak_factory_.GetWeakPtr(); in OnDisconnect()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsequence_local_sync_event_watcher.cc79 return state_ptr->weak_ptr_factory_.GetWeakPtr(); in GetOrCreate()
160 auto weak_self = weak_ptr_factory_.GetWeakPtr(); in SyncWatch()
212 auto weak_self = weak_ptr_factory_.GetWeakPtr(); in OnEventSignaled()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.h78 base::WeakPtr<FtraceController> GetWeakPtr() { in GetWeakPtr() function
79 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc394 auto weak_ptr = endpoint->GetWeakPtr(); in ConnectConsumer()
721 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in EnableTracing()
920 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in StartTracing()
946 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in StartTracing()
1065 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in DisableTracing()
1211 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in ActivateTriggers()
1359 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Flush()
1379 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in NotifyFlushDoneForProducer()
1549 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in FlushAndDisableTracing()
1578 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in PeriodicFlushTask()
[all …]
Dshared_memory_arbiter_impl.cc263 weak_this = weak_ptr_factory_.GetWeakPtr(); in UpdateCommitDataRequest()
354 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in FlushPendingCommitDataRequests()
479 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in AbortStartupTracingForReservation()
596 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in NotifyFlushComplete()
647 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in CreateTraceWriterInternal()
683 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in ReleaseWriterID()
/external/libchrome/dbus/
Dobject_manager.cc48 weak_ptr_factory_.GetWeakPtr())); in ObjectManager()
147 weak_ptr_factory_.GetWeakPtr())); in GetManagedObjects()
228 weak_ptr_factory_.GetWeakPtr()), in OnSetupMatchRuleAndFilterComplete()
230 weak_ptr_factory_.GetWeakPtr())); in OnSetupMatchRuleAndFilterComplete()
236 weak_ptr_factory_.GetWeakPtr()), in OnSetupMatchRuleAndFilterComplete()
238 weak_ptr_factory_.GetWeakPtr())); in OnSetupMatchRuleAndFilterComplete()
/external/perfetto/src/tracing/ipc/consumer/
Dconsumer_ipc_client_impl.cc52 ipc_channel_->BindService(consumer_port_.GetWeakPtr()); in ConsumerIPCClientImpl()
79 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in EnableTracing()
227 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Detach()
247 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in Attach()
345 auto weak_this = weak_ptr_factory_.GetWeakPtr(); in QueryServiceState()
/external/perfetto/src/traced/probes/filesystem/
Dinode_file_data_source.cc253 auto weak_this = GetWeakPtr(); in OnInodes()
356 auto weak_this = GetWeakPtr(); in OnInodeScanDone()
395 auto weak_this = GetWeakPtr(); in FindMissingInodes()
403 base::WeakPtr<InodeFileDataSource> InodeFileDataSource::GetWeakPtr() const { in GetWeakPtr() function in perfetto::InodeFileDataSource
404 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
/external/libchrome/base/task/sequence_manager/
Dthread_controller_impl.cc30 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()
Dwork_queue_unittest.cc441 2, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
443 3, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
445 4, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
459 2, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
461 3, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
463 4, cancelable.weak_ptr_factory.GetWeakPtr())); in TEST_F()
/external/libchrome/base/
Dcancelable_callback.h108 *out = BindRepeating(forwarder, weak_ptr_factory_.GetWeakPtr()); in MakeForwarder()
115 *out = BindOnce(forwarder, weak_ptr_factory_.GetWeakPtr()); in MakeForwarder()
Dbind_unittest.cc473 weak_factory.GetWeakPtr()); in TEST_F()
478 weak_factory.GetWeakPtr()); in TEST_F()
509 weak_factory.GetWeakPtr()); in TEST_F()
512 weak_factory.GetWeakPtr()); in TEST_F()
600 BindRepeating(&NoRef::VoidMethod0, weak_factory.GetWeakPtr()); in TEST_F()
604 BindRepeating(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr()); in TEST_F()
608 BindRepeating(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr()); in TEST_F()
612 BindRepeating(&FunctionWithWeakFirstParam, weak_factory.GetWeakPtr()); in TEST_F()
631 BindOnce(&NoRef::VoidMethod0, weak_factory.GetWeakPtr()); in TEST_F()
633 BindOnce(&NoRef::VoidConstMethod0, const_weak_factory.GetWeakPtr()); in TEST_F()
[all …]
/external/libchrome/mojo/public/cpp/system/
Dsimple_watcher.cc161 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()

1234