Home
last modified time | relevance | path

Searched refs:call (Results 1 – 25 of 54) sorted by relevance

123

/test/xts/acts/telephony/telephonyjstest/telephony_base/call_manager/src/main/js/test/
DCallManagerTest.test.js16 import call from '@ohos.telephony.call';
47 call.getCallState((err, data) => {
54 expect(data === call.CALL_STATE_IDLE).assertTrue();
68 var data = await call.getCallState();
69 expect(data === call.CALL_STATE_IDLE).assertTrue();
87 call.hasCall((err, data) => {
108 var data = await call.hasCall();
127 call.formatPhoneNumber('100000000000', (err, data) => {
148 call.formatPhoneNumber('10 000 000 0000', {
170 call.formatPhoneNumber('(010)00000000', {
[all …]
/test/testfwk/arkxtest/uitest/connection/
Dipc_transactor.cpp83 ApiCallInfo call; in OnRemoteRequest() local
85 call.apiId_ = data.ReadString(); in OnRemoteRequest()
86 call.callerObjRef_ = data.ReadString(); in OnRemoteRequest()
88 call.fdParamIndex_ = data.ReadInt32(); in OnRemoteRequest()
89 call.paramList_ = nlohmann::json::parse(paramListStr, nullptr, false); in OnRemoteRequest()
90 DCHECK(!call.paramList_.is_discarded()); in OnRemoteRequest()
91 if (call.fdParamIndex_ >= 0) { in OnRemoteRequest()
92 call.paramList_.at(call.fdParamIndex_) = data.ReadFileDescriptor(); in OnRemoteRequest()
95 Call(call, result); in OnRemoteRequest()
107 void ApiCaller::Call(const ApiCallInfo &call, ApiReplyInfo &result) in Call() argument
[all …]
Dipc_transactor.h35 virtual void Call(const ApiCallInfo &call, ApiReplyInfo &result) = 0;
47 void Call(const ApiCallInfo &call, ApiReplyInfo &result) override;
62 void Call(const ApiCallInfo &call, ApiReplyInfo &result) override;
80 void Transact(const ApiCallInfo &call, ApiReplyInfo &reply);
/test/xts/acts/telephony/telephonyjstest/call_manager/call_manager_ims2_call/src/main/js/test/
DCallManageAll.test.js16 import call from '@ohos.telephony.call';
103 call.getCallState((err, data) => {
122 let promise = call.getCallState();
139 call.hasCall((err, data) => {
158 var data = await call.hasCall();
176 call.formatPhoneNumber('100000000000', (err, data) => {
198 var data = await call.formatPhoneNumber('2000000');
218 call.formatPhoneNumber('13900000000', numberFormatOptions, (err, data) => {
241 var data = await call.formatPhoneNumber('13900000000', numberFormatOptions);
260call.formatPhoneNumberToE164('010-0000-0000', numberFormatOptions.countryCode, (err, data) => {
[all …]
/test/xts/dcts/distributeddatamgr/jstest/distributed_kv_store/client/hap/src/main/js/test/
DKvStoreSecurityLevelJsunit.test.js186 function call(data) { function
200 kvStore.off("syncComplete",call);
208 kvStore.on("syncComplete",call);
240 function call(data) { function
254 kvStore.off("syncComplete",call);
264 kvStore.on("syncComplete",call);
296 function call(data) { function
310 kvStore.off("syncComplete",call);
318 kvStore.on("syncComplete",call);
350 function call(data) { function
[all …]
/test/testfwk/arkxtest/uitest/test/
Dipc_transactor_test.cpp126 auto executor = [](const ApiCallInfo &call, ApiReplyInfo &result) { in TEST() argument
127 string ret = call.apiId_; in TEST()
128 ret.append("/").append(call.callerObjRef_).append("/"); in TEST()
129 ret.append(call.paramList_.at(0).get<string>()); in TEST()
148 auto call = ApiCallInfo {.apiId_ = "testApi", .callerObjRef_ = "testObject"}; in TEST()
149 call.paramList_.emplace_back("testParam"); in TEST()
151 client.Transact(call, result); in TEST()
161 client.Transact(call, result); in TEST()
181 auto executor = [token](const ApiCallInfo &call, ApiReplyInfo &result) { in TEST() argument
183 auto fd = call.paramList_.at(0).get<int32_t>(); in TEST()
[all …]
Dfrontend_api_handler_test.cpp75 auto call = ApiCallInfo {.apiId_ = "wyz"}; in TEST_F()
77 FrontendApiServer::Get().Call(call, reply); in TEST_F()
94 auto call = ApiCallInfo {.apiId_ = apiId}; in TEST_F()
96 server.Call(call, reply); in TEST_F()
101 server.Call(call, reply); in TEST_F()
114 auto call = ApiCallInfo {.apiId_ = apiId}; in TEST_F()
116 call.paramList_.emplace_back("wyz"); in TEST_F()
117 call.paramList_.emplace_back(10); in TEST_F()
118 server.Call(call, reply); in TEST_F()
132 auto call = ApiCallInfo {.apiId_ = apiId}; in TEST_F()
[all …]
/test/xts/acts/telephony/telephonyjstest/radiostatistic/entry/src/main/ets/test/
DCallJsunit.test.ets16 import call from '@ohos.telephony.call';
28 console.log("==========> call Test start ==========>");
39 let voiceCapablity = call.hasVoiceCapability();
50 * @tc.name Make a call.
58 call.makeCall(telNumber, (error) => {
77 * @tc.name Makes a call.
85 call.makeCall(telNumber).then(() => {
/test/testfwk/arkxtest/jsunit/src/module/assert/
DassertInstanceOf.js17 if (Object.prototype.toString.call(actualValue) == '[object ' + expected[0] + ']') {
24 …message: actualValue + ' is ' + Object.prototype.toString.call(actualValue) + 'not ' + expected[0]
DassertContain.js18 if (Object.prototype.toString.call(actualValue).indexOf('Array')) {
25 let type = Object.prototype.toString.call(actualValue);
/test/xts/acts/ability/ability_runtime/actscalltest/systemcallentrytest/entry/src/main/ets/test/
DAbility.test.ets153 caller.call('testCall', param).then(() => {
154 console.log('ACTS_CommonComponent_Call_0300 call success');
156 console.log('ACTS_CommonComponent_Call_0300 call exception' + err);
184 console.log('ACTS_CommonComponent_Call_0400 call success');
192 console.log('ACTS_CommonComponent_Call_0400 call exception' + err);
247 caller2.call('testCall', param).then(() => {
248 console.log('ACTS_CommonComponent_Call_0500 call success');
250 console.log('ACTS_CommonComponent_Call_0500 call exception' + err);
283 console.log('ACTS_CommonComponent_Call_0600 call success');
291 console.log('ACTS_CommonComponent_Call_0600 call exception' + err);
[all …]
/test/xts/acts/telephony/telephonyjstest/observer/entry/src/main/ets/test/
DObserverJsunit.test.ets26 * @tc.desc : check the getCellularDataState callback to verify the call back data
50 * @tc.desc : call the on method of networkStateChange
70 * @tc.desc : call the on method of networkStateChange
92 * @tc.desc : call the off method of networkStateChange
116 * @tc.desc : call the on method of signalInfoChange
136 * @tc.desc : call the on method of signalInfoChange
158 * @tc.desc : call the off method of signalInfoChange
183 * @tc.desc : call the on method of cellularDataConnectionStateChange
204 * @tc.desc : call the on method of cellularDataConnectionStateChange
227 * @tc.desc : call the off method of cellularDataConnectionStateChange
[all …]
/test/xts/acts/ability/ability_runtime/actsfwkdataaccessortest/actsdataabilityrelyhap/entry/src/main/ets/MainAbility/
DMainAbility.ts41 call(){ method in MainAbility
/test/xts/acts/ability/ability_runtime/actsusers/ActsAmsUsersApi7AppA/entry/src/main/ets/MainAbility/
DMainAbility.ts41 call(){ method in MainAbility
/test/testfwk/developer_test/src/core/build/
Dbuild_lite_manager.py71 build_result = subprocess.call(command) == 0
97 build_result = subprocess.call(command) == 0
Dbuild_testcases.py69 return subprocess.call(command) == 0
193 if subprocess.call(build_command) == 0:
224 if subprocess.call(build_command) == 0:
239 if subprocess.call(command, shell=False) == 0:
/test/xts/acts/ability/ability_runtime/actscalldataabilitytest/entry/src/main/ets/DataAbility/
Ddata.ts36 call(method, arg, extras) {
/test/xts/acts/ability/ability_runtime/actscalldataabilitytest/entry/src/main/ets/MainAbility/test/
DcallTest.test.ets76 dataAbilityHelper.call(URI_TEST, 'insert', '', pacMap).then((data) => {
77 console.info(TAG + ' call succeeded, data: ' + JSON.stringify(data));
80 console.error(TAG + ' call failed, error: ' + JSON.stringify(error));
/test/xts/dcts/testtools/disjsTest/server/
DReflectCallApi.js27 call(request) { method in ReflectCallApi
Dservice.js44 resCallApi = reflectCallApi.call(testBundle);
/test/testfwk/developer_test/libs/benchmark/report/
Dbenchmark_reporter.py52 subprocess.call(command, shell=False)
/test/testfwk/arkxtest/jsunit/src/module/mock/
DArgumentMatchers.js52 return Object.prototype.toString.call(value) === "[object RegExp]";
/test/testfwk/developer_test/src/core/command/
Dgen.py62 subprocess.call(command, shell=False)
/test/testfwk/arkxtest/jsunit/
Dindex.ets57 if (Object.prototype.hasOwnProperty.call(globalThis, 'setupUiTestEnvironment')) {
62 console.error('UiTestKit:: call setupUiTestEnvironment failure:' + error);
Dindex.js57 if (Object.prototype.hasOwnProperty.call(globalThis, 'setupUiTestEnvironment')) {

123