Both. I have too many trips to the US and I think the one random trip he looked at on my residence calculator form, he couldn't find it in my passport. After the test, you wait to be interviewed and you show 2 pcs of ID (health card/drivers' license), all passport/s, and your PR landing...