Home
last modified time | relevance | path

Searched refs:resultUri (Results 1 – 11 of 11) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java260 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertOrganization() local
261 return resultUri; in insertOrganization()
296 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoneNumber() local
297 return resultUri; in insertPhoneNumber()
333 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertEmail() local
334 return resultUri; in insertEmail()
350 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertSipAddress() local
351 return resultUri; in insertSipAddress()
361 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertNickname() local
362 return resultUri; in insertNickname()
[all …]
DContactsProvider2Test.java5297 Uri resultUri = mResolver.insert(StatusUpdates.CONTENT_URI, values); in testStatusUpdateInsert() local
5299 assertStoredValues(resultUri, values); in testStatusUpdateInsert()
5344 Uri resultUri = mResolver.insert(StatusUpdates.CONTENT_URI, values); in testStatusUpdateInferAttribution() local
5351 assertStoredValues(resultUri, values); in testStatusUpdateInferAttribution()
5613 Uri resultUri = insertStreamItem(rawContactId, firstValues, null); in testQueryStreamItemById() local
5614 long firstStreamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemById()
5618 resultUri = insertStreamItem(rawContactId, secondValues, null); in testQueryStreamItemById()
5619 long secondStreamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemById()
5635 Uri resultUri = insertStreamItem(rawContactId, values, null); in testQueryStreamItemPhotoWithSelection() local
5636 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DStorage.java404 Uri resultUri = imageUri; in updateImage() local
407 resultUri = addImageToMediaStore(resolver, title, date, location, orientation, in updateImage()
409 sSessionsToContentUris.put(imageUri, resultUri); in updateImage()
410 sContentUrisToSessions.put(resultUri, imageUri); in updateImage()
415 return resultUri; in updateImage()
/packages/apps/Camera2/src/com/android/camera/session/
DPlaceholderManager.java137 Uri resultUri = Storage.updateImage(placeholder.outputUri, mContext.getContentResolver(), in finishPlaceholder() local
140 CameraUtil.broadcastNewPicture(mContext, resultUri); in finishPlaceholder()
141 return resultUri; in finishPlaceholder()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugStorageProvider.java195 Uri resultUri = Uri.parse("content://" + AUTHORITY + "/" + table + "/" + rowId); in insert() local
197 getContext().getContentResolver().notifyChange(resultUri, null); in insert()
198 return resultUri; in insert()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java249 public Insert(Uri uri, ContentValues contentValues, Uri resultUri) { in Insert() argument
252 mResultUri = Preconditions.checkNotNull(resultUri); in Insert()
496 public void expectInsert(Uri contentUri, ContentValues contentValues, Uri resultUri) { in expectInsert() argument
497 mExpectedInserts.add(new Insert(contentUri, contentValues, resultUri)); in expectInsert()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DDataUtil.java49 Uri resultUri = resolver.insert(ContactsContract.Data.CONTENT_URI, values); in insertStructuredName() local
50 return resultUri; in insertStructuredName()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java612 Uri resultUri = mContentResolver.insert(uri, contentValues); in insertApnRecord() local
613 return parseIdFromInsertedUri(resultUri); in insertApnRecord()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java130 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); in testAggregationCreatesNewAggregate() local
133 assertTrue(ContentUris.parseId(resultUri) != 0); in testAggregationCreatesNewAggregate()
DContactAggregator2Test.java130 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); in testAggregationCreatesNewAggregate() local
133 assertTrue(ContentUris.parseId(resultUri) != 0); in testAggregationCreatesNewAggregate()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java909 final Uri resultUri; in insert() local
920 resultUri = ContentUris.withAppendedId(uri, longId); in insert()
947 resultUri = ContentUris.withAppendedId(uri, longId); in insert()
1017 resultUri = ContentUris.withAppendedId(Attachment.CONTENT_URI, longId); in insert()
1032 return resultUri; in insert()