/ohos5.0/foundation/ability/ability_runtime/test/unittest/trigger_Info_test/ |
H A D | trigger_Info_test.cpp | 73 TriggerInfo triggerInfo; variable 74 EXPECT_EQ(triggerInfo.permission_, ""); 75 EXPECT_EQ(triggerInfo.extraInfo_, nullptr); 76 EXPECT_EQ(triggerInfo.want_, nullptr); 77 EXPECT_EQ(triggerInfo.resultCode_, 0); 97 EXPECT_EQ(triggerInfo.permission_, permission); 98 EXPECT_NE(triggerInfo.extraInfo_, wParams); 100 EXPECT_NE(triggerInfo.want_, want); 124 EXPECT_NE(triggerInfo.extraInfo_, wParams); 126 EXPECT_NE(triggerInfo.want_, want); [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.9.1/ |
H A D | changelogs-wantAgent.md | 6 trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback<CompleteData>): void ; 10 trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback<CompleteData>): void 20 …ger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback<CompleteData>): void ; | trigg… 32 // triggerInfo 33 var triggerInfo = { 80 WantAgent.trigger(wantAgent, triggerInfo, triggerCallback);
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.9.1/ |
H A D | changelogs-wantAgent.md | 6 trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback<CompleteData>): void ; 10 trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback<CompleteData>): void 20 …ger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback<CompleteData>): void ; | trigg… 32 // triggerInfo 33 var triggerInfo = { 80 WantAgent.trigger(wantAgent, triggerInfo, triggerCallback);
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/wantagenthelpertrigger_fuzzer/ |
H A D | wantagenthelpertrigger_fuzzer.cpp | 64 TriggerInfo triggerInfo(GET_BUNDLE_INFO_PERMISSION, extraInfo, want, resultCode); in DoSomethingInterestingWithMyAPI() local 65 WantAgentHelper::TriggerWantAgent(wantAgent, nullptr, triggerInfo); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-inner-wantAgent-triggerInfo-sys.md | 9 > 当前页面仅包含本模块的系统接口,其他公开接口参见[TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md)。
|
H A D | js-apis-app-ability-wantAgent.md | 743 trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback\<CompleteData\>): void 756 | triggerInfo | [TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md) | 是 | Tri… 776 // triggerInfo 777 let triggerInfo: wantAgent.TriggerInfo = { 824 wantAgent.trigger(wantAgentData, triggerInfo, triggerCallback); 1286 | [_TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md) | TriggerInfo对象。 |
|
H A D | js-apis-wantAgent.md | 557 trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback\<CompleteData\>): void 570 | triggerInfo | [TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md) | 是 | T…
|
H A D | Readme-CN.md | 209 - [triggerInfo](js-apis-inner-wantAgent-triggerInfo.md)
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/wantagent/ |
H A D | napi_want_agent.cpp | 690 TriggerInfo triggerInfo; in OnTrigger() local 692 int32_t errCode = UnWrapTriggerInfoParam(env, info, wantAgent, triggerInfo, triggerObj); in OnTrigger() 697 auto execute = [wantAgent, triggerObj, triggerInfo] () { in OnTrigger() 699 WantAgentHelper::TriggerWantAgent(wantAgent, triggerObj, triggerInfo); in OnTrigger() 709 std::shared_ptr<WantAgent> &wantAgent, TriggerInfo &triggerInfo, in UnWrapTriggerInfoParam() argument 736 int32_t ret = GetTriggerInfo(env, argv[ARGC_ONE], triggerInfo); in UnWrapTriggerInfoParam() 860 triggerInfo = triggerInfoData; in GetTriggerInfo() 1183 TriggerInfo triggerInfo; in OnNapiTrigger() local 1185 int32_t errCode = UnWrapTriggerInfoParam(env, info, wantAgent, triggerInfo, triggerObj); in OnNapiTrigger() 1190 auto execute = [wantAgent, triggerObj, triggerInfo] () { in OnNapiTrigger() [all …]
|
H A D | napi_want_agent.h | 113 std::shared_ptr<WantAgent> &wantAgent, TriggerInfo &triggerInfo, 115 int32_t GetTriggerInfo(napi_env env, napi_value param, TriggerInfo &triggerInfo);
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-inner-wantAgent-triggerInfo-sys.md | 9 …dule. For details about its public APIs, see [TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md).
|
H A D | js-apis-app-ability-wantAgent.md | 744 trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: AsyncCallback\<CompleteData\>): void 757 | triggerInfo | [TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md) | Yes | Tr… 777 // triggerInfo 778 let triggerInfo: wantAgent.TriggerInfo = { 825 wantAgent.trigger(wantAgentData, triggerInfo, triggerCallback);
|
H A D | js-apis-wantAgent.md | 557 trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback\<CompleteData\>): void 570 | triggerInfo | [TriggerInfo](js-apis-inner-wantAgent-triggerInfo.md) | Yes | …
|
H A D | Readme-EN.md | 209 - [triggerInfo](js-apis-inner-wantAgent-triggerInfo.md)
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-ability.md | 9 …tAgent<br>类名: wantAgent<br>方法 or 属性:function trigger(agent: WantAgent, triggerInfo: TriggerInfo, c… 193 |删除|模块名: ohos.wantAgent<br>类名: wantAgent<br>方法 or 属性:function trigger(agent: WantAgent, triggerInfo…
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_utils.cpp | 1301 OHOS::AbilityRuntime::WantAgent::TriggerInfo triggerInfo; in TriggerRemoveWantAgent() local 1303 AbilityRuntime::WantAgent::WantAgentHelper::TriggerWantAgent(agent, nullptr, triggerInfo); in TriggerRemoveWantAgent()
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-ability.md | 9 …tAgent<br>Method or attribute name: function trigger(agent: WantAgent, triggerInfo: TriggerInfo, c… 193 …tAgent<br>Method or attribute name: function trigger(agent: WantAgent, triggerInfo: TriggerInfo, c…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.0-LTS/ |
H A D | js-apidiff-v3.0-lts.md | 312 |事件通知-wantAgent|trigger(info: WantAgentInfo, triggerInfo: TriggerInfo, callback: AsyncCallback\<Com…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-ability.md | 738 …性:code: number;<br>旧版本信息:|类名:TriggerInfo;<br>方法or属性:code: number;<br>新版本信息:number|triggerInfo.d.ts| 739 …or属性:want?: Want;<br>旧版本信息:|类名:TriggerInfo;<br>方法or属性:want?: Want;<br>新版本信息:?Want|triggerInfo.d.ts| 740 …string;<br>旧版本信息:|类名:TriggerInfo;<br>方法or属性:permission?: string;<br>新版本信息:?string|triggerInfo.d.ts| 741 …息:|类名:TriggerInfo;<br>方法or属性:extraInfo?: { [key: string]: any };<br>新版本信息:?object|triggerInfo.d.ts|
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-ability.md | 281 |新增|NA|类名:wantAgent;<br>方法or属性:function trigger(agent: WantAgent, triggerInfo: TriggerInfo, callbac… 873 …, triggerInfo: TriggerInfo, callback?: Callback\<CompleteData>): void;<br>旧版本信息:|类名:wantAgent;<br>…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-ability.md | 991 …性:code: number;<br>旧版本信息:|类名:TriggerInfo;<br>方法or属性:code: number;<br>新版本信息:number|triggerInfo.d.ts| 992 …or属性:want?: Want;<br>旧版本信息:|类名:TriggerInfo;<br>方法or属性:want?: Want;<br>新版本信息:?Want|triggerInfo.d.ts| 993 …string;<br>旧版本信息:|类名:TriggerInfo;<br>方法or属性:permission?: string;<br>新版本信息:?string|triggerInfo.d.ts| 994 …息:|类名:TriggerInfo;<br>方法or属性:extraInfo?: { [key: string]: any };<br>新版本信息:?object|triggerInfo.d.ts|
|
/ohos5.0/docs/en/release-notes/api-diff/v3.0-LTS/ |
H A D | js-apidiff-v3.0-lts.md | 312 |Common Event and Notification Subsystem - wantAgent|trigger(info: WantAgentInfo, triggerInfo: Trig…
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-ability.md | 738 …fo;<br>Method or attribute name: code: number;<br>New version information: number|triggerInfo.d.ts| 739 …Info;<br>Method or attribute name: want?: Want;<br>New version information: ?Want|triggerInfo.d.ts| 740 …ethod or attribute name: permission?: string;<br>New version information: ?string|triggerInfo.d.ts| 741 …ute name: extraInfo?: { [key: string]: any };<br>New version information: ?object|triggerInfo.d.ts|
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-ability.md | 281 …Agent;<br>Method or attribute name: function trigger(agent: WantAgent, triggerInfo: TriggerInfo, c… 873 …triggerInfo: TriggerInfo, callback?: Callback\<CompleteData>): void;<br>Old version: |Class name: …
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-ability.md | 991 …fo;<br>Method or attribute name: code: number;<br>New version information: number|triggerInfo.d.ts| 992 …Info;<br>Method or attribute name: want?: Want;<br>New version information: ?Want|triggerInfo.d.ts| 993 …ethod or attribute name: permission?: string;<br>New version information: ?string|triggerInfo.d.ts| 994 …ute name: extraInfo?: { [key: string]: any };<br>New version information: ?object|triggerInfo.d.ts|
|