Home
last modified time | relevance | path

Searched refs:getLastPathSegment (Results 1 – 25 of 82) sorted by relevance

1234

/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.kt165 qb.appendWhere(uri.getLastPathSegment()!!) in query()
171 qb.appendWhere(uri.getLastPathSegment()!!) in query()
212 alarmId = uri.getLastPathSegment() in update()
218 alarmId = uri.getLastPathSegment() in update()
254 primaryKey = uri.getLastPathSegment() in delete()
265 primaryKey = uri.getLastPathSegment() in delete()
/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java143 long messageId = Long.valueOf(uri.getLastPathSegment()); in readDataFromPipe()
188 + uri.getLastPathSegment()); in writeDataToPipe()
339 + uri.getLastPathSegment()); in openFile()
419 String messageId = uri.getLastPathSegment(); in delete()
460 String table = uri.getLastPathSegment(); in insert()
477 + uri.getLastPathSegment()); in insert()
616 String table = uri.getLastPathSegment(); in update()
632 + uri.getLastPathSegment()); in update()
DBluetoothMapIMProvider.java219 String messageId = uri.getLastPathSegment(); in delete()
260 String table = uri.getLastPathSegment(); in insert()
279 + uri.getLastPathSegment()); in insert()
517 String table = uri.getLastPathSegment(); in update()
533 + uri.getLastPathSegment()); in update()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastProviderTest.java110 new String[] { uri.getLastPathSegment() }); in testUpdate()
114 SELECT_BY_ID, new String[] { uri.getLastPathSegment() }, null /* orderBy */); in testUpdate()
135 new String[] { uri.getLastPathSegment() }); in testUpdate_WithoutWritePermission_fail()
179 new String[] { uri.getLastPathSegment() }); in testDelete_withoutWritePermission_throwSecurityException()
194 String[] selectionArgs = new String[] { uri.getLastPathSegment() }; in testDelete_oneRecord_success()
261 new String[] { uri.getLastPathSegment() }, null /* orderBy */); in testInsertAndQuery()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DUriTest.java296 assertEquals("b", uri.getLastPathSegment()); in testPathOperations()
302 assertEquals("c", uri.getLastPathSegment()); in testPathOperations()
308 assertEquals("100", uri.getLastPathSegment()); in testPathOperations()
314 assertEquals("b", first.getLastPathSegment()); in testPathOperations()
321 assertEquals(null, Uri.EMPTY.getLastPathSegment()); in testPathOperations()
373 assertNull(uri.getLastPathSegment()); in testOpaqueUri()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java59 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
76 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugStorageProvider.java279 selectionArgs = new String[]{uri.getLastPathSegment()}; in query()
353 selectionArgs = new String[]{uri.getLastPathSegment()}; in delete()
368 selectionArgs = new String[]{uri.getLastPathSegment()}; in delete()
448 int bugreportId = Integer.parseInt(uri.getLastPathSegment()); in getBugReportFromUri()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
DSharedImageProvider.java92 String uriPath = uri.getLastPathSegment(); in query()
131 String uriPath = uri.getLastPathSegment(); in openFile()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DMmsFileProvider.java94 String idStr = uri.getLastPathSegment(); in openFile()
124 + uri.getLastPathSegment()); in writeDataToPipe()
/packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/
DProcessMediaCallbackImpl.java134 || request.getUri().getLastPathSegment() == null) { in wrapInCursorWindows()
141 dataAdded &= window.putString(request.getUri().getLastPathSegment(), in wrapInCursorWindows()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerUriResolverTest.java110 if (!uri.getLastPathSegment().equals(TEST_ID)) { in queryPickerUri()
126 if (!uri.getLastPathSegment().equals(TEST_ID)) { in getPickerFileFromUri()
152 TEST_ID = sMediaStoreUriInOtherContext.getLastPathSegment(); in setUpBeforeClass()
302 assertThat(filteredList.get(0)).isEqualTo(sTestPickerUri.getLastPathSegment()); in testProcessUrisForSelection_withoutPermissionOrAuthorityChecks()
364 assertThat(filteredList2.get(0)).isEqualTo(sTestPickerUri.getLastPathSegment()); in testProcessUrisForSelection_permissionChecks()
420 assertThat(filteredList3.get(0)).isEqualTo(testCloudUri.getLastPathSegment()); in testProcessUrisForSelection_cloudAuthorityChecks()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java245 final String locale = uri.getLastPathSegment(); in query()
300 final String wordlistId = uri.getLastPathSegment(); in openAssetFile()
452 final String wordlistId = uri.getLastPathSegment(); in deleteDataFile()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java317 uri.getLastPathSegment(), projection); in queryPickerUri()
401 new ArrayList<>(inputUris.stream().map(Uri::getLastPathSegment) in processUrisForSelection()
449 localIds.add(uri.getLastPathSegment()); in populateLocalAndCloudIdListsForSelection()
454 cloudIds.add(uri.getLastPathSegment()); in populateLocalAndCloudIdListsForSelection()
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DPduCache.java142 String msgId = uri.getLastPathSegment(); in purge()
199 String msgId = uri.getLastPathSegment(); in normalizeKey()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java240 qb.appendWhere("T.id1 = " + uri.getLastPathSegment()); in query()
251 qb.appendWhere(pduTable + "._id = " + uri.getLastPathSegment()); in query()
259 qb.appendWhere(BaseColumns._ID + "=" + uri.getLastPathSegment()); in query()
344 Part._ID + " = ?", new String[] { uri.getLastPathSegment() }, in getType()
754 extraSelection = Mms._ID + "=" + uri.getLastPathSegment(); in delete()
938 msgId = uri.getLastPathSegment(); in update()
DCarrierIdProvider.java613 subId = Integer.parseInt(uri.getLastPathSegment()); in updateCarrierIdForCurrentSubscription()
656 if (!TextUtils.isEmpty(uri.getLastPathSegment())) { in queryCarrierIdForCurrentSubscription()
658 subId = Integer.parseInt(uri.getLastPathSegment()); in queryCarrierIdForCurrentSubscription()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java178 fileName = uri.getLastPathSegment(); in generateFileInfo()
204 fileName = uri.getLastPathSegment(); in generateFileInfo()
/packages/apps/Dialer/java/com/android/dialer/util/
DUriUtils.java59 final String lastPathSegment = uri.getLastPathSegment(); in isEncodedContactUri()
/packages/apps/Contacts/src/com/android/contacts/util/
DUriUtils.java59 final String lastPathSegment = uri.getLastPathSegment(); in isEncodedContactUri()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAbstractGalleryActivity.java357 path = localUri.getLastPathSegment(); in printSelectedImage()
359 path = uri.getLastPathSegment(); in printSelectedImage()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DAsyncContentProvider.java52 String mediaId = uri.getLastPathSegment(); in openMedia()
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java50 String fileName = info.getUri().getLastPathSegment(); in getDestinationFile()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java269 final String displayName = uri.getLastPathSegment(); in doProgressNotification()
284 mExportRequest.destUri.getLastPathSegment()); in doCancelNotification()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DPickerUriResolverV2.java96 final String albumId = uri.getLastPathSegment(); in query()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeObserver.java51 final String setting = uri == null ? null : uri.getLastPathSegment(); in DarkModeObserver()

1234