Home
last modified time | relevance | path

Searched refs:getContentValues (Results 1 – 25 of 75) sorted by relevance

123

/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DStructuredNameDataItem.java31 getContentValues().put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in StructuredNameDataItem()
39 return getContentValues().getAsString(StructuredName.DISPLAY_NAME); in getDisplayName()
43 getContentValues().put(StructuredName.DISPLAY_NAME, name); in setDisplayName()
47 return getContentValues().getAsString(StructuredName.GIVEN_NAME); in getGivenName()
51 return getContentValues().getAsString(StructuredName.FAMILY_NAME); in getFamilyName()
55 return getContentValues().getAsString(StructuredName.PREFIX); in getPrefix()
59 return getContentValues().getAsString(StructuredName.MIDDLE_NAME); in getMiddleName()
63 return getContentValues().getAsString(StructuredName.SUFFIX); in getSuffix()
67 return getContentValues().getAsString(StructuredName.PHONETIC_GIVEN_NAME); in getPhoneticGivenName()
71 getContentValues().put(StructuredName.PHONETIC_GIVEN_NAME, name); in setPhoneticGivenName()
[all …]
DStructuredPostalDataItem.java34 return getContentValues().getAsString(StructuredPostal.FORMATTED_ADDRESS); in getFormattedAddress()
38 return getContentValues().getAsString(StructuredPostal.LABEL); in getLabel()
42 return getContentValues().getAsString(StructuredPostal.STREET); in getStreet()
46 return getContentValues().getAsString(StructuredPostal.POBOX); in getPOBox()
50 return getContentValues().getAsString(StructuredPostal.NEIGHBORHOOD); in getNeighborhood()
54 return getContentValues().getAsString(StructuredPostal.CITY); in getCity()
58 return getContentValues().getAsString(StructuredPostal.REGION); in getRegion()
62 return getContentValues().getAsString(StructuredPostal.POSTCODE); in getPostcode()
66 return getContentValues().getAsString(StructuredPostal.COUNTRY); in getCountry()
DOrganizationDataItem.java34 return getContentValues().getAsString(Organization.COMPANY); in getCompany()
38 return getContentValues().getAsString(Organization.LABEL); in getLabel()
42 return getContentValues().getAsString(Organization.TITLE); in getTitle()
46 return getContentValues().getAsString(Organization.DEPARTMENT); in getDepartment()
50 return getContentValues().getAsString(Organization.JOB_DESCRIPTION); in getJobDescription()
54 return getContentValues().getAsString(Organization.SYMBOL); in getSymbol()
58 return getContentValues().getAsString(Organization.PHONETIC_NAME); in getPhoneticName()
62 return getContentValues().getAsString(Organization.OFFICE_LOCATION); in getOfficeLocation()
DImDataItem.java45 final ImDataItem im = new ImDataItem(new ContentValues(item.getContentValues()), true); in createFromEmail()
52 return getContentValues().getAsString(Email.DATA); in getData()
54 return getContentValues().getAsString(Im.DATA); in getData()
59 return getContentValues().getAsString(Im.LABEL); in getLabel()
64 return getContentValues().getAsInteger(Im.PROTOCOL); in getProtocol()
72 return getContentValues().getAsString(Im.CUSTOM_PROTOCOL); in getCustomProtocol()
76 Integer result = getContentValues().getAsInteger(Im.CHAT_CAPABILITY); in getChatCapability()
DPhoneDataItem.java37 return getContentValues().getAsString(Phone.NUMBER); in getNumber()
42 return getContentValues().getAsString(Phone.NORMALIZED_NUMBER); in getNormalizedNumber()
46 return getContentValues().getAsString(KEY_FORMATTED_PHONE_NUMBER); in getFormattedPhoneNumber()
50 return getContentValues().getAsString(Phone.LABEL); in getLabel()
59 getContentValues().put(KEY_FORMATTED_PHONE_NUMBER, formattedPhoneNumber); in computeFormattedPhoneNumber()
DEmailDataItem.java33 return getContentValues().getAsString(Email.ADDRESS); in getAddress()
37 return getContentValues().getAsString(Email.DISPLAY_NAME); in getDisplayName()
41 return getContentValues().getAsString(Email.DATA); in getData()
45 return getContentValues().getAsString(Email.LABEL); in getLabel()
DWebsiteDataItem.java33 return getContentValues().getAsString(Website.URL); in getUrl()
37 return getContentValues().getAsString(Website.LABEL); in getLabel()
DIdentityDataItem.java33 return getContentValues().getAsString(Identity.IDENTITY); in getIdentity()
37 return getContentValues().getAsString(Identity.NAMESPACE); in getNamespace()
DNicknameDataItem.java33 return getContentValues().getAsString(Nickname.NAME); in getName()
37 return getContentValues().getAsString(Nickname.LABEL); in getLabel()
DPhotoDataItem.java33 return getContentValues().getAsLong(Photo.PHOTO_FILE_ID); in getPhotoFileId()
37 return getContentValues().getAsByteArray(Photo.PHOTO); in getPhoto()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DStructuredNameDataItem.java32 getContentValues().put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in StructuredNameDataItem()
40 return getContentValues().getAsString(StructuredName.DISPLAY_NAME); in getDisplayName()
44 getContentValues().put(StructuredName.DISPLAY_NAME, name); in setDisplayName()
48 return getContentValues().getAsString(StructuredName.GIVEN_NAME); in getGivenName()
52 return getContentValues().getAsString(StructuredName.FAMILY_NAME); in getFamilyName()
56 return getContentValues().getAsString(StructuredName.PREFIX); in getPrefix()
60 return getContentValues().getAsString(StructuredName.MIDDLE_NAME); in getMiddleName()
64 return getContentValues().getAsString(StructuredName.SUFFIX); in getSuffix()
68 return getContentValues().getAsString(StructuredName.PHONETIC_GIVEN_NAME); in getPhoneticGivenName()
72 return getContentValues().getAsString(StructuredName.PHONETIC_MIDDLE_NAME); in getPhoneticMiddleName()
[all …]
DStructuredPostalDataItem.java34 return getContentValues().getAsString(StructuredPostal.FORMATTED_ADDRESS); in getFormattedAddress()
38 return getContentValues().getAsString(StructuredPostal.LABEL); in getLabel()
42 return getContentValues().getAsString(StructuredPostal.STREET); in getStreet()
46 return getContentValues().getAsString(StructuredPostal.POBOX); in getPOBox()
50 return getContentValues().getAsString(StructuredPostal.NEIGHBORHOOD); in getNeighborhood()
54 return getContentValues().getAsString(StructuredPostal.CITY); in getCity()
58 return getContentValues().getAsString(StructuredPostal.REGION); in getRegion()
62 return getContentValues().getAsString(StructuredPostal.POSTCODE); in getPostcode()
66 return getContentValues().getAsString(StructuredPostal.COUNTRY); in getCountry()
DOrganizationDataItem.java34 return getContentValues().getAsString(Organization.COMPANY); in getCompany()
38 return getContentValues().getAsString(Organization.LABEL); in getLabel()
42 return getContentValues().getAsString(Organization.TITLE); in getTitle()
46 return getContentValues().getAsString(Organization.DEPARTMENT); in getDepartment()
50 return getContentValues().getAsString(Organization.JOB_DESCRIPTION); in getJobDescription()
54 return getContentValues().getAsString(Organization.SYMBOL); in getSymbol()
58 return getContentValues().getAsString(Organization.PHONETIC_NAME); in getPhoneticName()
62 return getContentValues().getAsString(Organization.OFFICE_LOCATION); in getOfficeLocation()
DImDataItem.java47 final ImDataItem im = new ImDataItem(new ContentValues(item.getContentValues()), true); in createFromEmail()
54 return getContentValues().getAsString(Email.DATA); in getData()
56 return getContentValues().getAsString(Im.DATA); in getData()
61 return getContentValues().getAsString(Im.LABEL); in getLabel()
68 return getContentValues().getAsInteger(Im.PROTOCOL); in getProtocol()
76 return getContentValues().getAsString(Im.CUSTOM_PROTOCOL); in getCustomProtocol()
80 Integer result = getContentValues().getAsInteger(Im.CHAT_CAPABILITY); in getChatCapability()
DPhoneDataItem.java44 return getContentValues().getAsString(Phone.NUMBER); in getNumber()
51 return getContentValues().getAsString(Phone.NORMALIZED_NUMBER); in getNormalizedNumber()
55 return getContentValues().getAsString(KEY_FORMATTED_PHONE_NUMBER); in getFormattedPhoneNumber()
59 return getContentValues().getAsString(Phone.LABEL); in getLabel()
83 getContentValues().put(KEY_FORMATTED_PHONE_NUMBER, formattedPhoneNumber); in computeFormattedPhoneNumber()
DEmailDataItem.java34 return getContentValues().getAsString(Email.ADDRESS); in getAddress()
38 return getContentValues().getAsString(Email.DISPLAY_NAME); in getDisplayName()
42 return getContentValues().getAsString(Email.DATA); in getData()
46 return getContentValues().getAsString(Email.LABEL); in getLabel()
DCustomDataItem.java36 return getContentValues().getAsString(Data.DATA1); in getSummary()
40 return getContentValues().getAsString(Data.DATA2); in getContent()
DPhotoDataItem.java34 return getContentValues().getAsLong(Photo.PHOTO_FILE_ID); in getPhotoFileId()
38 return getContentValues().getAsByteArray(Photo.PHOTO); in getPhoto()
DGroupMembershipDataItem.java34 return getContentValues().getAsLong(GroupMembership.GROUP_ROW_ID); in getGroupRowId()
38 return getContentValues().getAsString(GroupMembership.GROUP_SOURCE_ID); in getGroupSourceId()
DSipAddressDataItem.java34 return getContentValues().getAsString(SipAddress.SIP_ADDRESS); in getSipAddress()
38 return getContentValues().getAsString(SipAddress.LABEL); in getLabel()
DIdentityDataItem.java34 return getContentValues().getAsString(Identity.IDENTITY); in getIdentity()
38 return getContentValues().getAsString(Identity.NAMESPACE); in getNamespace()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/sqlite/
DSearchResultsDatabaseUtilTest.java127 getContentValues(LOCAL_ID_2, CLOUD_ID_2, searchRequestId1)), in testQuerySearchResultsLocalItems()
136 getContentValues(LOCAL_ID_1, null, searchRequestId1)), in testQuerySearchResultsLocalItems()
190 getContentValues(null, CLOUD_ID_3, searchRequestId1), in testQuerySearchResultsCloudItems()
191 getContentValues(LOCAL_ID_2, CLOUD_ID_2, searchRequestId1), in testQuerySearchResultsCloudItems()
192 getContentValues(LOCAL_ID_1, CLOUD_ID_1, searchRequestId1) in testQuerySearchResultsCloudItems()
254 getContentValues(null, CLOUD_ID_3, searchRequestId3), in testQuerySearchResultsIdFilter()
255 getContentValues(LOCAL_ID_2, CLOUD_ID_2, searchRequestId2), in testQuerySearchResultsIdFilter()
256 getContentValues(LOCAL_ID_1, CLOUD_ID_1, searchRequestId1) in testQuerySearchResultsIdFilter()
308 getContentValues(null, CLOUD_ID_3, searchRequestId1), in testQuerySearchResultsSortOrder()
309 getContentValues(LOCAL_ID_2, CLOUD_ID_2, searchRequestId1), in testQuerySearchResultsSortOrder()
[all …]
DMediaInMediaSetsDatabaseUtilTest.java116 getContentValues(LOCAL_ID_2, CLOUD_ID_2, mediaSetPickerId) in testQueryLocalMediaInMediaSet()
126 getContentValues(LOCAL_ID_1, null, mediaSetPickerId) in testQueryLocalMediaInMediaSet()
174 getContentValues(null, CLOUD_ID_3, mediaSetPickerId), in testQueryCloudMediaInMediaSet()
175 getContentValues(LOCAL_ID_2, CLOUD_ID_2, mediaSetPickerId), in testQueryCloudMediaInMediaSet()
176 getContentValues(LOCAL_ID_1, CLOUD_ID_1, mediaSetPickerId) in testQueryCloudMediaInMediaSet()
230 getContentValues(null, CLOUD_ID_3, mediaSetPickerId1), in testQueryMediaInMediaSetForSpecificMediaSetPickerId()
231 getContentValues(LOCAL_ID_2, CLOUD_ID_2, mediaSetPickerId2), in testQueryMediaInMediaSetForSpecificMediaSetPickerId()
232 getContentValues(LOCAL_ID_1, CLOUD_ID_1, mediaSetPickerId2) in testQueryMediaInMediaSetForSpecificMediaSetPickerId()
282 getContentValues(null, CLOUD_ID_3, mediaSetPickerId), in testQueryMediaInMediaSetsSortOrder()
283 getContentValues(LOCAL_ID_2, CLOUD_ID_2, mediaSetPickerId), in testQueryMediaInMediaSetsSortOrder()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DTransactionManager.java125 long rowId = db.insertOrThrow(request.getTable(), null, request.getContentValues()); in insert()
185 request.getContentValues(), in insertOrReplaceOnConflict()
232 request.getContentValues(), in insertOrIgnoreOnConflict()
259 request.getContentValues(), in update()
272 request.getContentValues())); in update()
279 cursor, request.getContentValues())); in update()
512 request.getContentValues(), in updateEntriesIfRequired()
544 ContentValues contentValues = childTableRequest.withParentKey(rowId).getContentValues(); in insertChildTableRequest()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DExternalDbFacadeTest.java600 ContentValues cv = getContentValues(DATE_TAKEN_MS2, GENERATION_MODIFIED1); in testQueryMedia_match()
641 ContentValues cvPending = getContentValues(DATE_TAKEN_MS1, GENERATION_MODIFIED1); in testQueryMedia_noMatch()
644 ContentValues cvTrashed = getContentValues(DATE_TAKEN_MS2, GENERATION_MODIFIED2); in testQueryMedia_noMatch()
674 ContentValues cv = getContentValues(DATE_TAKEN_MS2, GENERATION_MODIFIED1); in testQueryMedia_withDateModified()
721 ContentValues cv = getContentValues(DATE_TAKEN_MS1, GENERATION_MODIFIED1); in testQueryMedia_withMimeType()
822 ContentValues cv = getContentValues(DATE_TAKEN_MS1, GENERATION_MODIFIED1); in testQueryMedia_withAlbumAndMimeType()
878 ContentValues cv = getContentValues(DATE_TAKEN_MS1, GENERATION_MODIFIED1); in testQueryMedia_withPageSize_returnsCorrectSortOrder()
931 ContentValues cv = getContentValues(DATE_TAKEN_MS1, GENERATION_MODIFIED1); in testQueryMedia_withPageSizeMissingPageToken_returnsCorrectSortOrder()
999 ContentValues cv = getContentValues(DATE_TAKEN_MS1, GENERATION_MODIFIED1); in testGetMediaCollectionInfoFiltering()
1047 ContentValues cv = getContentValues(DATE_TAKEN_MS1, GENERATION_MODIFIED1); in testGetMediaCollectionInfoWithDeleted()
[all …]

123