/cts/tests/tests/provider/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_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_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 | DummyGalProvider.java | 47 public static final String DISPLAY_NAME = "dummy-gal"; field in DummyGalProvider 143 } else if (column.equals(Directory.DISPLAY_NAME)) { in handleDirectories() 144 row[i] = DISPLAY_NAME; in handleDirectories() 196 projection = new String[]{Contacts.DISPLAY_NAME}; in handleFilter() 204 if (Contacts.DISPLAY_NAME.equals(column)) { in handleFilter()
|
D | ContactsContract_DirectoryTest.java | 88 assertEquals(DummyGalProvider.DISPLAY_NAME, getString(c, Directory.DISPLAY_NAME)); in waitForDirectorySetup() 128 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_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_StructuredPhoneticName.java | 114 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority1() 151 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsContract_RawContactsTest.java | 95 .with(StructuredName.DISPLAY_NAME, "test name") in testGetLookupUriBySourceId() 112 .with(StructuredName.DISPLAY_NAME, "test name") in testGetLookupUriByDisplayName() 226 .with(StructuredName.DISPLAY_NAME, "test name") in testProjection()
|
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 | DataUtil.java | 50 values.put(CommonDataKinds.StructuredName.DISPLAY_NAME, name); in insertName()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStoreAudioTestHelper.java | 101 public static final String DISPLAY_NAME = FILE_NAME; field in MediaStoreAudioTestHelper.Audio1 120 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); in getContentValues() 164 public static final String DISPLAY_NAME = FILE_NAME; field in MediaStoreAudioTestHelper.Audio2 182 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); in getContentValues()
|
D | MediaStore_Audio_Playlists_MembersTest.java | 70 Members.DISPLAY_NAME, 99 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()
|
D | DocumentsContractTest.java | 104 private static final String DISPLAY_NAME = "My Test"; field in DocumentsContractTest 231 doReturn(DOC_RESULT).when(mProvider).createDocument(DOC_RED, MIME_TYPE, DISPLAY_NAME); in testCreateDocument() 232 assertEquals(URI_RESULT, createDocument(mResolver, URI_RED, MIME_TYPE, DISPLAY_NAME)); in testCreateDocument() 237 doReturn(DOC_RESULT).when(mProvider).renameDocument(DOC_RED, DISPLAY_NAME); in testRenameDocument() 238 assertEquals(URI_RESULT, renameDocument(mResolver, URI_RED, DISPLAY_NAME)); in testRenameDocument()
|
D | MediaStore_Audio_MediaTest.java | 120 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreAudioMedia()
|
D | MediaStore_Video_MediaTest.java | 139 values.put(Media.DISPLAY_NAME, "testvideo.3gp"); in testStoreVideoMediaExternal() 172 assertEquals("testvideo.3gp", c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreVideoMediaExternal() 412 final String displayName = c.getString(c.getColumnIndex(VideoColumns.DISPLAY_NAME)); in testMetadata()
|
D | MediaStoreUtils.java | 101 this.insertValues.put(MediaColumns.DISPLAY_NAME, Objects.requireNonNull(displayName)); in PendingParams()
|
D | MediaStore_Images_MediaTest.java | 243 values.put(Media.DISPLAY_NAME, file.getName()); in testStoreImagesMediaExternal() 271 assertEquals(file.getName(), c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreImagesMediaExternal() 499 final String displayName = c.getString(c.getColumnIndex(ImageColumns.DISPLAY_NAME));
|
D | MediaStore_Audio_Genres_MembersTest.java | 147 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Members.DISPLAY_NAME))); in testStoreAudioGenresMembersExternal()
|
/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/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()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 522 Directory.DISPLAY_NAME in testGetDirectoryListInPrimaryProfile() 1053 ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, in insertContact() 1155 PhoneLookup.DISPLAY_NAME, in getContactInfoFromPhoneLookupUri() 1159 PhoneLookup.DISPLAY_NAME, in getContactInfoFromPhoneLookupUri() 1171 return getContactInfoFromUri(uri, PhoneLookup.CONTACT_ID, PhoneLookup.DISPLAY_NAME, in getContactInfoFromEnterprisePhoneLookupUriWithSipAddress() 1180 return getContactInfoFromUri(uri, PhoneLookup._ID, PhoneLookup.DISPLAY_NAME, in getContactInfoFromEnterprisePhoneLookupUriInDirectory()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStoreUtils.java | 95 this.insertValues.put(MediaColumns.DISPLAY_NAME, Objects.requireNonNull(displayName)); in PendingParams()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTest.java | 221 final String DISPLAY_NAME = "My New Awesome Document Title"; in testCreateNew() 226 intent.putExtra(Intent.EXTRA_TITLE, DISPLAY_NAME); in testCreateNew() 241 assertEquals(DISPLAY_NAME, getColumn(uri, Document.COLUMN_DISPLAY_NAME)); in testCreateNew()
|