Refactor some codes for unbundle (2/N)

1. Refactor some @hide api call to normal api call
   for same function
2. Remove unnecessary @hide api call.

Bug: 118794189
Test: atest DocumentsUITest
Change-Id: I08198bf12362dbaa67a3709f99a2d7bc7523cb83
6 files changed