Home
last modified time | relevance | path

Searched refs:TYPE_UPDATE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/
DContentProviderOperation.java40 public final static int TYPE_UPDATE = 2; field in ContentProviderOperation
182 return new Builder(TYPE_UPDATE, uri); in newUpdate()
249 return mType == TYPE_UPDATE; in isUpdate()
269 return mType == TYPE_DELETE || mType == TYPE_INSERT || mType == TYPE_UPDATE; in isWriteOperation()
312 } else if (mType == TYPE_UPDATE) { in apply()
510 if (mType == TYPE_UPDATE) { in build()
536 if (mType != TYPE_INSERT && mType != TYPE_UPDATE && mType != TYPE_ASSERT) { in withValueBackReferences()
552 if (mType != TYPE_INSERT && mType != TYPE_UPDATE && mType != TYPE_ASSERT) { in withValueBackReference()
570 if (mType != TYPE_UPDATE && mType != TYPE_DELETE && mType != TYPE_ASSERT) { in withSelectionBackReference()
589 if (mType != TYPE_INSERT && mType != TYPE_UPDATE && mType != TYPE_ASSERT) { in withValues()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java341 assertEquals(ContentProviderOperation.TYPE_UPDATE, operationGetType(op2)); in testParcelingOperation()