Replace getAccounts method with blockForWritableAccounts

This makes it more explicit that the method may block and should be
avoided.

Test: ran GoogleContactsTests

Bug 33627801

Change-Id: Idaffc3f0f6c986e21701f661d46b39ee8cbcc0a1
6 files changed