Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java151 final long id1 = ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value1"); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
159 final long id2 = ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value2"); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
166 assertEquals(-1, ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value2")); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3526 long id = insertWithOneArgAndReturnId(db, insert, mimeType); in insertMimeType()
3833 static long insertWithOneArgAndReturnId(SQLiteDatabase db, String sql, String sqlArgument) { in insertWithOneArgAndReturnId() method in ContactsDatabaseHelper
3867 id = insertWithOneArgAndReturnId(db, insert, packageName); in getPackageId()