mirror of
https://gitee.com/openharmony/account_os_account
synced 2024-10-06 23:54:17 +00:00
新增混合密码复杂度校验
Signed-off-by: xyc <xiongyunchong@huawei.com> Change-Id: I68b850f7f12db94badd29e26626d245edcf1d4ac
This commit is contained in:
parent
8b8fa7edd3
commit
7c227825bb
@ -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"
|
@ -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",
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user