Return handle instead of resource id to the client in trm

Test: atest
Bug: 150952662
Change-Id: I9bb741e4d1328ee44148bf41b3a1e8772272ebfa
3 files changed