Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 25 of 179) sorted by relevance

12345678

/packages/apps/Launcher2/
Dfill_screens.py65insert = "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)
73insert = "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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java73 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleInsert()
82 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleUpdate()
101 Uri personId = mResolver.insert(People.CONTENT_URI, values); in testPeopleDelete()
118 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter()
122 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter()
126 mResolver.insert(People.CONTENT_URI, values); in testPeopleFilter()
137 Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testDefaultDisplayName()
143 final Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testPrimaryOrganization()
152 Uri orgUri1 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization()
159 Uri orgUri2 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization()
[all …]
DVoicemailProviderTest.java82 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testInsert()
137 Uri uri = mResolver.insert(voicemailUri(), values); in testGetType_ItemUri()
153 mResolver.insert(Voicemails.CONTENT_URI, getTestVoicemailValues()); in testMustUsePackageUriWithoutFullPermission()
342 mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testNoPermissions()
375 mResolver.insert(voicemailUri(), values); in testCannotAccessCallLogSpecificFields_Insert()
416 Uri uri = mResolver.insert(statusUri(), values); in testStatusInsert()
425 assertNotNull(mResolver.insert(statusUri(), values)); in testStatusInsertDuplicate()
430 assertNull(mResolver.insert(statusUri(), values)); in testStatusInsertDuplicate()
435 assertNotNull(mResolver.insert(statusUri(), values)); in testStatusInsertDuplicate()
476 mResolver.insert(Status.CONTENT_URI, values); in testStatusPermissions()
[all …]
DCallLogProviderTest.java93 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()
162 mResolver.insert(Calls.CONTENT_URI, values); in testCallLogFilter()
222 mResolver.insert(Calls.CONTENT_URI, values); in testCannotAccessVoicemailSpecificFields_Insert()
263 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues()); in testVoicemailPermissions_Insert()
268 mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues()); in testVoicemailPermissions_Insert()
327 return mResolver.insert(Calls.CONTENT_URI, getDefaultCallValues()); in insertCallRecord()
331 return mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, getDefaultVoicemailValues()); in insertVoicemailRecord()
DPhotoStoreTest.java74 assertEquals(0, mPhotoStore.insert(newPhotoProcessor(photo, false))); in testStoreThumbnailPhoto()
132 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false)); in runStorageTestForResource()
162 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, true)); in runStorageTestForResourceWithCrop()
179 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false)); in testRemoveEntry()
206 long photoFileId = mPhotoStore.insert( in testCleanup()
DBaseContactsProvider2Test.java200 Uri contactUri = mResolver.insert(uri, values); in createRawContact()
244 return ContentUris.parseId(mResolver.insert(uri, values)); in createGroup()
262 mResolver.insert(Settings.CONTENT_URI, values); in createSettings()
287 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertStructuredName()
303 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertOrganization()
326 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoneNumber()
350 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertEmail()
367 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertSipAddress()
378 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertNickname()
388 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPostalAddress()
[all …]
DContactsActor.java363 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values); in createRawContact()
385 Uri dataUri = resolver.insert(insertUri, values); in createName()
401 Uri dataUri = resolver.insert(insertUri, values); in createPhone()
416 Uri dataUri = resolver.insert(insertUri, values); in createEmail()
425 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values); in createStatus()
483 Uri groupUri = resolver.insert(ContactsContract.Groups.CONTENT_URI, values); in createGroup()
495 Uri dataUri = resolver.insert(insertUri, values); in createGroupMembership()
DVoicemailCleanupServiceTest.java84 mResolver.insert(Voicemails.buildSourceUri(sourcePackage), values); in insertDataForPackage()
85 mResolver.insert(Status.buildSourceUri(sourcePackage), values); in insertDataForPackage()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DEnglishInputProcessor.java61 String insert = null; in processKey() local
67 insert = "\n"; in processKey()
69 insert = " "; in processKey()
74 if (null != insert && realAction) in processKey()
75 inputContext.commitText(insert, insert.length()); in processKey()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java105 keyPinyin.insert(0, token.target); in getNameLookupKeys()
106 keyInitial.insert(0, token.target.charAt(0)); in getNameLookupKeys()
110 keyPinyin.insert(0, ' '); in getNameLookupKeys()
113 keyOrignal.insert(0, ' '); in getNameLookupKeys()
115 keyPinyin.insert(0, token.source); in getNameLookupKeys()
116 keyInitial.insert(0, token.source.charAt(0)); in getNameLookupKeys()
118 keyOrignal.insert(0, token.source); in getNameLookupKeys()
DDatabaseModifier.java34 public abstract long insert(String table, String nullColumnHack, ContentValues values); in insert() method
39 public abstract long insert(ContentValues values); in insert() method
DDataRowHandlerForPhoto.java58 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() method in DataRowHandlerForPhoto
70 long dataId = super.insert(db, txContext, rawContactId, values); in insert()
151 long photoFileId = mPhotoStore.insert(processor); in processPhoto()
DPhotoStore.java169 public long insert(PhotoProcessor photoProcessor) { in insert() method in PhotoStore
170 return insert(photoProcessor, false); in insert()
183 public long insert(PhotoProcessor photoProcessor, boolean allowSmallImageStorage) { in insert() method in PhotoStore
205 long id = mDb.insert(Tables.PHOTO_FILES, null, values); in insert()
DDataRowHandlerForPhoneNumber.java42 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()
129 db.insert(Tables.PHONE_LOOKUP, null, phoneValues); in updatePhoneLookup()
135 db.insert(Tables.PHONE_LOOKUP, null, phoneValues); in updatePhoneLookup()
DDataRowHandlerForIdentity.java36 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() method in DataRowHandlerForIdentity
38 final long dataId = super.insert(db, txContext, rawContactId, values); in insert()
DDataRowHandlerForCommonDataKind.java44 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() method in DataRowHandlerForCommonDataKind
47 return super.insert(db, txContext, rawContactId, values); in insert()
DDbModifierWithNotification.java98 public long insert(String table, String nullColumnHack, ContentValues values) { in insert() method in DbModifierWithNotification
100 long rowId = mDb.insert(table, nullColumnHack, values); in insert()
112 public long insert(ContentValues values) { in insert() method in DbModifierWithNotification
114 long rowId = mInsertHelper.insert(values); in insert()
DDataRowHandlerForNickname.java40 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() method in DataRowHandlerForNickname
44 long dataId = super.insert(db, txContext, rawContactId, values); in insert()
DDataRowHandlerForStructuredPostal.java55 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() method in DataRowHandlerForStructuredPostal
58 return super.insert(db, txContext, rawContactId, values); in insert()
DDataRowHandlerForEmail.java38 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, in insert() method in DataRowHandlerForEmail
42 long dataId = super.insert(db, txContext, rawContactId, values); in insert()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogFragmentTest.java168 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); in testCallAndGroupViews_GroupView()
169 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); in testCallAndGroupViews_GroupView()
170 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); in testCallAndGroupViews_GroupView()
179 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); in testCallAndGroupViews_StandAloneView()
188 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); in testCallAndGroupViews_ChildView()
197 insert(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE); in testBindView_NumberOnlyNoCache()
299 insert(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE); in testBindView_WithoutQuickContactBadge()
310 insert(TEST_NUMBER, NOW, 0, Calls.INCOMING_TYPE); in testBindView_CallButton()
472 insert(number, date, duration, type); in insertWithCachedValues()
496 private void insert(String number, long date, int duration, int type) { in insert() method in CallLogFragmentTest
[all …]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
DBlobCacheTest.java143 bc.insert(KEY_0, DATA_0); in testBasic()
160 bc.insert(KEY_0, DATA_0); in testBasic()
178 bc.insert(KEY_1, DATA_1); in testBasic()
204 bc.insert(-123, DATA_0); in testNegativeKey()
214 bc.insert(123, data); in testEmptyBlob()
225 bc.insert(1, DATA_0); in testLookupRequest()
279 bc.insert(key, DATA_0); in testKeyCollision()
307 bc.insert(k, DATA_0); in testRegionFlip()
319 bc.insert(KEY_1, DATA_0); in testRegionFlip()
361 bc.insert(KEY_2, DATA_0); in testRegionFlip()
[all …]
/packages/apps/Settings/tests/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java60 dest.insert(1, source); in testFilter()
68 dest.insert(2, source); in testFilter()
93 dest.insert(0, source); in testFilter()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DLinkedNode.java28 public void insert(LinkedNode node) { in insert() method in LinkedNode
47 mHead.mPrev.insert(node); in insertLast()
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/
DPublicApiAccessTest.java66 mContentResolver.insert(Downloads.Impl.CONTENT_URI, buildValidValues()); in testMinimalValidWrite()
78 mContentResolver.insert(Downloads.Impl.CONTENT_URI, values); in testMaximalValidWrite()
135 mContentResolver.insert(Downloads.Impl.CONTENT_URI, values); in testInvalidValues()

12345678