changed namespace

Signed-off-by: Cai Xincheng <caixincheng@huawei.com>
This commit is contained in:
Cai Xincheng 2024-05-16 09:15:18 +08:00
parent c6c5e6c21e
commit 616ac0ae3d
2 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,7 @@
namespace OHOS { namespace OHOS {
namespace Security { namespace Security {
namespace Asset { namespace Asset {
namespace {
std::vector<uint32_t> critical_label_tags = { std::vector<uint32_t> critical_label_tags = {
SEC_ASSET_TAG_DATA_LABEL_CRITICAL_1, SEC_ASSET_TAG_DATA_LABEL_CRITICAL_1,
SEC_ASSET_TAG_DATA_LABEL_CRITICAL_2, SEC_ASSET_TAG_DATA_LABEL_CRITICAL_2,
@ -78,6 +78,8 @@ bool CheckAssetTagValidity(napi_env env, const std::vector<AssetAttr> &attrs, co
bool CheckAssetValueValidity(napi_env env, const std::vector<AssetAttr> &attrs); bool CheckAssetValueValidity(napi_env env, const std::vector<AssetAttr> &attrs);
}
} // Asset } // Asset
} // Security } // Security
} // OHOS } // OHOS

View File

@ -18,6 +18,7 @@
namespace OHOS { namespace OHOS {
namespace Security { namespace Security {
namespace Asset { namespace Asset {
namespace {
#define MAX_MESSAGE_LEN 128 #define MAX_MESSAGE_LEN 128
#define MIN_ARRAY_SIZE 0 #define MIN_ARRAY_SIZE 0
@ -340,6 +341,7 @@ bool CheckAssetValueValidity(napi_env env, const std::vector<AssetAttr> &attrs)
return true; return true;
} }
}
} // Asset } // Asset
} // Security } // Security
} // OHOS } // OHOS