Home
last modified time | relevance | path

Searched refs:canInsert (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java90 public static boolean canInsert(RawContactDelta state, DataKind kind) { in canInsert() method in RawContactModifier
560 if (hasOrg && RawContactModifier.canInsert(state, kindOrg)) { in parseExtras()
577 if (hasNotes && RawContactModifier.canInsert(state, kindNotes)) { in parseExtras()
909 final boolean canInsert = RawContactModifier.canInsert(state, kind); in parseExtras()
911 if (!validValue || !canInsert) return null; in parseExtras()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java252 } else if (!RawContactModifier.canInsert(mState, mKind)) { in updateEmptyEditors()
DCompactKindSectionView.java549 || !RawContactModifier.canInsert(rawContactDelta, dataKind) in updateEmptyNonNameEditors()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java300 assertTrue("Unable to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert()
305 assertTrue("Unable to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert()
309 assertFalse("Able to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert()