Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 25 of 117) sorted by relevance

12345

/test/xts/dcts/communication/dsoftbus/rpcserver/src/main/js/ServiceAbility/
Dservice.js111 onRemoteRequest(code, data, reply, option) {
119 let result = reply.writeString("onRemoteRequest invoking");
126 let result = reply.writeString(tmp1);
131 return super.onRemoteRequest(code, data, reply, option);
138 onRemoteMessageRequest(code, data, reply, option) {
148 let result = reply.writeByteArray(tmp1);
157 let result = reply.writeIntArray(tmp1);
166 let result = reply.writeFloatArray(tmp1);
175 let result = reply.writeShortArray(tmp1);
184 let result = reply.writeLongArray(tmp1);
[all …]
/test/xts/dcts/communication/dsoftbus/rpc/src/main/js/test/
DRpcJsunit.test.js120 onRemoteRequest(code, data, reply, option) { argument
143 onRemoteRequest(code, data, reply, option) { argument
164 reply.writeNoException();
165 reply.writeByte(tmp1);
166 reply.writeShort(tmp2);
167 reply.writeInt(tmp3);
168 reply.writeLong(tmp4);
169 reply.writeFloat(tmp5);
170 reply.writeDouble(tmp6);
171 reply.writeBoolean(tmp7);
[all …]
/test/xts/acts/communication/dsoftbus/rpc/src/main/js/test/
DRpcClientJsunit.test.js151 onRemoteRequest(code, data, reply, option) { argument
157 let result = reply.writeString("onRemoteRequest invoking");
162 let result = reply.writeString(tmp1);
166 return super.onRemoteRequest(code, data, reply, option);
173 onRemoteMessageRequest(code, data, reply, option) { argument
181 let result = reply.writeByteArray(tmp1);
188 let result = reply.writeIntArray(tmp1);
195 let result = reply.writeFloatArray(tmp1);
202 let result = reply.writeShort(tmp1);
209 let result = reply.writeLong(tmp1);
[all …]
/test/xts/device_attest_lite/framework/small/src/service/
Dattest_framework_feature.c46 static int32_t Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
90 static int32_t WriteAttestResultInfo(IpcIo *reply, AttestResultInfo *attestResultInfo) in WriteAttestResultInfo() argument
92 if (reply == NULL) { in WriteAttestResultInfo()
97 if (!WriteInt32(reply, DEVATTEST_SUCCESS)) { in WriteAttestResultInfo()
102 if (!WriteInt32(reply, attestResultInfo->authResult) || in WriteAttestResultInfo()
103 !WriteInt32(reply, attestResultInfo->softwareResult)) { in WriteAttestResultInfo()
109 if (!WriteInt32Vector(reply, attestResultInfo->softwareResultDetail, size)) { in WriteAttestResultInfo()
114 if (!WriteInt32(reply, attestResultInfo->ticketLength) || in WriteAttestResultInfo()
115 !WriteString(reply, attestResultInfo->ticket)) { in WriteAttestResultInfo()
122 static int32_t FeatureQueryAttest(IpcIo *reply) in FeatureQueryAttest() argument
[all …]
/test/xts/device_attest_lite/framework/small/src/client/
Dattest_framework_client_proxy.c44 static int32_t ReadAttestResultTicket(IpcIo *reply, AttestResultInfo **attestStatus) in ReadAttestResultTicket() argument
46 if ((attestStatus == NULL) || (*attestStatus == NULL) || (reply == NULL)) { in ReadAttestResultTicket()
52 char *ticket = (char *)ReadString(reply, &len); in ReadAttestResultTicket()
77 static int32_t ReadAttestResultInfo(IpcIo *reply, AttestResultInfo **attestStatus) in ReadAttestResultInfo() argument
79 if ((attestStatus == NULL) || (*attestStatus == NULL) || (reply == NULL)) { in ReadAttestResultInfo()
85 if (!ReadInt32(reply, (int32_t *)&attestResult->authResult) || in ReadAttestResultInfo()
86 !ReadInt32(reply, (int32_t *)&attestResult->softwareResult)) { in ReadAttestResultInfo()
92 int32_t *softwareResultDetail = ReadInt32Vector(reply, &len); in ReadAttestResultInfo()
103 if (!ReadInt32(reply, (int32_t *)&attestResult->ticketLength)) { in ReadAttestResultInfo()
108 return ReadAttestResultTicket(reply, attestStatus); in ReadAttestResultInfo()
[all …]
/test/xts/device_attest/services/devattest_ability/src/
Ddevattest_service_stub.cpp35 MessageParcel& data, MessageParcel& reply, MessageOption& option) in OnRemoteRequest() argument
47 return (this->*requestFunc)(data, reply); in OnRemoteRequest()
51 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
54 int DevAttestServiceStub::GetAttestStatusInner(MessageParcel& data, MessageParcel& reply) in GetAttestStatusInner() argument
59 if (!reply.WriteInt32(DEVATTEST_ERR_JS_IS_NOT_SYSTEM_APP)) { in GetAttestStatusInner()
68 if (!reply.WriteInt32(ret)) { in GetAttestStatusInner()
74 if (!attestResultInfoPtr->Marshalling(reply)) { in GetAttestStatusInner()
/test/xts/dcts/filemanagement/fileio/server/src/main/js/ServiceAbility/
Dservice.js138 onRemoteRequest(code, data, reply, option) { argument
150 result = reply.writeString("SUCCESS");
152 … result = reply.writeString("Server side dir synchronization creation failed.");
166 … result = reply.writeString("Server side dir synchronization delete failed!");
169 result = reply.writeString("SUCCESS");
184 result = reply.writeString("SUCCESS");
186 … result = reply.writeString("Server side file synchronization creation failed!");
200 … result = reply.writeString("Server side file synchronization delete failed!");
203 result = reply.writeString("SUCCESS");
224 let result = reply.writeString(content);
[all …]
/test/xts/hats/hdf/manager/managerHdiTest/
Dservice_manager_hdi_c_test.cpp91 struct HdfSBuf *reply = HdfSbufTypedObtain(SBUF_IPC); variable
93 ASSERT_TRUE(reply != nullptr);
100 … int status = sampleService->dispatcher->Dispatch(sampleService, SAMPLE_SERVICE_PING, data, reply);
104 HdfSbufRecycle(reply);
110 struct HdfRemoteService *service, int code, struct HdfSBuf *data, struct HdfSBuf *reply) in ServiceManagerTestCallbackDispatch() argument
141 struct HdfSBuf *reply = HdfSbufTypedObtain(SBUF_IPC); variable
143 ASSERT_TRUE(reply != nullptr);
150 … status = sampleService->dispatcher->Dispatch(sampleService, SAMPLE_SERVICE_CALLBACK, data, reply);
155 HdfSbufRecycle(reply);
176 struct HdfSBuf *reply = HdfSbufTypedObtain(SBUF_IPC); variable
[all …]
/test/testfwk/arkxtest/uitest/connection/
Dipc_transactor.cpp76 … int ApiCaller::OnRemoteRequest(uint32_t code, Message data, Message reply, MessageOption &option) in OnRemoteRequest() argument
96 …auto ret = reply.WriteString(result.resultValue_.dump()) && reply.WriteUint32(result.exception_.co… in OnRemoteRequest()
97 reply.WriteString(result.exception_.message_); in OnRemoteRequest()
100 reply.WriteBool(SetBackCaller(data.ReadRemoteObject())); in OnRemoteRequest()
103 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
139 MessageParcel reply; in Call() local
153 if (!ret || Remote()->SendRequest(TRANS_ID_CALL, data, reply, option) != 0) { in Call()
157 result.resultValue_ = json::parse(reply.ReadString(), nullptr, false); in Call()
159 result.exception_.code_ = static_cast<ErrCode>(reply.ReadUint32()); in Call()
160 result.exception_.message_ = reply.ReadString(); in Call()
[all …]
/test/xts/dcts/communication/dsoftbus_request/rpcserver/src/main/js/ServiceAbility/
Dservice.js90 onRemoteRequest(code, data, reply, option) {
96 let result = reply.writeString("onRemoteRequest invoking");
100 return super.onRemoteRequest(code, data, reply, option);
107 async onRemoteMessageRequest(code, data, reply, option) {
113 let result = reply.writeString("async onRemoteMessageRequest invoking");
118 let result = reply.writeString("async onRemoteMessageRequest invoking");
122 return super.onRemoteMessageRequest(code, data, reply, option);
/test/xts/hats/hdf/manager/managerBenchmarkTest/
Dhdf_manager_benchmark_test.cpp88 …uint32_t code, OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option)… in OnRemoteRequest() argument
116 OHOS::MessageParcel reply; in BENCHMARK_F() local
124 status = sampleService->SendRequest(SAMPLE_SERVICE_PING, data, reply, option); in BENCHMARK_F()
148 OHOS::MessageParcel reply; in BENCHMARK_F() local
157 status = sampleService->SendRequest(SAMPLE_SERVICE_CALLBACK, data, reply, option); in BENCHMARK_F()
191 OHOS::MessageParcel reply; in BENCHMARK_F() local
199 int status = sampleService->SendRequest(SAMPLE_REGISTER_DEVICE, data, reply, option); in BENCHMARK_F()
206 reply.FlushBuffer(); in BENCHMARK_F()
212 status = sampleService2->SendRequest(SAMPLE_SERVICE_SUM, data, reply, option); in BENCHMARK_F()
214 int32_t result = reply.ReadInt32(); in BENCHMARK_F()
[all …]
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/
Ddevattest_service_proxy.cpp27 MessageParcel reply; in GetAttestStatus() local
40 int ret = remote->SendRequest(GET_AUTH_RESULT, data, reply, option); in GetAttestStatus()
46 if (!reply.ReadInt32(authRet)) { in GetAttestStatus()
55 sptr<AttestResultInfo> attestResultInfoPtr = AttestResultInfo::Unmarshalling(reply); in GetAttestStatus()
/test/xts/acts/communication/dsoftbus/rpc_request/src/main/js/test/
DActsRpcRequestJsTest.test.js94 onRemoteRequest(code, data, reply, option) { argument
122 onRemoteRequest(code, data, reply, option) { argument
128 let result = reply.writeString("onRemoteRequest invoking");
132 return super.onRemoteRequest(code, data, reply, option);
139 async onRemoteMessageRequest(code, data, reply, option) { argument
144 reply.writeString("async onRemoteMessageRequest invoking");
148 reply.writeString("async onRemoteMessageRequest invoking");
153 reply.writeAshmem(tmp1);
156 return super.onRemoteMessageRequest(code, data, reply, option);
182 var reply = rpc.MessageSequence.create();
[all …]
/test/xts/dcts/ability/dmsfwk/dmsfwkfatest/src/main/js/test/
DDmsFwkFaTest.test.js690 let reply = new rpc.MessageParcel();
693 proxy.sendRequest(1, data, reply, option).then((result) => {
695 let msg = result.reply.readInt();
744 let reply = new rpc.MessageParcel();
747 proxy.sendRequest(1, data, reply, option).then((result) => {
749 let msg = result.reply.readInt();
798 let reply = new rpc.MessageParcel();
801 proxy.sendRequest(1, data, reply, option).then((result) => {
803 let msg = result.reply.readInt();
857 let reply = new rpc.MessageParcel();
[all …]
/test/xts/device_attest/services/devattest_ability/include/
Ddevattest_service_stub.h29 …int OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& optio…
36 int GetAttestStatusInner(MessageParcel& data, MessageParcel& reply);
37 … using RequestFuncType = int (DevAttestServiceStub::*)(MessageParcel& data, MessageParcel& reply);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider2/entry/src/main/ets/IdlServiceExt/MultipService/
Dmultip_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider3/entry/src/main/ets/IdlServiceExt/SubService/
Dsub_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider/entry/src/main/ets/IdlServiceExt/MultipService/
Dmultip_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionservice/entry/src/main/ets/IdlServiceExt/SubService/
Dsub_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider3/entry/src/main/ets/IdlServiceExt/MultipService/
Dmultip_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionservice/entry/src/main/ets/IdlServiceExt/MultipService/
Dmultip_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider2/entry/src/main/ets/IdlServiceExt/SubService/
Dsub_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider2/entry/src/main/ets/IdlServiceExt/
Didl_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider3/entry/src/main/ets/IdlServiceExt/
Didl_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);
/test/xts/acts/ability/ability_runtime/actsuiextensiontest/uiextensionprovider/entry/src/main/ets/IdlServiceExt/
Didl_service_ext_stub.ts25 async onRemoteMessageRequest(code: number, data, reply, option): Promise<boolean> {
32 reply.writeInt(errCode);
34 reply.writeInt(returnValue);

12345