In our room at the New Miyako Hotel (Kyoto) for both. As we're not used to earthquakes - was suitably worried both times - particularly for the one that awakened us in the middle of the night. We were dressed with passports in hand before it finished...