Home
last modified time | relevance | path

Searched refs:userId (Results 1 - 3 of 3) sorted by relevance

/developtools/hdc/sudo/src/
H A Dmain.cpp250 static bool VerifyAccount(int32_t userId) in VerifyAccount() argument
258 authOptions.accountId = userId; in VerifyAccount()
284 int32_t userId = -1; in UserAccountVerify() local
286 err = OsAccountManager::GetForegroundOsAccountLocalId(userId); in UserAccountVerify()
299 if (VerifyAccount(userId)) { in UserAccountVerify()
/developtools/profiler/device/base/include/
H A Dcommon.h49 bool GetCurrentUserId(int32_t &userId);
/developtools/profiler/device/base/src/
H A Dcommon.cpp670 bool GetCurrentUserId(int32_t& userId) in GetCurrentUserId() argument
683 userId = activeIds[0]; in GetCurrentUserId()
684 PROFILER_LOG_INFO(LOG_CORE, "QueryActiveOsAccountIds userId[0]:%d", userId); in GetCurrentUserId()
690 int32_t userId = 0; in GetPackageUid() local
691 if (!GetCurrentUserId(userId)) { in GetPackageUid()
710 int32_t uid = mgr->GetUidByBundleName(name, userId); in GetPackageUid()

Completed in 4 milliseconds