Searched refs:getMockContext (Results 1 – 9 of 9) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuardTest.java | 120 context = getMockContext(true, true); in testCrossProfile_userSettingOn() 136 context = getMockContext(true, /* isContactsSearchEnabled= */ false); in testCrossProfile_userSettingOn() 152 context = getMockContext(/* isCallerIdEnabled= */ false, true); in testCrossProfile_userSettingOn() 168 context = getMockContext(/* isCallerIdEnabled= */ false, in testCrossProfile_userSettingOn() 187 Context context = getMockContext(true, true); in testCrossProfile_userSettingOff() 259 private Context getMockContext(boolean isCallerIdEnabled, boolean isContactsSearchEnabled) { in getMockContext() method in EnterprisePolicyGuardTest
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailCleanupTest.java | 54 ContactsPackageMonitor.cleanupVoicemail(getMockContext(), TEST_PACKAGE_1); in testCleanupVoicemail() 60 ContactsPackageMonitor.cleanupVoicemail(getMockContext(), TEST_PACKAGE_2); in testCleanupVoicemail() 67 ContactsPackageMonitor.cleanupVoicemail(getMockContext(), TEST_PACKAGE_2); in testCleanupVoicemail()
|
D | CallLogProviderTest.java | 197 Uri uri = Calls.addCall(ci, getMockContext(), "1-800-263-7643", in testAddCall()
|
D | BaseContactsProvider2Test.java | 162 public Context getMockContext() { in getMockContext() method in BaseContactsProvider2Test
|
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/ |
D | CarUiTestUtil.java | 40 public static Context getMockContext() { in getMockContext() method in CarUiTestUtil
|
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/ |
D | CarUiRecyclerViewAdapterTest.java | 53 mContext = CarUiTestUtil.getMockContext(); in setUp()
|
D | DefaultScrollBarTest.java | 65 mContext = CarUiTestUtil.getMockContext(); in setUp()
|
D | CarUiListItemTest.java | 58 mContext = CarUiTestUtil.getMockContext(); in setUp()
|
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/ |
D | ToolbarTest.java | 52 mContext = CarUiTestUtil.getMockContext(); in setUp()
|