Home
last modified time | relevance | path

Searched refs:enforcerId (Results 1 – 14 of 14) sorted by relevance

/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp275 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument
278 SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); in SetGlobalOsAccountConstraints()
282 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument
285 SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner); in SetSpecificOsAccountConstraints()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h451 const bool isEnabled, const int32_t enforcerId = 0, const bool isDeviceOwner = false);
463 … const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner);
/base/account/os_account/services/accountmgr/include/osaccount/
Diinner_os_account.h79 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) = 0;
81 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) = 0;
Dos_account_manager_service.h106 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) override;
108 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) ove…
Diinner_os_account_manager.h84 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) override;
86 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) ove…
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h80 const bool enable, const int32_t enforcerId, const bool isDeviceOwner);
82 … const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner);
Dios_account.h91 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) = 0;
93 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) = 0;
Dos_account_proxy.h85 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) override;
87 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) ove…
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp762 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument
770 …return innerManager_.SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); in SetGlobalOsAccountConstraints()
774 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument
783 if (targetId < Constants::START_USER_ID || enforcerId < Constants::START_USER_ID) { in SetSpecificOsAccountConstraints()
784 ACCOUNT_LOGE("invalid input account id %{public}d or %{public}d.", targetId, enforcerId); in SetSpecificOsAccountConstraints()
788 …return innerManager_.SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, is… in SetSpecificOsAccountConstraints()
Dinner_os_account_manager.cpp694 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument
697 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(enforcerId, osAccountInfo); in SetGlobalOsAccountConstraints()
699 ACCOUNT_LOGE("get osaccount info error %{public}d", enforcerId); in SetGlobalOsAccountConstraints()
703 ACCOUNT_LOGE("account %{public}d will be removed, cannot change constraints!", enforcerId); in SetGlobalOsAccountConstraints()
715 osAccountControl_->UpdateGlobalOAConstraints(std::to_string(enforcerId), constraints, enable); in SetGlobalOsAccountConstraints()
717 errCode = DealWithDeviceOwnerId(isDeviceOwner, enforcerId); in SetGlobalOsAccountConstraints()
726 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument
729 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(enforcerId, enforcerOsAccountInfo); in SetSpecificOsAccountConstraints()
743 enforcerId, targetId); in SetSpecificOsAccountConstraints()
756 std::to_string(enforcerId), std::to_string(targetId), constraints, enable); in SetSpecificOsAccountConstraints()
[all …]
Dos_account_stub.cpp1215 int enforcerId = data.ReadInt32(); in ProcSetGlobalOsAccountConstraints() local
1216 if (enforcerId < 0) { in ProcSetGlobalOsAccountConstraints()
1222 ErrCode result = SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); in ProcSetGlobalOsAccountConstraints()
1275 int enforcerId = data.ReadInt32(); in ProcSetSpecificOsAccountConstraints() local
1276 if (enforcerId < 0) { in ProcSetSpecificOsAccountConstraints()
1282 …ErrCode result = SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDevi… in ProcSetSpecificOsAccountConstraints()
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account.cpp806 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument
814 …return osAccountProxy_->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwn… in SetGlobalOsAccountConstraints()
818 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument
826 …tProxy_->SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner); in SetSpecificOsAccountConstraints()
Dos_account_proxy.cpp1106 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument
1125 if (!data.WriteInt32(enforcerId)) { in SetGlobalOsAccountConstraints()
1148 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument
1172 if (!data.WriteInt32(enforcerId)) { in SetSpecificOsAccountConstraints()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_mock.cpp996 int32_t enforcerId = 0; variable
1004 …ErrCode ret = innerMgrService_->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isD…
1007 …ervice_->SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner);
1023 …ret = innerMgrService_->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwn…
1028 enforcerId = 0;
1032 …ervice_->SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner);