Home
last modified time | relevance | path

Searched refs:tlvType (Results 1 - 10 of 10) sorted by relevance

/base/startup/appspawn/standard/
H A Dappspawn_msgmgr.c48 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 Dappspawn_msg.h81 uint16_t tlvType; member
86 uint16_t tlvType; member
/base/startup/appspawn/interfaces/innerkits/client/
H A Dappspawn_msg.c45 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 Dapp_spawn_test_helper.cpp663 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 Dnative_adapter.cpp54 if (((AppSpawnTlv *)data)->tlvType != TLV_MAX) { in BuildFdInfoMap()
/base/startup/init/test/systest/
H A Dloopserver_systest.c29 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 Dace_adapter.cpp161 if (((AppSpawnTlv *)data)->tlvType != TLV_MAX) { in BuildFdInfoMap()
/base/update/updater/services/package/pkg_package/
H A Dpkg_upgradefile.cpp35 #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 Dappspawn_common.c514 if (((AppSpawnTlv *)data)->tlvType != TLV_MAX) { in SetFdEnv()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_appmgr_test.cpp460 tlv.tlvType = TLV_RENDER_TERMINATION_INFO; in AddRenderTerminationTlv()
670 tlv.tlvType = TLV_MAX; in AddTest001ExtTlv()

Completed in 19 milliseconds