Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 53) sorted by relevance

123

/system/connectivity/dhcp_client/
Dmessage_loop_event_dispatcher.cc28 bool MessageLoopEventDispatcher::PostTask(const base::Closure& task) { in PostTask() argument
31 base::MessageLoop::current()->PostTask(FROM_HERE, task); in PostTask()
35 bool MessageLoopEventDispatcher::PostDelayedTask(const base::Closure& task, in PostDelayedTask() argument
40 FROM_HERE, task, base::TimeDelta::FromMilliseconds(delay_ms)); in PostDelayedTask()
Devent_dispatcher_interface.h29 virtual bool PostTask(const base::Closure& task) = 0;
30 virtual bool PostDelayedTask(const base::Closure& task,
Dmessage_loop_event_dispatcher.h34 bool PostTask(const base::Closure& task) override;
35 bool PostDelayedTask(const base::Closure& task,
/system/tpm/trunks/
Dbackground_command_transceiver.cc42 base::Closure task = base::Bind(callback, response); in PostCallbackToTaskRunner() local
43 task_runner->PostTask(FROM_HERE, task); in PostCallbackToTaskRunner()
69 base::Closure task = base::Bind( in SendCommand() local
74 task_runner_->PostNonNestableTask(FROM_HERE, task); in SendCommand()
90 base::Closure task = base::Bind( in SendCommandAndWait() local
95 task_runner_->PostNonNestableTask(FROM_HERE, task); in SendCommandAndWait()
/system/connectivity/apmanager/
Devent_dispatcher.cc39 bool EventDispatcher::PostTask(const base::Closure& task) { in PostTask() argument
42 base::MessageLoop::current()->PostTask(FROM_HERE, task); in PostTask()
46 bool EventDispatcher::PostDelayedTask(const base::Closure& task, in PostDelayedTask() argument
51 FROM_HERE, task, base::TimeDelta::FromMilliseconds(delay_ms)); in PostDelayedTask()
Dmock_event_dispatcher.h31 MOCK_METHOD1(PostTask, bool(const base::Closure& task));
32 MOCK_METHOD2(PostDelayedTask, bool(const base::Closure& task,
Devent_dispatcher.h35 virtual bool PostTask(const base::Closure& task);
36 virtual bool PostDelayedTask(const base::Closure& task,
/system/tpm/tpm_manager/client/
Dmain.cc128 base::Closure task; in ScheduleCommand() local
133 task = base::Bind(&ClientLoop::HandleGetTpmStatus, in ScheduleCommand()
136 task = base::Bind(&ClientLoop::HandleTakeOwnership, in ScheduleCommand()
139 task = base::Bind( in ScheduleCommand()
149 task = base::Bind( in ScheduleCommand()
159 task = base::Bind( in ScheduleCommand()
169 task = base::Bind( in ScheduleCommand()
179 task = base::Bind( in ScheduleCommand()
188 task = base::Bind( in ScheduleCommand()
197 task = base::Bind( in ScheduleCommand()
[all …]
/system/connectivity/shill/
Devent_dispatcher.cc47 void EventDispatcher::PostTask(const Closure& task) { in PostTask() argument
48 base::MessageLoop::current()->PostTask(FROM_HERE, task); in PostTask()
51 void EventDispatcher::PostDelayedTask(const Closure& task, int64_t delay_ms) { in PostDelayedTask() argument
53 FROM_HERE, task, base::TimeDelta::FromMilliseconds(delay_ms)); in PostDelayedTask()
Dppp_daemon_unittest.cc88 std::unique_ptr<ExternalTask> task(Start(options, "eth0", &error)); in TEST_F() local
111 std::unique_ptr<ExternalTask> task(Start(options, "eth0", &error)); in TEST_F() local
129 std::unique_ptr<ExternalTask> task(Start(options, "eth0", &error)); in TEST_F() local
132 EXPECT_EQ(task.get(), nullptr); in TEST_F()
Dppp_daemon.cc89 std::unique_ptr<ExternalTask> task(new ExternalTask( in Start() local
93 if (task->Start(base::FilePath(kDaemonPath), arguments, environment, true, in Start()
95 return task; in Start()
Dmock_event_dispatcher.h34 MOCK_METHOD1(PostTask, void(const base::Closure& task));
35 MOCK_METHOD2(PostDelayedTask, void(const base::Closure& task,
Devent_dispatcher.h51 virtual void PostTask(const base::Closure& task);
52 virtual void PostDelayedTask(const base::Closure& task, int64_t delay_ms);
Dexternal_task.cc115 void ExternalTask::Destroy(ExternalTask* task) { in Destroy() argument
116 delete task; in Destroy()
/system/tpm/attestation/client/
Dmain.cc125 base::Closure task; in ScheduleCommand() local
133 task = base::Bind(&ClientLoop::CallCreateGoogleAttestedKey, in ScheduleCommand()
147 task = base::Bind(&ClientLoop::CallCreateCertifiableKey, in ScheduleCommand()
153 task = base::Bind(&ClientLoop::CallGetKeyInfo, in ScheduleCommand()
158 task = base::Bind(&ClientLoop::CallGetEndorsementInfo, in ScheduleCommand()
161 task = base::Bind(&ClientLoop::CallGetAttestationKeyInfo, in ScheduleCommand()
173 task = base::Bind(&ClientLoop::CallActivateAttestationKey, in ScheduleCommand()
187 task = base::Bind(&ClientLoop::EncryptForActivate, in ScheduleCommand()
201 task = base::Bind(&ClientLoop::Encrypt, in ScheduleCommand()
216 task = base::Bind(&ClientLoop::CallDecrypt, in ScheduleCommand()
[all …]
/system/bt/vendor_libs/test_vendor_lib/src/
Dvendor_manager.cc124 bool VendorManager::PostTask(const base::Closure& task) { in PostTask() argument
125 return PostDelayedTask(task, base::TimeDelta::FromMilliseconds(0)); in PostTask()
128 bool VendorManager::PostDelayedTask(const base::Closure& task, in PostDelayedTask() argument
130 return thread_.task_runner()->PostDelayedTask(FROM_HERE, task, delay); in PostDelayedTask()
/system/connectivity/shill/dbus/
Dchromeos_rpc_task_dbus_adaptor.cc44 RPCTask* task) in ChromeosRPCTaskDBusAdaptor() argument
46 ChromeosDBusAdaptor(bus, kPath + task->UniqueName()), in ChromeosRPCTaskDBusAdaptor()
47 task_(task), in ChromeosRPCTaskDBusAdaptor()
/system/bt/vendor_libs/test_vendor_lib/include/
Dvendor_manager.h73 bool PostTask(const base::Closure& task);
76 bool PostDelayedTask(const base::Closure& task, base::TimeDelta delay);
/system/tpm/attestation/server/
Dattestation_service.cc85 base::Closure task = base::Bind( in CreateGoogleAttestedKey() local
95 worker_thread_->task_runner()->PostTaskAndReply(FROM_HERE, task, reply); in CreateGoogleAttestedKey()
178 base::Closure task = base::Bind( in GetKeyInfo() local
188 worker_thread_->task_runner()->PostTaskAndReply(FROM_HERE, task, reply); in GetKeyInfo()
222 base::Closure task = base::Bind( in GetEndorsementInfo() local
232 worker_thread_->task_runner()->PostTaskAndReply(FROM_HERE, task, reply); in GetEndorsementInfo()
273 base::Closure task = base::Bind( in GetAttestationKeyInfo() local
283 worker_thread_->task_runner()->PostTaskAndReply(FROM_HERE, task, reply); in GetAttestationKeyInfo()
330 base::Closure task = base::Bind( in ActivateAttestationKey() local
340 worker_thread_->task_runner()->PostTaskAndReply(FROM_HERE, task, reply); in ActivateAttestationKey()
[all …]
/system/sepolicy/
Dfs_use12 # Label inodes from task label.
16 # Label inodes from combination of task label and fs label.
/system/connectivity/shill/init/
Dshill-stop-user-session.conf24 task
Dshill-start-user-session.conf23 task
Dnetwork-services.conf.in20 # The shill task and iptables will start when this task is started.
/system/tpm/tpm_manager/server/
Dtpm_manager_service.cc42 base::Closure task = base::Bind(&TpmManagerService::InitializeTask, in Initialize() local
44 worker_thread_->task_runner()->PostNonNestableTask(FROM_HERE, task); in Initialize()
294 TaskType task) { in PostTaskToWorkerThread() argument
296 base::Closure background_task = base::Bind(task, in PostTaskToWorkerThread()
/system/tools/aidl/
Dmain_java.cpp36 switch (options->task) { in main()

123