Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_base.cpp59 case AppEventParamType::BOOL: in InitValueByBaseType()
62 case AppEventParamType::CHAR: in InitValueByBaseType()
65 case AppEventParamType::SHORT: in InitValueByBaseType()
68 case AppEventParamType::INTEGER: in InitValueByBaseType()
71 case AppEventParamType::LONGLONG: in InitValueByBaseType()
74 case AppEventParamType::FLOAT: in InitValueByBaseType()
77 case AppEventParamType::DOUBLE: in InitValueByBaseType()
92 case AppEventParamType::STRING: in InitValueByReferType()
95 case AppEventParamType::BVECTOR: in InitValueByReferType()
98 case AppEventParamType::CVECTOR: in InitValueByReferType()
[all …]
H A Dhiappevent_verify.cpp133 bool CheckListValueSize(AppEventParamType type, AppEventParamValue::ValueUnion& vu) in CheckListValueSize()
135 if (type == AppEventParamType::BVECTOR && vu.bs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
137 } else if (type == AppEventParamType::CVECTOR && vu.cs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
139 } else if (type == AppEventParamType::SHVECTOR && vu.shs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
141 } else if (type == AppEventParamType::IVECTOR && vu.is_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
143 } else if (type == AppEventParamType::LLVECTOR && vu.lls_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
145 } else if (type == AppEventParamType::FVECTOR && vu.fs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
147 } else if (type == AppEventParamType::DVECTOR && vu.ds_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
149 } else if (type == AppEventParamType::STRVECTOR && vu.strs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
246 if (param.type == AppEventParamType::STRING in VerifyCustomAppEventParam()
[all …]
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/
H A Dhiappevent_base.h60 enum AppEventParamType { enum
81 AppEventParamType type;
102 ValueUnion(AppEventParamType type) in ValueUnion()
105 case AppEventParamType::STRING: in ValueUnion()
108 case AppEventParamType::BVECTOR: in ValueUnion()
111 case AppEventParamType::CVECTOR: in ValueUnion()
114 case AppEventParamType::SHVECTOR: in ValueUnion()
117 case AppEventParamType::IVECTOR: in ValueUnion()
123 case AppEventParamType::FVECTOR: in ValueUnion()
126 case AppEventParamType::DVECTOR: in ValueUnion()
[all …]