Home
last modified time | relevance | path

Searched defs:auto_lock (Results 1 – 25 of 41) sorted by relevance

12

/external/libchrome/base/test/
Dtest_simple_task_runner.cc22 AutoLock auto_lock(lock_); in PostDelayedTask() local
32 AutoLock auto_lock(lock_); in PostNonNestableDelayedTask() local
47 AutoLock auto_lock(lock_); in TakePendingTasks() local
52 AutoLock auto_lock(lock_); in NumPendingTasks() local
57 AutoLock auto_lock(lock_); in HasPendingTask() local
62 AutoLock auto_lock(lock_); in NextPendingTaskDelay() local
67 AutoLock auto_lock(lock_); in FinalPendingTaskDelay() local
72 AutoLock auto_lock(lock_); in ClearPendingTasks() local
82 AutoLock auto_lock(lock_); in RunPendingTasks() local
Dscoped_task_environment.cc296 AutoLock auto_lock(lock_); in AllowRunTasks() local
302 AutoLock auto_lock(lock_); in DisallowRunTasks() local
322 AutoLock auto_lock(lock_); in RunOrSkipTask() local
334 AutoLock auto_lock(lock_); in RunOrSkipTask() local
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_impl.cc210 AutoSchedulerLock auto_lock(lock_); in Start() local
277 AutoSchedulerLock auto_lock(lock_); in GetMaxConcurrentNonBlockedTasksDeprecated() local
286 AutoSchedulerLock auto_lock(lock_); in WaitForWorkersIdleForTesting() local
299 AutoSchedulerLock auto_lock(lock_); in WaitForAllWorkersIdleForTesting() local
304 AutoSchedulerLock auto_lock(lock_); in WaitForWorkersCleanedUpForTesting() local
322 AutoSchedulerLock auto_lock(lock_); in JoinForTesting() local
338 AutoSchedulerLock auto_lock(lock_); in JoinForTesting() local
345 AutoSchedulerLock auto_lock(lock_); in NumberOfWorkersForTesting() local
350 AutoSchedulerLock auto_lock(lock_); in GetMaxTasksForTesting() local
355 AutoSchedulerLock auto_lock(lock_); in NumberOfIdleWorkersForTesting() local
[all …]
Dsequence.cc24 AutoSchedulerLock auto_lock(lock_); in PushTask() local
33 AutoSchedulerLock auto_lock(lock_); in TakeTask() local
45 AutoSchedulerLock auto_lock(lock_); in Pop() local
57 AutoSchedulerLock auto_lock(lock_); in GetSortKey() local
Dscheduler_worker.cc65 AutoSchedulerLock auto_lock(thread_lock_); in Start() local
104 AutoSchedulerLock auto_lock(thread_lock_); in JoinForTesting() local
115 AutoSchedulerLock auto_lock(thread_lock_); in ThreadAliveForTesting() local
120 AutoSchedulerLock auto_lock(thread_lock_); in ~SchedulerWorker() local
136 AutoSchedulerLock auto_lock(thread_lock_); in BeginUnusedPeriod() local
142 AutoSchedulerLock auto_lock(thread_lock_); in EndUnusedPeriod() local
148 AutoSchedulerLock auto_lock(thread_lock_); in GetLastUsedTime() local
Dtask_tracker.cc312 AutoSchedulerLock auto_lock(flush_lock_); in Shutdown() local
319 AutoSchedulerLock auto_lock(flush_lock_); in FlushForTesting() local
329 AutoSchedulerLock auto_lock(flush_lock_); in FlushAsyncForTesting() local
375 AutoSchedulerLock auto_lock(background_lock_); in WillScheduleSequence() local
433 AutoSchedulerLock auto_lock(shutdown_lock_); in IsShutdownComplete() local
438 AutoSchedulerLock auto_lock(shutdown_lock_); in SetHasShutdownStartedForTesting() local
544 AutoSchedulerLock auto_lock(shutdown_lock_); in PerformShutdown() local
583 AutoSchedulerLock auto_lock(shutdown_lock_); in PerformShutdown() local
602 AutoSchedulerLock auto_lock(background_lock_); in SetMaxNumScheduledBackgroundSequences() local
662 AutoSchedulerLock auto_lock(shutdown_lock_); in BeforePostTask() local
[all …]
Dtest_task_factory.cc37 AutoLock auto_lock(lock_); in PostTask() local
45 AutoLock auto_lock(lock_); in WaitForAllTasksToRun() local
80 AutoLock auto_lock(lock_); in RunTaskCallback() local
Dscheduler_worker_unittest.cc106 AutoSchedulerLock auto_lock(lock_); in WaitForNumGetWork() local
112 AutoSchedulerLock auto_lock(lock_); in SetMaxGetWork() local
117 AutoSchedulerLock auto_lock(lock_); in SetNumSequencesToCreate() local
123 AutoSchedulerLock auto_lock(lock_); in NumRunTasks() local
128 AutoSchedulerLock auto_lock(lock_); in CreatedSequences() local
133 AutoSchedulerLock auto_lock(lock_); in EnqueuedSequences() local
157 AutoSchedulerLock auto_lock(outer_->lock_); in OnMainEntry() local
167 AutoSchedulerLock auto_lock(outer_->lock_); in GetWork() local
197 AutoSchedulerLock auto_lock(outer_->lock_); in GetWork() local
208 AutoSchedulerLock auto_lock(expect_did_run_task_lock_); in DidRunTask() local
[all …]
Dscheduler_single_thread_task_runner_manager.cc105 AutoSchedulerLock auto_lock(sequence_lock_); in GetWork() local
114 AutoSchedulerLock auto_lock(sequence_lock_); in ReEnqueueSequence() local
139 AutoSchedulerLock auto_lock(sequence_lock_); in OnMainExit() local
151 AutoSchedulerLock auto_lock(sequence_lock_); in sequence() local
420 AutoSchedulerLock auto_lock(lock_); in Start() local
486 AutoSchedulerLock auto_lock(lock_); in CreateTaskRunnerWithTraitsImpl() local
514 AutoSchedulerLock auto_lock(lock_); in JoinForTesting() local
522 AutoSchedulerLock auto_lock(lock_); in JoinForTesting() local
605 AutoSchedulerLock auto_lock(lock_); in UnregisterSchedulerWorker() local
629 AutoSchedulerLock auto_lock(lock_); in ReleaseSharedSchedulerWorkers() local
Dscheduler_lock_impl.cc30 AutoLock auto_lock(allowed_predecessor_map_lock_); in RegisterLock() local
36 AutoLock auto_lock(allowed_predecessor_map_lock_); in UnregisterLock() local
69 AutoLock auto_lock(allowed_predecessor_map_lock_); in AssertSafeAcquire() local
Ddelayed_task_manager.cc32 AutoSchedulerLock auto_lock(lock_); in Start() local
70 AutoSchedulerLock auto_lock(lock_); in AddDelayedTask() local
Dlazy_task_runner.cc110 internal::AutoSchedulerLock auto_lock(lock_); in ~ScopedLazyTaskRunnerListForTesting() local
117 internal::AutoSchedulerLock auto_lock(lock_); in AddCallback() local
/external/libchrome/ipc/
Dipc_sync_message_filter.cc33 base::AutoLock auto_lock(lock_); in Send() local
54 base::AutoLock auto_lock(lock_); in Send() local
92 base::AutoLock auto_lock(lock_); in Send() local
103 base::AutoLock auto_lock(lock_); in OnFilterAdded() local
114 base::AutoLock auto_lock(lock_); in OnChannelError() local
120 base::AutoLock auto_lock(lock_); in OnChannelClosing() local
126 base::AutoLock auto_lock(lock_); in OnMessageReceived() local
161 base::AutoLock auto_lock(lock_); in SendOnIOThread() local
182 base::AutoLock auto_lock(lock_); in GetGenericRemoteAssociatedInterface() local
Dipc_sync_channel.cc161 base::AutoLock auto_lock(message_lock_); in QueueMessage() local
188 base::AutoLock auto_lock(message_lock_); in DispatchMessagesTask() local
207 base::AutoLock auto_lock(message_lock_); in DispatchMessages() local
237 base::AutoLock auto_lock(message_lock_); in RemoveContext() local
390 base::AutoLock auto_lock(deserializers_lock_); in Push() local
404 base::AutoLock auto_lock(deserializers_lock_); in Pop() local
426 base::AutoLock auto_lock(deserializers_lock_); in GetSendDoneEvent() local
439 base::AutoLock auto_lock(deserializers_lock_); in TryToUnblockListener() local
513 base::AutoLock auto_lock(deserializers_lock_); in CancelPendingSends() local
/external/libchrome/base/synchronization/
Dcondition_variable_unittest.cc201 AutoLock auto_lock(*lock); in BackInTime() local
266 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
277 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
303 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
326 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
347 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
368 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
387 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
416 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
426 base::AutoLock auto_lock(*queue.lock()); in TEST_F() local
[all …]
/external/libchrome/base/metrics/
Dstatistics_recorder.cc54 const AutoLock auto_lock(lock_.Get()); in ~StatisticsRecorder() local
74 const AutoLock auto_lock(lock_.Get()); in RegisterHistogramProvider() local
84 const AutoLock auto_lock(lock_.Get()); in RegisterOrDeleteDuplicate() local
124 const AutoLock auto_lock(lock_.Get()); in RegisterOrDeleteDuplicateRanges() local
180 const AutoLock auto_lock(lock_.Get()); in GetBucketRanges() local
194 const AutoLock auto_lock(lock_.Get()); in FindHistogram() local
204 const AutoLock auto_lock(lock_.Get()); in GetHistogramProviders() local
235 const AutoLock auto_lock(lock_.Get()); in InitLogOnShutdown() local
244 const AutoLock auto_lock(lock_.Get()); in SetCallback() local
259 const AutoLock auto_lock(lock_.Get()); in ClearCallback() local
[all …]
Dsparse_histogram.cc116 base::AutoLock auto_lock(lock_); in AddCount() local
126 base::AutoLock auto_lock(lock_); in SnapshotSamples() local
136 base::AutoLock auto_lock(lock_); in SnapshotDelta() local
149 base::AutoLock auto_lock(lock_); in SnapshotFinalDelta() local
156 base::AutoLock auto_lock(lock_); in AddSamples() local
161 base::AutoLock auto_lock(lock_); in AddSamplesFromPickle() local
Dfield_trial.cc510 AutoLock auto_lock(lock_); in ~FieldTrialList() local
605 AutoLock auto_lock(global_->lock_); in Find() local
659 AutoLock auto_lock(global_->lock_); in AllStatesToString() local
728 AutoLock auto_lock(global_->lock_); in GetActiveFieldTrialGroups() local
1018 AutoLock auto_lock(global_->lock_); in OnGroupFinalized() local
1030 AutoLock auto_lock(global_->lock_); in NotifyFieldTrialGroupSelection() local
1065 AutoLock auto_lock(global_->lock_); in GetFieldTrialCount() local
1085 AutoLock auto_lock(global_->lock_); in GetParamsFromSharedMemory() local
1111 AutoLock auto_lock(global_->lock_); in ClearParamsFromSharedMemoryForTesting() local
1176 AutoLock auto_lock(global_->lock_); in DumpAllFieldTrialsToPersistentAllocator() local
[all …]
/external/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_pulse_linux.cc216 AutoPulseLock auto_lock(_paMainloop); in SetSpeakerVolume() local
267 AutoPulseLock auto_lock(_paMainloop); in SpeakerVolume() local
270 AutoPulseLock auto_lock(_paMainloop); in SpeakerVolume() local
347 AutoPulseLock auto_lock(_paMainloop); in SetSpeakerMute() local
406 AutoPulseLock auto_lock(_paMainloop); in StereoPlayoutIsAvailable() local
435 AutoPulseLock auto_lock(_paMainloop); in StereoRecordingIsAvailable() local
494 AutoPulseLock auto_lock(_paMainloop); in SetMicrophoneMute() local
534 AutoPulseLock auto_lock(_paMainloop); in MicrophoneMute() local
590 AutoPulseLock auto_lock(_paMainloop); in SetMicrophoneVolume() local
643 AutoPulseLock auto_lock(_paMainloop); in MicrophoneVolume() local
[all …]
/external/libchrome/base/threading/
Dthread_checker_impl.cc12 AutoLock auto_lock(lock_); in ThreadCheckerImpl() local
19 AutoLock auto_lock(lock_); in CalledOnValidThread() local
41 AutoLock auto_lock(lock_); in DetachFromThread() local
Dthread_collision_warner_unittest.cc273 base::AutoLock auto_lock(*lock_); in TEST() local
277 base::AutoLock auto_lock(*lock_); in TEST() local
346 base::AutoLock auto_lock(*lock_); in TEST() local
350 base::AutoLock auto_lock(*lock_); in TEST() local
354 base::AutoLock auto_lock(*lock_); in TEST() local
Dthread_local_storage.cc235 base::AutoLock auto_lock(*GetTLSMetadataLock()); in OnThreadExitInternal() local
336 base::AutoLock auto_lock(*GetTLSMetadataLock()); in Initialize() local
364 base::AutoLock auto_lock(*GetTLSMetadataLock()); in Free() local
/external/libchrome/base/
Dsequence_checker_impl.cc40 AutoLock auto_lock(lock_); in CalledOnValidSequence() local
47 AutoLock auto_lock(lock_); in DetachFromSequence() local
/external/libchrome/base/power_monitor/
Dpower_monitor_source.cc16 AutoLock auto_lock(battery_lock_); in IsOnBatteryPower() local
36 AutoLock auto_lock(source->battery_lock_); in ProcessPowerEvent() local
/external/libchrome/base/trace_event/
Dmalloc_dump_provider.cc81 base::AutoLock auto_lock(emit_metrics_on_memory_dump_lock_); in OnMemoryDump() local
179 base::AutoLock auto_lock(emit_metrics_on_memory_dump_lock_); in EnableMetrics() local
184 base::AutoLock auto_lock(emit_metrics_on_memory_dump_lock_); in DisableMetrics() local

12