Home
last modified time | relevance | path

Searched refs:activatedOsAccountIds (Results 1 - 4 of 4) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
H A Dcb_start_ability.cpp39 std::vector<int> activatedOsAccountIds; in StartAbility() local
40 AccountSA::OsAccountManager::QueryActiveOsAccountIds(activatedOsAccountIds); in StartAbility()
43 if (!activatedOsAccountIds.empty()) { in StartAbility()
44 TELEPHONY_LOGI("the foreground OS account local ID: %{public}d", activatedOsAccountIds[0]); in StartAbility()
46 activatedOsAccountIds[0]); in StartAbility()
/base/security/device_auth/services/frameworks/src/os_account_adapter/
H A Dos_account_adapter.cpp178 std::vector<int> activatedOsAccountIds; in GetCurrentActiveOsAccountId() local
179 OHOS::ErrCode res = OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(activatedOsAccountIds); in GetCurrentActiveOsAccountId()
180 if ((res != OHOS::ERR_OK) || (activatedOsAccountIds.size() <= 0)) { in GetCurrentActiveOsAccountId()
184 int osAccountId = activatedOsAccountIds[0]; in GetCurrentActiveOsAccountId()
/base/usb/usb_manager/services/native/src/
H A Dusb_mass_storage_notification.cpp114 std::vector<int> activatedOsAccountIds; in GetFilemanagerBundleName() local
115 int32_t res = OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(activatedOsAccountIds); in GetFilemanagerBundleName()
116 if ((res != UEC_OK) || (activatedOsAccountIds.size() <= 0)) { in GetFilemanagerBundleName()
119 osAccountId = activatedOsAccountIds[0]; in GetFilemanagerBundleName()
/base/theme/screenlock_mgr/services/src/
H A Dscreenlock_system_ability.cpp94 std::vector<int> activatedOsAccountIds; in GetCurrentActiveOsAccountId() local
95 OHOS::ErrCode res = OsAccountManager::QueryActiveOsAccountIds(activatedOsAccountIds); in GetCurrentActiveOsAccountId()
96 if (res != OHOS::ERR_OK || (activatedOsAccountIds.size() <= 0)) { in GetCurrentActiveOsAccountId()
100 int osAccountId = activatedOsAccountIds[0]; in GetCurrentActiveOsAccountId()

Completed in 4 milliseconds