/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/ |
H A D | shell_cmd_result.cpp | 20 ShellCmdResult::ShellCmdResult(const int32_t exitCode, const std::string &stdResult) in ShellCmdResult() function in OHOS::AppExecFwk::ShellCmdResult 24 ShellCmdResult::ShellCmdResult(const AAFwk::ShellCommandResult &result) in ShellCmdResult() function in OHOS::AppExecFwk::ShellCmdResult 30 void ShellCmdResult::SetExitCode(const int32_t exitCode) in SetExitCode() 35 int32_t ShellCmdResult::GetExitCode() const in GetExitCode() 40 void ShellCmdResult::SetStdResult(const std::string &stdResult) in SetStdResult() 45 std::string ShellCmdResult::GetStdResult() const in GetStdResult() 50 std::string ShellCmdResult::Dump() in Dump()
|
H A D | ability_delegator.cpp | 325 std::unique_ptr<ShellCmdResult> AbilityDelegator::ExecuteShellCommand(const std::string &cmd, const… in ExecuteShellCommand() 341 return std::make_unique<ShellCmdResult>(result); in ExecuteShellCommand()
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/ |
H A D | shell_cmd_result.h | 24 class ShellCmdResult { 29 ShellCmdResult() = default; 37 ShellCmdResult(const int32_t exitCode, const std::string &stdResult); 44 explicit ShellCmdResult(const AAFwk::ShellCommandResult &result); 49 ~ShellCmdResult() = default;
|
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/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/ |
H A D | shell_cmd_result_test.cpp | 62 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 76 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 90 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 105 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT);
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ability_delegator_test/ |
H A D | shell_cmd_result_module_test.cpp | 60 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 74 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 88 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/cj/ffi/ |
H A D | cj_ability_delegator.h | 35 …std::shared_ptr<AppExecFwk::ShellCmdResult> ExecuteShellCommand(const char* cmd, int64_t timeoutSe… 45 explicit CJShellCmdResult(std::shared_ptr<AppExecFwk::ShellCmdResult> shellCmdResult) in CJShellCmdResult() 51 std::shared_ptr<AppExecFwk::ShellCmdResult> shellCmdResultr_;
|
H A D | cj_ability_delegator.cpp | 35 std::shared_ptr<AppExecFwk::ShellCmdResult> CJAbilityDelegator::ExecuteShellCommand(const char* cmd… in ExecuteShellCommand() 38 std::shared_ptr<AppExecFwk::ShellCmdResult> ret = std::move(shellCmd); in ExecuteShellCommand()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/cj_ability_delegator_test/ |
H A D | cj_ability_delegator_test.cpp | 166 auto shellResult = std::make_shared<AppExecFwk::ShellCmdResult>(); 179 auto shellResult = std::make_shared<AppExecFwk::ShellCmdResult>(); 192 auto shellResult = std::make_shared<AppExecFwk::ShellCmdResult>(); 252 auto shellResult = std::make_shared<AppExecFwk::ShellCmdResult>(); 268 auto shellResult = std::make_shared<AppExecFwk::ShellCmdResult>(); 284 auto shellResult = std::make_shared<AppExecFwk::ShellCmdResult>();
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-test-kit/ |
H A D | js-apis-app-ability-abilityDelegatorRegistry.md | 140 ## ShellCmdResult section 142 type ShellCmdResult = _ShellCmdResult 144 ShellCmdResult模块。 152 | [_ShellCmdResult](js-apis-inner-application-shellCmdResult.md) | ShellCmdResult模块。 |
|
H A D | js-apis-inner-application-shellCmdResult.md | 1 # ShellCmdResult chapter
|
H A D | js-apis-inner-application-abilityDelegator.md | 1066 executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void 1081 | callback | AsyncCallback\<[ShellCmdResult](js-apis-inner-application-shellCmdResult.md#shellcmdre… 1093 …r.executeShellCommand(cmd, (err: BusinessError, data: abilityDelegatorRegistry.ShellCmdResult) => { 1100 executeShellCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): vo… 1116 | callback | AsyncCallback\<[ShellCmdResult](js-apis-inner-application-shellCmdResult.md#shellcm… 1129 …ShellCommand(cmd, timeout, (err: BusinessError, data: abilityDelegatorRegistry.ShellCmdResult) => { 1136 executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult> 1157 | Promise\<[ShellCmdResult](js-apis-inner-application-shellCmdResult.md#shellcmdresult)> | Promise对…
|
/ohos5.0/docs/en/application-dev/reference/apis-test-kit/ |
H A D | js-apis-inner-application-shellCmdResult.md | 1 # ShellCmdResult chapter 3 The **ShellCmdResult** module provides the shell command execution result.
|
H A D | js-apis-inner-application-abilityDelegator.md | 1066 executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void 1081 | callback | AsyncCallback\<[ShellCmdResult](js-apis-inner-application-shellCmdResult.md#shellcmdre… 1093 …r.executeShellCommand(cmd, (err: BusinessError, data: abilityDelegatorRegistry.ShellCmdResult) => { 1100 executeShellCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): vo… 1116 | callback | AsyncCallback\<[ShellCmdResult](js-apis-inner-application-shellCmdResult.md#shellcm… 1129 …ShellCommand(cmd, timeout, (err: BusinessError, data: abilityDelegatorRegistry.ShellCmdResult) => { 1136 executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult> 1157 | Promise\<[ShellCmdResult](js-apis-inner-application-shellCmdResult.md#shellcmdresult)> | Promise …
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/ability_delegator/ |
H A D | js_ability_delegator_utils.h | 31 napi_value CreateJsShellCmdResult(napi_env env, std::unique_ptr<ShellCmdResult> &shellResult);
|
H A D | js_ability_delegator_utils.cpp | 113 napi_value CreateJsShellCmdResult(napi_env env, std::unique_ptr<ShellCmdResult> &shellResult) in CreateJsShellCmdResult()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-ability.md | 18 | shellCmdResult | ShellCmdResult | exitCode: number; | 新增 | 19 | shellCmdResult | ShellCmdResult | stdResult: String; | 新增 | 29 …ShellCmdResult>): void;<br>executeShellCommand(cmd: string, timeoutSecs: number, callback: AsyncCa…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-ability.md | 18 | shellCmdResult | ShellCmdResult | exitCode: number; | Added| 19 | shellCmdResult | ShellCmdResult | stdResult: String; | Added| 29 …ShellCmdResult>): void;<br>executeShellCommand(cmd: string, timeoutSecs: number, callback: AsyncCa…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/ |
H A D | js-apidiff-ability.md | 67 …>方法 or 属性: executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void;|Abili… 68 …llCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): void;|Abili… 69 …属性: executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult>;|AbilityDeleg… 205 …r>方法 or 属性:executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void;|NA|ab… 206 …llCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): void;|NA|ab… 207 … 属性:executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult>;|NA|abilityDe…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-ability.md | 103 …- 导出类 AbilityDelegator、AbilityDelegatorArgs、AbilityMonitor、ShellCmdResult 被删除。可以使用@ohos.app.abilit…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.1/ |
H A D | changelogs-ability.md | 105 …- 导出类 AbilityDelegator、AbilityDelegatorArgs、AbilityMonitor、ShellCmdResult 被删除。可以使用@ohos.app.abilit…
|
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/ |
H A D | js-apidiff-ability.md | 67 …bute name: executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void;|Abili… 68 …llCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): void;|Abili… 69 …me: executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult>;|AbilityDeleg… 205 …bute name: executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void;|NA|ab… 206 …llCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): void;|NA|ab… 207 …me: executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult>;|NA|abilityDe…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.1/ |
H A D | changelogs-ability.md | 105 …- **AbilityDelegator**, **AbilityDelegatorArgs**, **AbilityMonitor**, and **ShellCmdResult** are d…
|
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-ability.md | 103 …- **AbilityDelegator**, **AbilityDelegatorArgs**, **AbilityMonitor**, and **ShellCmdResult** are d…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-ability.md | 5 …<br>方法or属性:executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void;|NA|ab… 6 …llCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): void;|NA|ab… 7 …r属性:executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult>;|NA|abilityDe… 57 |新增|NA|类名:abilityDelegatorRegistry;<br>方法or属性:export type ShellCmdResult = _ShellCmdResult|@ohos.ap… 481 …<br>方法or属性:executeShellCommand(cmd: string, callback: AsyncCallback\<ShellCmdResult>): void;|Abili… 482 …llCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\<ShellCmdResult>): void;|Abili… 483 …r属性:executeShellCommand(cmd: string, timeoutSecs?: number): Promise\<ShellCmdResult>;|AbilityDeleg… 920 |函数有变化|类名:ShellCmdResult;<br>方法or属性:stdResult: String;|类名:ShellCmdResult;<br>方法or属性:stdResult: stri…
|