/ohos5.0/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/ |
H A D | test_observer_proxy_test.cpp | 148 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 D | mock_test_observer_stub.cpp | 34 ShellCommandResult MockTestObserverStub::ExecuteShellCommand( in ExecuteShellCommand() function in OHOS::AAFwk::MockTestObserverStub
|
H A D | mock_test_observer_stub.h | 31 ShellCommandResult ExecuteShellCommand(
|
H A D | test_observer_test.cpp | 96 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/cj/ffi/ |
H A D | cj_ability_delegator.cpp | 35 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 D | cj_ability_delegator.h | 35 …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 D | mock_test_observer_stub.cpp | 40 ShellCommandResult MockTestObserverStub::ExecuteShellCommand( in ExecuteShellCommand() function in OHOS::AAFwk::MockTestObserverStub
|
H A D | mock_test_observer_stub.h | 33 ShellCommandResult ExecuteShellCommand(
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/ |
H A D | itest_observer.h | 51 …virtual ShellCommandResult ExecuteShellCommand(const std::string& cmd, const int64_t timeoutSec) =…
|
H A D | test_observer.h | 58 …virtual ShellCommandResult ExecuteShellCommand(const std::string& cmd, const int64_t timeoutSec) o…
|
H A D | test_observer_proxy.h | 60 …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 D | test_observer_module_test.cpp | 79 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | test_observer_stub.cpp | 53 ShellCommandResult result = ExecuteShellCommand(cmd, timeoutSecs); in OnRemoteRequest()
|
H A D | test_observer.cpp | 56 ShellCommandResult TestObserver::ExecuteShellCommand(const std::string& cmd, const int64_t timeoutS… in ExecuteShellCommand() function in OHOS::AAFwk::TestObserver
|
H A D | test_observer_proxy.cpp | 91 ShellCommandResult TestObserverProxy::ExecuteShellCommand( in ExecuteShellCommand() function in OHOS::AAFwk::TestObserverProxy
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/toolstestobserver_fuzzer/ |
H A D | toolstestobserver_fuzzer.cpp | 58 testObserver-> ExecuteShellCommand(cmd, timeoutSec); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/ability_delegator/ |
H A D | js_ability_delegator_utils.cpp | 58 …unction(env, objValue, "executeShellCommand", moduleName, JSAbilityDelegator::ExecuteShellCommand); in CreateJsAbilityDelegator()
|
H A D | js_ability_delegator.h | 172 static napi_value ExecuteShellCommand(napi_env env, napi_callback_info info);
|
H A D | js_ability_delegator.cpp | 240 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 D | ability_delegator.h | 243 …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 D | ability_delegator.cpp | 325 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 D | cj_ability_delegator_test.cpp | 144 auto shellCmdResult = cjDelegator->ExecuteShellCommand(cmd, timeoutSec);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/ |
H A D | ability_delegator_test.cpp | 663 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 D | ability_delegator_module_test.cpp | 422 EXPECT_NE(abilityDelegator.ExecuteShellCommand(CMD, TIMEOUT), nullptr);
|