Home
last modified time | relevance | path

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

/test/xts/acts/ability/ability_runtime/actsmultiplecall/actsapprely/entry/src/main/ets/entryability/
DEntryAbility.ts74 }).then((caller) => {
76 caller.callWithResult('call', param).then((data) => {
80 caller.release();
105 }).then((caller) => {
106 …g('====>Acts_SingleInstanceCallFunction_0200 startAbilityByCall caller:' + JSON.stringify(caller));
138 }).then((caller) => {
139 caller.onRelease(releaseCallback);
141 caller.callWithResult('call', param).then((data) => {
157 caller.release();
167 let caller;
[all …]
/test/xts/acts/ability/ability_runtime/actscrosscall/actscrosscallerrely/entry/src/main/ets/serviceability/
DServiceAbility.ts92 this.context.startAbilityByCallWithAccount(null, -1).then((caller) => {
93 console.info("====>Acts_CrossUserCall_1000 caller:" + caller)
105 this.context.startAbilityByCallWithAccount(undefined, -1).then((caller) => {
106 console.info("====>Acts_CrossUserCall_1200 caller: " + caller)
123 this.context.startAbilityByCallWithAccount(want, 100).then((caller) => {
124 console.info("====>Acts_CrossUserCall_1400 caller: " + caller)
141 this.context.startAbilityByCallWithAccount(want, null).then((caller) => {
142 console.info("====>Acts_CrossUserCall_1600 caller " + JSON.stringify(caller))
159 this.context.startAbilityByCallWithAccount(want, undefined).then((caller) => {
160 console.info("====>Acts_CrossUserCall_1800 caller: " + caller)
[all …]
/test/xts/acts/ability/ability_runtime/actscalltest/systemappcallerb/entry/src/main/ets/MainAbility/
DMainAbility.ts21 var caller; variable
71 caller = data;
77 if (typeof caller !== "object" || caller == null) {
84 caller.call('stressMethod', data);
94 caller.onRelease(data => {
97 caller.release();
108 caller.onRemoteStateChange(OnRemoteStateChangeCallback)
/test/xts/acts/ability/ability_runtime/actscalltest/systemappcallerc/entry/src/main/ets/MainAbility/
DMainAbility.ts21 var caller; variable
70 caller = data;
76 if (typeof caller !== "object" || caller == null) {
82 caller.call('stressMethod', data);
92 caller.onRelease(data => {
95 caller.release();
/test/xts/acts/ability/ability_runtime/actscalltest/systemcallentrytest/entry/src/main/ets/test/
DAbility.test.ets140 caller.release();
146 let caller = await globalThis.globalThis.abilityContext.startAbilityByCall({
151 caller.onRelease(releaseCallback);
153 caller.call('testCall', param).then(() => {
176 let caller = await globalThis.globalThis.abilityContext.startAbilityByCall({
181 caller.onRelease(releaseCallback);
183 caller.callWithResult('testCallWithResult', param).then((data) => {
190 caller.release();
194 caller.release();
304 var caller;
[all …]
/test/xts/acts/ability/ability_runtime/actscalltest/systemappcallera/entry/src/main/ets/MainAbility/
DMainAbility.ts21 var caller; variable
71 caller = data;
77 if (typeof caller !== "object" || caller == null) {
83 caller.call('stressMethod', data);
93 caller.onRelease(data => {
96 caller.release();
/test/xts/acts/ability/ability_runtime/actsmultiplecall/actsappsinglerely/entry/src/main/ets/secondability/
DSecondAbility.ts90 }).then((caller) => {
92 JSON.stringify(caller));
94 caller.callWithResult('call', param).then((data) => {
121 }).then((caller) => {
123 JSON.stringify(caller));
125 caller.callWithResult('call', param).then((data) => {
/test/xts/acts/ability/ability_runtime/actscrosscall/actscrosscallerrely/entry/src/main/ets/entryability/
DEntryAbility.ts101 var caller;
113 caller = data;
114 caller.onRelease(releaseCallback);
116 caller.callWithResult('call', param).then((data) => {
125 caller.release();
/test/xts/acts/ability/ability_runtime/actscalltest/systemappcalleea/entry/src/main/ets/MainAbility/
DMainAbility.ts105 globalThis.abilityContext.startAbilityByCall(want).then((caller) => {
107 caller.onRelease(test2200ReleaseCallback);
108 caller.callWithResult('test2200', param).then((data2) => {
110 caller.release();
/test/xts/dcts/ability/dmsfwk/dmsfwkstagetest/entry/src/main/ets/test/
DDmsFwkStageTest.ets2088 let caller = data;
2089 console.log('get caller is success caller is ' + caller)
2090 expect(typeof(caller)).assertEqual('object')
2093 console.log('get caller is failed err is ' + JSON.stringify(err))
2123 let caller = data;
2124 console.log('get caller is success caller is ' + caller)
2125 expect(typeof(caller)).assertEqual('object')
2128 console.log('get caller is failed err is ' + JSON.stringify(err))
2158 let caller = data;
2159 console.log('get caller is success caller is ' + caller)
[all …]
/test/testfwk/arkxtest/uitest/connection/
Dipc_transactor.h38 virtual bool SetBackCaller(const OHOS::sptr<OHOS::IRemoteObject> &caller) = 0;
49 bool SetBackCaller(const OHOS::sptr<IRemoteObject> &caller) override;
64 bool SetBackCaller(const OHOS::sptr<IRemoteObject> &caller) override;
Dipc_transactor.cpp113 bool ApiCaller::SetBackCaller(const sptr<IRemoteObject> &caller) in SetBackCaller() argument
119 backcallerHandler_(caller); in SetBackCaller()
164 bool ApiCallerProxy::SetBackCaller(const OHOS::sptr<IRemoteObject> &caller) in SetBackCaller() argument
169 … auto writeStat = data.WriteInterfaceToken(GetDescriptor()) && data.WriteRemoteObject(caller); in SetBackCaller()
191 …static sptr<IRemoteObject> PublishCallerAndWaitForBackcaller(const sptr<ApiCaller> &caller, string… in PublishCallerAndWaitForBackcaller() argument
196 want.SetParam(string(token), caller->AsObject()); in PublishCallerAndWaitForBackcaller()
203caller->SetBackCallerHandler([&remoteCallerObject, &condition](const sptr<IRemoteObject> &remote) { in PublishCallerAndWaitForBackcaller()
216 caller->SetBackCallerHandler(nullptr); in PublishCallerAndWaitForBackcaller()
/test/xts/acts/ability/ability_runtime/actscalltest/systemcallentrytest/entry/src/main/ets/SecondAbility/
DSecondAbility.ts142 globalThis.abilityContext2.startAbilityByCall(want).then((caller) => {
144 caller.onRelease(test2100ReleaseCallback);
146 caller.callWithResult('test2100', param).then((data2) => {
148 caller.release();
/test/xts/acts/ability/ability_runtime/actsmultiplecall/actsappmultiplerely/entry/src/main/ets/entryability/
DEntryAbility.ts30 }).then((caller) => {
32 JSON.stringify(caller));
/test/xts/acts/ability/ability_runtime/actscrosscall/actscrosscalltest/entry/src/main/ets/test/
DAbility.test.ets425 globalThis.abilityContext.startAbilityByCallWithAccount(null, -1).then((caller) => {
426 console.info("====>Acts_CrossUserCall_0900 caller: " + caller);
489 globalThis.abilityContext.startAbilityByCallWithAccount(undefined, -1).then((caller) => {
490 console.info("====>Acts_CrossUserCall_1100 caller: " + caller);
558 globalThis.abilityContext.startAbilityByCallWithAccount(want, 100).then((caller) => {
559 console.info("====>Acts_CrossUserCall_1300 caller: " + caller);
625 globalThis.abilityContext.startAbilityByCallWithAccount(want, null).then((caller) => {
626 …le.info('====>Acts_CrossUserCall_1500 startAbilityByCallWithAccount OK:' + JSON.stringify(caller));
696 globalThis.abilityContext.startAbilityByCallWithAccount(want, undefined).then((caller) => {
697 …e.info('====>Acts_CrossUserCall_1700 startAbilityByCallWithAccount OK :' + JSON.stringify(caller));
[all …]
/test/xts/acts/xts/device_attest/entry/src/main/ets/test/
DdeviceAttestInfo.test.ets45 * @tc.desc 202 - Not System App. Interface caller is not a system app.
72 * @tc.desc 202 - Not System App. Interface caller is not a system app.
100 * @tc.desc 202 - Not System App. Interface caller is not a system app.
/test/testfwk/arkxtest/uitest/addon/
Dextension_executor.cpp174 auto caller = message["this"]; in CallThroughMessage() local
176 auto nullThis = caller.type() == VT::null; in CallThroughMessage()
178 …CALL_THROUGH_CHECK(caller.type() == VT::string || nullThis, "Illegal thisRef type", ERR_BAD_ARG, t… in CallThroughMessage()
182 .callerObjRef_ = nullThis ? "" : caller.get<string>(), in CallThroughMessage()
/test/xts/acts/ability/ability_runtime/actsmultiplecall/actscallfunction/entry/src/main/ets/test/
DAbility.test.ets160 …* @tc.desc: The caller application can passively perceive the callee death notification of the cal…
282 * @tc.desc: The caller application can actively release the multi-instance AbilityCaller.
308 … .assertEqual('release the first caller successful, release the second caller successful.');
322 …* @tc.desc: The caller application can passively perceive the service provider multi-instance call…
/test/xts/acts/ability/ability_runtime/actsstserviceabilityclientcase/entry/src/main/js/test/
DActsStServiceAbilityClientCaseTest.test.js41 function unsubscribe(caller, subscriber) { argument
44 + (caller)
/test/xts/acts/ability/ability_runtime/actsuiextensionforresulttest/actsuiextensionforresulttest/entry/src/main/ets/test/
DAbility.test.ets152 …* returned to the last caller, and other callers return abnormal information, in which the resultC…
216 * return an exception message to the caller, in which the resultCode is -1.
450 …* to the last caller, and other callers return abnormal information, in which the resultCode is -1.
512 * and return an exception message to the caller, in which the resultCode is -1.
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/src/main/js/test/
DStServiceAbilityClient.test.js87 function unsubscribe(caller, subscriber) { argument
90 + (caller)
/test/xts/acts/security/security_huks_reformed_test/huks_hmac_callback_BasicTest/src/main/js/test/HMAC/
DSecurityHuksImportJsunit.test.js962 async function generateAndExportPublicKey(keyAlias, HuksOptions, caller) { argument
968 if (caller) {
/test/xts/acts/ability/ability_runtime/actsfwkdataaccessortest/actsfwkdataaccessortest/src/main/js/test/
DDataAbilityHelperJsSt.test.js5149 function waitDone(caller) { argument
5150 console.debug("=ACTS_OnOff_0300 caller ====>" + caller);
5158 } else if (caller == "notifyChange") {
5227 function waitDone(caller) { argument
5228 console.debug("=ACTS_OnOff_0400 caller ====>" + caller);
5230 expect("notifyChange").assertEqual(caller);
5366 function waitDone(caller) { argument
5367 console.debug("=ACTS_OnOff_0600 caller ====>" + caller);
/test/testfwk/arkxtest/uitest/test/
Dfrontend_api_handler_test.cpp97 json caller; in TEST_F() local