Home
last modified time | relevance | path

Searched refs:getQueryParameter (Results 1 – 25 of 63) sorted by relevance

123

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtProviderTest.java81 when(mUri.getQueryParameter("device")).thenReturn("00:01:02:03:04:05"); in openFile_whenFileNotFoundExceptionIsCaught()
82 when(mUri.getQueryParameter("uuid")).thenReturn("1111"); in openFile_whenFileNotFoundExceptionIsCaught()
90 when(mUri.getQueryParameter("device")).thenThrow(NullPointerException.class); in openFile_whenNullPointerExceptionIsCaught()
98 when(mUri.getQueryParameter("device")).thenReturn(null); in openFile_whenIllegalArgumentExceptionIsCaught()
99 when(mUri.getQueryParameter("uuid")).thenReturn("1111"); in openFile_whenIllegalArgumentExceptionIsCaught()
/packages/apps/Messaging/src/com/android/messaging/util/
DAvatarUriUtil.java281 return uri.getQueryParameter(PARAM_IDENTIFIER); in getIdentifier()
286 return uri.getQueryParameter(PARAM_NAME); in getName()
296 return Integer.valueOf(uri.getQueryParameter(PARAM_SIM_COLOR)); in getSimColor()
301 return Boolean.valueOf(uri.getQueryParameter(PARAM_SIM_SELECTED)); in getSimSelected()
306 return Boolean.valueOf(uri.getQueryParameter(PARAM_SIM_INCOMING)); in getSimIncoming()
311 final String primaryUriString = uri.getQueryParameter(PARAM_PRIMARY_URI); in getPrimaryUri()
317 final String fallbackUriString = uri.getQueryParameter(PARAM_FALLBACK_URI); in getFallbackUri()
DYouTubeUtil.java73 return uri.getQueryParameter("v"); in getYouTubeVideoId()
85 return uri.getQueryParameter("video_id"); in getYouTubeVideoId()
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DTestContentProvider.kt34 runCatching { uri.getQueryParameter(PARAM_MIME_TYPE) }.getOrNull() in query()
38 runCatching { uri.getQueryParameter(PARAM_STREAM_TYPE_TIMEOUT)?.toLong() ?: 0L } in getStreamTypes()
47 return runCatching { uri.getQueryParameter(PARAM_STREAM_TYPE)?.let { arrayOf(it) } } in getStreamTypes()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java148 uri.getQueryParameter(DISPLAY_NAME_PARAM_KEY), in getDefaultImageRequestFromUri()
149 uri.getQueryParameter(IDENTIFIER_PARAM_KEY), in getDefaultImageRequestFromUri()
152 String contactType = uri.getQueryParameter(CONTACT_TYPE_PARAM_KEY); in getDefaultImageRequestFromUri()
157 String scale = uri.getQueryParameter(SCALE_PARAM_KEY); in getDefaultImageRequestFromUri()
162 String offset = uri.getQueryParameter(OFFSET_PARAM_KEY); in getDefaultImageRequestFromUri()
167 String isCircular = uri.getQueryParameter(IS_CIRCULAR_PARAM_KEY); in getDefaultImageRequestFromUri()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
DPhoneLookupHistoryContentProvider.java107 Uri.decode(uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM)))); in query()
146 Uri.decode(uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM)); in insert()
192 String number = Uri.decode(uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM)); in delete()
252 Uri.decode(uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM)); in update()
323 return uri.getQueryParameter(PhoneLookupHistory.NUMBER_QUERY_PARAM) == null in uriType()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DCancelActivity.java77 mJobId = Integer.parseInt(uri.getQueryParameter(JOB_ID)); in onCreate()
78 mDisplayName = uri.getQueryParameter(DISPLAY_NAME); in onCreate()
79 mType = Integer.parseInt(uri.getQueryParameter(TYPE)); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/sdn/
DSdnProvider.kt79 !isCallerAllowed(uri.getQueryParameter(Directory.CALLER_PACKAGE_PARAM_KEY)) || in <lambda>()
85 val accountName = uri.getQueryParameter(RawContacts.ACCOUNT_NAME) in <lambda>()
86 val accountType = uri.getQueryParameter(RawContacts.ACCOUNT_TYPE) in <lambda>()
276 uri.getQueryParameter(ContactsContract.LIMIT_PARAM_KEY)?.toInt() ?: DEFAULT_MAX_RESULTS in <lambda>()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DQueryParameterUtils.java25 final String flag = getQueryParameter(uri, name); in readBooleanQueryParameter()
35 public static String getQueryParameter(Uri uri, String parameter) { in getQueryParameter() method in QueryParameterUtils
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DDenylist.java151 String packageName = uri.getQueryParameter(KEY_PACKAGE); in initialize()
152 String databaseName = uri.getQueryParameter(KEY_DATABASE); in initialize()
163 String queryParameter = uri.getQueryParameter(KEY_APIS); in initialize()
/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java354 uri.getQueryParameter(BluetoothMapContract.FILTER_ORIGINATOR_SUBSTRING); in query()
356 value = uri.getQueryParameter(BluetoothMapContract.FILTER_PERIOD_BEGIN); in query()
361 value = uri.getQueryParameter(BluetoothMapContract.FILTER_PERIOD_END); in query()
366 value = uri.getQueryParameter(BluetoothMapContract.FILTER_READ_STATUS); in query()
371 value = uri.getQueryParameter(BluetoothMapContract.FILTER_THREAD_ID); in query()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtProvider.java127 address = uri.getQueryParameter("device"); in openFile()
128 imageUuid = uri.getQueryParameter("uuid"); in openFile()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DUriTest.java163 assertEquals("thud", uri.getQueryParameter("corge")); in testStringUri()
277 assertEquals(null, uri.getQueryParameter("a")); in testQueryParameters()
280 assertEquals("b", uri.getQueryParameter("a")); in testQueryParameters()
287 assertEquals("d", uri.getQueryParameter("c")); in testQueryParameters()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageContentProvider.java324 uri.getQueryParameter(DatabaseUtils.QUERY_BATTERY_EVENT_TYPE); in getQueryBatteryEventTypes()
344 final String userIdsParameter = uri.getQueryParameter(DatabaseUtils.QUERY_KEY_USERID); in getQueryUserIds()
377 final String value = uri.getQueryParameter(key); in getQueryValueFromUri()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DDeepLinkUtils.java42 return isDeepLink(intent) ? intent.getData().getQueryParameter(KEY_COLLECTION_ID) : null; in getCollectionId()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java168 final String protocolVersionArg = uri.getQueryParameter(QUERY_PARAMETER_PROTOCOL_VERSION); in matchUri()
179 final String protocolVersionArg = uri.getQueryParameter(QUERY_PARAMETER_PROTOCOL_VERSION); in getClientId()
465 final String result = uri.getQueryParameter(QUERY_PARAMETER_DELETE_RESULT); in deleteDataFile()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java393 String simple = uri.getQueryParameter("simple"); in query()
395 String threadType = uri.getQueryParameter("thread_type"); in query()
489 SEARCH_STRING[0] = uri.getQueryParameter("pattern") + '*' ; in query()
510 long id = Long.parseLong(uri.getQueryParameter("row_id")); in query()
511 switch (Integer.parseInt(uri.getQueryParameter("table_to_use"))) { in query()
545 String searchString = uri.getQueryParameter("pattern") + "*"; in query()
556 String protoName = uri.getQueryParameter("protocol"); in query()
557 String msgId = uri.getQueryParameter("message"); in query()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java133 uri.getQueryParameter(GalleryActivity.KEY_MEDIA_TYPES), in getAlbumPath()
135 String bucketId = uri.getQueryParameter(KEY_BUCKET_ID); in getAlbumPath()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventUrlHelper.java79 String encryptedEvent = uri.getQueryParameter(URL_EVENT_KEY); in getEventFromOdpEventUrl()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java229 uri.getQueryParameter(DISPLAY_NAME_PARAM_KEY), in getDefaultImageRequestFromUri()
230 uri.getQueryParameter(IDENTIFIER_PARAM_KEY), false); in getDefaultImageRequestFromUri()
232 String contactType = uri.getQueryParameter(CONTACT_TYPE_PARAM_KEY); in getDefaultImageRequestFromUri()
237 String scale = uri.getQueryParameter(SCALE_PARAM_KEY); in getDefaultImageRequestFromUri()
242 String offset = uri.getQueryParameter(OFFSET_PARAM_KEY); in getDefaultImageRequestFromUri()
247 String isCircular = uri.getQueryParameter(IS_CIRCULAR_PARAM_KEY); in getDefaultImageRequestFromUri()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DEventUrlHelperTest.java56 assertEquals(uri.getQueryParameter(EventUrlHelper.URL_LANDING_PAGE_EVENT_KEY), landingPage); in testEncryptDecryptClickTrackingUrlEvent()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceDeepLinkSpringBoard.java76 final String sliceParameter = uri.getQueryParameter(EXTRA_SLICE); in parse()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java1948 String packageName = uri.getQueryParameter(PARAM_PACKAGE); in createSqlParams()
1955 String genre = uri.getQueryParameter(TvContractCompat.PARAM_CANONICAL_GENRE); in createSqlParams()
1980 String inputId = uri.getQueryParameter(TvContractCompat.PARAM_INPUT); in createSqlParams()
1989 String preview = uri.getQueryParameter(PARAM_PREVIEW); in createSqlParams()
2003 String paramChannelId = uri.getQueryParameter(TvContractCompat.PARAM_CHANNEL); in createSqlParams()
2008 String paramStartTime = uri.getQueryParameter(TvContractCompat.PARAM_START_TIME); in createSqlParams()
2009 String paramEndTime = uri.getQueryParameter(TvContractCompat.PARAM_END_TIME); in createSqlParams()
2048 paramChannelId = uri.getQueryParameter(TvContractCompat.PARAM_CHANNEL); in createSqlParams()
2059 paramChannelId = uri.getQueryParameter(TvContractCompat.PARAM_CHANNEL); in createSqlParams()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DFileProvider.java123 return uri.getQueryParameter(FILE_EXTENSION_PARAM_KEY); in getExtensionFromUri()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestionProvider.kt79 val extraData: String? = uri.getQueryParameter(SearchManager.SUGGEST_COLUMN_INTENT_EXTRA_DATA) in query()

123