Home
last modified time | relevance | path

Searched refs:ExecuteShellCommand (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/
H A Dtest_observer_proxy_test.cpp148 EXPECT_EQ(testObserverProxy.ExecuteShellCommand(CMD.c_str(), 0).stdResult.size(), 0);
150 testObserverProxy.ExecuteShellCommand(CMD.c_str(), 0);
151 testObserverProxy.ExecuteShellCommand("", 0);
153 testObserverProxy.ExecuteShellCommand(cmdstr, 0);
154 testObserverProxy.ExecuteShellCommand(cmdstr, false);
155 testObserverProxy.ExecuteShellCommand(WRONGCMD.c_str(), 0);
H A Dmock_test_observer_stub.cpp34 ShellCommandResult MockTestObserverStub::ExecuteShellCommand( in ExecuteShellCommand() function in OHOS::AAFwk::MockTestObserverStub
H A Dmock_test_observer_stub.h31 ShellCommandResult ExecuteShellCommand(
H A Dtest_observer_test.cpp96 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
/ohos5.0/foundation/ability/ability_runtime/frameworks/cj/ffi/
H A Dcj_ability_delegator.cpp35 std::shared_ptr<AppExecFwk::ShellCmdResult> CJAbilityDelegator::ExecuteShellCommand(const char* cmd… in ExecuteShellCommand() function in OHOS::AbilityDelegatorCJ::CJAbilityDelegator
37 auto shellCmd = delegator_->ExecuteShellCommand(cmd, timeoutSec); in ExecuteShellCommand()
106 …auto cJShellCmdResult = FFI::FFIData::Create<CJShellCmdResult>(cjDelegator->ExecuteShellCommand(cm… in FFIAbilityDelegatorExecuteShellCommand()
H A Dcj_ability_delegator.h35 …std::shared_ptr<AppExecFwk::ShellCmdResult> ExecuteShellCommand(const char* cmd, int64_t timeoutSe…
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/
H A Dmock_test_observer_stub.cpp40 ShellCommandResult MockTestObserverStub::ExecuteShellCommand( in ExecuteShellCommand() function in OHOS::AAFwk::MockTestObserverStub
H A Dmock_test_observer_stub.h33 ShellCommandResult ExecuteShellCommand(
/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 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/tools/test/moduletest/ability_delegator/
H A Dtest_observer_module_test.cpp79 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dtest_observer_stub.cpp53 ShellCommandResult result = ExecuteShellCommand(cmd, timeoutSecs); in OnRemoteRequest()
H A Dtest_observer.cpp56 ShellCommandResult TestObserver::ExecuteShellCommand(const std::string& cmd, const int64_t timeoutS… in ExecuteShellCommand() function in OHOS::AAFwk::TestObserver
H A Dtest_observer_proxy.cpp91 ShellCommandResult TestObserverProxy::ExecuteShellCommand( in ExecuteShellCommand() function in OHOS::AAFwk::TestObserverProxy
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/toolstestobserver_fuzzer/
H A Dtoolstestobserver_fuzzer.cpp58 testObserver-> ExecuteShellCommand(cmd, timeoutSec); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/ability_delegator/
H A Djs_ability_delegator_utils.cpp58 …unction(env, objValue, "executeShellCommand", moduleName, JSAbilityDelegator::ExecuteShellCommand); in CreateJsAbilityDelegator()
H A Djs_ability_delegator.h172 static napi_value ExecuteShellCommand(napi_env env, napi_callback_info info);
H A Djs_ability_delegator.cpp240 napi_value JSAbilityDelegator::ExecuteShellCommand(napi_env env, napi_callback_info info) in ExecuteShellCommand() function in OHOS::AbilityDelegatorJs::JSAbilityDelegator
682 shellCmdResultBox->shellCmdResult_ = delegator->ExecuteShellCommand(cmd, timeoutSecs); in OnExecuteShellCommand()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/
H A Dability_delegator.h243 …std::unique_ptr<ShellCmdResult> ExecuteShellCommand(const std::string &cmd, const int64_t timeoutS…
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/
H A Dability_delegator.cpp325 std::unique_ptr<ShellCmdResult> AbilityDelegator::ExecuteShellCommand(const std::string &cmd, const… in ExecuteShellCommand() function in OHOS::AppExecFwk::AbilityDelegator
340 auto result = testObserver->ExecuteShellCommand(cmd, timeoutSec); in ExecuteShellCommand()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/cj_ability_delegator_test/
H A Dcj_ability_delegator_test.cpp144 auto shellCmdResult = cjDelegator->ExecuteShellCommand(cmd, timeoutSec);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/
H A Dability_delegator_test.cpp663 EXPECT_EQ(abilityDelegator.ExecuteShellCommand("", TIMEOUT), nullptr);
694 EXPECT_EQ(abilityDelegator.ExecuteShellCommand(CMD, TIMEOUT), nullptr);
726 EXPECT_NE(abilityDelegator.ExecuteShellCommand(CMD, TIMEOUT), nullptr);
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ability_delegator_test/
H A Dability_delegator_module_test.cpp422 EXPECT_NE(abilityDelegator.ExecuteShellCommand(CMD, TIMEOUT), nullptr);