/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | DevicePolicyUtilsTest.java | 63 Context mockContext = getMockContext(false, true); in testIsBluetoothWorkContactSharingDisabled() 70 Context mockContext = getMockContext(false, false); in testIsBluetoothWorkContactSharingDisabled() 77 Context mockContext = getMockContext(true, true); in testIsBluetoothWorkContactSharingDisabled() 84 Context mockContext = getMockContext(true, false); in testIsBluetoothWorkContactSharingDisabled() 98 private Context getMockContext(boolean managedProfileExists, in getMockContext() method in DevicePolicyUtilsTest
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | GridSizeMigrationTaskTest.java | 60 new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, 5, 2, 3, 1) in testHotseatMigration_apps_dropped() 75 new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, 5, 2, 3, 1) in testHotseatMigration_shortcuts_dropped() 119 … new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, new HashMap<String, Point>(), in testWorkspace_empty_row_column_removed() 138 … new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, new HashMap<String, Point>(), in testWorkspace_new_screen_created() 162 … new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, new HashMap<String, Point>(), in testWorkspace_items_merged_in_next_screen() 193 … new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, new HashMap<String, Point>(), in testWorkspace_items_not_merged_in_next_screen() 250 ArrayList<Long> allScreens = LauncherModel.loadWorkspaceScreensDb(getMockContext()); in verifyWorkspace()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuardTest.java | 119 context = getMockContext(true, true); in testCrossProfile_userSettingOn() 135 context = getMockContext(true, /* isContactsSearchEnabled= */ false); in testCrossProfile_userSettingOn() 151 context = getMockContext(/* isCallerIdEnabled= */ false, true); in testCrossProfile_userSettingOn() 167 context = getMockContext(/* isCallerIdEnabled= */ false, in testCrossProfile_userSettingOn() 186 Context context = getMockContext(true, true); in testCrossProfile_userSettingOff() 258 private Context getMockContext(boolean isCallerIdEnabled, boolean isContactsSearchEnabled) { in getMockContext() method in EnterprisePolicyGuardTest
|
/packages/apps/Email/tests/src/com/android/email/ |
D | AccountTestCase.java | 67 return ProviderTestUtils.setupAccount(username, true, getMockContext()); in setupProviderAndAccountManagerAccount() 72 Cursor c = getMockContext().getContentResolver().query(Account.CONTENT_URI, in makeExchangeServiceAccountList()
|
D | ControllerProviderOpsTests.java | 52 mProviderContext = getMockContext(); in setUp()
|
D | LegacyConversionsTests.java | 69 mProviderContext = getMockContext(); in setUp()
|
D | SecurityPolicyTests.java | 60 mMockContext = new MockContext2(getMockContext(), mContext); in setUp()
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | QuickResponseTests.java | 43 mMockContext = getMockContext(); in setUp()
|
D | MailboxTests.java | 62 mMockContext = getMockContext(); in setUp() 300 final Context context = getMockContext(); in testRestoreMailboxOfType()
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | EmailBroadcastProcessorServiceTests.java | 51 mMockContext = getMockContext(); in setUp()
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
D | StoreTests.java | 48 mMockContext = getMockContext(); in setUp()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | AccountBackupRestoreTests.java | 49 mMockContext = getMockContext(); in setUp()
|
D | PolicyTests.java | 58 mMockContext = getMockContext(); in setUp()
|
D | ContentCacheTests.java | 56 mMockContext = getMockContext(); in setUp()
|
D | AttachmentProviderTests.java | 65 mMockContext = getMockContext(); in setUp()
|
D | ProviderTests.java | 124 mMockContext = new MockContext2(getMockContext(), getContext()); in setUp()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
D | ConversationCursorTests.java | 61 mMockContext = getMockContext(); in setUp()
|
D | TestProviderTests.java | 61 mMockContext = getMockContext(); in setUp()
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | Rfc822OutputTests.java | 83 mMockContext = getMockContext(); in setUp()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallLogProviderTest.java | 188 Uri uri = Calls.addCall(ci, getMockContext(), "1-800-263-7643", in testAddCall()
|
D | BaseContactsProvider2Test.java | 154 public Context getMockContext() { in getMockContext() method in BaseContactsProvider2Test
|