Home
last modified time | relevance | path

Searched refs:iconUri (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java191 final Uri iconUri = getUriMetaData(bluetoothDevice, in getBtDrawableWithDescription() local
193 if (iconUri != null) { in getBtDrawableWithDescription()
195 context.getContentResolver().takePersistableUriPermission(iconUri, in getBtDrawableWithDescription()
198 Log.e(TAG, "Failed to take persistable permission for: " + iconUri, e); in getBtDrawableWithDescription()
202 context.getContentResolver(), iconUri); in getBtDrawableWithDescription()
211 Log.e(TAG, "Failed to get drawable for: " + iconUri, e); in getBtDrawableWithDescription()
213 Log.e(TAG, "Failed to get permission for: " + iconUri, e); in getBtDrawableWithDescription()
/frameworks/base/media/java/android/media/
DMediaDescription.java129 CharSequence description, Bitmap icon, Uri iconUri, Bundle extras, Uri mediaUri) { in MediaDescription() argument
135 mIconUri = iconUri; in MediaDescription()
367 public Builder setIconUri(@Nullable Uri iconUri) { in setIconUri() argument
368 mIconUri = iconUri; in setIconUri()
DMediaMetadata.java580 Uri iconUri = null; in getDescription() local
616 iconUri = Uri.parse(next); in getDescription()
633 bob.setIconUri(iconUri); in getDescription()
DMediaRoute2Info.java818 public Builder setIconUri(@Nullable Uri iconUri) { in setIconUri() argument
819 mIconUri = iconUri; in setIconUri()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java362 String iconUri, String summaryUri) { in newInfo() argument
363 return newInfo(systemApp, category, keyHint, iconUri, summaryUri, null, 0, PROFILE_ALL); in newInfo()
367 String iconUri, String summaryUri, String title, int titleResId, String profile) { in newInfo() argument
369 final Bundle metaData = newMetaData(category, keyHint, iconUri, summaryUri, title, in newInfo()
395 private static Bundle newMetaData(String category, String keyHint, String iconUri, in newMetaData() argument
404 if (iconUri != null) { in newMetaData()
405 metaData.putString(META_DATA_PREFERENCE_ICON_URI, iconUri); in newMetaData()
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java418 final String iconUri = getPropertyString(KEY_ICON_URI); in toShortcutInfo() local
425 getCreationTimestampMillis(), flags, iconResId, iconResName, bitmapPath, iconUri, in toShortcutInfo()
736 public Builder setIconUri(@Nullable final String iconUri) { in setIconUri() argument
737 if (!TextUtils.isEmpty(iconUri)) { in setIconUri()
738 setPropertyString(KEY_ICON_URI, iconUri); in setIconUri()
DShortcutInfo.java2023 public void setIconUri(String iconUri) { in setIconUri() argument
2024 mIconUri = iconUri; in setIconUri()
2486 int flags, int iconResId, String iconResName, String bitmapPath, String iconUri, in ShortcutInfo() argument
2513 mIconUri = iconUri; in ShortcutInfo()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java176 HdmiDeviceInfo hdmiDeviceInfo, String parentId, String label, Uri iconUri) in createTvInputInfo() argument
183 info.mIconUri = iconUri; in createTvInputInfo()
231 TvInputHardwareInfo hardwareInfo, String label, Uri iconUri) in createTvInputInfo() argument
237 info.mIconUri = iconUri; in createTvInputInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataManager.kt494 if (artworkBitmap == null && desc.iconUri != null) { in loadMediaDataInBgForResumption()
495 artworkBitmap = loadBitmapFromUri(desc.iconUri!!) in loadMediaDataInBgForResumption()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java2011 String iconUri; in parseShortcut() local
2042 iconUri = ShortcutService.parseStringAttribute(parser, ATTR_ICON_URI); in parseShortcut()
2118 iconResId, iconResName, bitmapPath, iconUri, in parseShortcut()