Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DLogFields.java36 private Uri resultUri; field in LogFields
76 return resultUri; in getResultUri()
94 private Uri resultUri; field in LogFields.Builder
136 public Builder setResultUri(Uri resultUri) { in setResultUri() argument
137 this.resultUri = resultUri; in setResultUri()
156 logFields.resultUri = this.resultUri; in build()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java278 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertOrganization() local
279 return resultUri; in insertOrganization()
314 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertPhoneNumber() local
315 return resultUri; in insertPhoneNumber()
351 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertEmail() local
352 return resultUri; in insertEmail()
368 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertSipAddress() local
369 return resultUri; in insertSipAddress()
379 Uri resultUri = mResolver.insert(Data.CONTENT_URI, values); in insertNickname() local
380 return resultUri; in insertNickname()
[all …]
DCloneContactsProvider2Test.java154 Uri resultUri = mActor.resolver.insert(ContactsContract.RawContacts.CONTENT_URI, in insertRawContactsThroughPrimaryProvider() local
156 assertNotNull(resultUri); in insertRawContactsThroughPrimaryProvider()
157 return ContentUris.parseId(resultUri); in insertRawContactsThroughPrimaryProvider()
172 Uri resultUri = in testCloneContactsProviderInsert() local
180 assertUriEquals(expectedUri, resultUri); in testCloneContactsProviderInsert()
DContactsProvider2Test.java5334 Uri resultUri = mResolver.insert(StatusUpdates.CONTENT_URI, values); in testStatusUpdateInsert() local
5336 assertStoredValues(resultUri, values); in testStatusUpdateInsert()
5381 Uri resultUri = mResolver.insert(StatusUpdates.CONTENT_URI, values); in testStatusUpdateInferAttribution() local
5388 assertStoredValues(resultUri, values); in testStatusUpdateInferAttribution()
5650 Uri resultUri = insertStreamItem(rawContactId, firstValues, null); in testQueryStreamItemById() local
5651 long firstStreamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemById()
5655 resultUri = insertStreamItem(rawContactId, secondValues, null); in testQueryStreamItemById()
5656 long secondStreamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemById()
5672 Uri resultUri = insertStreamItem(rawContactId, values, null); in testQueryStreamItemPhotoWithSelection() local
5673 long streamItemId = ContentUris.parseId(resultUri); in testQueryStreamItemPhotoWithSelection()
[all …]
/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/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/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/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/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugStorageProvider.java309 Uri resultUri = Uri.parse("content://" + AUTHORITY + "/" + table + "/" + rowId); in insert() local
311 getContext().getContentResolver().notifyChange(resultUri, null); in insert()
312 return resultUri; in insert()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DClientPlaylistTest.java141 Uri resultUri = mContentResolver.insert(membersUri, mValues); in testAdd() local
145 resultUri = mContentResolver.insert(membersUri, mValues); in testAdd()
155 resultUri = mContentResolver.insert(membersUri, mValues); in testAdd()
/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()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java2369 Uri resultUri = null; in insert() local
2384 resultUri = mProfileProvider.insert(uri, values); in insert()
2385 return resultUri; in insert()
2388 resultUri = super.insert(uri, values); in insert()
2389 return resultUri; in insert()
2395 logBuilder.setResultUri(resultUri).setResultCount(resultUri == null ? 0 : 1) in insert()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java1202 Uri resultUri = mContentResolver.insert(uri, contentValues); in insertApnRecord() local
1203 return parseIdFromInsertedUri(resultUri); in insertApnRecord()