/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | RcsProviderInsertTest.java | 65 assertThat(mContentResolver.insert(Uri.parse("content://rcs/thread"), null)).isNull(); in testInsertUnifiedThreadFails() 72 assertThat(mContentResolver.insert(uri, null)).isNull(); in testDuplicate1To1ThreadInsertion() 81 assertThat(mContentResolver.insert(Uri.parse("content://rcs/group_thread"), in testInsertGroupThread() 91 Uri uri = mContentResolver.insert(Uri.parse("content://rcs/participant"), contentValues); in testInsertParticipant() 100 mContentResolver.insert(Uri.parse("content://rcs/participant"), contentValues); in testInsertParticipantIntoGroupThread() 105 mContentResolver.insert(Uri.parse("content://rcs/group_thread"), values); in testInsertParticipantIntoGroupThread() 109 assertThat(mContentResolver.insert(uri, null)).isEqualTo(uri); in testInsertParticipantIntoGroupThread() 112 assertThat(mContentResolver.insert(uri, null)).isNull(); in testInsertParticipantIntoGroupThread() 121 assertThat(mContentResolver.insert(Uri.parse("content://rcs/message"), in testInsertMessageFails() 123 assertThat(mContentResolver.insert(Uri.parse("content://rcs/message/6"), in testInsertMessageFails() [all …]
|
D | RcsProviderDeleteTest.java | 66 assertThat(mContentResolver.insert(Uri.parse("content://rcs/participant"), in setUp() 76 assertThat(mContentResolver.insert(groupThreadUri, groupContentValues)).isEqualTo( in setUp() 80 assertThat(mContentResolver.insert(addParticipantToGroupThread, null)).isEqualTo( in setUp() 85 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/incoming_message"), in setUp() 88 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/outgoing_message"), in setUp() 92 mContentResolver.insert(Uri.parse("content://rcs/group_thread/2/incoming_message"), in setUp() 96 mContentResolver.insert(Uri.parse("content://rcs/group_thread/2/outgoing_message"), in setUp() 102 assertThat(mContentResolver.insert(Uri.parse("content://rcs/message/3/file_transfer"), in setUp() 109 mContentResolver.insert(Uri.parse("content://rcs/participant/1/alias_change_event"), in setUp() 116 assertThat(mContentResolver.insert( in setUp()
|
D | SmsProviderTest.java | 176 mContentResolver.insert(Uri.parse("content://sms"), values)); in testInsertUri() 178 mContentResolver.insert(Uri.parse("content://sms"), values)); in testInsertUri() 187 mContentResolver.insert(Uri.parse("content://sms/attachments"), values)); in testInsertUri() 195 mContentResolver.insert(mRawUri, getFakeRawValue())); in testRawTableInsert() 215 mContentResolver.insert(mRawUri, getFakeRawValue())); in testRawTableInsert() 217 mContentResolver.insert(mRawUri, getFakeRawValue())); in testRawTableInsert() 226 mContentResolver.insert(mRawUri, getFakeRawValue())); in testRawTableDelete() 247 mContentResolver.insert(mRawUri, getFakeRawValue())); in testRawTableDelete() 249 mContentResolver.insert(mRawUri, getFakeRawValue())); in testRawTableDelete()
|
D | RcsProviderUpdateTest.java | 69 assertThat(mContentResolver.insert(Uri.parse("content://rcs/participant"), in setUp() 83 assertThat(mContentResolver.insert(groupThreadUri, groupContentValues)).isEqualTo( in setUp() 87 assertThat(mContentResolver.insert(groupInsertionUri, null)).isEqualTo(groupInsertionUri); in setUp() 91 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/incoming_message"), in setUp() 94 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/outgoing_message"), in setUp() 98 mContentResolver.insert(Uri.parse("content://rcs/group_thread/2/incoming_message"), in setUp() 102 mContentResolver.insert(Uri.parse("content://rcs/group_thread/2/outgoing_message"), in setUp() 108 assertThat(mContentResolver.insert(Uri.parse("content://rcs/outgoing_message/2/delivery/1"), in setUp() 111 assertThat(mContentResolver.insert(Uri.parse("content://rcs/outgoing_message/4/delivery/1"), in setUp() 117 assertThat(mContentResolver.insert(Uri.parse("content://rcs/message/3/file_transfer"), in setUp()
|
D | TelephonyProviderTest.java | 388 Uri row1 = mContentResolver.insert(Carriers.CONTENT_URI, contentValues); in testUpdateConflictingCarriers() 389 Uri row2 = mContentResolver.insert(Carriers.CONTENT_URI, contentValues2); in testUpdateConflictingCarriers() 438 mContentResolver.insert(uri, contentValues); in doSimpleTestForUri() 490 mContentResolver.insert(Carriers.CONTENT_URI, contentValues); in testOwnedBy() 557 mContentResolver.insert(SubscriptionManager.CONTENT_URI, contentValues); in testSimTable() 612 Uri resultUri = mContentResolver.insert(uri, contentValues); in insertApnRecord() 992 mContentResolver.insert(URI_DPC, contentValuesDPC); in testAccessUrlDpcThrowSecurityExceptionFromOtherUid() 1101 assertNotNull(mContentResolver.insert(URI_TELEPHONY, editedValue)); in preserveEditedValueInMerge() 1114 mContentResolver.insert(URI_TELEPHONY, values); in preserveEditedValueInMerge() 1148 assertNotNull(mContentResolver.insert(URI_TELEPHONY, editedValue)); in preserveDeletedValueInMerge() [all …]
|
D | CarrierProviderTest.java | 157 mContentResolver.insert(CarrierProvider.CONTENT_URI, contentValues); in testInsertCertificates() 193 mContentResolver.insert(CarrierProvider.CONTENT_URI, contentValues); in testUpdateCertificates() 247 mContentResolver.insert(CarrierProvider.CONTENT_URI, contentValues); in testMultipleCertificates() 248 mContentResolver.insert(CarrierProvider.CONTENT_URI, contentValuesNew); in testMultipleCertificates() 281 mContentResolver.insert(CarrierProvider.CONTENT_URI, contentValues); in testDuplicateFailure() 286 mContentResolver.insert(CarrierProvider.CONTENT_URI, contentValues); in testDuplicateFailure() 310 mContentResolver.insert(CarrierProvider.CONTENT_URI, contentValues); in testDelete()
|
D | RcsProviderQueryTest.java | 87 mContentResolver.insert(participantUri, contentValues); in setUp() 92 mContentResolver.insert(participantUri, contentValues); in setUp() 101 assertThat(mContentResolver.insert(Uri.parse("content://rcs/group_thread"), in setUp() 105 mContentResolver.insert(Uri.parse("content://rcs/group_thread/3/participant/1"), null); in setUp() 106 mContentResolver.insert(Uri.parse("content://rcs/group_thread/3/participant/2"), null); in setUp() 114 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/incoming_message"), in setUp() 121 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/outgoing_message"), in setUp() 129 mContentResolver.insert(Uri.parse("content://rcs/group_thread/3/incoming_message"), in setUp() 136 assertThat(mContentResolver.insert( in setUp() 144 assertThat(mContentResolver.insert( in setUp() [all …]
|
D | CarrierIdProviderTest.java | 171 mContentResolver.insert(CarrierId.All.CONTENT_URI, createCarrierInfoInternal()); in testInsertCarrierInfo() 193 mContentResolver.insert(CarrierId.All.CONTENT_URI, contentValues); in testDuplicateInsertionCarrierInfo() 194 mContentResolver.insert(CarrierId.All.CONTENT_URI, contentValues); in testDuplicateInsertionCarrierInfo() 210 mContentResolver.insert(CarrierId.All.CONTENT_URI, contentValues); in testInvalidInsertionCarrierInfo() 224 mContentResolver.insert(CarrierId.All.CONTENT_URI, in testDeleteCarrierInfo() 251 mContentResolver.insert(CarrierId.All.CONTENT_URI, contentValues); in testUpdateCarrierInfo() 284 mContentResolver.insert(CarrierId.All.CONTENT_URI, contentValues); in testMultiRowInsertionQuery() 289 mContentResolver.insert(CarrierId.All.CONTENT_URI, contentValues); in testMultiRowInsertionQuery()
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | BlockedNumberProviderTest.java | 134 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "123")); in testInsert() 135 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "+1-2-3")); in testInsert() 136 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "+1-408-454-1111")); in testInsert() 137 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "1-408-454-2222")); in testInsert() 139 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "1-408-454-2222", in testInsert() 142 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "1-408-4542222")); in testInsert() 144 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "045-381-1111", in testInsert() 147 insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "12345")); in testInsert() 177 Uri uri = insert(cv(BlockedNumbers.COLUMN_ORIGINAL_NUMBER, "14506507000")); in testChangesNotified() 188 private Uri insert(ContentValues cv) { in insert() method in BlockedNumberProviderTest [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 81 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleInsert() 94 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleUpdate() 116 Uri personId = mResolver.insert(People.CONTENT_URI, values); in testPeopleDelete() 133 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter() 137 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter() 141 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter() 152 Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testDefaultDisplayName() 158 final Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testPrimaryOrganization() 167 Uri orgUri1 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization() 174 Uri orgUri2 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization() [all …]
|
D | VoicemailProviderTest.java | 111 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testInsert() 124 Uri uri = mResolver.insert(voicemailUri(), values); in testInsertReadMessageIsNotNew() 197 final Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testUpdateOwnPackageVoicemail_NotDirty() 232 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus() 246 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty() 262 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_notDirty() 278 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_noOtherValues() 356 Uri uri = mResolver.insert(voicemailUri(), values); in testGetType_ItemUri() 378 mResolver.insert(Voicemails.CONTENT_URI, getTestVoicemailValues()); in assertBaseUriThrowsSecurityExceptions() 650 mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testNoPermissions() [all …]
|
D | ContactsDatabaseHelperTest.java | 141 final String insert = in testQueryIdWithOneArg_insertWithOneArgAndReturnId() local 151 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() 280 final long rawContactId = mDb.insert(Tables.RAW_CONTACTS,null, rawContactValues); in testUpgradeHashId() 295 assertTrue(mDb.insert(Tables.DATA, null, values) > 0); in testUpgradeHashId() 318 final long rawContactId = mDb.insert(Tables.RAW_CONTACTS,null, rawContactValues); in testUpgradeHashIdForPhoto() 329 assertTrue(mDb.insert(Tables.DATA, null, values) > 0); in testUpgradeHashIdForPhoto() 349 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket() 366 mDb.insert(Tables.RAW_CONTACTS, null, contentValues); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket() [all …]
|
D | CallLogProviderTest.java | 95 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); in testInsert_RegularCallRecord() 119 mResolver.insert(Calls.CONTENT_URI, values); in testInsert_VoicemailCallRecord() 124 Uri uri = mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, values); in testInsert_VoicemailCallRecord() 166 mResolver.insert(Calls.CONTENT_URI, values); in testCallLogFilter() 245 mResolver.insert(Calls.CONTENT_URI, getDefaultValues(Calls.INCOMING_TYPE)); in testLimitAndOffsetParamReturnsCorrectEntries() 248 mResolver.insert(Calls.CONTENT_URI, getDefaultValues(Calls.MISSED_TYPE)); in testLimitAndOffsetParamReturnsCorrectEntries() 303 mResolver.insert(Calls.CONTENT_URI, values); in testCannotAccessVoicemailSpecificFields_Insert() 344 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues()); in testVoicemailPermissions_Insert() 349 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues()); in testVoicemailPermissions_Insert() 422 mResolver.insert(Calls.CONTENT_URI, getTestCallLogValues(1)); in testCopyEntriesFromCursor_DuplicatesIgnoredCorrectly() [all …]
|
D | BaseContactsProvider2Test.java | 219 return ContentUris.parseId(mResolver.insert(uri, values)); in createGroup() 237 mResolver.insert(Settings.CONTENT_URI, values); in createSettings() 260 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertOrganization() 296 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoneNumber() 333 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertEmail() 350 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertSipAddress() 361 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertNickname() 371 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPostalAddress() 378 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPostalAddress() 387 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoto() [all …]
|
D | ContactsProvider2TransactionTest.java | 67 mResolver.insert(RawContacts.CONTENT_URI, values); in testTransactionCallback_insert() 77 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values); in testTransactionCallback_insert() 93 mResolver.insert(RawContacts.CONTENT_URI, values); in testTransactionCallback_update() 94 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values); in testTransactionCallback_update() 127 mResolver.insert(RawContacts.CONTENT_URI, values); in testTransactionCallback_delete() 128 mResolver.insert(Profile.CONTENT_RAW_CONTACTS_URI, values); in testTransactionCallback_delete()
|
D | ContactMetadataProviderTest.java | 112 mResolver.insert(Uri.withAppendedPath(MetadataSync.METADATA_AUTHORITY_URI, in testInsertWithInvalidUri() 167 mResolver.insert(MetadataSync.CONTENT_URI, newValues); in testFailOnInsertMetadataForSameAccountIdAndBackupId() 213 Uri metadataUri = mResolver.insert(MetadataSync.CONTENT_URI, insertedValues); in testInsertAndUpdateMetadataSync() 249 mResolver.insert(MetadataSync.CONTENT_URI, updatedValues); in testInsertAndUpdateMetadataSync() 286 Uri metadataUri = mResolver.insert(MetadataSync.CONTENT_URI, insertedValues); in testInsertMetadata() 318 mResolver.insert(MetadataSync.CONTENT_URI, newValues); in testFailUpdateDeletedMetadata() 337 mResolver.insert(MetadataSync.CONTENT_URI, newValues); in testInsertWithNullData() 568 return ContentUris.parseId(mResolver.insert(MetadataSync.CONTENT_URI, values)); in insertMetadata() 573 return ContentUris.parseId(mResolver.insert(MetadataSyncState.CONTENT_URI, in insertMetadataSyncState()
|
/packages/apps/Launcher3/ |
D | fill_screens.py | 65 …insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY… 66 insert = insert % (id, "title", "", -100, s, x, y, 1, 1, 2, -1, 0) 67 c.execute(insert) 73 …insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY… 74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0) 75 c.execute(insert)
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessageData.java | 443 final SQLiteStatement insert = db.getStatementInTransaction( in getInsertStatement() local 445 insert.clearBindings(); in getInsertStatement() 446 insert.bindString(INDEX_CONVERSATION_ID, mConversationId); in getInsertStatement() 447 insert.bindString(INDEX_PARTICIPANT_ID, mParticipantId); in getInsertStatement() 448 insert.bindString(INDEX_SELF_ID, mSelfId); in getInsertStatement() 449 insert.bindLong(INDEX_SENT_TIMESTAMP, mSentTimestamp); in getInsertStatement() 450 insert.bindLong(INDEX_RECEIVED_TIMESTAMP, mReceivedTimestamp); in getInsertStatement() 451 insert.bindLong(INDEX_SEEN, mSeen ? 1 : 0); in getInsertStatement() 452 insert.bindLong(INDEX_READ, mRead ? 1 : 0); in getInsertStatement() 453 insert.bindLong(INDEX_PROTOCOL, mProtocol); in getInsertStatement() [all …]
|
D | MessagePartData.java | 256 final SQLiteStatement insert = db.getStatementInTransaction( in getInsertStatement() local 258 insert.clearBindings(); in getInsertStatement() 259 insert.bindString(INDEX_MESSAGE_ID, mMessageId); in getInsertStatement() 261 insert.bindString(INDEX_TEXT, mText); in getInsertStatement() 264 insert.bindString(INDEX_CONTENT_URI, mContentUri.toString()); in getInsertStatement() 267 insert.bindString(INDEX_CONTENT_TYPE, mContentType); in getInsertStatement() 269 insert.bindLong(INDEX_WIDTH, mWidth); in getInsertStatement() 270 insert.bindLong(INDEX_HEIGHT, mHeight); in getInsertStatement() 271 insert.bindString(INDEX_CONVERSATION_ID, conversationId); in getInsertStatement() 272 return insert; in getInsertStatement()
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 536 final SQLiteStatement insert = db.compileStatement(sqlInsert); in insertUpdatedContactsAndNumberPrefix() local 551 insert.clearBindings(); in insertUpdatedContactsAndNumberPrefix() 567 insert.bindString(2, number); in insertUpdatedContactsAndNumberPrefix() 574 insert.bindString(4, lookupKey); in insertUpdatedContactsAndNumberPrefix() 579 insert.bindString(5, context.getResources().getString(R.string.missing_name)); in insertUpdatedContactsAndNumberPrefix() 581 insert.bindString(5, displayName); in insertUpdatedContactsAndNumberPrefix() 583 insert.bindLong(1, updatedContactCursor.getLong(PhoneQuery.PHONE_ID)); in insertUpdatedContactsAndNumberPrefix() 584 insert.bindLong(3, updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID)); in insertUpdatedContactsAndNumberPrefix() 585 insert.bindLong(6, updatedContactCursor.getLong(PhoneQuery.PHONE_PHOTO_ID)); in insertUpdatedContactsAndNumberPrefix() 586 insert.bindLong(7, updatedContactCursor.getLong(PhoneQuery.PHONE_LAST_TIME_USED)); in insertUpdatedContactsAndNumberPrefix() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContentProvider.java | 278 Insert insert = (Insert) o; in equals() local 279 return mAnyNumberOfTimes == insert.mAnyNumberOfTimes && in equals() 280 mIsExecuted == insert.mIsExecuted && in equals() 281 Objects.equals(mUri, insert.mUri) && in equals() 282 Objects.equals(mContentValues, insert.mContentValues) && in equals() 283 Objects.equals(mResultUri, insert.mResultUri); in equals() 555 public Uri insert(Uri uri, ContentValues values) { in insert() method in MockContentProvider 560 Insert insert = iterator.next(); in insert() local 561 if (insert.equals(uri, values)) { in insert() 562 insert.mIsExecuted = true; in insert() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManagerTest.java | 97 mDatabase.insert(data); in testMetadataDefault() 215 mDatabase.insert(otherData); in testRemoveUnusedMetadata_WithSingleBondedDevice() 219 mDatabase.insert(data); in testRemoveUnusedMetadata_WithSingleBondedDevice() 252 mDatabase.insert(testData); in testRemoveUnusedMetadata_WithMultiBondedDevices() 258 mDatabase.insert(otherData1); in testRemoveUnusedMetadata_WithMultiBondedDevices() 264 mDatabase.insert(otherData2); in testRemoveUnusedMetadata_WithMultiBondedDevices() 380 mDatabase.insert(data); in restartDatabaseManagerHelper() 397 mDatabase.insert(data); in testSetGetProfilePriorityCase() 436 mDatabase.insert(data); in testSetGetA2dpOptionalCodecsCase() 482 mDatabase.insert(data); in testSetGetCustomMetaCase()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | PrivateLog.java | 75 insert(db, "Created table"); in onCreate() 84 insert(db, "Upgrade finished"); in onUpgrade() 87 static void insert(SQLiteDatabase db, String event) { in insert() method in PrivateLog.DebugHelper 92 db.insert(LOG_TABLE_NAME, null, c); in insert() 100 DebugHelper.insert(l, event); in log()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/ |
D | SpeedDialEntryDatabaseHelper.java | 153 public ImmutableMap<SpeedDialEntry, Long> insert(ImmutableList<SpeedDialEntry> entries) { in insert() method in SpeedDialEntryDatabaseHelper 161 ImmutableMap<SpeedDialEntry, Long> insertedEntriesToIdsMap = insert(db, entries); in insert() 170 private ImmutableMap<SpeedDialEntry, Long> insert( in insert() method in SpeedDialEntryDatabaseHelper 175 long id = writeableDatabase.insert(TABLE_NAME, null, buildContentValuesWithoutId(entry)); in insert() 189 public long insert(SpeedDialEntry entry) { in insert() method in SpeedDialEntryDatabaseHelper 192 updateRowId = db.insert(TABLE_NAME, null, buildContentValuesWithoutId(entry)); in insert() 296 ImmutableMap<SpeedDialEntry, Long> insertedEntriesToIdsMap = insert(db, entriesToInsert); in insertUpdateAndDelete()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/ |
D | VoicemailDatabaseUtil.java | 38 public static Uri insert(Context context, Voicemail voicemail) { in insert() method in VoicemailDatabaseUtil 41 return contentResolver.insert( in insert() 53 public static int insert(Context context, List<Voicemail> voicemails) { in insert() method in VoicemailDatabaseUtil 55 insert(context, voicemail); in insert()
|