Home
last modified time | relevance | path

Searched refs:typeColumn (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java227 final Long rawValue = entry.getAsLong(kind.typeColumn); in getCurrentType()
237 if (kind.typeColumn == null) return null; in getCurrentType()
238 final Integer rawValue = entry.getAsInteger(kind.typeColumn); in getCurrentType()
248 if (kind.typeColumn == null) return null; in getCurrentType()
249 final int index = cursor.getColumnIndex(kind.typeColumn); in getCurrentType()
289 if (kind == null || kind.typeColumn == null) return null; in getBestValidType()
359 if (kind.typeColumn != null && type != null) { in insertChild()
361 after.put(kind.typeColumn, type.rawValue); in insertChild()
793 if (kind.typeColumn == null || kind.typeList == null || kind.typeList.size() == 0) { in adjustType()
797 Integer typeInteger = entry.getAsInteger(kind.typeColumn); in adjustType()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/account/
DSamsungAccountType.java94 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
132 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
156 kind.typeColumn = Email.TYPE; in addDataKindEmail()
176 kind.typeColumn = Relation.TYPE; in addDataKindRelation()
211 kind.typeColumn = Event.TYPE; in addDataKindEvent()
DGoogleAccountType.java93 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
116 kind.typeColumn = Email.TYPE; in addDataKindEmail()
136 kind.typeColumn = Relation.TYPE; in addDataKindRelation()
171 kind.typeColumn = Event.TYPE; in addDataKindEvent()
DExchangeAccountType.java146 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
190 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
287 kind.typeColumn = Event.TYPE; in addDataKindEvent()
DBaseAccountType.java257 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
293 kind.typeColumn = Email.TYPE; in addDataKindEmail()
313 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
343 kind.typeColumn = Im.PROTOCOL; in addDataKindIm()
762 AttributeSet attrs, boolean isPseudo, String mimeType, String typeColumn, in newDataKind() argument
771 kind.typeColumn = typeColumn; in newDataKind()
784 if (kind.typeColumn != null) { in newDataKind()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DSamsungAccountType.java91 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
129 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
153 kind.typeColumn = Email.TYPE; in addDataKindEmail()
173 kind.typeColumn = Relation.TYPE; in addDataKindRelation()
207 kind.typeColumn = Event.TYPE; in addDataKindEvent()
DGoogleAccountType.java85 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
108 kind.typeColumn = Email.TYPE; in addDataKindEmail()
133 kind.typeColumn = Relation.TYPE; in addDataKindRelation()
168 kind.typeColumn = Event.TYPE; in addDataKindEvent()
DExchangeAccountType.java198 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
236 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
332 kind.typeColumn = Event.TYPE; in addDataKindEvent()
DBaseAccountType.java315 kind.typeColumn = Phone.TYPE; in addDataKindPhone()
352 kind.typeColumn = Email.TYPE; in addDataKindEmail()
377 kind.typeColumn = StructuredPostal.TYPE; in addDataKindStructuredPostal()
408 kind.typeColumn = Im.PROTOCOL; in addDataKindIm()
870 String typeColumn, in newDataKind() argument
880 kind.typeColumn = typeColumn; in newDataKind()
893 if (kind.typeColumn != null) { in newDataKind()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java77 public int typeColumn; field in AtPhonebook.PhonebookResult
443 pbr.typeColumn = -1; in queryPhonebook()
459 pbr.typeColumn = pbr.cursor.getColumnIndex(Phone.TYPE); in queryPhonebook()
575 if (pbr.typeColumn != -1) { in processCpbrCommand()
576 type = pbr.cursor.getInt(pbr.typeColumn); in processCpbrCommand()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java138 final String key = kind.typeColumn; in hasKindTypeColumn()
144 final String key = kind.typeColumn; in getKindTypeColumn()
201 mContentValues.put(thatKind.typeColumn, that.getKindTypeColumn(thatKind)); in collapseWith()
DDataKind.java55 public String typeColumn; field in DataKind
118 sb.append(" typeColumn=").append(typeColumn); in toString()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForCommonDataKind.java36 AbstractContactAggregator aggregator, String mimetype, String typeColumn, in DataRowHandlerForCommonDataKind() argument
39 mTypeColumn = typeColumn; in DataRowHandlerForCommonDataKind()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java131 final String key = kind.typeColumn; in hasKindTypeColumn()
138 final String key = kind.typeColumn; in getKindTypeColumn()
201 mContentValues.put(thatKind.typeColumn, that.getKindTypeColumn(thatKind)); in collapseWith()
DDataKind.java52 public String typeColumn; field in DataKind
122 sb.append(" typeColumn=").append(typeColumn); in toString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataHandler.java51 final int typeColumn = results.getColumnIndex(MetadataDbHelper.TYPE_COLUMN); in makeMetadataObject() local
70 results.getInt(typeColumn), in makeMetadataObject()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneNumber.java55 int typeColumn = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.TYPE); in fromCursor() local
71 cursor.getInt(typeColumn), in fromCursor()
DTelecomUtils.java341 int typeColumn = cursor.getColumnIndex(PhoneLookup.TYPE); in lookupNumberInBackground() local
350 int type = cursor.getInt(typeColumn); in lookupNumberInBackground()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java268 int typeColumn = cursor.getColumnIndexOrThrow(Calls.TYPE); in handleInsertsAndUpdates() local
291 if (cursor.isNull(typeColumn) || (type = cursor.getInt(typeColumn)) == 0) { in handleInsertsAndUpdates()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java88 kind.typeColumn = Data.DATA2; in testDataItemCollapsing_genericDataItemFields()
90 mValues1.put(kind.typeColumn, 2); in testDataItemCollapsing_genericDataItemFields()
91 mValues2.put(kind.typeColumn, 1); in testDataItemCollapsing_genericDataItemFields()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java97 phoneKind.typeColumn = Phone.TYPE; in MockContactsSource()
507 before.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimEmptyAfterUpdate()
629 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateRemain()
635 second.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateRemain()
707 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateUpdate()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java267 final int typeColumn = insertHelper.getColumnIndex( in addDefaultBookmarks() local
303 insertHelper.bind(typeColumn, in addDefaultBookmarks()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java470 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
535 mEntry.put(mKind.typeColumn, mType.rawValue); in onTypeSelectionChange()
DEventFieldEditorView.java279 saveValue(getKind().typeColumn, Integer.toString(Event.TYPE_BIRTHDAY)); in restoreBirthday()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java970 private void assertPersonIdConstraint(Uri uri, String typeColumn, int defaultType) { in assertPersonIdConstraint() argument
972 values.put(typeColumn, defaultType); in assertPersonIdConstraint()
982 String typeColumn, int defaultType, int otherType, String labelColumn) { in assertTypeAndLabelConstraints() argument

12