/test/xts/device_attest_lite/services/core/network/ |
D | attest_coap.c | 297 static int32_t CoapAddData(CoapPacket* pkt, const CoapBuffer* payload, CoapRWBuffer* buf) in CoapAddData() argument 300 if ((pkt == NULL) || (payload == NULL) || (buf == NULL)) { in CoapAddData() 305 if ((buf->rwBuffer == NULL) || ((payload->len != 0) && (payload->buffer == NULL))) { in CoapAddData() 316 if ((payload->len > 0xFFFF) || ((buf->len + payload->len + 1) > buf->size)) { in CoapAddData() 321 pkt->payload.len = payload->len; in CoapAddData() 322 if (payload->len) { in CoapAddData() 323 pkt->payload.len = payload->len; in CoapAddData() 325 pkt->payload.buffer = (const uint8_t*)&buf->rwBuffer[buf->len]; in CoapAddData() 326 … if (memcpy_s(&buf->rwBuffer[buf->len], MAX_MESSAGE_LEN, payload->buffer, payload->len) != 0) { in CoapAddData() 331 buf->len += payload->len; in CoapAddData() [all …]
|
D | attest_network.c | 129 static int32_t BuildCoapMsg(List *optionList, CoapBuffer *payload, char *outputBuf, size_t *outputL… in BuildCoapMsg() argument 132 if (optionList == NULL || payload == NULL || outputBuf == NULL || outputLen == NULL) { in BuildCoapMsg() 154 …if (CoapBuildMessage(&coapPacket, &coapPacketParam, payload, outputBuf, (uint32_t *)outputLen) != … in BuildCoapMsg() 785 const ATTEST_ACTION_TYPE actionType, CoapBuffer* payload) in SendCoapMsg() argument 788 if (devPacket == NULL || session == NULL || payload == NULL) { in SendCoapMsg() 805 if (BuildCoapMsg(&optionList, payload, coapMessage, &coapMessageLen) != 0) { in SendCoapMsg() 827 if (coapPkt->payload.len == 0) { in DecodeCoapMessage() 830 *outputLen = coapPkt->payload.len; in DecodeCoapMessage() 835 if (memcpy_s(tempOutput, *outputLen + 1, coapPkt->payload.buffer, *outputLen + 1) != 0) { in DecodeCoapMessage() 952 CoapBuffer payload; in SendAttestMsg() local [all …]
|
/test/xts/device_attest_lite/services/core/include/network/ |
D | attest_coap.h | 88 CoapBuffer payload; member 104 …2_t CoapBuildMessage(CoapPacket* coapPacket, CoapPacketParam* coapPacketParam, CoapBuffer* payload,
|
/test/xts/hats/hdf/manager/managerBenchmarkTest/ |
D | hdf_manager_benchmark_test.cpp | 91 payload = data.ReadInt32(); in OnRemoteRequest() 96 static int32_t payload; member in IPCObjectStubTest 99 int32_t IPCObjectStubTest::payload = 0; member in IPCObjectStubTest 149 int32_t payload = PAYLOAD_NUM; in BENCHMARK_F() local 152 data.WriteInt32(payload); in BENCHMARK_F() 159 ASSERT_EQ(IPCObjectStubTest::payload, payload); in BENCHMARK_F()
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/ |
D | sendrequest_func_test.c | 41 (IUnknown *iUnknown, struct Payload *payload); 64 static BOOL SyncCall(IUnknown *iUnknown, struct Payload *payload) in SyncCall() argument 67 if (payload != NULL && payload->id >= 0 && payload->name != NULL) { in SyncCall() 416 struct Payload payload = { variable 420 BOOL result = demoApi->SyncCall((IUnknown *)demoApi, &payload);
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | SendRequestTest.cpp | 46 bool(*SyncCall)(IUnknown *iUnknown, struct Payload *payload); 69 static bool SyncCall(IUnknown *iUnknown, struct Payload *payload) in SyncCall() argument 72 if (payload != nullptr && payload->id >= 0 && payload->name != nullptr) { in SyncCall() 356 struct Payload payload = { variable 360 bool result = demoApi->SyncCall((IUnknown *)demoApi, &payload);
|
/test/testfwk/developer_test/libs/fuzzlib/tools/ |
D | run_result.py | 43 self.payload = {}
|
/test/xts/hats/hdf/manager/managerServiceTest/ |
D | service_manager_hdi_test.cpp | 91 payload = data.ReadInt32(); in OnRemoteRequest() 96 static int32_t payload; member in IPCObjectStubTest 99 int32_t IPCObjectStubTest::payload = 0; member in IPCObjectStubTest 156 int32_t payload = PAYLOAD_NUM; variable 159 data.WriteInt32(payload); 165 ASSERT_EQ(IPCObjectStubTest::payload, payload);
|
/test/xts/acts/distributed_schedule_lite/distributed_schedule_posix/src/ |
D | MsgParserLenFuncTest.cpp | 36 interInfo.payload = buffer; in RunTest()
|
D | MsgParserFuncTest.cpp | 36 interInfo.payload = buffer; in RunTest()
|
/test/xts/hats/hdf/manager/managerHdiTest/ |
D | service_manager_hdi_c_test.cpp | 146 int32_t payload = PAYLOAD_NUM; variable 147 HdfSbufWriteInt32(data, payload); 152 ASSERT_EQ(g_callbackPayload, payload);
|
/test/xts/acts/communication/nfc_ErrorCode/src/main/js/test/ |
D | NDEFTag.test.js | 156 {tnf: 0x01, rtdType: [0x54], id: [0x01, 0x02], payload: [0x00, 0xa4, 0x04]}, property 157 {tnf: 0x02, rtdType: [0x55], id: [0x03, 0x04], payload: [0x00, 0xa4, 0x04]}, property
|
/test/xts/acts/communication/nfc_Controller/src/main/js/test/ |
D | NDEFTag.test.js | 192 {tnf: 0x01, rtdType: [0x54], id: [0x01, 0x02], payload: [0x00, 0xa4, 0x04]}, property 193 {tnf: 0x02, rtdType: [0x55], id: [0x03, 0x04], payload: [0x00, 0xa4, 0x04]}, property
|