Home
last modified time | relevance | path

Searched refs:checkSum (Results 1 – 12 of 12) sorted by relevance

/developtools/smartperf_host/ide/src/hdc/message/
DPayloadProtect.ts25 constructor(channelId: number, commandFlag: number, checkSum: number, vCode: number) {
29 this._checkSum = checkSum;
53 get checkSum(): number { method in PayloadProtect
57 set checkSum(value: number) { method in PayloadProtect
/developtools/profiler/host/smartperf/ide/src/hdc/message/
DPayloadProtect.ts25 constructor(channelId: number, commandFlag: number, checkSum: number, vCode: number) {
29 this._checkSum = checkSum;
53 get checkSum(): number { method in PayloadProtect
57 set checkSum(value: number) { method in PayloadProtect
/developtools/smartperf_host/ide/test/hdc/message/
DPayloadProtect.test.ts44 expect(payloadProtect.checkSum).toBeUndefined();
48 payloadProtect.checkSum = true;
49 expect(payloadProtect.checkSum).toBeTruthy();
/developtools/profiler/host/smartperf/ide/src/hdc/common/
DSerialize.ts46 let checkSum = this.serializeU8(3, payloadProtect.checkSum);
48 …let mergedArray = new Uint8Array(channelId.length + commandFlag.length + checkSum.length + vCode.l…
51 mergedArray.set(checkSum, channelId.length + commandFlag.length);
52 mergedArray.set(vCode, channelId.length + commandFlag.length + checkSum.length);
281 let checkSum = this.parseU8(checkSumDataView, 1);
290 return new PayloadProtect(channelId, commandFlag, checkSum, vCode);
/developtools/smartperf_host/ide/src/hdc/common/
DSerialize.ts46 let checkSum = this.serializeU8(3, payloadProtect.checkSum);
48 …let mergedArray = new Uint8Array(channelId.length + commandFlag.length + checkSum.length + vCode.l…
51 mergedArray.set(checkSum, channelId.length + commandFlag.length);
52 mergedArray.set(vCode, channelId.length + commandFlag.length + checkSum.length);
281 let checkSum = this.parseU8(checkSumDataView, 1);
290 return new PayloadProtect(channelId, commandFlag, checkSum, vCode);
/developtools/profiler/host/smartperf/ide/src/hdc/transmission/
DDataProcessing.ts34 private static checkSum: number = 0; property in DataProcessing
91 DataProcessing.checkSum,
/developtools/smartperf_host/ide/src/hdc/transmission/
DDataProcessing.ts34 private static checkSum: number = 0; property in DataProcessing
91 DataProcessing.checkSum,
/developtools/smartperf_host/ide/test/hdc/common/
DSerialize.test.ts34 checkSum: 1,
/developtools/hdc/src/common/
Dserial_struct.h94 … Field<fieldThree, &Hdc::HdcSessionBase::PayloadProtect::checkSum>("checkSum"),
Dsession.h56 uint8_t checkSum; // enable it will be lose about 20% speed member
Dsession.cpp810 …protectBuf.checkSum = (ENABLE_IO_CHECKSUM && dataSize > 0) ? Base::CalcCheckSum(data, dataSize) : … in Send()
870 …if (ENABLE_IO_CHECKSUM && protectBuf.checkSum != 0 && (protectBuf.checkSum != Base::CalcCheckSum(d… in DecryptPayload()
/developtools/packing_tool/adapter/ohos/
DCompressor.java512 private static byte[] checkSum(String filename) throws BundleException { in checkSum() method in Compressor
536 byte[] byteSum = checkSum(filePath); in getSHA256()