/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_ContactCountsTest.java | 42 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()
|
D | ContactsContract_AggregationSuggestionsTest.java | 37 = 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()
|
D | ContactsContract_FrequentsStrequentsTest.java | 55 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()
|
D | ContactsContract_DataTest.java | 102 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 …]
|
D | ContactsContract_DirectoryTest.java | 92 assertEquals(CtsGalProvider.DISPLAY_NAME, getString(c, Directory.DISPLAY_NAME)); in waitForDirectorySetup() 132 final JSONObject result = new JSONObject(getString(c, Contacts.DISPLAY_NAME)); in testQueryParameters()
|
D | ContactsContract_SearchSnippetsTest.java | 53 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()
|
D | ContactsContract_StructuredPhoneticName.java | 114 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority1() 151 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsContract_PhoneLookup.java | 79 .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()
|
D | ContactsContract_IsSuperPrimaryName.java | 108 contact.assertColumn(Contacts.DISPLAY_NAME, expectedDisplayName); in testInner_displayNameFromIsSuperPrimary() 128 contact.assertColumn(Contacts.DISPLAY_NAME, otherDisplayName); in testInner_displayNameFromIsSuperPrimary()
|
D | ContactsContract_RawContactsTest.java | 98 .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()
|
D | DataUtil.java | 50 values.put(CommonDataKinds.StructuredName.DISPLAY_NAME, name); in insertName()
|
/cts/tests/tests/contactsprovider/gal/src/android/provider/cts/contacts/galprovider/ |
D | CtsGalProvider.java | 48 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/ |
D | MediaStoreAudioTestHelper.java | 106 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()
|
D | MediaStorePlacementTest.java | 248 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()
|
D | MediaStoreTrashedTest.java | 135 c.getString(c.getColumnIndexOrThrow(MediaColumns.DISPLAY_NAME))); in doTrashed() 147 c.getString(c.getColumnIndexOrThrow(MediaColumns.DISPLAY_NAME))); in doTrashed()
|
D | MediaStore_Audio_PlaylistsTest.java | 126 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
|
D | MediaStore_Audio_Playlists_MembersTest.java | 72 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()
|
D | MediaStoreNotificationTest.java | 94 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()
|
D | MediaStore_Audio_MediaTest.java | 140 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreAudioMedia() 282 FileColumns.DISPLAY_NAME, in testMediaWithSubtitles()
|
D | MediaStore_Video_MediaTest.java | 143 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()
|
D | MediaStore_FilesTest.java | 365 .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/ |
D | ProjectionService.java | 45 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/ |
D | DocumentsContractTest.java | 106 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/ |
D | CACertWriter.java | 43 downloadValues.put(MediaStore.MediaColumns.DISPLAY_NAME, CERT_ASSET_NAME); in extractCertToDownloads()
|
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
D | DirectoryProvider.java | 130 } else if (column.equals(Directory.DISPLAY_NAME)) { in query() 166 } else if (column.equals(Contacts.DISPLAY_NAME)) { in query()
|