Searched refs:IsAppInForeground (Results 1 – 2 of 2) sorted by relevance
208 bool IsAppInForeground(int32_t callingPid, uint32_t callingTokenId);
389 !IsAppInForeground(IPCSkeleton::GetCallingPid(), callerTokenId) && !hasPermission) { in UnlockInner()748 bool ScreenLockSystemAbility::IsAppInForeground(int32_t callingPid, uint32_t callingTokenId) in IsAppInForeground() function in OHOS::ScreenLock::ScreenLockSystemAbility