Home
last modified time | relevance | path

Searched refs:MAX_JSON_STRING_LENGTH (Results 1 - 4 of 4) sorted by relevance

/foundation/systemabilitymgr/samgr/services/common/src/
H A Dparse_util.cpp72 constexpr int32_t MAX_JSON_STRING_LENGTH = 128; member
319 if (process.length() > MAX_JSON_STRING_LENGTH) { in ParseJsonFile()
351 if (extension.length() > MAX_JSON_STRING_LENGTH) { in ParseSystemAbilityGetExtension()
385 if (saProfile.libPath.length() > MAX_JSON_STRING_LENGTH) { in ParseSystemAbilityGetSaBaseInfo()
407 saProfile.capability = capability.length() <= MAX_JSON_STRING_LENGTH ? Str8ToStr16(capability) : u""; in ParseSystemAbilityGetSaExtInfo()
410 saProfile.permission = permission.length() <= MAX_JSON_STRING_LENGTH ? Str8ToStr16(permission) : u""; in ParseSystemAbilityGetSaExtInfo()
526 if (!name.empty() && name.length() <= MAX_JSON_STRING_LENGTH && in GetOnDemandArrayFromJson()
527 value.length() <= MAX_JSON_STRING_LENGTH) { in GetOnDemandArrayFromJson()
631 if (process.length() > MAX_JSON_STRING_LENGTH) { in ParseTrustConfig()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbms_json_util.cpp33 if (jsonObject.at(key).get<std::string>().length() > Constants::MAX_JSON_STRING_LENGTH) { in GetStrValueIfFindKey()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dbundle_constants.h91 constexpr uint16_t MAX_JSON_STRING_LENGTH = 4096; member
/foundation/systemabilitymgr/samgr/services/common/test/unittest/
H A Dparse_util_test.cpp47 constexpr int32_t MAX_JSON_STRING_LENGTH = 128; member
1294 std::string aExceedstr(MAX_JSON_STRING_LENGTH + 1, ch); in HWTEST_F()
1303 std::string astr(MAX_JSON_STRING_LENGTH, ch); in HWTEST_F()
1312 std::string bstr(MAX_JSON_STRING_LENGTH - 1, ch); in HWTEST_F()
1338 std::string str(MAX_JSON_STRING_LENGTH, ch + loop); in HWTEST_F()
1347 std::string str(MAX_JSON_STRING_LENGTH, ch + MAX_EXTENSIONO_NUM); in HWTEST_F()

Completed in 7 milliseconds