/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/ |
H A D | mock_other_method.cpp | 22 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 D | device_manager_agent_sup_test.cpp | 163 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 D | mock_other_method.h | 30 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 D | lnn_ohos_account_adapter_mock.h | 59 virtual OHOS::ErrCode QueryActiveOsAccountIds(std::vector<int32_t> &ids); 67 MOCK_METHOD1(QueryActiveOsAccountIds, OHOS::ErrCode(std::vector<int32_t> &ids));
|
H A D | lnn_ohos_account_adapter_mock.cpp | 68 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 D | os_account_manager_wrapper.cpp | 33 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 D | work_sched_utils.cpp | 30 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 D | os_account_manager_wrapper.h | 37 ErrCode QueryActiveOsAccountIds(std::vector<int32_t>& ids);
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_account_helper.cpp | 38 if (AccountSA::OsAccountManager::QueryActiveOsAccountIds(activatedOsAccountIds) != ERR_OK) { in GetActiveUserId()
|
/foundation/distributeddatamgr/pasteboard/framework/uri/ |
H A D | copy_uri_handler.cpp | 33 auto ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids);
in ToUri()
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | key_crypto_utils.cpp | 31 int32_t ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in ForceLockUserScreen()
|
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_os_account_manager.cpp | 24 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 D | mock_os_account_manager.cpp | 24 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 D | sr_samgr_helper.cpp | 51 int ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeIds); in GetCurrentActiveUserId()
|
/foundation/bundlemanager/app_domain_verify/frameworks/common/src/bms/ |
H A D | bundle_info_query.cpp | 75 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 D | multiple_user_connector.cpp | 45 ErrCode ret = OsAccountManager::QueryActiveOsAccountIds(ids); in GetCurrentAccountUserID()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/ |
H A D | bundle_manager_internal.cpp | 203 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 D | ringtone_restore_db_utils.cpp | 113 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 D | cycle_task_runner.cpp | 41 if (AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeUsers) != E_OK || activeUsers.empty()) { in CycleTaskRunner()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/ |
H A D | multi_account_manager.cpp | 55 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 D | filesystem_crypto.cpp | 210 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 D | fms_form_util_test.cpp | 65 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 D | lnn_ohos_account_adapter.cpp | 111 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 D | connection_detector.cpp | 192 auto ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(userIds); in GetCurrentUserId()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | distributed_sched_permission.cpp | 184 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()
|