Home
last modified time | relevance | path

Searched refs:isDeviceOwner (Results 1 – 18 of 18) sorted by relevance

/base/account/os_account/test/fuzztest/osaccount/setglobalosaccountconstraints_fuzzer/
Dsetglobalosaccountconstraints_fuzzer.cpp41 bool isDeviceOwner = ((size % CONSTANTS_NUMBER_THREE) == 0); in SetGlobalOsAccountConstraintsFuzzTest() local
43 CONSTANTS_VECTOR, enable, ENFORCER_ID, isDeviceOwner); in SetGlobalOsAccountConstraintsFuzzTest()
/base/account/os_account/test/fuzztest/osaccount/setspecificosaccountconstraints_fuzzer/
Dsetspecificosaccountconstraints_fuzzer.cpp42 bool isDeviceOwner = ((size % CONSTANTS_NUMBER_THREE) == 0); in SetSpecificOsAccountConstraintsFuzzTest() local
44 CONSTANTS_VECTOR, enable, TARGET_ID, ENFORCER_ID, isDeviceOwner); in SetSpecificOsAccountConstraintsFuzzTest()
/base/account/os_account/test/fuzztest/osaccount_stub/setglobalosaccountconstraintsstub_fuzzer/
Dsetglobalosaccountconstraintsstub_fuzzer.cpp53 bool isDeviceOwner = ((size % CONSTANTS_NUMBER_THREE) == 0); in SetGlobalOsAccountConstraintsStubFuzzTest() local
58 if (!datas.WriteBool(isDeviceOwner)) { in SetGlobalOsAccountConstraintsStubFuzzTest()
/base/account/os_account/test/fuzztest/osaccount_stub/setspecificosaccountconstraintsstub_fuzzer/
Dsetspecificosaccountconstraintsstub_fuzzer.cpp57 bool isDeviceOwner = ((size % CONSTANTS_NUMBER_THREE) == 0); in SetSpecificOsAccountConstraintsStubFuzzTest() local
62 if (!datas.WriteBool(isDeviceOwner)) { in SetSpecificOsAccountConstraintsStubFuzzTest()
/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/services/accountmgr/include/osaccount/
Diinner_os_account_manager.h84 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) override;
86 … bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) override;
117 ErrCode DealWithDeviceOwnerId(const bool isDeviceOwner, const int32_t localId);
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 … bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) override;
/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/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 … bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) override;
/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
788 …Manager_.SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner); in SetSpecificOsAccountConstraints()
Dinner_os_account_manager.cpp694 const bool enable, const int32_t enforcerId, const bool isDeviceOwner) in SetGlobalOsAccountConstraints() argument
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
758 errCode = DealWithDeviceOwnerId(isDeviceOwner, enforcerId); in SetSpecificOsAccountConstraints()
786 ErrCode IInnerOsAccountManager::DealWithDeviceOwnerId(const bool isDeviceOwner, const int32_t local… in DealWithDeviceOwnerId() argument
789 if (isDeviceOwner && localId != deviceOwnerId_) { in DealWithDeviceOwnerId()
794 if (isDeviceOwner == false && localId == deviceOwnerId_) { in DealWithDeviceOwnerId()
Dos_account_stub.cpp1221 bool isDeviceOwner = data.ReadBool(); in ProcSetGlobalOsAccountConstraints() local
1222 ErrCode result = SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); in ProcSetGlobalOsAccountConstraints()
1281 bool isDeviceOwner = data.ReadBool(); in ProcSetSpecificOsAccountConstraints() local
1282 …result = SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner); 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 …urn osAccountProxy_->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner); 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
1130 if (!data.WriteBool(isDeviceOwner)) { in SetGlobalOsAccountConstraints()
1148 const bool enable, const int32_t targetId, const int32_t enforcerId, const bool isDeviceOwner) in SetSpecificOsAccountConstraints() argument
1177 if (!data.WriteBool(isDeviceOwner)) { in SetSpecificOsAccountConstraints()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_mock.cpp998 bool isDeviceOwner = 0; variable
1004 … = innerMgrService_->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner);
1007 …ervice_->SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner);
1023 … = innerMgrService_->SetGlobalOsAccountConstraints(constraints, enable, enforcerId, isDeviceOwner);
1030 isDeviceOwner = 0;
1032 …ervice_->SetSpecificOsAccountConstraints(constraints, enable, targetId, enforcerId, isDeviceOwner);