Searched refs:getMockContext (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 79 getMockContext(), request, TestFontsProvider.AUTHORITY, null); in testGetFontFromProvider_resultOK() 98 getMockContext(), request, TestFontsProvider.AUTHORITY, null); in testGetFontFromProvider_providerDoesntReturnAllFields() 114 getMockContext(), request, TestFontsProvider.AUTHORITY, null); in testGetFontFromProvider_resultFontNotFound() 127 getMockContext(), request, TestFontsProvider.AUTHORITY, null); in testGetFontFromProvider_resultFontUnavailable() 147 getMockContext(), request, TestFontsProvider.AUTHORITY, null); in testGetFontFromProvider_resultMalformedQuery() 173 getMockContext(), request, TestFontsProvider.AUTHORITY, null); in testGetFontFromProvider_resultFontNotFoundSecondRow() 206 getMockContext(), request, TestFontsProvider.AUTHORITY, null); in testGetFontFromProvider_resultFontNotFoundOtherRow()
|
D | SearchRecentSuggestionsProviderTest.java | 57 mSearchHelper = new SearchRecentSuggestions(getMockContext(), in setUp() 384 ContentResolver cr = getMockContext().getContentResolver(); in getQueryCursor()
|
/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase.java | 91 public IsolatedContext getMockContext() { in getMockContext() method in ProviderTestCase
|
D | ProviderTestCase2.java | 186 public IsolatedContext getMockContext() { in getMockContext() method in ProviderTestCase2
|
/frameworks/base/test-runner/api/ |
D | current.txt | 150 method @Deprecated public android.test.IsolatedContext getMockContext(); 158 method public android.test.IsolatedContext getMockContext();
|