In order to reduce the CorePlatformAPI surface. Test: m Bug: 154796679 Change-Id: I428fe21d764bf6897942d7e67d85297d826d3716