Home
last modified time | relevance | path

Searched refs:tmpUint8Array (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/usb/usb_manager/test/native/js_unittest/
H A DCheckEmptyUtils.js60 var tmpUint8Array = new Uint8Array(arr); variable
61 return tmpUint8Array;
H A DUsbDevicePipeJsunit.test.js150 var tmpUint8Array = new Uint8Array(testParam.maxInSize);
151 usb.bulkTransfer(testParam.pip, testParam.inEndpoint, tmpUint8Array, 5000).then(data => {
152 … console.info('usb case readData tmpUint8Array buffer : ' + CheckEmptyUtils.ab2str(tmpUint8Array));
186 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData);
187 usb.bulkTransfer(testParam.pip, testParam.outEndpoint, tmpUint8Array, 5000).then(data => {
240 var tmpUint8Array = new Uint8Array(512);
250 data: tmpUint8Array
H A DUsbDevicePipeJsunitEx.test.js152 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData);
155 usb.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data => {
183 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData);
186 usb.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data => {
214 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData);
217 usb.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data => {
/ohos5.0/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
H A Dhks_samgr_client_proxy.c64 const uint8_t *tmpUint8Array = ReadBuffer(reply->io, buffSize); in SynchronizeOutput() local
65 if (tmpUint8Array == NULL) { in SynchronizeOutput()
70 if (memcpy_s(outBlob->data, outBlob->size, tmpUint8Array, buffSize) != EOK) { in SynchronizeOutput()
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
H A Dhks_samgr_service_feature.c109 const uint8_t *tmpUint8Array = ReadBuffer(req, srcData->size); in ReadSrcDataFromReq() local
110 if (tmpUint8Array == NULL) { in ReadSrcDataFromReq()
118 (void)memcpy_s(srcData->data, srcData->size, tmpUint8Array, srcData->size); in ReadSrcDataFromReq()
/ohos5.0/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/ohosTest/js/
H A DUsbDevicePipeJsunitEx.test.js173 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData);
176 …usbManager.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data…
212 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData);
215 …usbManager.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data…
251 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData);
254 …usbManager.bulkTransfer(TmpTestParam.pip, TmpTestParam.outEndpoint, tmpUint8Array, 5000).then(data…
413 var tmpUint8Array = new Uint8Array(testParam.maxInSize);
459 var tmpUint8Array = new Uint8Array(testParam.maxInSize);
503 var tmpUint8Array = "invalid";
505 … usbManager.bulkTransfer(testParam.pip, testParam.inEndpoint, tmpUint8Array, 5000).then(data => {
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-universal-keystore-kit/
H A Djs-apis-huks.md599 let tmpUint8Array = new Uint8Array(arr);
600 return tmpUint8Array;
741 let tmpUint8Array = new Uint8Array(arr);
742 return tmpUint8Array;
882 let tmpUint8Array = new Uint8Array(arr);
883 return tmpUint8Array;
1027 let tmpUint8Array = new Uint8Array(arr);
1028 return tmpUint8Array;
2386 return tmpUint8Array;
3817 return tmpUint8Array;
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-universal-keystore-kit/
H A Djs-apis-huks.md598 let tmpUint8Array = new Uint8Array(arr);
599 return tmpUint8Array;
740 let tmpUint8Array = new Uint8Array(arr);
741 return tmpUint8Array;
881 let tmpUint8Array = new Uint8Array(arr);
882 return tmpUint8Array;
1026 let tmpUint8Array = new Uint8Array(arr);
1027 return tmpUint8Array;
2385 return tmpUint8Array;
3816 return tmpUint8Array;
[all …]