/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 318 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument 321 SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); in SetGlobalOsAccountConstraints() 325 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument 328 SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner); in SetSpecificOsAccountConstraints()
|
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
H A D | os_account_manager.h | 533 const bool isEnabled, const int32_t enforcerId = 0, const bool isDeviceOwner = false); 545 … const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner);
|
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/ |
H A D | ios_account.h | 99 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) = 0; 101 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) = 0;
|
H A D | os_account.h | 88 const bool enable, const int32_t enforcerId, const bool isDeviceOwner); 90 … const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner);
|
H A D | os_account_proxy.h | 93 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) override; 95 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) ove…
|
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_manager_service.cpp | 1004 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument 1012 …return innerManager_.SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); in SetGlobalOsAccountConstraints() 1027 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument 1044 if (targetId < Constants::START_USER_ID || enforcerId < Constants::START_USER_ID) { in SetSpecificOsAccountConstraints() 1045 ACCOUNT_LOGE("invalid input account id %{public}d or %{public}d.", targetId, enforcerId); in SetSpecificOsAccountConstraints() 1049 …return innerManager_.SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, is… in SetSpecificOsAccountConstraints()
|
H A D | inner_os_account_manager.cpp | 1223 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in RetryToGetAccount() argument 1226 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(enforcerId, osAccountInfo); in RetryToGetAccount() 1231 ACCOUNT_LOGE("account %{public}d will be removed, cannot change constraints!", enforcerId); in RetryToGetAccount() 1243 osAccountControl_->UpdateGlobalOAConstraints(std::to_string(enforcerId), constraints, enable); in RetryToGetAccount() 1245 errCode = DealWithDeviceOwnerId(isDeviceOwner, enforcerId); in RetryToGetAccount() 1254 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in RetryToGetAccount() argument 1257 ErrCode errCode = osAccountControl_->GetOsAccountInfoById(enforcerId, enforcerOsAccountInfo); in RetryToGetAccount() 1269 enforcerId, targetId); in RetryToGetAccount() 1282 std::to_string(enforcerId), std::to_string(targetId), constraints, enable); in RetryToGetAccount() 1284 errCode = DealWithDeviceOwnerId(isDeviceOwner, enforcerId); in RetryToGetAccount()
|
H A D | os_account_stub.cpp | 1578 int enforcerId = data.ReadInt32(); in ProcSetGlobalOsAccountConstraints() local 1579 if (enforcerId < 0) { in ProcSetGlobalOsAccountConstraints() 1585 ErrCode result = SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); in ProcSetGlobalOsAccountConstraints() 1691 int enforcerId = data.ReadInt32(); in ProcSetSpecificOsAccountConstraints() local 1692 if (enforcerId < 0) { in ProcSetSpecificOsAccountConstraints() 1698 …ErrCode result = SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDevi… in ProcSetSpecificOsAccountConstraints()
|
/ohos5.0/base/account/os_account/services/accountmgr/include/osaccount/ |
H A D | iinner_os_account.h | 92 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) = 0; 94 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) = 0;
|
H A D | os_account_manager_service.h | 118 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) override; 120 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) ove…
|
H A D | iinner_os_account_manager.h | 99 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) override; 101 …const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) ove…
|
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/ |
H A D | os_account.cpp | 843 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument 850 return proxy->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); in SetGlobalOsAccountConstraints() 854 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument 861 …return proxy->SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceO… in SetSpecificOsAccountConstraints()
|
H A D | os_account_proxy.cpp | 1322 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument 1341 if (!data.WriteInt32(enforcerId)) { in SetGlobalOsAccountConstraints() 1364 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument 1388 if (!data.WriteInt32(enforcerId)) { in SetSpecificOsAccountConstraints()
|
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_inner_account_mgr_mock.cpp | 1631 int32_t enforcerId = 0; variable 1639 …ErrCode ret = innerMgrService_->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isD… 1642 …ervice_->SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner); 1658 …ret = innerMgrService_->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwn… 1663 enforcerId = 0; 1667 …ervice_->SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner);
|