Home
last modified time | relevance | path

Searched refs:resultUri (Results 1 – 10 of 10) 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.java5323 Uri resultUri = mResolver.insert(StatusUpdates.CONTENT_URI, values); in testStatusUpdateInsert() local
5325 assertStoredValues(resultUri, values); in testStatusUpdateInsert()
5370 Uri resultUri = mResolver.insert(StatusUpdates.CONTENT_URI, values); in testStatusUpdateInferAttribution() local
5377 assertStoredValues(resultUri, values); in testStatusUpdateInferAttribution()
5639 Uri resultUri = insertStreamItem(rawContactId, firstValues, null); in testQueryStreamItemById() local
5640 long firstStreamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemById()
5644 resultUri = insertStreamItem(rawContactId, secondValues, null); in testQueryStreamItemById()
5645 long secondStreamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemById()
5661 Uri resultUri = insertStreamItem(rawContactId, values, null); in testQueryStreamItemPhotoWithSelection() local
5662 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DStorage.java362 Uri resultUri = imageUri; in updateImage() local
365 resultUri = addImageToMediaStore(resolver, title, date, location, orientation, in updateImage()
367 sSessionsToContentUris.put(imageUri, resultUri); in updateImage()
368 sContentUrisToSessions.put(resultUri, imageUri); in updateImage()
375 return resultUri; in updateImage()
/packages/apps/Camera2/src/com/android/camera/session/
DPlaceholderManager.java137 …Uri resultUri = Storage.instance().updateImage(placeholder.outputUri, mContext.getContentResolver(… in finishPlaceholder() local
140 CameraUtil.broadcastNewPicture(mContext, resultUri); in finishPlaceholder()
141 return resultUri; in finishPlaceholder()
/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/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugStorageProvider.java281 Uri resultUri = Uri.parse("content://" + AUTHORITY + "/" + table + "/" + rowId); in insert() local
283 getContext().getContentResolver().notifyChange(resultUri, null); in insert()
284 return resultUri; in insert()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java636 Uri resultUri = mContentResolver.insert(uri, contentValues); in insertApnRecord() local
637 return parseIdFromInsertedUri(resultUri); in insertApnRecord()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java153 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); in testAggregationCreatesNewAggregate() local
156 assertTrue(ContentUris.parseId(resultUri) != 0); in testAggregationCreatesNewAggregate()
DContactAggregator2Test.java153 Uri resultUri = DataUtil.insertStructuredName(mResolver, rawContactId, "Johna", "Smitha"); in testAggregationCreatesNewAggregate() local
156 assertTrue(ContentUris.parseId(resultUri) != 0); in testAggregationCreatesNewAggregate()