Do not wake sleeping dogs - especially if you want to feed them. And how do you do that? Of course, you just pretend that you are completely relaxed and would only accidentally get your paw into the dog's bowl when stretching.
As soon as he opens his eyes, you should react at lightning speed, pretend that nothing has happened and wait for the next best moment to catch the long-awaited dry food from the bowl. And, be careful? Hopefully, because the cat will probably not do the trick again - the food of her roommate was apparently not as tasty as she expected!