Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/
DGroupsDaoIntegrationTests.java68 final ContactSaveService.GroupsDao sut = createDao(); in test_createGroup_createsGroupWithCorrectTitle() local
69 final Uri uri = sut.create("Test Create Group", getLocalAccount()); in test_createGroup_createsGroupWithCorrectTitle()
76 final ContactSaveService.GroupsDao sut = createDao(); in test_deleteEmptyGroup_marksRowDeleted() local
77 final Uri uri = sut.create("Test Delete Group", getLocalAccount()); in test_deleteEmptyGroup_marksRowDeleted()
79 assertEquals(1, sut.delete(uri)); in test_deleteEmptyGroup_marksRowDeleted()
92 final ContactSaveService.GroupsDao sut = createDao(); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle() local
93 final Uri uri = sut.create("Test Undo Delete Empty Group", getLocalAccount()); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle()
95 final Bundle undoData = sut.captureDeletionUndoData(uri); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle()
97 assertEquals(1, sut.delete(uri)); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle()
99 final Uri groupUri = sut.undoDeletion(undoData); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle()
[all …]
DDynamicShortcutsTests.java78 final DynamicShortcuts sut = new DynamicShortcuts(getContext()); in test_refresh_doesntCrash() local
79 sut.refresh(); in test_refresh_doesntCrash()
84 final DynamicShortcuts sut = createDynamicShortcuts(); in test_createShortcutFromRow_hasCorrectResult() local
92 final ShortcutInfo shortcut = sut.builderForContactShortcut(row).build(); in test_createShortcutFromRow_hasCorrectResult()
104 final DynamicShortcuts sut = createDynamicShortcuts(); in test_builderForContactShortcut_returnsNullWhenNameIsNull() local
106 final ShortcutInfo.Builder shortcut = sut.builderForContactShortcut(1l, "lookup_key", null); in test_builderForContactShortcut_returnsNullWhenNameIsNull()
112 final DynamicShortcuts sut = createDynamicShortcuts(); in test_builderForContactShortcut_ellipsizesLongNamesForLabels() local
113 sut.setShortLabelMaxLength(5); in test_builderForContactShortcut_ellipsizesLongNamesForLabels()
114 sut.setLongLabelMaxLength(10); in test_builderForContactShortcut_ellipsizesLongNamesForLabels()
116 final ShortcutInfo shortcut = sut.builderForContactShortcut(1l, "lookup_key", in test_builderForContactShortcut_ellipsizesLongNamesForLabels()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DAccountDisplayInfoFactoryTests.java58 final AccountDisplayInfoFactory sut = createFactoryForKnownTypes(); in test_displayableAccount_hasIconFromAccountType() local
60 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccount_hasIconFromAccountType()
73 final AccountDisplayInfoFactory sut = createFactoryForKnownTypes(); in test_displayableAccount_hasNameFromAccount() local
75 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccount_hasNameFromAccount()
84 final AccountDisplayInfoFactory sut = createFactoryForKnownTypes(); in test_displayableAccountForNullAccount_hasNameFromAccountType() local
86 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccountForNullAccount_hasNameFromAccountType()
96 final AccountDisplayInfoFactory sut = createFactoryForKnownTypes( in test_displayableAccountForDeviceAccount_hasNameFromAccountType() local
99 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccountForDeviceAccount_hasNameFromAccountType()
113 final AccountDisplayInfoFactory sut = createFactoryForKnownTypes( in test_displayableAccountForDeviceAccountWhenMultiple_hasNameFromAccount() local
117 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccountForDeviceAccountWhenMultiple_hasNameFromAccount()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java131 final SimContactDao sut = SimContactDao.create(getContext()); in importFromSim() local
133 sut.importContacts(Arrays.asList( in importFromSim()
163 final SimContactDao sut = SimContactDao.create(getContext()); in importContactWhichOnlyHasName() local
165 sut.importContacts(Arrays.asList( in importContactWhichOnlyHasName()
178 final SimContactDao sut = SimContactDao.create(getContext()); in importContactWhichOnlyHasPhone() local
180 sut.importContacts(Arrays.asList( in importContactWhichOnlyHasPhone()
193 final SimContactDao sut = SimContactDao.create(getContext()); in ignoresEmptyContacts() local
197 sut.importContacts(Arrays.asList( in ignoresEmptyContacts()
221 final SimContactDao sut = SimContactDao.create(getContext()); in largeImport() local
230 sut.importContacts(contacts, mAccount); in largeImport()
[all …]
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/orientation/
DLandscapePagedViewHandlerTest.kt40 private val sut = LandscapePagedViewHandler() constant
58 return sut.getSplitIconsPosition( in getSplitIconsPosition()
132 sut.updateSplitIconsPosition(iconView, expectedTranslationY, false) in testIcon_updateSplitIconsPosition()
150 sut.updateSplitIconsPosition(iconView, expectedTranslationY, true) in testIcon_updateSplitIconsPosition_isRTL()
166 sut.updateSplitIconsPosition(iconView, expectedTranslationY, false) in testChip_updateSplitIconsPosition()
181 sut.updateSplitIconsPosition(iconView, expectedTranslationY, true) in testChip_updateSplitIconsPosition_isRTL()
DSeascapePagedViewHandlerTest.kt40 private val sut = SeascapePagedViewHandler() constant in com.android.quickstep.orientation.SeascapePagedViewHandlerTest
58 return sut.getSplitIconsPosition( in getSplitIconsPosition()
134 sut.updateSplitIconsPosition(iconView, expectedTranslationY, false) in testIcon_updateSplitIconsPosition()
152 sut.updateSplitIconsPosition(iconView, expectedTranslationY, true) in testIcon_updateSplitIconsPosition_isRTL()
168 sut.updateSplitIconsPosition(iconView, expectedTranslationY, false) in testChip_updateSplitIconsPosition()
183 sut.updateSplitIconsPosition(iconView, expectedTranslationY, true) in testChip_updateSplitIconsPosition_isRTL()
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpt_PT_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dfr_wordlist.combined.gz
Dsv_wordlist.combined.gz
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...