Home
last modified time | relevance | path

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

123

/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/
DMediaStoreReadOperation.java38 MediaStore.Images.Media.DISPLAY_NAME, in getImageFilesFromMediaStore()
41 String sortOrder = MediaStore.Images.Media.DISPLAY_NAME + " ASC"; in getImageFilesFromMediaStore()
48 .DISPLAY_NAME); in getImageFilesFromMediaStore()
DMediaStoreWriteOperation.java41 newImageDetails.put(MediaStore.Images.Media.DISPLAY_NAME, in createImageFileToMediaStoreReturnUri()
80 MediaStore.Images.Media.DISPLAY_NAME, in createImageFileToMediaStore()
82 String sortOrder = MediaStore.Images.Media.DISPLAY_NAME + " ASC"; in createImageFileToMediaStore()
86 .DISPLAY_NAME); in createImageFileToMediaStore()
/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.java57 new String[] {Directory.DISPLAY_NAME}, null, null); in setUp()
96 assertEquals(CtsGalProvider.DISPLAY_NAME, getString(c, Directory.DISPLAY_NAME)); in waitForDirectorySetup()
147 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_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_StructuredPhoneticName.java130 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority1()
167 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority2()
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()
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DAssociationInfoBuilderTest.kt56 .setDisplayName(DISPLAY_NAME) in <lambda>()
63 assertEquals(actual = newAssociationInfo.displayName, expected = DISPLAY_NAME) in <lambda>()
71 private const val DISPLAY_NAME = "My Device" constant
DAssociationRequestBuilderTest.kt66 .setDisplayName(DISPLAY_NAME) in test_setters()
76 assertEquals(actual = displayName, expected = DISPLAY_NAME) in test_setters()
96 private const val DISPLAY_NAME = "My Device" constant
/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/mediaprovider/src/android/provider/cts/media/
DMediaStoreAudioTestHelper.java105 public static final String DISPLAY_NAME = FILE_NAME; field in MediaStoreAudioTestHelper.Audio1
124 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); in getContentValues()
168 public static final String DISPLAY_NAME = FILE_NAME; field in MediaStoreAudioTestHelper.Audio2
186 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); in getContentValues()
DMediaStorePlacementTest.java251 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated()
287 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated_InvalidMime()
303 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated_InvalidPath()
331 values.put(MediaColumns.DISPLAY_NAME, displayName.orElse(null)); in updatePlacement()
DMediaStoreTrashedTest.java133 c.getString(c.getColumnIndexOrThrow(MediaColumns.DISPLAY_NAME))); in doTrashed()
145 c.getString(c.getColumnIndexOrThrow(MediaColumns.DISPLAY_NAME))); in doTrashed()
DMediaStore_Audio_PlaylistsTest.java129 new String[] { Playlists.NAME, MediaColumns.DISPLAY_NAME }, null, null)) { in testName() argument
140 new String[] { Playlists.NAME, MediaColumns.DISPLAY_NAME }, null, null)) { in testName() argument
DMediaStore_Audio_Playlists_MembersTest.java71 Members.DISPLAY_NAME,
100 Members.DISPLAY_NAME,
257 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Members.DISPLAY_NAME))); in testStoreAudioPlaylistsMembersExternal()
302 assertEquals(Audio2.DISPLAY_NAME, c.getString(c.getColumnIndex(Members.DISPLAY_NAME))); in testStoreAudioPlaylistsMembersExternal()
DMediaStoreNotificationTest.java92 values.put(MediaStore.Images.Media.DISPLAY_NAME, "cts" + System.nanoTime()); in testSimple()
137 values.put(MediaStore.Images.Media.DISPLAY_NAME, "cts" + System.nanoTime()); in testCursor()
/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/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DResolverAccessTestUtils.java99 MediaStore.Files.FileColumns.DISPLAY_NAME}; in assertResolver_listFiles()
151 values.put(MediaStore.MediaColumns.DISPLAY_NAME, file); in assertResolver_insert()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCACertWriter.java43 downloadValues.put(MediaStore.MediaColumns.DISPLAY_NAME, CERT_ASSET_NAME); in extractCertToDownloads()
/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()

123