She _____ been sleeping for six hours when I woke her up.
She _____ been sleeping for six hours when I woke her up.
Explanation
She had been sleeping for six hours when I woke her up.
The sentence is in past perfect continuous tense.
"Had been" is used to describe an action that started in the past and continued up to another point in the past.