Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java88 public static boolean canInsert(RawContactDelta state, DataKind kind) { in canInsert() method in RawContactModifier
558 if (hasOrg && RawContactModifier.canInsert(state, kindOrg)) { in parseExtras()
575 if (hasNotes && RawContactModifier.canInsert(state, kindNotes)) { in parseExtras()
907 final boolean canInsert = RawContactModifier.canInsert(state, kind); in parseExtras()
909 if (!validValue || !canInsert) return null; in parseExtras()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java292 assertTrue("Unable to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert()
297 assertTrue("Unable to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert()
301 assertFalse("Able to insert", RawContactModifier.canInsert(state, kindPhone)); in testCanInsert()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java544 || !RawContactModifier.canInsert(rawContactDelta, dataKind) in updateEmptyNonNameEditors()