Home
last modified time | relevance | path

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

123456

/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
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()
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()
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.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()
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()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DStructuredNameDataItem.java39 return getContentValues().getAsString(StructuredName.DISPLAY_NAME); in getDisplayName()
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()
75 return getContentValues().getAsString(StructuredName.PHONETIC_MIDDLE_NAME); in getPhoneticMiddleName()
83 return getContentValues().getAsString(StructuredName.PHONETIC_FAMILY_NAME); in getPhoneticFamilyName()
91 return getContentValues().getAsString(StructuredName.FULL_NAME_STYLE); in getFullNameStyle()
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()
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()
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()
DImDataItem.java50 return getContentValues().getAsString(Email.DATA); in getData()
52 return getContentValues().getAsString(Im.DATA); in getData()
57 return getContentValues().getAsString(Im.LABEL); in getLabel()
70 return getContentValues().getAsString(Im.CUSTOM_PROTOCOL); in getCustomProtocol()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java95 public String getAsString(String key) { in getAsString() method in ValuesDelta
97 return mAfter.getAsString(key); in getAsString()
99 return mBefore.getAsString(key); in getAsString()
155 return getAsString(ContactsContract.Data.MIMETYPE); in getMimetype()
285 put(key, from.getAsString(key)); in copyStringFrom()
384 builder.append(this.getAsString(key)); in toString()
396 final String ourValue = this.getAsString(key); in subsetEquals()
397 final String theirValue = other.getAsString(key); in subsetEquals()
524 return getAsString(ContactsContract.CommonDataKinds.StructuredName.PHONETIC_FAMILY_NAME); in getPhoneticFamilyName()
528 return getAsString(ContactsContract.CommonDataKinds.StructuredName.PHONETIC_MIDDLE_NAME); in getPhoneticMiddleName()
[all …]
DRawContactModifier.java378 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); in trimEmpty()
379 final String dataSet = values.getAsString(RawContacts.DATA_SET); in trimEmpty()
397 final String accountType = values.getAsString(RawContacts.ACCOUNT_TYPE); in hasChanges()
398 final String dataSet = values.getAsString(RawContacts.DATA_SET); in hasChanges()
432 state.getValues().getAsString(RawContacts.ACCOUNT_TYPE)); in trimEmpty()
486 final String value = values.getAsString(field.column); in isEmpty()
503 final String value1 = values1.getAsString(field.column); in areEqual()
504 final String value2 = values2.getAsString(field.column); in areEqual()
658 : child.getAsString(StructuredPostal.FORMATTED_ADDRESS); in parseStructuredPostalExtra()
681 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/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/apps/Dialer/java/com/android/contacts/common/model/
DRawContact.java126 return getValues().getAsString(RawContacts.ACCOUNT_NAME); in getAccountName()
131 return getValues().getAsString(RawContacts.ACCOUNT_TYPE); in getAccountTypeString()
136 return getValues().getAsString(RawContacts.DATA_SET); in getDataSet()
144 return getValues().getAsString(RawContacts.SOURCE_ID); in getSourceId()
148 return getValues().getAsString(RawContacts.SYNC1); in getSync1()
152 return getValues().getAsString(RawContacts.SYNC2); in getSync2()
156 return getValues().getAsString(RawContacts.SYNC3); in getSync3()
160 return getValues().getAsString(RawContacts.SYNC4); in getSync4()
/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/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java851 assertEquals("prefix", output.getAsString(StructuredName.PREFIX)); in testMigrateNameFromGoogleToExchange()
852 assertEquals("given", output.getAsString(StructuredName.GIVEN_NAME)); in testMigrateNameFromGoogleToExchange()
853 assertEquals("middle", output.getAsString(StructuredName.MIDDLE_NAME)); in testMigrateNameFromGoogleToExchange()
854 assertEquals("family", output.getAsString(StructuredName.FAMILY_NAME)); in testMigrateNameFromGoogleToExchange()
855 assertEquals("suffix", output.getAsString(StructuredName.SUFFIX)); in testMigrateNameFromGoogleToExchange()
857 assertEquals("PHONETIC_FAMILY", output.getAsString(StructuredName.PHONETIC_FAMILY_NAME)); in testMigrateNameFromGoogleToExchange()
858 assertEquals("PHONETIC_GIVEN", output.getAsString(StructuredName.PHONETIC_GIVEN_NAME)); in testMigrateNameFromGoogleToExchange()
880 assertNull(outputValues.getAsString(StructuredPostal.FORMATTED_ADDRESS)); in testMigratePostalFromGoogleToExchange()
881 assertEquals("formatted_address", outputValues.getAsString(StructuredPostal.STREET)); in testMigratePostalFromGoogleToExchange()
908 String formattedAddress = outputValues.getAsString(StructuredPostal.FORMATTED_ADDRESS); in testMigratePostalFromExchangeToGoogle()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1720 String duration = values.getAsString(Events.DURATION); in fixAllDayTime()
1808 String origRrule = values.getAsString(Events.RRULE); in setRecurrenceEnd()
1816 dtstart.setTimezone(values.getAsString(Events.EVENT_TIMEZONE)); in setRecurrenceEnd()
1941 String color_index = modValues.getAsString(Events.EVENT_COLOR_KEY); in handleInsertException()
1979 boolean createSingleException = TextUtils.isEmpty(modValues.getAsString(Events.RRULE)); in handleInsertException()
2001 String _id = values.getAsString(Events._ID); in handleInsertException()
2002 String _sync_id = values.getAsString(Events._SYNC_ID); in handleInsertException()
2051 String durationStr = values.getAsString(Events.DURATION); in handleInsertException()
2109 values.getAsString(Events.RRULE)); in handleInsertException()
2197 modValues.getAsString(Events.SELF_ATTENDEE_STATUS)); in handleInsertException()
[all …]
/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/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/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()

123456