Add testing support code: TestIoUtils

Add testing support code that CTS can use instead of
private platform APIs.

Bug: 117535564
Bug: 113148576
Test: Run cts
Change-Id: I63ad197744075c14886a639bfba83392ac39854f
14 files changed