Home
last modified time | relevance | path

Searched refs:assertSelection (Results 1 – 14 of 14) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DUserInputHandler_MouseTest.java94 mSelection.assertSelection(11); in testConfirmedClick_StartsSelection()
124 mSelection.assertSelection(11); in testUnconfirmedClick_DoesNotAddToExistingSelection()
132 mSelection.assertSelection(7, 11); in testUnconfirmedCtrlClick_AddsToExistingSelection()
140 mSelection.assertSelection(7, 8, 9, 10, 11); in testUnconfirmedShiftClick_ExtendsSelection()
152 mSelection.assertSelection(7, 8, 9, 10, 11); in testConfirmedShiftClick_ExtendsSelectionFromOriginFocus()
160 mSelection.assertSelection(7, 8, 9, 10, 11); in testUnconfirmedShiftClick_RotatesAroundOrigin()
163 mSelection.assertSelection(5, 6, 7); in testUnconfirmedShiftClick_RotatesAroundOrigin()
172 mSelection.assertSelection(7, 8, 9, 10, 11); in testUnconfirmedShiftCtrlClick_Combination()
176 mSelection.assertSelection(5, 7, 8, 9, 10, 11); in testUnconfirmedShiftCtrlClick_Combination()
184 mSelection.assertSelection(7, 8, 9, 10, 11); in testUnconfirmedShiftCtrlClick_ShiftTakesPriority()
DUserInputHandler_TouchTest.java105 mSelection.assertSelection(7); in testLongPress_StartsSelectionMode()
124 mSelection.assertSelection(7, 13, 99); in testLongPress_SecondPressAddsSelection()
DUserInputHandler_KeyboardTest.java90 mSelection.assertSelection(11); in testArrowKey_nonShiftClearsSelection()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
DSelectionManagerTest.java72 mSelection.assertSelection(7); in testSelection()
102 mSelection.assertSelection(7); in testSelection_PersistsOnUpdate()
112 mSelection.assertSelection(7); in testSelection_IntersectsWithNewDataSet()
248 mSelection.assertSelection(1, 2); in testProvisionalSelection()
272 mSelection.assertSelection(3, 4); in testProvisionalSelection_Replace()
294 mSelection.assertSelection(1); in testProvisionalSelection_IntersectsExistingProvisionalSelection()
310 mSelection.assertSelection(1, 2); in testProvisionalSelection_Apply()
326 mSelection.assertSelection(1, 2); in testProvisionalSelection_Cancel()
341 mSelection.assertSelection(1, 2, 3); in testProvisionalSelection_IntersectsAppliedSelection()
DSelectionManager_SingleSelectTest.java60 mSelection.assertSelection(4); in testSimpleSelect()
74 mSelection.assertSelection(3); in testRangeSelectionNotEstablished()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DGestureSelectionUiTest.java41 bots.directory.assertSelection(2); in testGridGestureSelect_twoFiles()
48 bots.directory.assertSelection(3); in testGridGestureSelect_multipleFiles()
56 bots.directory.assertSelection(2); in testListGestureSelect_twoFiles()
64 bots.directory.assertSelection(3); in testListGestureSelect_multipleFiles()
DBandSelectionUiTest.java46 bots.directory.assertSelection(4); in testBandSelection_allFiles()
59 bots.directory.assertSelection(3); in testBandSelection_someFiles()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java87 assertSelection(People.CONTENT_URI, values, "people", People._ID, ContentUris.parseId(uri)); in testPeopleInsert()
98 assertSelection(People.CONTENT_URI, values, "people", People._ID, personId); in testPeopleUpdate()
356 assertSelection(Organizations.CONTENT_URI, values, in testOrganizationsInsert()
425 assertSelection(Phones.CONTENT_URI, values, "phones", in testPhonesInsert()
569 assertSelection(ContactMethods.CONTENT_URI, values, "contact_methods", in assertContactMethodInsert()
626 assertSelection(Extensions.CONTENT_URI, values, "extensions", in testExtensionsInsert()
690 assertSelection(GroupMembership.CONTENT_URI, values, "groupmembership", in testGroupMembershipsInsert()
995 protected void assertSelection(Uri uri, ContentValues values, String legacyTable, in assertSelection() method in LegacyContactsProviderTest
999 super.assertSelection(uri, values, qualified, id); in assertSelection()
DVoicemailProviderTest.java91 assertSelection(uri, getTestVoicemailValues(), Voicemails._ID, ContentUris.parseId(uri)); in testInsert()
600 assertSelection(uri, values, Status._ID, ContentUris.parseId(uri)); in testStatusInsert()
624 assertSelection(uri, values, Status._ID, ContentUris.parseId(uri)); in testStatusUpsert()
642 assertSelection(uri, values, Status._ID, ContentUris.parseId(uri)); in testStatusQuotaInsert()
DCallLogProviderTest.java98 assertSelection(uri, values, Calls._ID, ContentUris.parseId(uri)); in testInsert_RegularCallRecord()
126 assertSelection(uri, values, Calls._ID, ContentUris.parseId(uri)); in testInsert_VoicemailCallRecord()
DBaseContactsProvider2Test.java1065 protected void assertSelection(Uri uri, ContentValues values, String idColumn, long id) { in assertSelection() method in BaseContactsProvider2Test
1066 assertSelection(uri, values, idColumn, id, null); in assertSelection()
1071 assertSelection(uri, values, idColumn, id, buildProjection(values)); in assertSelectionWithProjection()
1074 private void assertSelection(Uri uri, ContentValues values, String idColumn, long id, in assertSelection() method in BaseContactsProvider2Test
DContactsProvider2Test.java985 assertSelection(RawContacts.CONTENT_URI, values, RawContacts._ID, rawContactId); in testRawContactsInsert()
1165 assertSelection(Data.CONTENT_URI, values, Data._ID, dataId); in testDataInsert()
1171 assertSelection(rawContactDataUri, values, Data._ID, dataId); in testDataInsert()
1176 assertSelection(contactDataUri, values, Data._ID, dataId); in testDataInsert()
1284 assertSelection(dataUri, expected, Data._ID, dataId); in testDataInsertPhoneNumberTooLongIsTrimmed()
1335 assertSelection(Phone.CONTENT_URI, values, Data._ID, phoneId); in testPhonesQuery()
2521 assertSelection(Email.CONTENT_URI, values, Data._ID, emailId); in testEmailsQuery()
3279 assertSelection(StructuredPostal.CONTENT_URI, values, Data._ID, dataId); in testPostalsQuery()
3494 assertSelection(Contacts.CONTENT_URI, values, Contacts._ID, contactId); in testQueryContactData()
4171 assertSelection(Contacts.CONTENT_URI, nonProfileValues, Contacts._ID, nonProfileContactId); in testQueryContactThenProfile()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java166 assertSelection(number); in selectDocument()
255 public void assertSelection(int numSelected) { in assertSelection() method in DirectoryListBot
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/
DSelectionProbe.java78 public void assertSelection(int... ids) { in assertSelection() method in SelectionProbe