Files
frameworks_base/services/tests
Jiyong Park 0e3c24b0a7 Don't use MockIContentProvider
MockIContentProvider is not part of the public API of android.test.mock.
This test has been able to use the private API directly because it is
with 'platform_apis: true' and thus was provided with the impl lib
of the mock library. However, this will be prohibited when the mock
library is built with 'default_to_stubs: true' to hide the impl lib.

In preparation for the change, let the test implement the mock
directly from IContentProvider using Mockito.

Bug: 157007292
Test: m
Test: atest FrameworksUiServicesTests
Merged-In: I6de7f880baa19eebbc46076f6402173c68c44f8d
(cherry picked from commit c6f838e516)
Change-Id: I6de7f880baa19eebbc46076f6402173c68c44f8d
2020-06-02 08:22:16 +00:00
..