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.cpp93 case AppEventParamType::BOOL: in InitValueByBaseType()
96 case AppEventParamType::CHAR: in InitValueByBaseType()
99 case AppEventParamType::SHORT: in InitValueByBaseType()
102 case AppEventParamType::INTEGER: in InitValueByBaseType()
105 case AppEventParamType::LONG: in InitValueByBaseType()
108 case AppEventParamType::LONGLONG: in InitValueByBaseType()
111 case AppEventParamType::FLOAT: in InitValueByBaseType()
114 case AppEventParamType::DOUBLE: in InitValueByBaseType()
129 case AppEventParamType::STRING: in InitValueByReferType()
132 case AppEventParamType::BVECTOR: in InitValueByReferType()
[all …]
Dhiappevent_verify.cpp114 bool CheckListValueSize(AppEventParamType type, AppEventParamValue::ValueUnion& vu) in CheckListValueSize()
116 if (type == AppEventParamType::BVECTOR && vu.bs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
118 } else if (type == AppEventParamType::CVECTOR && vu.cs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
120 } else if (type == AppEventParamType::SHVECTOR && vu.shs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
122 } else if (type == AppEventParamType::IVECTOR && vu.is_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
124 } else if (type == AppEventParamType::LVECTOR && vu.ls_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
126 } else if (type == AppEventParamType::LLVECTOR && vu.lls_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
128 } else if (type == AppEventParamType::FVECTOR && vu.fs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
130 } else if (type == AppEventParamType::DVECTOR && vu.ds_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
132 } else if (type == AppEventParamType::STRVECTOR && vu.strs_.size() > MAX_SIZE_OF_LIST_PARAM) { in CheckListValueSize()
[all …]
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/
Dhiappevent_base.h51 enum AppEventParamType { enum
74 AppEventParamType type;
97 ValueUnion(AppEventParamType type) in ValueUnion()
100 case AppEventParamType::STRING: in ValueUnion()
103 case AppEventParamType::BVECTOR: in ValueUnion()
106 case AppEventParamType::CVECTOR: in ValueUnion()
109 case AppEventParamType::SHVECTOR: in ValueUnion()
112 case AppEventParamType::IVECTOR: in ValueUnion()
115 case AppEventParamType::LVECTOR: in ValueUnion()
118 case AppEventParamType::LLVECTOR: in ValueUnion()
[all …]