Home
last modified time | relevance | path

Searched refs:Run (Results 1 – 25 of 241) sorted by relevance

12345678910

/system/extras/simpleperf/
Dcmd_stat_test.cpp30 ASSERT_TRUE(StatCmd()->Run({"sleep", "1"})); in TEST()
34 ASSERT_TRUE(StatCmd()->Run({"-e", "cpu-clock,task-clock", "sleep", "1"})); in TEST()
39 ASSERT_TRUE(StatCmd()->Run({"-a", "sleep", "1"})); in TEST()
44 ASSERT_TRUE(StatCmd()->Run({"--verbose", "sleep", "1"})); in TEST()
49 ASSERT_TRUE(StatCmd()->Run({"-a", "-e", "sched:sched_switch", "sleep", "1"})); in TEST()
54 ASSERT_TRUE(StatCmd()->Run({"-e", "cpu-cycles:u,cpu-cycles:k", "sleep", "1"})); in TEST()
73 ASSERT_TRUE(StatCmd()->Run({"-p", pid_list, "sleep", "1"})); in TEST()
82 ASSERT_TRUE(StatCmd()->Run({"-t", tid_list, "sleep", "1"})); in TEST()
86 ASSERT_FALSE(StatCmd()->Run({""})); in TEST()
90 ASSERT_TRUE(StatCmd()->Run({"--cpu", "0", "sleep", "1"})); in TEST()
[all …]
Dcmd_list_test.cpp32 ASSERT_TRUE(list_cmd->Run({})); in TEST_F()
36 ASSERT_TRUE(list_cmd->Run({"sw"})); in TEST_F()
40 ASSERT_TRUE(list_cmd->Run({"hw", "tracepoint"})); in TEST_F()
/system/tpm/attestation/server/
Dattestation_service_test.cc119 void Run() { in Run() function in attestation::AttestationServiceTest
120 run_loop_.Run(); in Run()
212 Run(); in TEST_F()
226 Run(); in TEST_F()
239 Run(); in TEST_F()
252 Run(); in TEST_F()
265 Run(); in TEST_F()
278 Run(); in TEST_F()
291 Run(); in TEST_F()
305 Run(); in TEST_F()
[all …]
/system/tpm/attestation/client/
Ddbus_proxy.cc57 callback.Run(reply); in CreateGoogleAttestedKey()
74 callback.Run(reply); in GetKeyInfo()
91 callback.Run(reply); in GetEndorsementInfo()
109 callback.Run(reply); in GetAttestationKeyInfo()
127 callback.Run(reply); in ActivateAttestationKey()
145 callback.Run(reply); in CreateCertifiableKey()
162 callback.Run(reply); in Decrypt()
178 callback.Run(reply); in Sign()
196 callback.Run(reply); in RegisterKeyWithChapsToken()
/system/connectivity/shill/dbus/
Dchromeos_modem_gsm_network_proxy.cc162 signal_quality_callback_.Run(quality); in SignalQuality()
172 registration_info_callback_.Run(status, operator_code, operator_name); in RegistrationInfo()
180 network_mode_callback_.Run(mode); in NetworkMode()
186 callback.Run(Error()); in OnRegisterSuccess()
194 callback.Run(error); in OnRegisterFailure()
201 callback.Run( in OnGetRegistrationInfoSuccess()
211 callback.Run(0, "", "", error); in OnGetRegistrationInfoFailure()
217 callback.Run(quality, Error()); in OnGetSignalQualitySuccess()
225 callback.Run(0, error); in OnGetSignalQualityFailure()
231 callback.Run(results, Error()); in OnScanSuccess()
[all …]
Dchromeos_modem_proxy.cc93 state_changed_callback_.Run(old, _new, reason); in StateChanged()
98 callback.Run(Error()); in OnEnableSuccess()
106 callback.Run(error); in OnEnableFailure()
112 callback.Run( in OnGetInfoSuccess()
121 callback.Run("", "", "", error); in OnGetInfoFailure()
126 callback.Run(Error()); in OnDisconnectSuccess()
134 callback.Run(error); in OnDisconnectFailure()
Dchromeos_modem_cdma_proxy.cc152 activation_state_callback_.Run(activation_state, in ActivationStateChanged()
162 signal_quality_callback_.Run(quality); in SignalQuality()
173 registration_state_callback_.Run(cdma_1x_state, evdo_state); in RegistrationStateChanged()
179 callback.Run(status, Error()); in OnActivateSuccess()
187 callback.Run(0, error); in OnActivateFailure()
196 callback.Run(state_1x, state_evdo, Error()); in OnGetRegistrationStateSuccess()
204 callback.Run(0, 0, error); in OnGetRegistrationStateFailure()
210 callback.Run(quality, Error()); in OnGetSignalQualitySuccess()
218 callback.Run(0, error); in OnGetSignalQualityFailure()
Dchromeos_mm1_modem_simple_proxy.cc93 callback.Run(path.value(), Error()); in OnConnectSuccess()
101 callback.Run("", error); in OnConnectFailure()
107 callback.Run(Error()); in OnDisconnectSuccess()
115 callback.Run(error); in OnDisconnectFailure()
124 callback.Run(status_store, Error()); in OnGetStatusSuccess()
132 callback.Run(KeyValueStore(), error); in OnGetStatusFailure()
Dchromeos_mm1_modem_modem3gpp_proxy.cc75 callback.Run(Error()); in OnRegisterSuccess()
83 callback.Run(error); in OnRegisterFailure()
96 callback.Run(result_stores, Error()); in OnScanSuccess()
104 callback.Run(std::vector<KeyValueStore>(), error); in OnScanFailure()
Dchromeos_modem_simple_proxy.cc81 callback.Run(props_store, Error()); in OnGetStatusSuccess()
89 callback.Run(KeyValueStore(), error); in OnGetStatusFailure()
95 callback.Run(Error()); in OnConnectSuccess()
103 callback.Run(error); in OnConnectFailure()
Dchromeos_mm1_modem_proxy.cc225 state_changed_callback_.Run(old, _new, reason); in StateChanged()
231 callback.Run(path.value(), Error()); in OnCreateBearerSuccess()
239 callback.Run("", error); in OnCreateBearerFailure()
245 callback.Run(response, Error()); in OnCommandSuccess()
253 callback.Run("", error); in OnCommandFailure()
259 callback.Run(Error()); in OnOperationSuccess()
268 callback.Run(error); in OnOperationFailure()
/system/connectivity/shill/
Dhook_table.cc72 done_callback_.Run(Error(Error::kSuccess)); in ActionComplete()
77 void HookTable::Run(int timeout_ms, const ResultCallback& done) { in Run() function in shill::HookTable
80 done.Run(Error(Error::kSuccess)); in Run()
105 callback.Run(); in Run()
121 done_callback_.Run(Error(Error::kOperationTimeout)); in ActionsTimedOut()
Dhook_table_unittest.cc72 hook_table_.Run(0, done_callback); in TEST_F()
102 hook_table_.Run(0, done_callback); in TEST_F()
118 hook_table_.Run(0, done_callback); in TEST_F()
135 hook_table_.Run(kTimeout, done_callback); in TEST_F()
163 hook_table_.Run(kTimeout, done_callback); in TEST_F()
181 hook_table_.Run(kTimeout, done_callback); in TEST_F()
204 hook_table_.Run(0, done_callback); in TEST_F()
220 hook_table_.Run(0, done_callback); in TEST_F()
269 hook_table_.Run(0, done_callback); in TEST_F()
Dcrypto_util_proxy.cc263 handler.Run(output, result); in OnShimDeath()
333 result_handler.Run(error, false); in HandleVerifyResult()
341 result_handler.Run(e, false); in HandleVerifyResult()
345 result_handler.Run(e, ParseResponseReturnCode(response.ret(), &e)); in HandleVerifyResult()
380 result_handler.Run(error, ""); in HandleEncryptResult()
388 result_handler.Run(e, ""); in HandleEncryptResult()
393 result_handler.Run(e, ""); in HandleEncryptResult()
401 result_handler.Run(e, ""); in HandleEncryptResult()
407 result_handler.Run(e, encoded_data); in HandleEncryptResult()
/system/connectivity/shill/test-scripts/
Dstability60 def Run(self): member in PeriodicExperiment
77 def Run(self): member in ManualExperiment
92 def Run(self, remaining): member in IperfTest
146 e = ManualExperiment(test_function=iperf.Run)
151 test_function=iperf.Run)
152 e.Run()
/system/tpm/tpm_manager/server/
Dtpm_manager_service_test.cc60 void Run() { in Run() function in tpm_manager::TpmManagerServiceTest
61 run_loop_.Run(); in Run()
72 Run(); in RunServiceWorkerAndQuit()
138 Run(); in TEST_F()
174 Run(); in TEST_F()
193 Run(); in TEST_F()
213 Run(); in TEST_F()
225 Run(); in TEST_F()
237 Run(); in TEST_F()
248 Run(); in TEST_F()
[all …]
Ddbus_service_test.cc98 callback.Run(reply); in TEST_F()
119 callback.Run(reply); in TEST_F()
139 callback.Run(reply); in TEST_F()
160 callback.Run(reply); in TEST_F()
186 callback.Run(reply); in TEST_F()
205 callback.Run(reply); in TEST_F()
228 callback.Run(reply); in TEST_F()
249 callback.Run(reply); in TEST_F()
272 callback.Run(reply); in TEST_F()
295 callback.Run(reply); in TEST_F()
[all …]
/system/core/metricsd/uploader/
Dmetricsd_service_runner.cc33 thread_.reset(new std::thread(&MetricsdServiceRunner::Run, this)); in Start()
36 void MetricsdServiceRunner::Run() { in Run() function in MetricsdServiceRunner
50 message_loop_->Run(); in Run()
/system/connectivity/shill/cellular/
Dcellular_capability_gsm.cc336 callback.Run(error); in OnConnectReply()
353 callback.Run(error); in GetIMEI()
356 callback.Run(error); in GetIMEI()
372 callback.Run(error); in GetIMSI()
376 callback.Run(error); in GetIMSI()
391 callback.Run(error); in GetSPN()
394 callback.Run(error); in GetSPN()
410 callback.Run(error); in GetMSISDN()
413 callback.Run(error); in GetMSISDN()
446 callback.Run(Error()); in GetProperties()
[all …]
Dcellular_capability_classic.cc127 callback.Run(Error()); in FinishEnable()
142 callback.Run(Error()); in FinishDisable()
164 callback.Run(error); in StepCompletedCallback()
176 callback.Run(error); in EnableModem()
188 callback.Run(error); in DisableModem()
201 callback.Run(error); in GetModemStatus()
213 callback.Run(error); in GetModemInfo()
339 callback.Run(error); in OnGetModemStatusReply()
361 callback.Run(error); in OnGetModemInfoReply()
Dcellular_capability_gsm_unittest.cc100 callback.Run(Error()); in InvokeEnable()
104 callback.Run(kIMEI, Error()); in InvokeGetIMEI()
108 callback.Run(kIMSI, Error()); in InvokeGetIMSI()
112 callback.Run("", Error(Error::kOperationFailed)); in InvokeGetIMSIFails()
116 callback.Run(kMSISDN, Error()); in InvokeGetMSISDN()
120 callback.Run("", Error(Error::kOperationFailed)); in InvokeGetMSISDNFail()
124 callback.Run(kTestCarrier, Error()); in InvokeGetSPN()
128 callback.Run("", Error(Error::kOperationFailed)); in InvokeGetSPNFail()
133 callback.Run(kStrength, Error()); in InvokeGetSignalQuality()
138 callback.Run(MM_MODEM_GSM_NETWORK_REG_STATUS_HOME, in InvokeGetRegistrationInfo()
[all …]
/system/tpm/trunks/
Dtrunks_binder_proxy.cc46 callback_.Run( in OnCommandResponse()
49 callback_.Run(response_proto.response()); in OnCommandResponse()
82 callback.Run(CreateErrorResponse(TRUNKS_RC_IPC_ERROR)); in SendCommand()
90 callback.Run(CreateErrorResponse(TRUNKS_RC_IPC_ERROR)); in SendCommand()
Dtrunks_dbus_proxy.cc62 callback.Run(CreateErrorResponse(TRUNKS_RC_IPC_ERROR)); in SendCommand()
67 callback.Run(response.response()); in SendCommand()
72 callback.Run(response.response()); in SendCommand()
/system/update_engine/common/
Dsubprocess_unittest.cc136 loop_.Run(); in TEST_F()
143 loop_.Run(); in TEST_F()
152 loop_.Run(); in TEST_F()
166 loop_.Run(); in TEST_F()
181 loop_.Run(); in TEST_F()
187 loop_.Run(); in TEST_F()
/system/connectivity/shill/wifi/
Dscan_session.cc226 on_scan_failed_.Run(); in OnTriggerScanResponse()
238 on_scan_failed_.Run(); in OnTriggerScanErrorResponse()
245 on_scan_failed_.Run(); in OnTriggerScanErrorResponse()
258 on_scan_failed_.Run(); in OnTriggerScanErrorResponse()
272 on_scan_failed_.Run(); in OnTriggerScanErrorResponse()
285 on_scan_failed_.Run(); in OnTriggerScanErrorResponse()
296 on_scan_failed_.Run(); in OnTriggerScanErrorResponse()

12345678910