Use the suggested public API instead of libcore.os.

Change-Id: Id392e4c36c5721ca609d88d9ec6b9340ce05274c
2 files changed