Home
last modified time | relevance | path

Searched refs:getAsString (Results 1 – 25 of 106) sorted by relevance

12345

/packages/apps/Contacts/src/com/android/contacts/interactions/
DCalendarInteraction.java98 return mValues.getAsString(Attendees.ATTENDEE_EMAIL); in getAttendeeEmail()
102 return mValues.getAsString(Attendees.ATTENDEE_IDENTITY); in getAttendeeIdentity()
106 return mValues.getAsString(Attendees.ATTENDEE_ID_NAMESPACE); in getAttendeeIdNamespace()
110 return mValues.getAsString(Attendees.ATTENDEE_NAME); in getAttendeeName()
150 return mValues.getAsString(Attendees.CUSTOM_APP_PACKAGE); in getCustomAppPackage()
154 return mValues.getAsString(Attendees.CUSTOM_APP_URI); in getCustomAppUri()
158 return mValues.getAsString(Attendees.DESCRIPTION); in getDescription()
174 return mValues.getAsString(Attendees.DURATION); in getDuration()
182 return mValues.getAsString(Attendees.EVENT_COLOR_KEY); in getEventColorKey()
186 return mValues.getAsString(Attendees.EVENT_END_TIMEZONE); in getEventEndTimezone()
[all …]
DSmsInteraction.java97 final String address = mValues.getAsString(Sms.ADDRESS); in getAddress()
103 return mValues.getAsString(Sms.BODY); in getBody()
144 return mValues.getAsString(Sms.SERVICE_CENTER); in getServiceCenter()
152 return mValues.getAsString(Sms.SUBJECT); in getSubject()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
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()
DStructuredNameDataItem.java40 return getContentValues().getAsString(StructuredName.DISPLAY_NAME); in getDisplayName()
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()
76 return getContentValues().getAsString(StructuredName.PHONETIC_FAMILY_NAME); in getPhoneticFamilyName()
80 return getContentValues().getAsString(StructuredName.FULL_NAME_STYLE); in getFullNameStyle()
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()
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()
DPhoneDataItem.java40 return getContentValues().getAsString(Phone.NUMBER); in getNumber()
47 return getContentValues().getAsString(Phone.NORMALIZED_NUMBER); in getNormalizedNumber()
51 return getContentValues().getAsString(KEY_FORMATTED_PHONE_NUMBER); in getFormattedPhoneNumber()
55 return getContentValues().getAsString(Phone.LABEL); in getLabel()
DImDataItem.java52 return getContentValues().getAsString(Email.DATA); in getData()
54 return getContentValues().getAsString(Im.DATA); in getData()
59 return getContentValues().getAsString(Im.LABEL); in getLabel()
74 return getContentValues().getAsString(Im.CUSTOM_PROTOCOL); in getCustomProtocol()
DNicknameDataItem.java34 return getContentValues().getAsString(Nickname.NAME); in getName()
38 return getContentValues().getAsString(Nickname.LABEL); in getLabel()
DIdentityDataItem.java34 return getContentValues().getAsString(Identity.IDENTITY); in getIdentity()
38 return getContentValues().getAsString(Identity.NAMESPACE); in getNamespace()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DValuesDelta.java93 public String getAsString(String key) { in getAsString() method in ValuesDelta
95 return mAfter.getAsString(key); in getAsString()
97 return mBefore.getAsString(key); in getAsString()
153 return getAsString(ContactsContract.Data.MIMETYPE); in getMimetype()
283 put(key, from.getAsString(key)); in copyStringFrom()
382 builder.append(this.getAsString(key)); in toString()
394 final String ourValue = this.getAsString(key); in subsetEquals()
395 final String theirValue = other.getAsString(key); in subsetEquals()
522 return getAsString(ContactsContract.CommonDataKinds.StructuredName.PHONETIC_FAMILY_NAME); in getPhoneticFamilyName()
526 return getAsString(ContactsContract.CommonDataKinds.StructuredName.PHONETIC_MIDDLE_NAME); in getPhoneticMiddleName()
[all …]
DRawContactModifier.java380 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); in trimEmpty()
381 final String dataSet = values.getAsString(RawContacts.DATA_SET); in trimEmpty()
399 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); in hasChanges()
400 final String dataSet = values.getAsString(RawContacts.DATA_SET); in hasChanges()
434 state.getValues().getAsString(RawContacts.ACCOUNT_TYPE)); in trimEmpty()
488 final String value = values.getAsString(field.column); in isEmpty()
505 final String value1 = values1.getAsString(field.column); in areEqual()
506 final String value2 = values2.getAsString(field.column); in areEqual()
660 : child.getAsString(StructuredPostal.FORMATTED_ADDRESS); in parseStructuredPostalExtra()
683 String mimeType = values.getAsString(Data.MIMETYPE); in parseValues()
[all …]
DRawContact.java207 return getValues().getAsString(RawContacts.ACCOUNT_NAME); in getAccountName()
214 return getValues().getAsString(RawContacts.ACCOUNT_TYPE); in getAccountTypeString()
221 return getValues().getAsString(RawContacts.DATA_SET); in getDataSet()
229 return getValues().getAsString(RawContacts.SOURCE_ID); in getSourceId()
233 return getValues().getAsString(RawContacts.SYNC1); in getSync1()
237 return getValues().getAsString(RawContacts.SYNC2); in getSync2()
241 return getValues().getAsString(RawContacts.SYNC3); in getSync3()
245 return getValues().getAsString(RawContacts.SYNC4); in getSync4()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java838 whereArgs[i++] = values.getAsString(NUMERIC); in deleteRow()
839 whereArgs[i++] = values.getAsString(MCC); in deleteRow()
840 whereArgs[i++] = values.getAsString(MNC); in deleteRow()
841 whereArgs[i++] = values.getAsString(NAME); in deleteRow()
843 values.getAsString(APN) : ""; in deleteRow()
845 values.getAsString(USER) : ""; in deleteRow()
847 values.getAsString(SERVER) : ""; in deleteRow()
849 values.getAsString(PASSWORD) : ""; in deleteRow()
851 values.getAsString(PROXY) : ""; in deleteRow()
853 values.getAsString(PORT) : ""; in deleteRow()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListMetadata.java83 final String id = values.getAsString(MetadataDbHelper.WORDLISTID_COLUMN); in createFromContentValues()
85 final String description = values.getAsString(MetadataDbHelper.DESCRIPTION_COLUMN); in createFromContentValues()
88 final String rawChecksum = values.getAsString(MetadataDbHelper.RAW_CHECKSUM_COLUMN); in createFromContentValues()
89 final String checksum = values.getAsString(MetadataDbHelper.CHECKSUM_COLUMN); in createFromContentValues()
91 final String localFilename = values.getAsString(MetadataDbHelper.LOCAL_FILENAME_COLUMN); in createFromContentValues()
92 final String remoteFilename = values.getAsString(MetadataDbHelper.REMOTE_FILENAME_COLUMN); in createFromContentValues()
96 final String locale = values.getAsString(MetadataDbHelper.LOCALE_COLUMN); in createFromContentValues()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPostalSplitter.java42 street = values.getAsString(StructuredPostal.STREET); in fromValues()
43 pobox = values.getAsString(StructuredPostal.POBOX); in fromValues()
44 neighborhood = values.getAsString(StructuredPostal.NEIGHBORHOOD); in fromValues()
45 city = values.getAsString(StructuredPostal.CITY); in fromValues()
46 region = values.getAsString(StructuredPostal.REGION); in fromValues()
47 postcode = values.getAsString(StructuredPostal.POSTCODE); in fromValues()
48 country = values.getAsString(StructuredPostal.COUNTRY); in fromValues()
DDataRowHandlerForPhoneNumber.java48 final String number = values.getAsString(Phone.NUMBER); in insert()
49 final String normalizedNumber = values.getAsString(Phone.NORMALIZED_NUMBER); in insert()
72 values.getAsString(Phone.NUMBER), in update()
73 values.getAsString(Phone.NORMALIZED_NUMBER)); in update()
91 final String number = values.getAsString(Phone.NUMBER); in fillNormalizedNumber()
92 final String numberE164 = values.getAsString(Phone.NORMALIZED_NUMBER); in fillNormalizedNumber()
DDataRowHandlerForOrganization.java43 String company = values.getAsString(Organization.COMPANY); in insert()
44 String title = values.getAsString(Organization.TITLE); in insert()
68 company = values.getAsString(Organization.COMPANY); in update()
79 title = values.getAsString(Organization.TITLE); in update()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java859 assertEquals("prefix", output.getAsString(StructuredName.PREFIX)); in testMigrateWithDisplayNameFromGoogleToExchange1()
860 assertEquals("given", output.getAsString(StructuredName.GIVEN_NAME)); in testMigrateWithDisplayNameFromGoogleToExchange1()
861 assertEquals("middle", output.getAsString(StructuredName.MIDDLE_NAME)); in testMigrateWithDisplayNameFromGoogleToExchange1()
862 assertEquals("family", output.getAsString(StructuredName.FAMILY_NAME)); in testMigrateWithDisplayNameFromGoogleToExchange1()
863 assertEquals("suffix", output.getAsString(StructuredName.SUFFIX)); in testMigrateWithDisplayNameFromGoogleToExchange1()
865 assertEquals("PHONETIC_FAMILY", output.getAsString(StructuredName.PHONETIC_FAMILY_NAME)); in testMigrateWithDisplayNameFromGoogleToExchange1()
866 assertEquals("PHONETIC_GIVEN", output.getAsString(StructuredName.PHONETIC_GIVEN_NAME)); in testMigrateWithDisplayNameFromGoogleToExchange1()
903 assertEquals("prefix", outputValues.getAsString(StructuredName.PREFIX)); in testMigrateWithDisplayNameFromGoogleToExchange2()
904 assertEquals("given", outputValues.getAsString(StructuredName.GIVEN_NAME)); in testMigrateWithDisplayNameFromGoogleToExchange2()
905 assertEquals("middle", outputValues.getAsString(StructuredName.MIDDLE_NAME)); in testMigrateWithDisplayNameFromGoogleToExchange2()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactDeltaComparator.java48 String accountType1 = one.getValues().getAsString(RawContacts.ACCOUNT_TYPE); in compare()
49 String dataSet1 = one.getValues().getAsString(RawContacts.DATA_SET); in compare()
51 String accountType2 = two.getValues().getAsString(RawContacts.ACCOUNT_TYPE); in compare()
52 String dataSet2 = two.getValues().getAsString(RawContacts.DATA_SET); in compare()
/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultApnSettingsLoader.java408 final String mcc = trimWithNullCheck(apnValues.getAsString(APN_MCC)); in loadFromResources()
409 final String mnc = trimWithNullCheck(apnValues.getAsString(APN_MNC)); in loadFromResources()
410 final String apn = trimWithNullCheck(apnValues.getAsString(APN_APN)); in loadFromResources()
415 final String type = apnValues.getAsString(APN_TYPE); in loadFromResources()
416 final String mmsc = apnValues.getAsString(APN_MMSC); in loadFromResources()
417 final String mmsproxy = apnValues.getAsString(APN_MMSPROXY); in loadFromResources()
418 final String mmsport = apnValues.getAsString(APN_MMSPORT); in loadFromResources()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1541 String duration = values.getAsString(Events.DURATION); in fixAllDayTime()
1629 String origRrule = values.getAsString(Events.RRULE); in setRecurrenceEnd()
1637 dtstart.timezone = values.getAsString(Events.EVENT_TIMEZONE); in setRecurrenceEnd()
1758 String color_index = modValues.getAsString(Events.EVENT_COLOR_KEY); in handleInsertException()
1796 boolean createSingleException = TextUtils.isEmpty(modValues.getAsString(Events.RRULE)); in handleInsertException()
1818 String _id = values.getAsString(Events._ID); in handleInsertException()
1819 String _sync_id = values.getAsString(Events._SYNC_ID); in handleInsertException()
1868 String durationStr = values.getAsString(Events.DURATION); in handleInsertException()
1926 values.getAsString(Events.RRULE)); in handleInsertException()
2014 modValues.getAsString(Events.SELF_ATTENDEE_STATUS)); in handleInsertException()
[all …]
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnsXmlProcessor.java243 apnValues.getAsString(Telephony.Carriers.MCC), in processApn()
244 apnValues.getAsString(Telephony.Carriers.MNC)); in processApn()
247 final String authType = apnValues.getAsString(Telephony.Carriers.AUTH_TYPE); in processApn()
251 final String carrierEnabled = apnValues.getAsString(Telephony.Carriers.CARRIER_ENABLED); in processApn()
256 final String bearer = apnValues.getAsString(Telephony.Carriers.BEARER); in processApn()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DReceiveSmsMessageAction.java67 String address = messageValues.getAsString(Sms.ADDRESS); in executeAction()
124 final String text = messageValues.getAsString(Sms.BODY); in executeAction()
125 final String subject = messageValues.getAsString(Sms.SUBJECT); in executeAction()
129 final String smsServiceCenter = messageValues.getAsString(Sms.SERVICE_CENTER); in executeAction()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java290 name = values.getAsString(AttachmentColumns.NAME); in Attachment()
292 uri = parseOptionalUri(values.getAsString(AttachmentColumns.URI)); in Attachment()
293 contentType = values.getAsString(AttachmentColumns.CONTENT_TYPE); in Attachment()
297 contentUri = parseOptionalUri(values.getAsString(AttachmentColumns.CONTENT_URI)); in Attachment()
298 thumbnailUri = parseOptionalUri(values.getAsString(AttachmentColumns.THUMBNAIL_URI)); in Attachment()
300 parseOptionalUri(values.getAsString(AttachmentColumns.PREVIEW_INTENT_URI)); in Attachment()
301 providerData = values.getAsString(AttachmentColumns.PROVIDER_DATA); in Attachment()
305 partId = values.getAsString(AttachmentColumns.CONTENT_ID); in Attachment()

12345