/base/security/security_guard/test/unittest/mock/account_manager/ |
H A D | os_account_manager.h | 36 virtual ErrCode QueryActiveOsAccountIds(std::vector<int32_t>& ids) = 0; 43 MOCK_METHOD1(QueryActiveOsAccountIds, ErrCode(std::vector<int32_t>& ids)); 57 static ErrCode QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() function in OHOS::AccountSA::OsAccountManager 62 return instance_->QueryActiveOsAccountIds(ids); in QueryActiveOsAccountIds()
|
/base/customization/enterprise_device_management/test/unittest/common/external/ |
H A D | edm_os_account_manager_impl_test.cpp | 34 * @tc.desc: Test QueryActiveOsAccountIds function. 41 int ret = edmOsAccountManagerImpl.QueryActiveOsAccountIds(ids); in HWTEST_F() 51 * @tc.desc: Test QueryActiveOsAccountIds function. 59 int ret = edmOsAccountManagerImpl.QueryActiveOsAccountIds(ids); in HWTEST_F() 68 ret = edmOsAccountManagerImpl.QueryActiveOsAccountIds(ids); in HWTEST_F() 79 ret = edmOsAccountManagerImpl.QueryActiveOsAccountIds(ids); in HWTEST_F() 89 * @tc.desc: Test QueryActiveOsAccountIds function. 97 int ret = edmOsAccountManagerImpl.QueryActiveOsAccountIds(ids); in HWTEST_F()
|
/base/customization/enterprise_device_management/common/external/src/ |
H A D | edm_os_account_manager_impl.cpp | 21 ErrCode EdmOsAccountManagerImpl::QueryActiveOsAccountIds(std::vector<int32_t> &ids) in QueryActiveOsAccountIds() function in OHOS::EDM::EdmOsAccountManagerImpl 24 return AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in QueryActiveOsAccountIds() 26 EDMLOGW("EdmOsAccountManagerImpl::QueryActiveOsAccountIds Unsupported Capabilities."); in QueryActiveOsAccountIds()
|
/base/inputmethod/imf/services/adapter/os_account_adapter/src/ |
H A D | os_account_adapter.cpp | 33 std::vector<int32_t> OsAccountAdapter::QueryActiveOsAccountIds() in QueryActiveOsAccountIds() function in OHOS::MiscServices::OsAccountAdapter 36 int errCode = OsAccountManager::QueryActiveOsAccountIds(userIds); in QueryActiveOsAccountIds() 38 IMSA_HILOGE("QueryActiveOsAccountIds failed."); in QueryActiveOsAccountIds()
|
/base/notification/common_event_service/services/src/ |
H A D | os_account_manager_helper.cpp | 33 ErrCode OsAccountManagerHelper::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() function in OHOS::EventFwk::OsAccountManagerHelper 39 return AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in QueryActiveOsAccountIds()
|
H A D | bundle_manager_helper.cpp | 83 if (DelayedSingleton<OsAccountManagerHelper>::GetInstance()->QueryActiveOsAccountIds(osAccountIds) != ERR_OK) { in QueryExtensionInfos() 84 EVENT_LOGE("failed to QueryActiveOsAccountIds!"); in QueryExtensionInfos() 228 if (DelayedSingleton<OsAccountManagerHelper>::GetInstance()->QueryActiveOsAccountIds(osAccountIds) != ERR_OK in GetApplicationInfos() 230 EVENT_LOGE("failed to QueryActiveOsAccountIds!"); in GetApplicationInfos()
|
/base/notification/common_event_service/services/test/unittest/mock/ |
H A D | mock_os_account_manager_helper.cpp | 20 ErrCode OsAccountManagerHelper::QueryActiveOsAccountIds(std::vector<int32_t>& ids)
in QueryActiveOsAccountIds() function in OHOS::EventFwk::OsAccountManagerHelper
|
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/ |
H A D | device_info_plugin_test.cpp | 70 EXPECT_CALL(*osAccountMgrMock_, QueryActiveOsAccountIds).WillOnce(DoAll(SetArgReferee<0>(ids), Return(ERR_OK))); in HWTEST_F() 92 EXPECT_CALL(*osAccountMgrMock_, QueryActiveOsAccountIds).WillOnce(DoAll(SetArgReferee<0>(ids), Return(ERR_OK))); in HWTEST_F() 114 EXPECT_CALL(*osAccountMgrMock_, QueryActiveOsAccountIds).WillOnce(DoAll(SetArgReferee<0>(ids), Return(ERR_OK))); in HWTEST_F() 135 EXPECT_CALL(*osAccountMgrMock_, QueryActiveOsAccountIds).WillOnce(DoAll(Return(-1))); in HWTEST_F() 156 EXPECT_CALL(*osAccountMgrMock_, QueryActiveOsAccountIds).WillOnce(DoAll(SetArgReferee<0>(ids), Return(ERR_OK))); in HWTEST_F()
|
/base/account/os_account/services/accountmgr/test/unittest/domain_account/mock/ |
H A D | mock_inner_os_account_manager.h | 28 ErrCode QueryActiveOsAccountIds(std::vector<int32_t>& ids);
|
H A D | mock_inner_os_account_manager.cpp | 45 ErrCode IInnerOsAccountManager::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() function in OHOS::AccountSA::IInnerOsAccountManager 47 ACCOUNT_LOGI("mock IInnerOsAccountManager QueryActiveOsAccountIds enter"); in QueryActiveOsAccountIds()
|
/base/inputmethod/imf/services/adapter/os_account_adapter/include/ |
H A D | os_account_adapter.h | 30 static std::vector<int32_t> QueryActiveOsAccountIds();
|
/base/notification/common_event_service/services/include/ |
H A D | os_account_manager_helper.h | 42 ErrCode QueryActiveOsAccountIds(std::vector<int32_t>& ids);
|
/base/security/device_auth/frameworks/deviceauth_lite/source/os_account_adapter/ |
H A D | os_account_adapter.cpp | 30 int32_t errCode = OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in GetFrontUserId() 32 LOGE("QueryActiveOsAccountIds failed"); in GetFrontUserId() 35 LOGI("QueryActiveOsAccountIds success"); in GetFrontUserId()
|
/base/customization/enterprise_device_management/test/unittest/external_mock/include/ |
H A D | edm_os_account_manager_impl_mock.h | 28 MOCK_METHOD(ErrCode, QueryActiveOsAccountIds, (std::vector<int32_t> &ids), (override));
|
/base/customization/enterprise_device_management/common/external/include/ |
H A D | iedm_os_account_manager.h | 32 virtual ErrCode QueryActiveOsAccountIds(std::vector<int32_t> &ids) = 0;
|
H A D | edm_os_account_manager_impl.h | 26 ErrCode QueryActiveOsAccountIds(std::vector<int32_t> &ids) override;
|
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/ |
H A D | battery_utils.cpp | 42 ErrCode ret = std::make_shared<EdmOsAccountManagerImpl>()->QueryActiveOsAccountIds(ids); in GetCurrentUserId()
|
/base/notification/common_event_service/services/test/unittest/static_subscriber_manager_unit_test/ |
H A D | mock_os_account_manager_helper.cpp | 69 ErrCode OsAccountManagerHelper::QueryActiveOsAccountIds(std::vector<int32_t>& ids)
in QueryActiveOsAccountIds() function in OHOS::EventFwk::OsAccountManagerHelper
|
/base/account/os_account/interfaces/kits/cj/osaccount/src/ |
H A D | osaccount_manager_impl.cpp | 30 *errCode = OsAccountManager::QueryActiveOsAccountIds(ids); in IsOsAccountConstraintEnabled() 68 return OsAccountManager::QueryActiveOsAccountIds(osAccountIds); in GetActivatedOsAccountLocalIds()
|
/base/telephony/sms_mms/services/sms/gsm/ |
H A D | cb_start_ability.cpp | 40 AccountSA::OsAccountManager::QueryActiveOsAccountIds(activatedOsAccountIds); in StartAbility()
|
/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | disallow_add_local_account_plugin.cpp | 62 AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in SetGlobalOsAccountConstraints() 64 EDMLOGE("DisallowAddLocalAccountPlugin QueryActiveOsAccountIds failed"); in SetGlobalOsAccountConstraints()
|
H A D | disallow_add_os_account_by_user_plugin.cpp | 93 AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in SetSpecificOsAccountConstraints() 95 EDMLOGE("DisallowAddOsAccountByUserPlugin QueryActiveOsAccountIds failed"); in SetSpecificOsAccountConstraints()
|
/base/account/os_account/test/fuzztest/osaccount/queryaccountinfo_fuzzer/ |
H A D | queryaccountinfo_fuzzer.cpp | 34 result = OsAccountManager::QueryActiveOsAccountIds(testIds); in QueryActiveOsAccountIdsFuzzTest()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | os_account_manager_helper.cpp | 89 int32_t ret = OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(userIds); in GetAllActiveOsAccount() 94 ANS_LOGE("Failed to call OsAccountManager::QueryActiveOsAccountIds, code is %{public}d", ret); in GetAllActiveOsAccount()
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
H A D | hks_response.cpp | 141 int ret = OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids);
in HksGetFrontUserId() 143 HKS_LOG_E("QueryActiveOsAccountIds Failed!! ret = %" LOG_PUBLIC "d", ret);
in HksGetFrontUserId() 146 HKS_LOG_I("QueryActiveOsAccountIds success: FrontUserId= %" LOG_PUBLIC "d", ids[0]);
in HksGetFrontUserId() 150 HKS_LOG_I("QueryActiveOsAccountIds, no os account part, set FrontUserId= -1");
in HksGetFrontUserId()
|