Home
last modified time | relevance | path

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

12345

/aosp12/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DClockProvider.kt165 qb.appendWhere(uri.getLastPathSegment()!!)
171 qb.appendWhere(uri.getLastPathSegment()!!)
212 alarmId = uri.getLastPathSegment()
218 alarmId = uri.getLastPathSegment()
254 primaryKey = uri.getLastPathSegment()
265 primaryKey = uri.getLastPathSegment()
/aosp12/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapEmailProvider.java143 long messageId = Long.valueOf(uri.getLastPathSegment()); in readDataFromPipe()
187 + uri.getLastPathSegment()); in writeDataToPipe()
332 + uri.getLastPathSegment()); in openFile()
411 String messageId = uri.getLastPathSegment(); in delete()
455 String table = uri.getLastPathSegment(); in insert()
468 + uri.getLastPathSegment()); in insert()
600 String table = uri.getLastPathSegment(); in update()
612 + uri.getLastPathSegment()); in update()
H A DBluetoothMapIMProvider.java207 String messageId = uri.getLastPathSegment(); in delete()
250 String table = uri.getLastPathSegment(); in insert()
265 + uri.getLastPathSegment()); in insert()
497 String table = uri.getLastPathSegment(); in update()
509 + uri.getLastPathSegment()); in update()
/aosp12/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
H A 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()
/aosp12/frameworks/base/core/java/android/content/
H A DContentUris.java88 String last = contentUri.getLastPathSegment(); in parseId()
126 final String last = contentUri.getLastPathSegment(); in removeId()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DUriTest.java293 assertEquals("b", uri.getLastPathSegment()); in testPathOperations()
299 assertEquals("c", uri.getLastPathSegment()); in testPathOperations()
305 assertEquals("100", uri.getLastPathSegment()); in testPathOperations()
311 assertEquals("b", first.getLastPathSegment()); in testPathOperations()
318 assertEquals(null, Uri.EMPTY.getLastPathSegment()); in testPathOperations()
370 assertNull(uri.getLastPathSegment()); in testOpaqueUri()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
H A DClusterContentProvider.java59 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
78 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
H A DSharedImageProvider.java87 String uriPath = uri.getLastPathSegment(); in query()
126 String uriPath = uri.getLastPathSegment(); in openFile()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DMmsFileProvider.java86 String idStr = uri.getLastPathSegment(); in openFile()
112 + uri.getLastPathSegment()); in writeDataToPipe()
/aosp12/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
H A DBugStorageProvider.java276 selectionArgs = new String[]{ uri.getLastPathSegment() }; in query()
350 selectionArgs = new String[]{uri.getLastPathSegment()}; in delete()
365 selectionArgs = new String[]{uri.getLastPathSegment()}; in delete()
445 int bugreportId = Integer.parseInt(uri.getLastPathSegment()); in getBugReportFromUri()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppSendFileInfo.java154 fileName = uri.getLastPathSegment(); in generateFileInfo()
168 fileName = uri.getLastPathSegment(); in generateFileInfo()
/aosp12/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java346 assertEquals("b", uri.getLastPathSegment()); in testPathOperations()
352 assertEquals("c", uri.getLastPathSegment()); in testPathOperations()
358 assertEquals("100", uri.getLastPathSegment()); in testPathOperations()
364 assertEquals("b", first.getLastPathSegment()); in testPathOperations()
371 assertEquals(null, Uri.EMPTY.getLastPathSegment()); in testPathOperations()
424 assertNull(uri.getLastPathSegment()); in testOpaqueUri()
/aosp12/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java199 qb.appendWhere("T.id1 = " + uri.getLastPathSegment()); in query()
210 qb.appendWhere(pduTable + "._id = " + uri.getLastPathSegment()); in query()
218 qb.appendWhere(BaseColumns._ID + "=" + uri.getLastPathSegment()); in query()
281 Part._ID + " = ?", new String[] { uri.getLastPathSegment() }, in getType()
643 extraSelection = Mms._ID + "=" + uri.getLastPathSegment(); in delete()
804 msgId = uri.getLastPathSegment(); in update()
H A DTelephonyProvider.java3709 subIdString = url.getLastPathSegment(); in query()
3730 subIdString = url.getLastPathSegment(); in query()
3758 subIdString = url.getLastPathSegment(); in query()
3777 subIdString = url.getLastPathSegment(); in query()
3809 String idString = url.getLastPathSegment(); in query()
3848 subIdString = url.getLastPathSegment(); in query()
3864 subIdString = url.getLastPathSegment(); in query()
4200 String subIdString = url.getLastPathSegment(); in insertSingleRow()
4235 String subIdString = url.getLastPathSegment(); in insertSingleRow()
4270 String subIdString = url.getLastPathSegment(); in insertSingleRow()
[all …]
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A 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()
/aosp12/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
H A DPduCache.java142 String msgId = uri.getLastPathSegment(); in purge()
199 String msgId = uri.getLastPathSegment(); in normalizeKey()
/aosp12/frameworks/base/telephony/common/com/google/android/mms/util/
H A DPduCache.java147 String msgId = uri.getLastPathSegment(); in purge()
205 String msgId = uri.getLastPathSegment(); in normalizeKey()
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/
H A DUriUtils.java59 final String lastPathSegment = uri.getLastPathSegment(); in isEncodedContactUri()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DUriUtils.java59 final String lastPathSegment = uri.getLastPathSegment(); in isEncodedContactUri()
/aosp12/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
H A DDownloadCompletionReceiver.java50 String fileName = info.getUri().getLastPathSegment(); in getDestinationFile()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAbstractGalleryActivity.java357 path = localUri.getLastPathSegment(); in printSelectedImage()
359 path = uri.getLastPathSegment(); in printSelectedImage()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DRedactingProvider.java34 switch (uri.getLastPathSegment()) { in query()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java68 String query = url.getLastPathSegment(); in query()
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DExportProcessor.java263 final String displayName = uri.getLastPathSegment(); in doProgressNotification()
278 mExportRequest.destUri.getLastPathSegment()); in doCancelNotification()
/aosp12/packages/apps/Settings/src/com/android/settings/display/darkmode/
H A DDarkModeObserver.java50 final String setting = uri == null ? null : uri.getLastPathSegment(); in DarkModeObserver()

12345