Home
last modified time | relevance | path

Searched refs:QueryActiveOsAccountIds (Results 1 - 25 of 62) sorted by relevance

123

/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/
H A Dmock_other_method.cpp22 ErrCode AccountSA::OsAccountManager::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() function in OHOS::AccountSA::OsAccountManager
24 return DfsDeviceOtherMethod::otherMethod->QueryActiveOsAccountIds(ids); in QueryActiveOsAccountIds()
H A Ddevice_manager_agent_sup_test.cpp163 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID)); in HWTEST_F()
168 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(NO_ERROR)); in HWTEST_F()
173 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)) in HWTEST_F()
298 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID)); in HWTEST_F()
320 EXPECT_CALL(*otherMethodMock_, QueryActiveOsAccountIds(_)).WillOnce(Return(INVALID_USER_ID)); in HWTEST_F()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/include/
H A Dmock_other_method.h30 virtual int QueryActiveOsAccountIds(std::vector<int32_t>& ids) = 0;
37 MOCK_METHOD1(QueryActiveOsAccountIds, int(std::vector<int32_t>& ids));
/foundation/communication/dsoftbus/tests/core/adapter/unittest/
H A Dlnn_ohos_account_adapter_mock.h59 virtual OHOS::ErrCode QueryActiveOsAccountIds(std::vector<int32_t> &ids);
67 MOCK_METHOD1(QueryActiveOsAccountIds, OHOS::ErrCode(std::vector<int32_t> &ids));
H A Dlnn_ohos_account_adapter_mock.cpp68 OHOS::ErrCode OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(std::vector<int32_t> &ids) in QueryActiveOsAccountIds() function in OHOS::AccountSA::OsAccountManager
74 return mock->QueryActiveOsAccountIds(ids); in QueryActiveOsAccountIds()
/foundation/ability/ability_runtime/interfaces/inner_api/deps_wrapper/src/
H A Dos_account_manager_wrapper.cpp33 ErrCode OsAccountManagerWrapper::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() function in OHOS::AppExecFwk::OsAccountManagerWrapper
41 return AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in QueryActiveOsAccountIds()
117 ErrCode ret = instance->QueryActiveOsAccountIds(accountIds); in GetCurrentActiveAccountId()
/foundation/resourceschedule/work_scheduler/utils/native/src/
H A Dwork_sched_utils.cpp30 ErrCode ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(osAccountIds); in GetCurrentAccountId()
32 WS_HILOGE("QueryActiveOsAccountIds failed."); in GetCurrentAccountId()
53 ErrCode ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(osAccountIds); in IsIdActive()
55 WS_HILOGE("QueryActiveOsAccountIds failed."); in IsIdActive()
/foundation/ability/ability_runtime/interfaces/inner_api/deps_wrapper/include/
H A Dos_account_manager_wrapper.h37 ErrCode QueryActiveOsAccountIds(std::vector<int32_t>& ids);
/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_account_helper.cpp38 if (AccountSA::OsAccountManager::QueryActiveOsAccountIds(activatedOsAccountIds) != ERR_OK) { in GetActiveUserId()
/foundation/distributeddatamgr/pasteboard/framework/uri/
H A Dcopy_uri_handler.cpp33 auto ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in ToUri()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_crypto_utils.cpp31 int32_t ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in ForceLockUserScreen()
/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_os_account_manager.cpp24 ErrCode OsAccountManager::QueryActiveOsAccountIds(std::vector<int32_t>& accountIds) in QueryActiveOsAccountIds() function in OHOS::AccountSA::OsAccountManager
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/
H A Dmock_os_account_manager.cpp24 ErrCode OsAccountManager::QueryActiveOsAccountIds(std::vector<int32_t>& accountIds) in QueryActiveOsAccountIds() function in OHOS::AccountSA::OsAccountManager
/foundation/ability/ability_runtime/service_router_framework/services/srms/src/
H A Dsr_samgr_helper.cpp51 int ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeIds); in GetCurrentActiveUserId()
/foundation/bundlemanager/app_domain_verify/frameworks/common/src/bms/
H A Dbundle_info_query.cpp75 ErrCode ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(osAccountIds); in GetCurrentAccountId()
77 APP_DOMAIN_VERIFY_HILOGE(APP_DOMAIN_VERIFY_AGENT_MODULE_SERVICE, "QueryActiveOsAccountIds failed."); in GetCurrentAccountId()
/foundation/distributedhardware/device_manager/commondependency/src/
H A Dmultiple_user_connector.cpp45 ErrCode ret = OsAccountManager::QueryActiveOsAccountIds(ids); in GetCurrentAccountUserID()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
H A Dbundle_manager_internal.cpp203 ErrCode ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in IsSameDeveloperId()
290 ErrCode ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in GetAppProvisionInfo4CurrentUser()
494 ErrCode err = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in QueryOsAccount()
496 HILOGE("QueryActiveOsAccountIds passing param invalid or return error!, err : %{public}d", err); in QueryOsAccount()
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Dringtone_restore_db_utils.cpp113 int ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeIds); in GetUserID()
115 RINGTONE_ERR_LOG("QueryActiveOsAccountIds failed ret:%{public}d", ret); in GetUserID()
119 RINGTONE_ERR_LOG("QueryActiveOsAccountIds activeIds empty"); in GetUserID()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/cycle_task/
H A Dcycle_task_runner.cpp41 if (AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeUsers) != E_OK || activeUsers.empty()) { in CycleTaskRunner()
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/
H A Dmulti_account_manager.cpp55 ErrCode errCode = AccountSA::OsAccountManager::QueryActiveOsAccountIds(oldActiveAccountIds_); in Init()
176 ErrCode errCode = AccountSA::OsAccountManager::QueryActiveOsAccountIds(newActiveAccountIds); in GetSwitchedAccountIds()
/foundation/filemanagement/storage_service/services/storage_manager/crypto/
H A Dfilesystem_crypto.cpp210 int ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in DeleteAppkey()
246 int ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in SetRecoverKey()
/foundation/ability/form_fwk/test/unittest/fms_form_util_test/
H A Dfms_form_util_test.cpp65 ErrCode OsAccountManagerWrapper::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() function in OHOS::AppExecFwk::OsAccountManagerWrapper
/foundation/communication/dsoftbus/core/adapter/bus_center/src/
H A Dlnn_ohos_account_adapter.cpp111 int32_t ret = OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(accountId); in GetActiveOsAccountIds()
113 LNN_LOGE(LNN_STATE, "QueryActiveOsAccountIds failed"); in GetActiveOsAccountIds()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Dconnection_detector.cpp192 auto ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(userIds); in GetCurrentUserId()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddistributed_sched_permission.cpp184 ErrCode ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in GetOsAccountData()
383 int32_t errCode = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in IsSceneBoardCall()
385 HILOGE("QueryActiveOsAccountIds failed."); in IsSceneBoardCall()
448 int32_t errCode = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in MarkUriPermission()

Completed in 12 milliseconds

123