Searched refs:IsInForeGround (Results 1 – 4 of 4) sorted by relevance
346 bool IsInForeGround(const uint32_t callerToken) in IsInForeGround() function361 …bool needClose = !(IsInForeGround(callerToken) && (JudgmentPriority(pid, pidCompared) != PRIORITY_… in IsCameraNeedClose()368 pid, IsInForeGround(callerToken), in IsCameraNeedClose()
288 CHECK_ERROR_RETURN_RET_LOG(!IsInForeGround(callerToken_), CAMERA_ALLOC_ERROR, in Open()300 CHECK_ERROR_RETURN_RET_LOG(!IsInForeGround(callerToken_), CAMERA_ALLOC_ERROR, in OpenSecureCamera()
428 CHECK_ERROR_RETURN_RET_LOG(!IsInForeGround(callerToken), CAMERA_ALLOC_ERROR, in CreateCameraDevice()
162 bool IsInForeGround(const uint32_t callerToken);