Home
last modified time | relevance | path

Searched refs:DISPLAY_NAME (Results 1 – 25 of 45) sorted by relevance

12

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_ContactCountsTest.java42 final String[] TEST_PROJECTION = new String[] {Contacts.DISPLAY_NAME};
122 .with(StructuredName.DISPLAY_NAME, "Apple Pie") in setupTestData()
132 .with(StructuredName.DISPLAY_NAME, "Banana Split") in setupTestData()
142 .with(StructuredName.DISPLAY_NAME, "Blackberry Shortcake") in setupTestData()
152 .with(StructuredName.DISPLAY_NAME, "Cherry icecream") in setupTestData()
162 .with(StructuredName.DISPLAY_NAME, "Apricot Jam ") in setupTestData()
172 .with(StructuredName.DISPLAY_NAME, "Blackcurrant Pie ") in setupTestData()
DContactsContract_AggregationSuggestionsTest.java37 = new String[] {Contacts.DISPLAY_NAME, Contacts._ID};
74 values.put(Contacts.DISPLAY_NAME, "first1 last1"); in testAggregationSuggestionsByNameReversed()
96 values.put(Contacts.DISPLAY_NAME, "first1 last1"); in testAggregationSuggestionsByName()
111 uri, new String[] { Contacts._ID, Contacts.DISPLAY_NAME }, null, null, null); in testAggregationSuggestionsByName_noMatch()
133 values.put(Contacts.DISPLAY_NAME, "first2 last2"); in testAggregationSuggestionsByName_matchSecondNameParameter()
154 values.put(Contacts.DISPLAY_NAME, "first2 last2"); in testAggregationSuggestionsByName_matchFirstNameParameter()
DContactsContract_FrequentsStrequentsTest.java55 Contacts.DISPLAY_NAME,
92 Contacts.DISPLAY_NAME,
131 cv1.put(Contacts.DISPLAY_NAME, "Hot Tamale"); in cv1.put() argument
135 cv2.put(Contacts.DISPLAY_NAME, "Cold Tamago"); in cv2.put() argument
139 cv3.put(Contacts.DISPLAY_NAME, "John Doe"); in cv3.put() argument
429 .with(StructuredName.DISPLAY_NAME, "Hot Tamale") in setupTestData()
443 .with(StructuredName.DISPLAY_NAME, "Cold Tamago") in setupTestData()
457 .with(StructuredName.DISPLAY_NAME, "John Doe") in setupTestData()
DContactsContract_DataTest.java102 Contacts.DISPLAY_NAME,
142 cv1.put(Contacts.DISPLAY_NAME, "Hot Tamale"); in cv1.put() argument
149 cv2.put(Contacts.DISPLAY_NAME, "Hot Tamale"); in cv2.put() argument
156 cv3.put(Contacts.DISPLAY_NAME, "Hot Tamale"); in cv3.put() argument
163 cv4.put(Contacts.DISPLAY_NAME, "Cold Tamago"); in cv4.put() argument
170 cv5.put(Contacts.DISPLAY_NAME, "John Doe"); in cv5.put() argument
177 cv6.put(Contacts.DISPLAY_NAME, "John Doe"); in cv6.put() argument
184 cv7.put(Contacts.DISPLAY_NAME, "Cold Tamago"); in cv7.put() argument
218 .with(CommonDataKinds.StructuredName.DISPLAY_NAME, "test name") in testGetLookupUriBySourceId()
236 .with(CommonDataKinds.StructuredName.DISPLAY_NAME, "test name") in testDataProjection()
[all …]
DContactsContract_DirectoryTest.java92 assertEquals(CtsGalProvider.DISPLAY_NAME, getString(c, Directory.DISPLAY_NAME)); in waitForDirectorySetup()
132 final JSONObject result = new JSONObject(getString(c, Contacts.DISPLAY_NAME)); in testQueryParameters()
DContactsContract_SearchSnippetsTest.java53 cv1.put(Contacts.DISPLAY_NAME, "Hot Tamale"); in cv1.put() argument
57 cv2.put(Contacts.DISPLAY_NAME, "Cold Tamago"); in cv2.put() argument
61 cv3.put(Contacts.DISPLAY_NAME, "John Doe"); in cv3.put() argument
334 .with(StructuredName.DISPLAY_NAME, "Hot Tamale") in setupTestData()
348 .with(StructuredName.DISPLAY_NAME, "Cold Tamago") in setupTestData()
367 .with(StructuredName.DISPLAY_NAME, "John Doe") in setupTestData()
DContactsContract_StructuredPhoneticName.java114 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority1()
151 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority2()
DContactsContract_PhoneLookup.java79 .with(StructuredName.DISPLAY_NAME, "Hot Tamale") in setupTestData()
93 .with(StructuredName.DISPLAY_NAME, "Cold Tamago") in setupTestData()
108 .with(StructuredName.DISPLAY_NAME, "Warm Tempura") in setupTestData()
DContactsContract_IsSuperPrimaryName.java108 contact.assertColumn(Contacts.DISPLAY_NAME, expectedDisplayName); in testInner_displayNameFromIsSuperPrimary()
128 contact.assertColumn(Contacts.DISPLAY_NAME, otherDisplayName); in testInner_displayNameFromIsSuperPrimary()
DContactsContract_RawContactsTest.java98 .with(StructuredName.DISPLAY_NAME, "test name") in testGetLookupUriBySourceId()
115 .with(StructuredName.DISPLAY_NAME, "test name") in testGetLookupUriByDisplayName()
305 .with(StructuredName.DISPLAY_NAME, "test name") in testProjection()
DDataUtil.java50 values.put(CommonDataKinds.StructuredName.DISPLAY_NAME, name); in insertName()
/cts/tests/tests/contactsprovider/gal/src/android/provider/cts/contacts/galprovider/
DCtsGalProvider.java48 public static final String DISPLAY_NAME = "cts-gal"; field in CtsGalProvider
135 } else if (column.equals(Directory.DISPLAY_NAME)) { in handleDirectories()
136 row[i] = DISPLAY_NAME; in handleDirectories()
188 projection = new String[]{Contacts.DISPLAY_NAME}; in handleFilter()
196 if (Contacts.DISPLAY_NAME.equals(column)) { in handleFilter()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreAudioTestHelper.java106 public static final String DISPLAY_NAME = FILE_NAME; field in MediaStoreAudioTestHelper.Audio1
125 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); in getContentValues()
170 public static final String DISPLAY_NAME = FILE_NAME; field in MediaStoreAudioTestHelper.Audio2
188 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); in getContentValues()
DMediaStorePlacementTest.java248 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated()
284 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated_InvalidMime()
300 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated_InvalidPath()
328 values.put(MediaColumns.DISPLAY_NAME, displayName.orElse(null)); in updatePlacement()
DMediaStoreTrashedTest.java135 c.getString(c.getColumnIndexOrThrow(MediaColumns.DISPLAY_NAME))); in doTrashed()
147 c.getString(c.getColumnIndexOrThrow(MediaColumns.DISPLAY_NAME))); in doTrashed()
DMediaStore_Audio_PlaylistsTest.java126 new String[] { Playlists.NAME, MediaColumns.DISPLAY_NAME }, null, null)) { in testName() argument
137 new String[] { Playlists.NAME, MediaColumns.DISPLAY_NAME }, null, null)) { in testName() argument
DMediaStore_Audio_Playlists_MembersTest.java72 Members.DISPLAY_NAME,
101 Members.DISPLAY_NAME,
258 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Members.DISPLAY_NAME))); in testStoreAudioPlaylistsMembersExternal()
303 assertEquals(Audio2.DISPLAY_NAME, c.getString(c.getColumnIndex(Members.DISPLAY_NAME))); in testStoreAudioPlaylistsMembersExternal()
DMediaStoreNotificationTest.java94 values.put(MediaStore.Images.Media.DISPLAY_NAME, "cts" + System.nanoTime()); in testSimple()
139 values.put(MediaStore.Images.Media.DISPLAY_NAME, "cts" + System.nanoTime()); in testCursor()
DMediaStore_Audio_MediaTest.java140 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreAudioMedia()
282 FileColumns.DISPLAY_NAME, in testMediaWithSubtitles()
DMediaStore_Video_MediaTest.java143 values.put(Media.DISPLAY_NAME, "testvideo.3gp"); in testStoreVideoMediaExternal()
172 assertEquals(videoFile.getName(), c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreVideoMediaExternal()
425 final String displayName = c.getString(c.getColumnIndex(VideoColumns.DISPLAY_NAME)); in testMetadata()
457 FileColumns.DISPLAY_NAME, in testMediaWithSubtitles()
DMediaStore_FilesTest.java365 .withValue(MediaColumns.DISPLAY_NAME, "red" + System.nanoTime() + ".png") in testGeneration()
368 .withValue(MediaColumns.DISPLAY_NAME, "green" + System.nanoTime() + ".png") in testGeneration()
371 .withValue(MediaColumns.DISPLAY_NAME, "blue" + System.nanoTime() + ".png") in testGeneration()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionService.java45 private final String DISPLAY_NAME = "CtsVerifier Virtual Display"; field in ProjectionService
85 mDisplay = manager.createVirtualDisplay(DISPLAY_NAME, width, height, density, in startRendering()
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java106 private static final String DISPLAY_NAME = "My Test"; field in DocumentsContractTest
270 doReturn(DOC_RESULT).when(mProvider).createDocument(DOC_RED, MIME_TYPE, DISPLAY_NAME); in testCreateDocument()
271 assertEquals(URI_RESULT, createDocument(mResolver, URI_RED, MIME_TYPE, DISPLAY_NAME)); in testCreateDocument()
276 doReturn(DOC_RESULT).when(mProvider).renameDocument(DOC_RED, DISPLAY_NAME); in testRenameDocument()
277 assertEquals(URI_RESULT, renameDocument(mResolver, URI_RED, DISPLAY_NAME)); in testRenameDocument()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCACertWriter.java43 downloadValues.put(MediaStore.MediaColumns.DISPLAY_NAME, CERT_ASSET_NAME); in extractCertToDownloads()
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java130 } else if (column.equals(Directory.DISPLAY_NAME)) { in query()
166 } else if (column.equals(Contacts.DISPLAY_NAME)) { in query()

12