Home
last modified time | relevance | path

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

12

/cts/tests/tests/provider/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_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_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()
DDummyGalProvider.java47 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()
DContactsContract_DirectoryTest.java88 assertEquals(DummyGalProvider.DISPLAY_NAME, getString(c, Directory.DISPLAY_NAME)); in waitForDirectorySetup()
128 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_StructuredPhoneticName.java114 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority1()
151 contact.assertColumn(Contacts.DISPLAY_NAME, "name"); in testPhoneticStructuredName_phoneticPriority2()
DContactsContract_RawContactsTest.java95 .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()
DContactsContract_IsSuperPrimaryName.java108 contact.assertColumn(Contacts.DISPLAY_NAME, expectedDisplayName); in testInner_displayNameFromIsSuperPrimary()
128 contact.assertColumn(Contacts.DISPLAY_NAME, otherDisplayName); in testInner_displayNameFromIsSuperPrimary()
DDataUtil.java50 values.put(CommonDataKinds.StructuredName.DISPLAY_NAME, name); in insertName()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java101 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()
DMediaStore_Audio_Playlists_MembersTest.java70 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()
DDocumentsContractTest.java104 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()
DMediaStore_Audio_MediaTest.java120 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); in testStoreAudioMedia()
DMediaStore_Video_MediaTest.java139 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()
DMediaStoreUtils.java101 this.insertValues.put(MediaColumns.DISPLAY_NAME, Objects.requireNonNull(displayName)); in PendingParams()
DMediaStore_Images_MediaTest.java243 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));
DMediaStore_Audio_Genres_MembersTest.java147 assertEquals(Audio1.DISPLAY_NAME, c.getString(c.getColumnIndex(Members.DISPLAY_NAME))); in testStoreAudioGenresMembersExternal()
/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/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()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java522 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/
DMediaStoreUtils.java95 this.insertValues.put(MediaColumns.DISPLAY_NAME, Objects.requireNonNull(displayName)); in PendingParams()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java221 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()

12