Home
last modified time | relevance | path

Searched refs:AppEventParamType (Results 1 – 3 of 3) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_base.cpp52 case AppEventParamType::BOOL: in InitValueByBaseType()
55 case AppEventParamType::CHAR: in InitValueByBaseType()
58 case AppEventParamType::SHORT: in InitValueByBaseType()
61 case AppEventParamType::INTEGER: in InitValueByBaseType()
64 case AppEventParamType::LONGLONG: in InitValueByBaseType()
67 case AppEventParamType::FLOAT: in InitValueByBaseType()
70 case AppEventParamType::DOUBLE: in InitValueByBaseType()
85 case AppEventParamType::STRING: in InitValueByReferType()
88 case AppEventParamType::BVECTOR: in InitValueByReferType()
91 case AppEventParamType::CVECTOR: in InitValueByReferType()
[all …]
Dhiappevent_verify.cpp124 bool CheckListValueSize(AppEventParamType type, AppEventParamValue::ValueUnion& vu) in CheckListValueSize()
126 if (type == AppEventParamType::BVECTOR && vu.bs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
128 } else if (type == AppEventParamType::CVECTOR && vu.cs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
130 } else if (type == AppEventParamType::SHVECTOR && vu.shs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
132 } else if (type == AppEventParamType::IVECTOR && vu.is_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
134 } else if (type == AppEventParamType::LLVECTOR && vu.lls_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
136 } else if (type == AppEventParamType::FVECTOR && vu.fs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
138 } else if (type == AppEventParamType::DVECTOR && vu.ds_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
140 } else if (type == AppEventParamType::STRVECTOR && vu.strs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
199 …if (param.type == AppEventParamType::STRING && !CheckStrParamLength(param.value.valueUnion.str_, m… in VerifyAppEventParam()
[all …]
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/
Dhiappevent_base.h53 enum AppEventParamType { enum
74 AppEventParamType type;
95 ValueUnion(AppEventParamType type) in ValueUnion()
98 case AppEventParamType::STRING: in ValueUnion()
101 case AppEventParamType::BVECTOR: in ValueUnion()
104 case AppEventParamType::CVECTOR: in ValueUnion()
107 case AppEventParamType::SHVECTOR: in ValueUnion()
110 case AppEventParamType::IVECTOR: in ValueUnion()
113 case AppEventParamType::LLVECTOR: in ValueUnion()
116 case AppEventParamType::FVECTOR: in ValueUnion()
[all …]