Add package visibility tests for the InputMethodManager

Bug: 179783492
Bug: 179783499
Bug: 216823971
Test: atest CtsAppEnumerationTestCases
Change-Id: Ic7cc5d5760c50e20d0cd0437a254d041bd87e916
9 files changed