/base/startup/appspawn/standard/ |
H A D | appspawn_msgmgr.c | 48 if (((AppSpawnTlv *)data)->tlvType != TLV_MAX) { in GetAppSpawnMsgExtInfo() 225 switch (tlv->tlvType) { in CheckMsgTlv() 237 return APPSPAWN_MSG_INVALID, "Invalid property tlv %{public}d %{public}d ", tlv->tlvType, tlv->tlvLen); in CheckMsgTlv() 241 return APPSPAWN_MSG_INVALID, "Invalid property tlv %{public}d %{public}d ", tlv->tlvType, tlv->tlvLen); in CheckMsgTlv() 245 return APPSPAWN_MSG_INVALID, "Invalid property tlv %{public}d %{public}d ", tlv->tlvType, tlv->tlvLen); in CheckMsgTlv() 253 return APPSPAWN_MSG_INVALID, "Invalid property tlv %{public}d %{public}d ", tlv->tlvType, tlv->tlvLen); in CheckMsgTlv() 271 tlv->tlvType, tlv->tlvLen, currLen + sizeof(AppSpawnMsg)); in DecodeAppSpawnMsg() 274 tlv->tlvType, tlv->tlvLen, currLen + sizeof(AppSpawnMsg)); // show in msg offset in DecodeAppSpawnMsg() 278 if (tlv->tlvType < TLV_MAX) { // normal in DecodeAppSpawnMsg() 279 message->tlvOffset[tlv->tlvType] in DecodeAppSpawnMsg() [all...] |
/base/startup/appspawn/modules/module_engine/include/ |
H A D | appspawn_msg.h | 81 uint16_t tlvType; member 86 uint16_t tlvType; member
|
/base/startup/appspawn/interfaces/innerkits/client/ |
H A D | appspawn_msg.c | 45 if (tlv->tlvType != TLV_RENDER_TERMINATION_INFO) { in CheckMsg() 158 tlv.tlvType = TLV_MAX; in AddAppDataEx() 189 uint32_t tlvType, const AppSpawnAppData *data, uint32_t count, const char *name) in AddAppData() 201 tlv.tlvType = tlvType; in AddAppData() 211 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add tlv for %{public}d", tlvType); in AddAppData() 215 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add data for %{public}d", tlvType); in AddAppData() 220 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add tlv to tail for %{public}d", tlvType); in AddAppData() 224 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add data for %{public}d", tlvType); in AddAppData() 228 APPSPAWN_LOGV("AddAppData success tlvType in AddAppData() 188 AddAppData(AppSpawnReqMsgNode *reqNode, uint32_t tlvType, const AppSpawnAppData *data, uint32_t count, const char *name) AddAppData() argument [all...] |
/base/startup/appspawn/test/unittest/ |
H A D | app_spawn_test_helper.cpp | 663 d_tlv.tlvType = (type); \ 666 APPSPAWN_CHECK(ret == 0, return -1, "Failed add tlv %{public}u", d_tlv.tlvType); \ 677 tlv.tlvType = TLV_MSG_FLAGS; in AddBaseTlv() 680 APPSPAWN_CHECK(ret == 0, return -1, "Failed add tlv %{public}u", tlv.tlvType); in AddBaseTlv() 684 tlv.tlvType = TLV_PERMISSION; in AddBaseTlv() 687 APPSPAWN_CHECK(ret == 0, return -1, "Failed add tlv %{public}u", tlv.tlvType); in AddBaseTlv()
|
/base/startup/appspawn/modules/native_adapter/ |
H A D | native_adapter.cpp | 54 if (((AppSpawnTlv *)data)->tlvType != TLV_MAX) { in BuildFdInfoMap()
|
/base/startup/init/test/systest/ |
H A D | loopserver_systest.c | 29 uint16_t tlvType; member 34 uint16_t tlvType; member 511 if (((Tlv *)data)->tlvType != TLV_MAX) { in GetMsgExtInfo()
|
/base/startup/appspawn/modules/ace_adapter/ |
H A D | ace_adapter.cpp | 161 if (((AppSpawnTlv *)data)->tlvType != TLV_MAX) { in BuildFdInfoMap()
|
/base/update/updater/services/package/pkg_package/ |
H A D | pkg_upgradefile.cpp | 35 #define TLV_CHECK_AND_RETURN(tlv, tlvType, len, fileLen) \
37 if (!((tlv)->length < (fileLen) && (tlv)->length >= (len) && (tlv)->type == (tlvType) && \
39 PKG_LOGE("Invalid tlv type: %d length %u ", tlvType, ((tlv)->length)); \
|
/base/startup/appspawn/modules/common/ |
H A D | appspawn_common.c | 514 if (((AppSpawnTlv *)data)->tlvType != TLV_MAX) { in SetFdEnv()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_appmgr_test.cpp | 460 tlv.tlvType = TLV_RENDER_TERMINATION_INFO; in AddRenderTerminationTlv() 670 tlv.tlvType = TLV_MAX; in AddTest001ExtTlv()
|