/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 71 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleInsert() 80 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleUpdate() 99 Uri personId = mResolver.insert(People.CONTENT_URI, values); in testPeopleDelete() 116 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter() 120 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter() 124 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter() 135 Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testDefaultDisplayName() 141 final Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testPrimaryOrganization() 150 Uri orgUri1 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization() 157 Uri orgUri2 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization() [all …]
|
D | VoicemailProviderTest.java | 83 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testInsert() 93 Uri uri = mResolver.insert(voicemailUri(), values); in testInsertReadMessageIsNotNew() 149 final Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testUpdateOwnPackageVoicemail_NotDirty() 161 final Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus() 212 Uri uri = mResolver.insert(voicemailUri(), values); in testGetType_ItemUri() 228 mResolver.insert(Voicemails.CONTENT_URI, getTestVoicemailValues()); in testMustUsePackageUriWithoutFullPermission() 485 mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testNoPermissions() 518 mResolver.insert(voicemailUri(), values); in testCannotAccessCallLogSpecificFields_Insert() 559 Uri uri = mResolver.insert(statusUri(), values); in testStatusInsert() 568 assertNotNull(mResolver.insert(statusUri(), values)); in testStatusInsertDuplicate() [all …]
|
D | BaseContactsProvider2Test.java | 207 return ContentUris.parseId(mResolver.insert(uri, values)); in createGroup() 225 mResolver.insert(Settings.CONTENT_URI, values); in createSettings() 248 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertOrganization() 284 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoneNumber() 321 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertEmail() 338 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertSipAddress() 349 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertNickname() 359 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPostalAddress() 366 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPostalAddress() 375 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoto() [all …]
|
D | CallLogProviderTest.java | 97 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() 163 mResolver.insert(Calls.CONTENT_URI, values); in testCallLogFilter() 241 mResolver.insert(Calls.CONTENT_URI, getDefaultValues(Calls.INCOMING_TYPE)); in testLimitAndOffsetParamReturnsCorrectEntries() 244 mResolver.insert(Calls.CONTENT_URI, getDefaultValues(Calls.MISSED_TYPE)); in testLimitAndOffsetParamReturnsCorrectEntries() 299 mResolver.insert(Calls.CONTENT_URI, values); in testCannotAccessVoicemailSpecificFields_Insert() 340 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues()); in testVoicemailPermissions_Insert() 345 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues()); in testVoicemailPermissions_Insert() 417 mResolver.insert(Calls.CONTENT_URI, getTestCallLogValues(1)); in testCopyEntriesFromCursor_DuplicatesIgnoredCorrectly() [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 | ContactsProvider2Test.java | 837 Uri rowUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testRawContactsInsert() 1013 Uri dataUri = mResolver.insert(Data.CONTENT_URI, values); in testDataInsert() 1048 Uri dataUri = mResolver.insert(Data.CONTENT_URI, values); in testDataInsertPhoneNumberTooLongIsTrimmed() 1084 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhonesQuery() 1162 final Uri dataUri = mResolver.insert(Data.CONTENT_URI, values); in testPhonesNormalizedNumber() 1402 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookup() 1437 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookupStarUseCases() 1442 rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookupStarUseCases() 1469 final Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookupReturnsNothingRatherThanStar() 1483 final Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookupReturnsNothingRatherThanMissStar() [all …]
|
D | PhotoStoreTest.java | 72 assertEquals(0, mPhotoStore.insert(newPhotoProcessor(photo, false))); in testStoreThumbnailPhoto() 130 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false)); in runStorageTestForResource() 160 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, true)); in runStorageTestForResourceWithCrop() 177 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false)); in testRemoveEntry() 204 long photoFileId = mPhotoStore.insert( in testCleanup()
|
D | ContactsActor.java | 530 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values); in createRawContact() 552 Uri dataUri = resolver.insert(insertUri, values); in createName() 568 Uri dataUri = resolver.insert(insertUri, values); in createPhone() 583 Uri dataUri = resolver.insert(insertUri, values); in createEmail() 592 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values); in createStatus() 650 Uri groupUri = resolver.insert(ContactsContract.Groups.CONTENT_URI, values); in createGroup() 662 Uri dataUri = resolver.insert(insertUri, values); in createGroupMembership()
|
D | ContactsDatabaseHelperTest.java | 125 final String insert = in testQueryIdWithOneArg_insertWithOneArgAndReturnId() local 135 final long id1 = ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value1"); in testQueryIdWithOneArg_insertWithOneArgAndReturnId() 143 final long id2 = ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value2"); in testQueryIdWithOneArg_insertWithOneArgAndReturnId() 150 assertEquals(-1, ContactsDatabaseHelper.insertWithOneArgAndReturnId(mDb, insert, "value2")); in testQueryIdWithOneArg_insertWithOneArgAndReturnId()
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 643 final SQLiteStatement insert = db.compileStatement(sqlInsert); in insertUpdatedContactsAndNumberPrefix() local 653 insert.clearBindings(); in insertUpdatedContactsAndNumberPrefix() 662 insert.bindString(2, number); in insertUpdatedContactsAndNumberPrefix() 670 insert.bindString(4, lookupKey); in insertUpdatedContactsAndNumberPrefix() 676 insert.bindString(5, mContext.getResources().getString(R.string.missing_name)); in insertUpdatedContactsAndNumberPrefix() 678 insert.bindString(5, displayName); in insertUpdatedContactsAndNumberPrefix() 680 insert.bindLong(1, updatedContactCursor.getLong(PhoneQuery.PHONE_ID)); in insertUpdatedContactsAndNumberPrefix() 681 insert.bindLong(3, updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID)); in insertUpdatedContactsAndNumberPrefix() 682 insert.bindLong(6, updatedContactCursor.getLong(PhoneQuery.PHONE_PHOTO_ID)); in insertUpdatedContactsAndNumberPrefix() 683 insert.bindLong(7, updatedContactCursor.getLong(PhoneQuery.PHONE_LAST_TIME_USED)); in insertUpdatedContactsAndNumberPrefix() [all …]
|
/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/Launcher2/ |
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/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/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogFragmentTest.java | 205 insert(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, NOW, 0, Calls.INCOMING_TYPE); in testBindView_NumberOnlyNoCache() 308 insert(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, NOW, 0, Calls.INCOMING_TYPE); in testBindView_WithoutQuickContactBadge() 319 insert(TEST_NUMBER, Calls.PRESENTATION_ALLOWED, NOW, 0, Calls.INCOMING_TYPE); in testBindView_CallButton() 496 insert(number, Calls.PRESENTATION_ALLOWED, date, duration, type); in insertWithCachedValues() 521 private void insert(String number, int presentation, long date, int duration, int type) { in insert() method in CallLogFragmentTest 579 insert("", Calls.PRESENTATION_RESTRICTED, date, duration, Calls.INCOMING_TYPE); 588 insert("", Calls.PRESENTATION_UNKNOWN, date, duration, Calls.INCOMING_TYPE); 599 insert(mVoicemail, Calls.PRESENTATION_ALLOWED, date, duration, Calls.OUTGOING_TYPE); 638 insert(number, Calls.PRESENTATION_ALLOWED, NOW, RAND_DURATION, inout);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLocaleUtils.java | 392 keyPinyin.insert(0, token.target); in getPinyinNameLookupKeys() 393 keyInitial.insert(0, token.target.charAt(0)); in getPinyinNameLookupKeys() 397 keyPinyin.insert(0, ' '); in getPinyinNameLookupKeys() 400 keyOriginal.insert(0, ' '); in getPinyinNameLookupKeys() 402 keyPinyin.insert(0, token.source); in getPinyinNameLookupKeys() 403 keyInitial.insert(0, token.source.charAt(0)); in getPinyinNameLookupKeys() 405 keyOriginal.insert(0, token.source); in getPinyinNameLookupKeys()
|
D | PhotoStore.java | 172 public long insert(PhotoProcessor photoProcessor) { in insert() method in PhotoStore 173 return insert(photoProcessor, false); in insert() 186 public long insert(PhotoProcessor photoProcessor, boolean allowSmallImageStorage) { in insert() method in PhotoStore 208 long id = mDb.insert(Tables.PHOTO_FILES, null, values); in insert()
|
D | DataRowHandlerForPhoneNumber.java | 42 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() method in DataRowHandlerForPhoneNumber 46 final long dataId = super.insert(db, txContext, rawContactId, values); in insert() 127 db.insert(Tables.PHONE_LOOKUP, null, phoneValues); in updatePhoneLookup() 133 db.insert(Tables.PHONE_LOOKUP, null, phoneValues); in updatePhoneLookup()
|
D | DbModifierWithNotification.java | 102 public long insert(String table, String nullColumnHack, ContentValues values) { in insert() method in DbModifierWithNotification 104 long rowId = mDb.insert(table, nullColumnHack, values); in insert() 116 public long insert(ContentValues values) { in insert() method in DbModifierWithNotification 118 long rowId = mInsertHelper.insert(values); in insert()
|
/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/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 1021 db.insert("CalendarMetaData", null, values); in wipeAndInitData() 1087 Uri url = mResolver.insert( in insertCal() 1115 return mResolver.insert(addSyncQueryParams(uri, DEFAULT_ACCOUNT, DEFAULT_ACCOUNT_TYPE), m); in insertColor() 1170 Uri url = mResolver.insert(mEventsUri, cv); in insertEvent() 1991 Uri alertUri = CalendarContract.CalendarAlerts.insert(mResolver, eventId /* eventId */, in testCalendarAlerts() 1993 CalendarContract.CalendarAlerts.insert(mResolver, eventId /* eventId */, in testCalendarAlerts() 2019 Uri alertUri = CalendarContract.CalendarAlerts.insert(mResolver, 1 /* eventId */, in testInsertAlertToNonExistentEvent() 2029 Uri reminderUri = mResolver.insert( in testInsertReminderToNonExistentEvent() 2046 Uri attendeesUri = mResolver.insert(CalendarContract.Attendees.CONTENT_URI, attendee); in testInsertAttendeeToNonExistentEvent() 2056 Uri extendedUri = mResolver.insert( in testInsertExtendedPropertyToNonExistentEvent() [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsProvider.java | 302 public Uri insert(Uri uri, ContentValues values) { in insert() method in MmsProvider 409 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 419 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 488 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 511 db.insert(TABLE_WORDS, Telephony.MmsSms.WordsTable.INDEXED_TEXT, cv); in insert() 519 db.insert(table, null, values); in insert() 540 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | MapTestData.java | 206 Uri uri = resolver.insert(ContactsContract.RawContacts.CONTENT_URI, item); in insertContact() 217 resolver.insert(ContactsContract.Data.CONTENT_URI, item); in insertContact() 225 resolver.insert(ContactsContract.Data.CONTENT_URI, item); in insertContact() 234 resolver.insert(ContactsContract.Data.CONTENT_URI, item); in insertContact()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_gc_event_listeners.cpp | 84 mDictPositionRelocationMap->mPtNodeArrayPositionRelocationMap.insert( in onDescend() 115 mDictPositionRelocationMap->mPtNodePositionRelocationMap.insert( in onVisitingPtNode() 121 mDictPositionRelocationMap->mPtNodePositionRelocationMap.insert( in onVisitingPtNode()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict.cpp | 62 ptNodeList->insert(ptNodeIt, in addWordInner() 72 ptNodeList->insert(ptNodeIt, newPtNode); in addWordInner() 86 ptNodeList->insert(ptNodeIt, in addWordInner()
|