Home
last modified time | relevance | path

Searched refs:MockContext (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/test-mock/api/
Dsystem-lint-baseline.txt2 IntentBuilderName: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.Broadc…
6 MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.Broad…
8 MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.Broad…
10 MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.Broad…
12 MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.Broad…
14 MissingNullability: android.test.mock.MockContext#registerReceiverForAllUsers(android.content.Broad…
Dlint-baseline.txt28 MissingNullability: android.test.mock.MockContext#bindIsolatedService(android.content.Intent, int, …
30 MissingNullability: android.test.mock.MockContext#bindIsolatedService(android.content.Intent, int, …
32 MissingNullability: android.test.mock.MockContext#bindIsolatedService(android.content.Intent, int, …
34 MissingNullability: android.test.mock.MockContext#bindIsolatedService(android.content.Intent, int, …
36 MissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.uti…
38 MissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.uti…
40 MissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.uti…
42 MissingNullability: android.test.mock.MockContext#getMainExecutor():
44 MissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, Stri…
46 MissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, Stri…
[all …]
Dremoved.txt4 public class MockContext extends android.content.Context {
Dtest-current.txt4 public class MockContext extends android.content.Context {
Dsystem-current.txt4 public class MockContext extends android.content.Context {
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java22 import android.test.mock.MockContext;
43 MockContext context = new MockContext2(); in testRequestLayout()
71 MockContext context = new MockContext2(); in testNoSelectableItems()
94 private class MockContext2 extends MockContext {
/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java22 import android.test.mock.MockContext;
65 new MockContext(), // The context that most methods are delegated to in setUp()
102 new MockContext(), // The context that most methods are delegated to in newResolverWithContentProviderFromSql()
DProviderTestCase2.java25 import android.test.mock.MockContext;
79 private class MockContext2 extends MockContext {
227 new MockContext(), // The context that most methods are delegated to in newResolverWithContentProviderFromSql()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/util/
DVersionedBroadcastListenerTest.java58 private class MockContext extends BroadcastInterceptingContext { class in VersionedBroadcastListenerTest
59 MockContext(Context base) { in MockContext() method in VersionedBroadcastListenerTest.MockContext
74 mServiceContext = new MockContext(mContext); in setUp()
/frameworks/base/tests/net/java/android/net/
DVpnManagerTest.java30 import android.test.mock.MockContext;
54 private final MockContext mMockContext =
55 new MockContext() {
DIpSecManagerTest.java35 import android.test.mock.MockContext;
76 private MockContext mMockContext = new MockContext() {
DIkev2VpnProfileTest.java26 import android.test.mock.MockContext;
63 private final MockContext mMockContext =
64 new MockContext() {
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverDataProvider.java28 import android.test.mock.MockContext;
95 MockContext ctx = new MockContext() { in createPackageManagerMockedInfo()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/
DFakeSettingsProviderTest.java25 import android.test.mock.MockContext;
/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java19 import android.test.mock.MockContext;
281 private static class StubContext extends MockContext {
DInstrumentationTestRunnerTest.java22 import android.test.mock.MockContext;
270 private static class StubContext extends MockContext {
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java36 import android.test.mock.MockContext;
228 private class MyMockContext extends MockContext {
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVCardVerifier.java23 import android.test.mock.MockContext;
65 private static class CustomMockContext extends MockContext {
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java31 import android.test.mock.MockContext;
56 private static class MyContext extends MockContext {
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java86 private class MockContext extends BroadcastInterceptingContext { class in TetheringConfigurationTest
87 MockContext(Context base) { in MockContext() method in TetheringConfigurationTest.MockContext
134 mMockContext = new MockContext(mContext); in setUp()
DEntitlementManagerTest.java108 private class MockContext extends BroadcastInterceptingContext { class in EntitlementManagerTest
109 MockContext(Context base) { in MockContext() method in EntitlementManagerTest.MockContext
215 mMockContext = new MockContext(mContext); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java35 import android.test.mock.MockContext;
52 public class DpmMockContext extends MockContext {
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java52 import android.test.mock.MockContext;
113 MockContext mMockContext = new MockContext() {
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java165 super(new MockContext(), "", "", null); in MockContentProvider()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java79 import android.test.mock.MockContext;
182 public class FakeContext extends MockContext {

12