/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContentUrisTest.java | 33 assertThat(ContentUris.parseId(Uri.withAppendedPath(URI, "1")), is(1L)); 34 assertThat(ContentUris.parseId(URI), is(-1L)); 39 ContentUris.parseId(Uri.withAppendedPath(URI, "bar")); 44 ContentUris.parseId(Uri.parse("mailto:bar@foo.com"));
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentUrisTest.java | 41 assertEquals(CODE1, ContentUris.parseId(result)); 44 assertEquals(CODE2, ContentUris.parseId(result)); 47 assertEquals(-1, ContentUris.parseId(Uri.parse(""))); 52 ContentUris.parseId(uri1); 59 ContentUris.parseId(uri); 62 ContentUris.parseId(null);
|
/frameworks/base/core/java/android/content/ |
ContentUris.java | 84 public static long parseId(Uri contentUri) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StreamItemPhotosTest.java | 43 mStreamItemId = ContentUris.parseId(mStreamItemUri); 57 long photoId = ContentUris.parseId(uri); 70 long photoId = ContentUris.parseId(uri);
|
ContactsContract_StreamItemsTest.java | 58 long streamItemId = ContentUris.parseId(streamItemUri); 91 long rawContactId = ContentUris.parseId(contactUri); 130 long rawContactId = ContentUris.parseId(results[0].uri); 134 long streamItemId = ContentUris.parseId(streamItemUri);
|
MediaStore_Audio_GenresTest.java | 104 long audioId = ContentUris.parseId(audioUri); 112 long genreId = ContentUris.parseId(genreUri);
|
MediaStore_Video_ThumbnailsTest.java | 64 long videoId = ContentUris.parseId(videoUri);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContentUris.java | 18 public static long parseId(Uri contentUri) {
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ContactLoaderUtils.java | 58 final long rawContactId = ContentUris.parseId(uri); 71 final long rawContactId = ContentUris.parseId(uri);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 73 assertSelection(People.CONTENT_URI, values, "people", People._ID, ContentUris.parseId(uri)); 81 long personId = ContentUris.parseId(uri); 142 long personId = ContentUris.parseId(personUri); 160 values.put(People.PRIMARY_ORGANIZATION_ID, ContentUris.parseId(orgUri1)); 168 values.put(People.PRIMARY_ORGANIZATION_ID, ContentUris.parseId(orgUri2)); 186 long personId = ContentUris.parseId(personUri); 204 values.put(People.PRIMARY_PHONE_ID, ContentUris.parseId(phoneUri1)); 210 values.put(People.PRIMARY_PHONE_ID, ContentUris.parseId(phoneUri1)); 217 values.put(People.PRIMARY_PHONE_ID, ContentUris.parseId(phoneUri2)); 233 long personId = ContentUris.parseId(personUri) [all...] |
CallerInfoIntegrationTest.java | 46 long rawContactId = ContentUris.parseId(rawContactUri);
|
ContactsActor.java | 375 return ContentUris.parseId(rawContactUri); 397 return ContentUris.parseId(dataUri); 413 return ContentUris.parseId(dataUri); 428 return ContentUris.parseId(dataUri); 437 return ContentUris.parseId(dataUri); 495 return ContentUris.parseId(groupUri); 507 return ContentUris.parseId(dataUri);
|
ContactsProvider2Test.java | 787 long rawContactId = ContentUris.parseId(rowUri); [all...] |
CallLogProviderTest.java | 96 assertSelection(uri, values, Calls._ID, ContentUris.parseId(uri)); 126 assertSelection(uri, values, Calls._ID, ContentUris.parseId(uri)); 156 + ContentUris.parseId(uri), null);
|
VoicemailProviderTest.java | 86 assertSelection(uri, getTestVoicemailValues(), Voicemails._ID, ContentUris.parseId(uri)); 125 + ContentUris.parseId(uri), null); 418 assertSelection(uri, values, Status._ID, ContentUris.parseId(uri)); 453 + ContentUris.parseId(uri), null);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
BaseImageList.java | 86 long existingId = ContentUris.parseId(mBaseUri); 191 matchId = ContentUris.parseId(uri);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DataUtil.java | 75 return ContentUris.parseId(uri);
|
RawContactUtil.java | 61 return ContentUris.parseId(uri);
|
/packages/apps/Dialer/tests/src/com/android/dialer/ |
CallDetailActivityTest.java | 248 ContentUris.parseId(mVoicemailUri)); 276 ContentUris.parseId(mVoicemailUri)); 295 "_ID = ?", new String[] { String.valueOf(ContentUris.parseId(mVoicemailUri)) }); 300 "_ID = ?", new String[] { String.valueOf(ContentUris.parseId(mCallLogUri)) });
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
ContactAggregatorTest.java | 123 assertTrue(ContentUris.parseId(resultUri) != 0); [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
SnapshotProvider.java | 164 new String[] { Long.toString(ContentUris.parseId(uri)) }); 246 new String[] { Long.toString(ContentUris.parseId(uri)) });
|
BrowserProvider2.java | [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadReceiver.java | 117 final long id = ContentUris.parseId(intent.getData()); 122 final long id = ContentUris.parseId(intent.getData());
|
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
BP2ProviderTests.java | 76 long folderId = ContentUris.parseId(folderUri);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
RawContactUtil.java | 95 return ContentUris.parseId(contactUri);
|