/base/account/os_account/frameworks/osaccount/native/src/ |
D | os_account_manager.cpp | 275 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/ |
D | os_account_manager.h | 451 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/ |
D | iinner_os_account.h | 79 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;
|
D | os_account_manager_service.h | 106 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…
|
D | iinner_os_account_manager.h | 84 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/ |
D | os_account.h | 80 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);
|
D | ios_account.h | 91 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;
|
D | os_account_proxy.h | 85 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/ |
D | os_account_manager_service.cpp | 762 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()
|
D | inner_os_account_manager.cpp | 694 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 …]
|
D | os_account_stub.cpp | 1215 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/ |
D | os_account.cpp | 806 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()
|
D | os_account_proxy.cpp | 1106 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/ |
D | os_account_inner_account_mgr_mock.cpp | 996 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);
|