Home
last modified time | relevance | path

Searched refs:uint8 (Results 1 – 25 of 89) sorted by relevance

1234

/ohos5.0/foundation/communication/dsoftbus/core/adapter/br/include/
H A Dbt_rfcom.h30 typedef uint8 BT_UUID[BT_UUID_LEN];
31 typedef uint8 BD_ADDR[BT_ADDR_LEN];
43 void (*OnEvent)(uint8 type, uint8 handle, int value);
44 void (*OnDataReceived)(uint8 handle, const uint8 *buf, uint16 len);
57 uint8 BtRfcomClientCreate(const BD_ADDR mac, const BT_UUID uuid);
61 uint8 BtRfcomClientConnect(uint8 handle, BtRfcomEventCallback *cb);
65 uint8 BtRfcomClientDisconnect(uint8 handle);
69 uint8 BtRfcomClientWrite(uint8 handle, uint8 *data, uint16 dataLen);
73 uint8 BtRfcomServerAccept(uint8 handle, BtRfcomEventCallback *cb);
77 uint8 BtRfcomServerCreate(const char *name, const BT_UUID uuid);
[all …]
/ohos5.0/docs/zh-cn/application-dev/security/AssetStoreKit/
H A Dasset-native-update.md17 …| ASSET_TAG_ALIAS | 类型为uint8[],长度为1-256字节。 | 必选 …
31 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_1<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内…
32 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_2<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内…
33 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_3<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内…
34 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_4<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内…
40 …| ASSET_TAG_SECRET | 类型为uint8[],长度为1-1024字节。 | 可选 | 关键资产明文。 …
41 …| ASSET_TAG_DATA_LABEL_NORMAL_1 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属信息,内容由业务自定义且无完整性保护。<br/…
42 …| ASSET_TAG_DATA_LABEL_NORMAL_2 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属信息,内容由业务自定义且无完整性保护。<br/…
43 …| ASSET_TAG_DATA_LABEL_NORMAL_3 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属信息,内容由业务自定义且无完整性保护。<br/…
44 …| ASSET_TAG_DATA_LABEL_NORMAL_4 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属信息,内容由业务自定义且无完整性保护。<br/…
[all …]
H A Dasset-native-remove.md15 | ASSET_TAG_ALIAS | 类型为uint8[],长度为1-256字节。 | 可选 |…
21 | ASSET_TAG_DATA_LABEL_CRITICAL_1 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
22 | ASSET_TAG_DATA_LABEL_CRITICAL_2 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
23 | ASSET_TAG_DATA_LABEL_CRITICAL_3 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
24 | ASSET_TAG_DATA_LABEL_CRITICAL_4 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
25 | ASSET_TAG_DATA_LABEL_NORMAL_1 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
26 | ASSET_TAG_DATA_LABEL_NORMAL_2 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
29 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_1<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
30 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_2<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
31 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_3<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
[all …]
H A Dasset-native-add.md15 | ASSET_TAG_SECRET | 类型为uint8[],长度为1-1024字节。 | 必选 |…
16 | ASSET_TAG_ALIAS | 类型为uint8[],长度为1-256字节。 | 必选 |…
22 | ASSET_TAG_DATA_LABEL_CRITICAL_1 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
23 | ASSET_TAG_DATA_LABEL_CRITICAL_2 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
24 | ASSET_TAG_DATA_LABEL_CRITICAL_3 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
25 | ASSET_TAG_DATA_LABEL_CRITICAL_4 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
26 | ASSET_TAG_DATA_LABEL_NORMAL_1 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
30 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_1<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
31 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_2<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
32 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_3<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
[all …]
H A Dasset-native-query.md16 | ASSET_TAG_ALIAS | 类型为uint8[],长度为1-256字节。 | 可选 |…
22 | ASSET_TAG_DATA_LABEL_CRITICAL_1 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
23 | ASSET_TAG_DATA_LABEL_CRITICAL_2 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
24 | ASSET_TAG_DATA_LABEL_CRITICAL_3 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
25 | ASSET_TAG_DATA_LABEL_CRITICAL_4 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
26 | ASSET_TAG_DATA_LABEL_NORMAL_1 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
27 | ASSET_TAG_DATA_LABEL_NORMAL_2 | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键…
30 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_1<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
31 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_2<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
32 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_3<sup>12+</sup> | 类型为uint8[],长度为1-2048字节。 | 可选 | 关键资产附属的本地信息,内容…
[all …]
/ohos5.0/base/hiviewdfx/hievent_lite/frameworks/
H A Dhiview_event.c33 #define GET_UINT32_BYTE1(v) (uint8)(((uint32)(v)) & 0x000000FF)
38 static uint8 HiEventEncode(uint8 k, int32 v, uint8 last, uint8 *encodeOut);
51 void HiEventPrintf(uint8 type, uint16 eventId, int8 key, int32 value) in HiEventPrintf()
57 uint8 encodeBuffer[SINGLE_VALUE_MAX_LEN] = { 0 }; in HiEventPrintf()
70 OutputEvent((uint8 *)&e); in HiEventPrintf()
73 HiEvent *HiEventCreate(uint8 type, uint16 eventId, uint8 num) in HiEventCreate()
104 uint8 encodeLen; in HiEventPutInteger()
123 OutputEvent((uint8 *)event); in HiEventReport()
129 static uint8 HiEventEncode(uint8 k, int32 v, uint8 last, uint8 *encodeOut) in HiEventEncode()
193 void HiEventFileRemoveWatcher(uint8 type, FileProc func) in HiEventFileRemoveWatcher()
[all …]
H A Dhiview_output_event.h37 void OutputEvent(const uint8 *data);
44 uint32 GetEventFileSize(uint8 eventType);
53 uint32 ReadEventFile(uint8 eventType, uint8 *buf, uint32 len);
62 int32 EventContentFmt(char *outStr, int32 outStrLen, const uint8 *pEvent);
90 int HiEventFileProcImp(uint8 type, const char *dest, uint8 mode);
98 void HiviewRegisterHieventFileWatcher(uint8 type, FileProc func, const char *dest);
105 void HiviewUnRegisterHieventFileWatcher(uint8 type, FileProc func);
H A Dhiview_output_event.c97 static void Output2Flash(uint8 eventType);
98 static void CloseEventOutputFile(uint8 type);
220 void OutputEvent(const uint8 *data) in OutputEvent()
286 uint8 payload[EVENT_PAYLOAD_MAX_SIZE]; in OutputEventRealtime()
289 event.type = (uint8)req->msgValue; in OutputEventRealtime()
317 Output2Flash((uint8)req->msgValue); in OutputEvent2Flash()
320 static void Output2Flash(uint8 eventType) in Output2Flash()
325 uint8 *tmpBuffer = NULL; in Output2Flash()
377 uint32 GetEventFileSize(uint8 eventType) in GetEventFileSize()
386 uint32 ReadEventFile(uint8 eventType, uint8 *buf, uint32 len) in ReadEventFile()
[all …]
/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/mini/
H A Dhiview_log.c33 static boolean CheckParameters(uint8 module, uint8 level);
67 static boolean CheckParameters(uint8 module, uint8 level) in CheckParameters()
100 const char *HiLogGetModuleName(uint8 id) in HiLogGetModuleName()
109 void HiLogPrintf(uint8 module, uint8 level, const char *nums, const char *fmt, ...) in HiLogPrintf()
129 pCommon->valueNumber = (uint8)argsNum; in HiLogPrintf()
130 pCommon->task = (uint8)HIVIEW_GetTaskId(); in HiLogPrintf()
135 uint8 i = 0; in HiLogPrintf()
146 void HILOG_HashPrintf(uint8 module, uint8 level, const char *nums, uint32 hash, ...) in HILOG_HashPrintf()
164 pCommon->valueNumber = (uint8)argsNum; in HILOG_HashPrintf()
170 uint8 i = 0; in HILOG_HashPrintf()
[all …]
H A Dhiview_log_limit.h29 uint8 maxNum; /* the max num limit of log line */
30 uint8 logNum;
37 boolean LogIsLimited(uint8 module);
38 void SetLimitThreshold(uint8 module, uint8 v);
39 const HiLogLimitRule *GetLogLimitRule(uint8 module);
H A Dhiview_output_log.h37 void OutputLog(const uint8 *data, uint32 len);
51 uint32 ReadLogFile(uint8 *buf, uint32 len);
60 int32 LogContentFmt(char *outStr, int32 outStrLen, const uint8 *pLogContent);
109 int HiLogFileProcImp(const char *dest, uint8 mode);
/ohos5.0/base/hiviewdfx/hievent_lite/interfaces/native/innerkits/
H A Dhiview_event.h42 uint8 mark;
43 uint8 len; /* payload length */
50 uint8 type; /* Do not write to file. */
51 uint8 *payload; /* T-L-V */
72 typedef void (*FileProc)(const char *path, uint8 type, uint8 event);
84 void HiEventPrintf(uint8 type, uint16 eventId, int8 key, int32 value);
96 HiEvent *HiEventCreate(uint8 type, uint16 eventId, uint8 num);
140 void HiEventFileAddWatcher(uint8 type, FileProc func, const char *dest);
148 void HiEventFileRemoveWatcher(uint8 type, FileProc func);
159 int HiEventFileProc(uint8 type, const char *dest, uint8 mode);
/ohos5.0/base/hiviewdfx/hiview_lite/
H A Dhiview_util.h53 uint8 minutes;
54 uint8 hour;
55 uint8 day;
56 uint8 month;
57 uint8 weekday;
58 uint8 seconds;
77 void *HIVIEW_MemAlloc(uint8 modId, uint32 size);
78 void HIVIEW_MemFree(uint8 modId, void *pMem);
93 int32 HIVIEW_FileRead(int32 handle, uint8 *buf, uint32 len);
102 uint8 *HIVIEW_GetStackBegin(void);
[all …]
H A Dhiview_config.h77 uint8 outputOption : 4; /* Control log output mode. */
78 uint8 hiviewInited : 1; /* Indicates whether the hiview service is inited. */
79 uint8 level : 3; /* Control log output level. HILOG_LV_XXX */
80 uint8 logSwitch : 1; /* Indicates whether to enable the log component. */
81 uint8 eventSwitch : 1; /* Indicates whether to enable the event component. */
82 uint8 dumpSwitch : 1; /* Indicates whether to enable the dump component. */
H A Dhiview_file.h48 typedef void (*FileProc)(const char *path, uint8 type, uint8 event);
72 uint8 type; /* HiviewFileType */
73 uint8 codeMainVersion;
74 uint8 codeSubVersion;
132 int32 WriteToFile(HiviewFile *fp, const uint8 *data, uint32 len);
143 int32 ReadFromFile(HiviewFile *fp, uint8 *data, uint32 readLen);
H A Dhiview_cache.h44 uint8 *buffer; // Circular buffer
56 boolean InitHiviewStaticCache(HiviewCache *cache, HiviewCacheType type, uint8 *buffer, uint16 size);
74 int32 WriteToCache(HiviewCache *cache, const uint8 *data, uint16 wLen);
83 int32 ReadFromCache(HiviewCache *cache, uint8 *data, uint16 rLen);
94 int32 PrereadFromCache(HiviewCache *cache, uint8 *data, uint16 rLen);
H A Dhiview_def.h43 uint8 id;
49 uint8 last : 1; /* Indicates whether the last parameter. */
50 uint8 id : 4;
51 uint8 len : 3;
/ohos5.0/base/update/sys_installer_lite/frameworks/source/verify/
H A Dhota_verify.c24 static uint8 g_hash[HASH_LENGTH] = {0};
39 void HotaHashCalc(const uint8 *buffer, uint32 length) in HotaHashCalc()
50 int32 HotaGetHash(uint8 *buffer, uint32 length) in HotaGetHash()
74 static int32 HotaCalcImageHash(uint8 *dataAddr, uint32 dataLen, uint8 *hash, uint32 hashLen) in HotaCalcImageHash()
84 uint8 *databuf = dataAddr; in HotaCalcImageHash()
103 static int32 HotaSignVerifyByHash(const uint8 *hash, uint32 hashLen, const uint8 *imageSign, uint32… in HotaSignVerifyByHash()
112 uint8 *keyBuf = HotaGetPubKey(&length); in HotaSignVerifyByHash()
132 int32 HotaSignVerify(uint8 *image, uint32 imgLen, uint8 *imageSign, uint32 signLen) in HotaSignVerify()
139 uint8 imageHashLocal[HASH_LENGTH] = {0}; in HotaSignVerify()
155 uint8 *HotaGetPubKey(uint32 *length) in HotaGetPubKey()
H A Dhota_verify.h32 void HotaHashCalc(const uint8 *buffer, uint32 length);
34 int32 HotaGetHash(uint8 *buffer, uint32 length);
37 int32 HotaSignVerify(uint8 *image, uint32 imgLen, uint8 *imageSign, uint32 signLen);
40 uint8 *HotaGetPubKey(uint32 *length);
/ohos5.0/base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite/
H A Dhiview_log.h145 uint8 head;
146 uint8 module;
147 uint8 level : 4;
148 uint8 valueNumber : 4;
149 uint8 task;
186 const char *HiLogGetModuleName(uint8 id);
196 void HiLogPrintf(uint8 module, uint8 level, const char *nums,
241 typedef void (*FileProc)(const char *path, uint8 type, uint8 event);
267 int HiLogFileProc(const char *dest, uint8 mode);
415 void HILOG_HashPrintf(uint8 module, uint8 level, const char *nums, uint32 hash, ...);
[all …]
/ohos5.0/docs/en/application-dev/security/AssetStoreKit/
H A Dasset-native-update.md17 …| ASSET_TAG_ALIAS | Type: uint8[]<br>Length: 1-256 bytes …
31 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_1<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| L…
32 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_2<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| L…
33 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_3<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| L…
34 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_4<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| L…
41 …| ASSET_TAG_SECRET | Type: uint8[]<br>Length: 1-1024 bytes| No | New asset in plaintext. …
42 …| ASSET_TAG_DATA_LABEL_NORMAL_1 | Type: uint8[]<br>Length: 1-2048 bytes| No | New asset attribu…
46 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_1<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| L…
47 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_2<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| L…
48 …| ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_3<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| L…
[all …]
H A Dasset-native-remove.md15 | ASSET_TAG_ALIAS | Type: uint8[]<br>Length: 1-256 bytes …
21 | ASSET_TAG_DATA_LABEL_CRITICAL_1 | Type: uint8[]<br>Length: 1-2048 bytes …
22 | ASSET_TAG_DATA_LABEL_CRITICAL_2 | Type: uint8[]<br>Length: 1-2048 bytes …
23 | ASSET_TAG_DATA_LABEL_CRITICAL_3 | Type: uint8[]<br>Length: 1-2048 bytes …
24 | ASSET_TAG_DATA_LABEL_CRITICAL_4 | Type: uint8[]<br>Length: 1-2048 bytes …
25 | ASSET_TAG_DATA_LABEL_NORMAL_1 | Type: uint8[]<br>Length: 1-2048 bytes …
26 | ASSET_TAG_DATA_LABEL_NORMAL_2 | Type: uint8[]<br>Length: 1-2048 bytes …
29 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_1<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| Lo…
30 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_2<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| Lo…
31 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_3<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| Lo…
[all …]
H A Dasset-native-add.md15 | ASSET_TAG_SECRET | Type: uint8[]<br>Length: 1-1024 bytes …
16 | ASSET_TAG_ALIAS | Type: uint8[]<br>Length: 1-256 bytes …
22 | ASSET_TAG_DATA_LABEL_CRITICAL_1 | Type: uint8[]<br>Length: 1-2048 bytes …
23 | ASSET_TAG_DATA_LABEL_CRITICAL_2 | Type: uint8[]<br>Length: 1-2048 bytes …
24 | ASSET_TAG_DATA_LABEL_CRITICAL_3 | Type: uint8[]<br>Length: 1-2048 bytes …
25 | ASSET_TAG_DATA_LABEL_CRITICAL_4 | Type: uint8[]<br>Length: 1-2048 bytes …
26 | ASSET_TAG_DATA_LABEL_NORMAL_1 | Type: uint8[]<br>Length: 1-2048 bytes …
30 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_1<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| Lo…
31 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_2<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| Lo…
32 | ASSET_TAG_DATA_LABEL_NORMAL_LOCAL_3<sup>12+</sup> | Type: uint8[]<br>Length: 1-2048 bytes| No| Lo…
[all …]
/ohos5.0/base/update/sys_installer_lite/frameworks/test/unittest/common/src/
H A Dota_test.cpp302 static int HotaCalcImageHash(uint8 *dataAddr, uint32 dataLen, uint8 *hash, uint32 hashLen) in HotaCalcImageHash()
311 uint8 *dataBuff = dataAddr; in HotaCalcImageHash()
392 EXPECT_EQ(0, HotaSignVerify(reinterpret_cast<uint8 *>(g_otaPkg), INFO_COMP_DATA_LEN,
393 … reinterpret_cast<uint8 *>(g_otaPkg + INFO_COMP_DATA_LEN + SIGN_RSA2048_LEN), SIGN_RSA3072_LEN));
407 uint8 *keyBuf = HotaGetPubKey(&length);
419 uint8 *keyBuf = HotaGetPubKey(&length);
435 uint8 *keyBuf = HotaGetPubKey(&length);
442 uint8 imageHashLocal[HASH_LENGTH] = {0};
443 …ret = HotaCalcImageHash(reinterpret_cast<uint8 *>(g_otaPkg), INFO_COMP_DATA_LEN, imageHashLocal, H…
447 … reinterpret_cast<uint8 *>(g_otaPkg + INFO_COMP_DATA_LEN + SIGN_RSA2048_LEN), SIGN_RSA3072_LEN);
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dtask_manager.h41 uint8 priority; // task run priority
42 uint8 size;
43 uint8 top;
47 TaskPool *SAMGR_CreateFixedTaskPool(const TaskConfig *config, const char *name, uint8 size);

1234