Home
last modified time | relevance | path

Searched refs:parseId (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContentUrisTest.java41 assertEquals(CODE1, ContentUris.parseId(result)); in testParseId()
44 assertEquals(CODE2, ContentUris.parseId(result)); in testParseId()
47 assertEquals(-1, ContentUris.parseId(Uri.parse(""))); in testParseId()
52 ContentUris.parseId(uri1); in testParseIdFailure()
59 ContentUris.parseId(uri); in testParseIdFailure()
62 ContentUris.parseId(null); in testParseIdFailure()
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_StreamItemPhotosTest.java43 mStreamItemId = ContentUris.parseId(mStreamItemUri); in setUp()
57 long photoId = ContentUris.parseId(uri); in testContentDirectoryUri()
70 long photoId = ContentUris.parseId(uri); in testContentPhotoUri()
DContactsContract_StreamItemsTest.java58 long streamItemId = ContentUris.parseId(streamItemUri); in testContentDirectoryUri()
91 long rawContactId = ContentUris.parseId(contactUri); in insertRawContact()
130 long rawContactId = ContentUris.parseId(results[0].uri); in testContentUri()
134 long streamItemId = ContentUris.parseId(streamItemUri); in testContentUri()
DMediaStore_Audio_GenresTest.java104 long audioId = ContentUris.parseId(audioUri); in testGetContentUriForAudioId()
112 long genreId = ContentUris.parseId(genreUri); in testGetContentUriForAudioId()
DBlockedNumberContractTest.java239 new String[] {Long.toString(ContentUris.parseId(insertedUri))})); in testDelete()
245 BlockedNumbers.CONTENT_URI, ContentUris.parseId(insertedUri)), in testDelete()
DMediaStore_Video_ThumbnailsTest.java74 long videoId = ContentUris.parseId(videoUri); in testGetThumbnail()
DContactsContract_StatusUpdatesTest.java65 dataId = ContentUris.parseId(results[1].uri); in setUp()
DCalendarTest.java629 return ContentUris.parseId(result); in addAttendee()
708 return ContentUris.parseId(result); in addColor()
787 return ContentUris.parseId(result); in addReminder()
841 return ContentUris.parseId(result); in addExtendedProperty()
1656 long calendarId2 = ContentUris.parseId(uri); in testCalendarColors()
1776 long eventId2 = ContentUris.parseId(uri); in testEventColors()
3479 verifyEvent(eventValues, ContentUris.parseId(eventUri)); in removeAndVerifyEvent()
3514 long eventId = ContentUris.parseId(uri); in createAndVerifyEvent()
3554 long eventId = ContentUris.parseId(resultUri); in createAndVerifyException()
3658 long calendarId = ContentUris.parseId(uri); in createAndVerifyCalendar()
[all …]
DSmsBackupRestoreTest.java216 final long mmsId = ContentUris.parseId(mmsUri); in addMms()
DContactsContract_TestDataBuilder.java132 mId = ContentUris.parseId(mUri); in insertDependent()
DMediaStore_Images_ThumbnailsTest.java209 long imgid = ContentUris.parseId(imguri); in testQueryExternalMiniThumbnails()
DMediaStore_FilesTest.java112 long fileId = ContentUris.parseId(fileUri); in testGetContentUri()
/cts/common/util/src/com/android/compatibility/common/util/
DAbiUtils.java152 public static String[] parseId(String id) { in parseId() method in AbiUtils
164 return parseId(id)[1]; in parseTestName()
172 return parseId(id)[0]; in parseAbi()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DAbiUtilsTest.java42 String[] parts = AbiUtils.parseId(ABI_ID); in testParseId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputSetupActivity.java95 if (ContentUris.parseId(channelUri) == 0) { in onCreate()
102 values.put(Programs.COLUMN_CHANNEL_ID, ContentUris.parseId(channelUri)); in onCreate()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java281 long channelId = ContentUris.parseId(rowUri); in testChannelsTable()
385 verifyLogoIsReadable(TvContract.buildChannelLogoUri(ContentUris.parseId(channelUri))); in testChannelLogo()
396 long programId = ContentUris.parseId(rowUri); in verifyProgramsTable()
432 long programId = ContentUris.parseId(rowUri); in verifyProgramsTableWithDeprecatedColumns()
462 long channelId = ContentUris.parseId(channelUri); in testProgramsTable()
495 long channelId = ContentUris.parseId(channelUri); in testProgramsScheduleOverlap()
578 long recordedProgramId = ContentUris.parseId(rowUri); in verifyRecordedProgramsTable()
605 long channelId = ContentUris.parseId(channelUri); in testRecordedProgramsTable()
895 long channelId = ContentUris.parseId(channelUri); in insertProgramWithBroadcastGenre()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDataUtil.java75 return ContentUris.parseId(uri); in insertData()
DRawContactUtil.java61 return ContentUris.parseId(uri); in insertRawContact()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestResults.java193 String[] abiAndName = AbiUtils.parseId(id); in getOrCreatePackage()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageRepo.java176 String[] parts = AbiUtils.parseId(id); in getTestPackage()
DTestPlan.java226 String[] parts = AbiUtils.parseId(packageEntry.getKey()); in serialize()
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java231 long channelId = ContentUris.parseId(channelUri); in testPrograms()
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java216 assertEquals(100, ContentUris.parseId(uri)); in testPathOperations()
/cts/tools/dex-tools/dex/
Dclasses.out.dex18894 public static long parseId(