新增混合密码复杂度校验

Signed-off-by: xyc <xiongyunchong@huawei.com>
Change-Id: I68b850f7f12db94badd29e26626d245edcf1d4ac
This commit is contained in:
xyc 2024-03-29 14:15:19 +08:00
parent 8b8fa7edd3
commit 7c227825bb
21 changed files with 22 additions and 22 deletions

View File

@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "account_log_wrapper.h"
#ifdef HAS_HISYSEVENT_PART
#include "hisysevent.h"

View File

@ -40,7 +40,7 @@ ohos_shared_library("libaccount_common") {
}
sources = [
"${os_account_dfx_path}/hisysevent_adapter/hisysevent_adapter.cpp",
"${os_account_dfx_path}/hisysevent_adapter/account_hisysevent_adapter.cpp",
"account_error/src/account_error_no.cpp",
"file_operator/src/account_file_operator.cpp",
"log/src/account_log_wrapper.cpp",

View File

@ -26,7 +26,7 @@
#include <unistd.h>
#include "account_log_wrapper.h"
#include "directory_ex.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
namespace OHOS {
namespace AccountSA {
namespace {

View File

@ -197,7 +197,7 @@ ohos_shared_library("accountmgr") {
"${innerkits_native_path}/src/account_info_parcel.cpp",
"${os_account_core_path}/src/os_account_event_proxy.cpp",
"${os_account_dfx_path}/hidumper_adapter/account_dump_helper.cpp",
"${os_account_dfx_path}/hisysevent_adapter/hisysevent_adapter.cpp",
"${os_account_dfx_path}/hisysevent_adapter/account_hisysevent_adapter.cpp",
"${os_account_dfx_path}/hitrace_adapter/hitrace_adapter.cpp",
]
sources += account_service_sources

View File

@ -16,7 +16,7 @@
#include <memory>
#include <unistd.h>
#include "account_log_wrapper.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
namespace OHOS {
namespace AccountSA {

View File

@ -24,7 +24,7 @@
#include "common_event_manager.h"
#include "want.h"
#endif // HAS_CES_PART
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "hitrace_adapter.h"
#ifdef HAS_CES_PART

View File

@ -18,7 +18,7 @@
#include <securec.h>
#include "account_info_report.h"
#include "account_log_wrapper.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "iinner_os_account_manager.h"
#include "inner_account_iam_manager.h"
#include "inner_domain_account_manager.h"

View File

@ -18,7 +18,7 @@
#include "account_iam_callback.h"
#include "account_log_wrapper.h"
#include "domain_account_callback_service.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "iinner_os_account_manager.h"
#include "inner_domain_account_manager.h"
#include "iservice_registry.h"

View File

@ -25,7 +25,7 @@
#include "directory_ex.h"
#include "domain_account_manager_service.h"
#include "file_ex.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "hitrace_adapter.h"
#include "if_system_ability_manager.h"
#include "ipc_skeleton.h"

View File

@ -25,7 +25,7 @@
#include "account_log_wrapper.h"
#include "account_mgr_service.h"
#include "bundle_manager_adapter.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "if_system_ability_manager.h"
#include "ipc_skeleton.h"
#include "iservice_registry.h"

View File

@ -17,7 +17,7 @@
#include "accesstoken_kit.h"
#include "account_log_wrapper.h"
#include "bundle_manager_adapter.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "inner_app_account_manager.h"
#include "ipc_skeleton.h"

View File

@ -15,7 +15,7 @@
#include "bundle_manager_adapter.h"
#include "account_error_no.h"
#include "account_log_wrapper.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "hitrace_adapter.h"
#include "if_system_ability_manager.h"
#include "iservice_registry.h"

View File

@ -23,7 +23,7 @@
#include "account_log_wrapper.h"
#include "directory_ex.h"
#include "file_ex.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "iinner_os_account_manager.h"
#include "ohos_account_data_deal.h"

View File

@ -36,7 +36,7 @@
#ifdef HAS_CES_PART
#include "common_event_support.h"
#endif // HAS_CES_PART
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "ipc_skeleton.h"
#include "mbedtls/sha256.h"
#include "system_ability_definition.h"

View File

@ -25,7 +25,7 @@
#endif // HAS_CES_PART
#include "domain_account_callback_service.h"
#include "hitrace_adapter.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "ohos_account_kits.h"
#include "os_account_constants.h"
#include "os_account_control_file_manager.h"

View File

@ -23,7 +23,7 @@
#include <unistd.h>
#include "account_log_wrapper.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "os_account_constants.h"
#include "os_account_interface.h"

View File

@ -26,7 +26,7 @@
#include "common_event_support.h"
#endif // HAS_CES_PART
#include "datetime_ex.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "hitrace_adapter.h"
#include "if_system_ability_manager.h"
#include "iservice_registry.h"

View File

@ -17,7 +17,7 @@
#include <cstddef>
#include "account_info.h"
#include "account_log_wrapper.h"
#include "hisysevent_adapter.h"
#include "account_hisysevent_adapter.h"
#include "iinner_os_account_manager.h"
#include "ipc_skeleton.h"
#include "os_account_constants.h"

View File

@ -105,7 +105,7 @@ ohos_moduletest("os_account_manager_service_module_test") {
"${innerkits_native_path}/src/account_info_parcel.cpp",
"${os_account_core_path}/src/os_account_event_proxy.cpp",
"${os_account_dfx_path}/hidumper_adapter/account_dump_helper.cpp",
"${os_account_dfx_path}/hisysevent_adapter/hisysevent_adapter.cpp",
"${os_account_dfx_path}/hisysevent_adapter/account_hisysevent_adapter.cpp",
"${os_account_dfx_path}/hitrace_adapter/hitrace_adapter.cpp",
]
sources += account_service_sources_mock
@ -282,7 +282,7 @@ ohos_moduletest("os_account_manager_service_subscribe_module_test") {
"${innerkits_native_path}/src/account_info_parcel.cpp",
"${os_account_core_path}/src/os_account_event_proxy.cpp",
"${os_account_dfx_path}/hidumper_adapter/account_dump_helper.cpp",
"${os_account_dfx_path}/hisysevent_adapter/hisysevent_adapter.cpp",
"${os_account_dfx_path}/hisysevent_adapter/account_hisysevent_adapter.cpp",
"${os_account_dfx_path}/hitrace_adapter/hitrace_adapter.cpp",
]
sources += account_service_sources_mock

View File

@ -49,7 +49,7 @@ ohos_unittest("OhosServiceTest") {
sources = [
"${common_path}/log/src/account_log_wrapper.cpp",
"${os_account_dfx_path}/hisysevent_adapter/hisysevent_adapter.cpp",
"${os_account_dfx_path}/hisysevent_adapter/account_hisysevent_adapter.cpp",
"${services_path}/accountmgr/src/account_event_provider.cpp",
"${services_path}/accountmgr/src/account_mgr_service.cpp",
"${services_path}/accountmgr/src/ohos_account_data_deal.cpp",
@ -119,7 +119,7 @@ ohos_unittest("OhosDataDealTest") {
sources = [
"${common_path}/log/src/account_log_wrapper.cpp",
"${os_account_dfx_path}/hisysevent_adapter/hisysevent_adapter.cpp",
"${os_account_dfx_path}/hisysevent_adapter/account_hisysevent_adapter.cpp",
"${services_path}/accountmgr/src/ohos_account_data_deal.cpp",
]