Home
last modified time | relevance | path

Searched refs:timeoutSec (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/unittest/cj_ability_delegator_test/
H A Dcj_ability_delegator_test.cpp143 int64_t timeoutSec = 10; variable
144 auto shellCmdResult = cjDelegator->ExecuteShellCommand(cmd, timeoutSec);
234 int64_t timeoutSec = 1000; variable
238 auto result = FFIAbilityDelegatorExecuteShellCommand(id, cmd, timeoutSec);
249 int64_t timeoutSec = 1000; variable
266 int64_t timeoutSec = 1000; variable
282 int64_t timeoutSec = 1000; variable
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dtest_observer.cpp56 …llCommandResult TestObserver::ExecuteShellCommand(const std::string& cmd, const int64_t timeoutSec) in ExecuteShellCommand() argument
58 …ag::AA_TOOL, "enter, cmd : \"%{public}s\", timeoutSec : %{public}" PRId64, cmd.data(), timeoutSec); in ExecuteShellCommand()
60 auto cmdExecutor = std::make_shared<ShellCommandExecutor>(cmd, timeoutSec); in ExecuteShellCommand()
H A Dshell_command_executor.cpp29 ShellCommandExecutor::ShellCommandExecutor(const std::string& cmd, const int64_t timeoutSec) in ShellCommandExecutor() argument
30 : cmd_(cmd), timeoutSec_(timeoutSec) in ShellCommandExecutor()
H A Dtest_observer_proxy.cpp92 const std::string& cmd, const int64_t timeoutSec) in ExecuteShellCommand() argument
110 if (!data.WriteInt64(timeoutSec)) { in ExecuteShellCommand()
/ohos5.0/foundation/ability/ability_runtime/frameworks/cj/ffi/
H A Dcj_ability_delegator.cpp35 …ecFwk::ShellCmdResult> CJAbilityDelegator::ExecuteShellCommand(const char* cmd, int64_t timeoutSec) in ExecuteShellCommand() argument
37 auto shellCmd = delegator_->ExecuteShellCommand(cmd, timeoutSec); in ExecuteShellCommand()
99 int32_t FFIAbilityDelegatorExecuteShellCommand(int64_t id, const char* cmd, int64_t timeoutSec) in FFIAbilityDelegatorExecuteShellCommand() argument
106 …Result = FFI::FFIData::Create<CJShellCmdResult>(cjDelegator->ExecuteShellCommand(cmd, timeoutSec)); in FFIAbilityDelegatorExecuteShellCommand()
H A Dcj_ability_delegator.h35 …d::shared_ptr<AppExecFwk::ShellCmdResult> ExecuteShellCommand(const char* cmd, int64_t timeoutSec);
57 …RT int32_t FFIAbilityDelegatorExecuteShellCommand(int64_t id, const char* cmd, int64_t timeoutSec);
/ohos5.0/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Dhdi_smq_syncer.cpp107 int64_t timeoutSec = timeout / nano; in TimeoutToRealtime() local
111 realtime.tv_sec += timeoutSec + 1; in TimeoutToRealtime()
114 realtime.tv_sec += timeoutSec; in TimeoutToRealtime()
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/toolstestobserver_fuzzer/
H A Dtoolstestobserver_fuzzer.cpp54 int64_t timeoutSec = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
58 testObserver-> ExecuteShellCommand(cmd, timeoutSec); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dfutex_tool.cpp40 int64_t timeoutSec = timeout / SEC_TO_NANOSEC; in TimeoutToRelativeTime() local
43 realtime.tv_sec = timeoutSec; in TimeoutToRelativeTime()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_client.h224 static int CreateSession(uint32_t timeoutSec);
254 static int SetSessionTimeout(uint32_t timeoutSec = OBEX_SESSION_MAX_TIMEOUT_SEC);
H A Dobex_client.cpp506 int ObexClient::CreateSession(uint32_t timeoutSec) in CreateSession() argument
537 int ObexClient::SetSessionTimeout(uint32_t timeoutSec) in SetSessionTimeout() argument
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/
H A Ditest_observer.h51 …virtual ShellCommandResult ExecuteShellCommand(const std::string& cmd, const int64_t timeoutSec) =…
H A Dshell_command_executor.h36 ShellCommandExecutor(const std::string& cmd, const int64_t timeoutSec);
H A Dtest_observer.h58 …virtual ShellCommandResult ExecuteShellCommand(const std::string& cmd, const int64_t timeoutSec) o…
H A Dtest_observer_proxy.h60 …virtual ShellCommandResult ExecuteShellCommand(const std::string& cmd, const int64_t timeoutSec) o…
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/
H A Dability_delegator.cpp325 …lCmdResult> AbilityDelegator::ExecuteShellCommand(const std::string &cmd, const int64_t timeoutSec) in ExecuteShellCommand() argument
327 …I(AAFwkTag::DELEGATOR, "command : %{public}s, timeout : %{public}" PRId64, cmd.data(), timeoutSec); in ExecuteShellCommand()
340 auto result = testObserver->ExecuteShellCommand(cmd, timeoutSec); in ExecuteShellCommand()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/
H A Dability_delegator.h243 …::unique_ptr<ShellCmdResult> ExecuteShellCommand(const std::string &cmd, const int64_t timeoutSec);