/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionImpl.java | 73 private Uri mUri; field in CaptureSessionImpl 155 mSessionNotifier.notifyTaskProgress(mUri, mProgressPercent); in setProgress() 169 mSessionNotifier.notifyTaskProgressText(mUri, messageId); in setProgressMessage() 186 mSessionNotifier.notifySessionUpdated(mUri); in updateThumbnail() 213 mUri = mPlaceHolder.outputUri; in startEmpty() 214 mSessionManager.putSession(mUri, this); in startEmpty() 215 mSessionNotifier.notifyTaskQueued(mUri); in startEmpty() 233 mUri = mPlaceHolder.outputUri; in startSession() 234 mSessionManager.putSession(mUri, this); in startSession() 235 mSessionNotifier.notifyTaskQueued(mUri); in startSession() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | ImageLoader.java | 136 private final Uri mUri; field in ImageLoader.ImageLoaderTask 139 mUri = uri; in ImageLoaderTask() 146 if (isAtLeastRunningQ() || !isVideoThumbnailUri(mUri)) { in run() 148 if (Scheme.isContent(mUri)) { in run() 149 data = readFromContent(mUri); in run() 150 } else if (Scheme.isFile(mUri)) { in run() 151 data = IoUtils.readFromFile(new File(mUri.getPath())); in run() 152 } else if (Scheme.isHttp(mUri) || Scheme.isHttps(mUri)) { in run() 153 data = Http.get(mUri.toString()); in run() 156 "Unknown scheme '" + mUri.getScheme() + "'"); in run() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContentProvider.java | 46 private final Uri mUri; field in MockContentProvider.Query 63 mUri = null; in Query() 67 mUri = null; in Query() 72 mUri = uri; in Query() 77 return queryToString(mUri, mProjection, mSelection, mSelectionArgs, mSortOrder); in toString() 138 if (mUri == null) { in equals() 142 } else if (!uri.equals(mUri)) { in equals() 208 private final Uri mUri; field in MockContentProvider.TypeQuery 212 mUri = uri; in TypeQuery() 217 return mUri; in getUri() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | CardContentProviderTest.java | 50 private Uri mUri; field in CardContentProviderTest 57 mUri = new Uri.Builder() in setUp() 74 mResolver.insert(mUri, generateOneRow()); in cardData_insert() 83 mResolver.bulkInsert(mUri, generateTwoRows()); in cardData_bulkInsert_twoRows() 92 mResolver.bulkInsert(mUri, generateTwoRowsWithDismissTimestamp()); in bulkInsert_keepDismissalTimestamp_shouldHaveTimestamp() 94 mResolver.bulkInsert(mUri, generateTwoRows()); in bulkInsert_keepDismissalTimestamp_shouldHaveTimestamp() 101 mResolver.bulkInsert(mUri, generateTwoRowsWithDismissTimestamp()); in bulkInsert_notKeepDismissalTimestamp_shouldNotHaveTimestamp() 103 mResolver.bulkInsert(mUri, generateTwoRows()); in bulkInsert_notKeepDismissalTimestamp_shouldNotHaveTimestamp() 110 mResolver.insert(mUri, generateOneRow()); in cardData_query() 118 mResolver.delete(mUri, null, null); in cardData_delete() [all …]
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/ |
D | PreferenceSliceLiveData.java | 67 Uri mUri; field in PreferenceSliceLiveData.SliceLiveDataImpl 72 mUri = uri; in SliceLiveDataImpl() 80 if (mUri != null) { in onActive() 81 mSliceViewManager.registerSliceCallback(mUri, mSliceCallback); in onActive() 87 if (mUri != null) { in onInactive() 88 mSliceViewManager.unregisterSliceCallback(mUri, mSliceCallback); in onInactive() 103 Slice s = mUri != null ? mSliceViewManager.bindSlice(mUri) 105 if (mUri == null && s != null) { 106 mUri = s.getUri(); 107 mSliceViewManager.registerSliceCallback(mUri, mSliceCallback);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | UriRecord.java | 64 private final Uri mUri; field in UriRecord 67 this.mUri = Preconditions.checkNotNull(uri); in UriRecord() 71 String scheme = mUri.getScheme(); in getIntentForUri() 73 return new Intent(Intent.ACTION_CALL, mUri); in getIntentForUri() 75 return new Intent(Intent.ACTION_SENDTO, mUri); in getIntentForUri() 77 return new Intent(Intent.ACTION_VIEW, mUri); in getIntentForUri() 82 String scheme = mUri.getScheme(); in getPrettyUriString() 86 String ssp = mUri.getSchemeSpecificPart(); in getPrettyUriString() 97 return mUri.toString(); in getPrettyUriString() 119 if (mUri.getScheme().equalsIgnoreCase("file")) { in onClick() [all …]
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | UriImage.java | 35 private final Uri mUri; field in UriImage 42 mUri = uri; in UriImage() 50 return mUri.getPath(); in getDataPath() 55 if (mUri.getScheme().equals("file")) { in getInputStream() 56 return new java.io.FileInputStream(mUri.getPath()); in getInputStream() 58 return mContentResolver.openInputStream(mUri); in getInputStream() 67 if (mUri.getScheme().equals("file")) { in getPFD() 68 String path = mUri.getPath(); in getPFD() 72 return mContentResolver.openFileDescriptor(mUri, "r"); in getPFD() 104 return mUri; in fullSizeImageUri() [all …]
|
D | BaseImage.java | 45 protected Uri mUri; field in BaseImage 65 mUri = uri; in BaseImage() 79 return mUri.equals(((Image) other).mUri); in equals() 84 return mUri.hashCode(); in hashCode() 109 InputStream input = mContentResolver.openInputStream(mUri); in fullSizeImageData() 117 return mUri; in fullSizeImageUri() 143 input = mContentResolver.openFileDescriptor(mUri, "r"); in setupDimension() 189 return mUri.toString(); in toString()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | GetCapabilitiesTask.java | 43 private final Uri mUri; field in GetCapabilitiesTask 49 mUri = uri; in GetCapabilitiesTask() 87 printerCaps.inetAddress = InetAddress.getByName(mUri.getHost()); in doInBackground() 92 boolean online = isDeviceOnline(mUri); in doInBackground() 94 Log.d(TAG, "isDeviceOnline uri=" + mUri + " online=" + online in doInBackground() 115 status = mBackend.nativeGetCapabilities(Backend.getIp(mUri.getHost()), in doInBackground() 116 mUri.getPort(), mUri.getPath(), mUri.getScheme(), mTimeout, printerCaps); in doInBackground() 122 Log.d(TAG, "callNativeGetCapabilities uri=" + mUri + " status=" + status in doInBackground()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/widget/ |
D | UriImageView.java | 37 private Uri mUri; field in UriImageView 55 mUri = null; in setImageResource() 61 mUri = null; in setImageDrawable() 67 mUri = null; in setImageBitmap() 78 mUri = uri; in setImageURI() 87 imageLoader.loadImage(mUri, (loadedUri, bitmap) -> { in loadImage() 88 if (mUri != null && mUri.equals(loadedUri)) { in loadImage() 90 mUri = loadedUri; in loadImage()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | ContentUriAsset.java | 53 private final Uri mUri; field in ContentUriAsset 71 mUri = uri; in ContentUriAsset() 128 "content URI: " + mUri); in decodeBitmapRegion() 138 "content URI: " + mUri); in decodeBitmapRegion() 155 String mimeType = mContext.getContentResolver().getType(mUri); in isJpeg() 163 String mimeType = mContext.getContentResolver().getType(mUri); in isPng() 197 Log.w(TAG, "Couldn't read stream for " + mUri, e); in ensureExifInterface() 206 return mContext.getContentResolver().openInputStream(mUri); in openInputStream() 231 + mUri); in readExifOrientation() 244 .load(mUri) in loadDrawable() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailLoader.java | 64 private final Uri mUri; field in ThumbnailLoader 82 mUri = uri; in ThumbnailLoader() 92 if (VERBOSE) Log.v(TAG, "Starting icon loader task for " + mUri); in ThumbnailLoader() 97 if (VERBOSE) Log.v(TAG, "Icon loader task for " + mUri + " was cancelled."); in preempt() 115 resolver, mUri.getAuthority()); in doInBackground() 117 mUri, mThumbSize, mSignal); in doInBackground() 120 cache.putThumbnail(mUri, mUserId, mThumbSize, result, mLastModified); in doInBackground() 124 Log.w(TAG, "Failed to load thumbnail for " + mUri + ": " + e); in doInBackground() 134 if (VERBOSE) Log.v(TAG, "Loader task for " + mUri + " completed"); in onPostExecute()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/command/ |
D | BrowserUri.java | 31 private final String mUri; field in BrowserUri 34 mUri = command.getValue().toString(); in BrowserUri() 52 return mUri; in getUri() 60 return TextUtils.equals(mUri, that.mUri); in equals() 65 return Objects.hash(mUri); in hashCode() 70 return "BrowserUri{mUri: " + mUri + "}"; in toString()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriImage.java | 49 private final Uri mUri; field in UriImage 64 mUri = uri; in UriImage() 94 String scheme = mUri.getScheme(); in openOrDownloadInner() 101 .openInputStream(mUri); in openOrDownloadInner() 106 .openFileDescriptor(mUri, "r"); in openOrDownloadInner() 110 Log.w(TAG, "fail to open: " + mUri, e); in openOrDownloadInner() 115 URL url = new URI(mUri.toString()).toURL(); in openOrDownloadInner() 237 return ContentResolver.SCHEME_FILE.equals(mUri.getScheme()); in isSharable() 247 return mUri; in getContentUri() 260 if (ContentResolver.SCHEME_FILE.equals(mUri.getScheme())) { in getDetails() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ImageWallpaperInfo.java | 62 private Uri mUri; field in ImageWallpaperInfo 67 mUri = uri; in ImageWallpaperInfo() 71 mUri = uri; in ImageWallpaperInfo() 77 mUri = Uri.parse(in.readString()); in ImageWallpaperInfo() 82 return mUri; in getUri() 149 mUri, in getAsset() 153 mAsset = new ContentUriAsset(context, mUri); in getAsset() 179 parcel.writeString(mUri.toString()); in writeToParcel()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MovieViewControl.java | 59 private final Uri mUri; field in MovieViewControl 84 mUri = videoUri; in MovieViewControl() 88 String scheme = mUri.getScheme(); in MovieViewControl() 98 mVideoView.setVideoURI(mUri); in MovieViewControl() 145 if (!uriSupportsBookmarks(mUri)) { in getBookmark() 155 mUri, projection, null, null, null); in getBookmark() 191 if (!uriSupportsBookmarks(mUri)) { in setBookmark() 198 mContentResolver.update(mUri, values, null, null); in setBookmark() 221 mVideoView.setVideoURI(mUri); in onResume()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | CursorQueryData.java | 37 protected final Uri mUri; field in CursorQueryData 47 mUri = uri; in CursorQueryData() 55 return new BoundCursorLoader(bindingId, mContext, mUri, mProjection, mSelection, in createBoundCursorLoader() 61 if (mUri == null) { in performSynchronousQuery() 65 return mContext.getContentResolver().query(mUri, mProjection, mSelection, in performSynchronousQuery() 72 return mUri; in getUri()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContact.java | 57 public final Uri mUri; field in RawContact.NamedDataItem 73 this.mUri = uri; in NamedDataItem() 78 this.mUri = parcel.readParcelable(Uri.class.getClassLoader()); in NamedDataItem() 89 parcel.writeParcelable(mUri, i); in writeToParcel() 109 return Objects.hashCode(mUri, mContentValues); in hashCode() 118 return Objects.equal(mUri, other.mUri) && in equals() 327 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getContentValues() 337 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getDataItems() 348 sb.append("\n ").append(namedDataItem.mUri); in toString()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | RawContact.java | 237 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getContentValues() 247 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getDataItems() 258 sb.append("\n ").append(namedDataItem.mUri); in toString() 297 public final Uri mUri; field in RawContact.NamedDataItem 312 this.mUri = uri; in NamedDataItem() 317 this.mUri = parcel.readParcelable(Uri.class.getClassLoader()); in NamedDataItem() 328 parcel.writeParcelable(mUri, i); in writeToParcel() 334 return Objects.hash(mUri, mContentValues); in hashCode() 347 return Objects.equals(mUri, other.mUri) in equals()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 136 public String mUri; field in DatabaseMessages.SmsMessage 169 mUri = ContentUris.withAppendedId(Sms.CONTENT_URI, mRowId).toString(); in load() 188 return mUri; in getUri() 211 mUri = in.readString(); in SmsMessage() 242 out.writeString(mUri); in writeToParcel() 323 public String mUri; field in DatabaseMessages.MmsMessage 387 mUri = ContentUris.withAppendedId(Mms.CONTENT_URI, mRowId).toString(); in load() 446 return mUri; in getUri() 477 mUri = in.readString(); in MmsMessage() 526 out.writeString(mUri); in writeToParcel() [all …]
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 68 private Uri mUri; field in AudioPreview 83 mUri = intent.getData(); in onCreate() 84 if (mUri == null) { in onCreate() 88 String scheme = mUri.getScheme(); in onCreate() 98 String msg = getString(R.string.streamloadingtext, mUri.getHost()); in onCreate() 112 mPlayer.setDataSourceAndPrepare(mUri); in onCreate() 168 if (mUri.getAuthority() == MediaStore.AUTHORITY) { in onCreate() 170 mAsyncQueryHandler.startQuery(0, null, mUri, in onCreate() 177 mAsyncQueryHandler.startQuery(0, null, mUri, null, null, null, null); in onCreate() 182 String path = mUri.getPath(); in onCreate() [all …]
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 65 private var mUri: Uri? = null variable in com.android.music.AudioPreview 78 mUri = intent.getData() in onCreate() 79 if (mUri == null) { in onCreate() 83 val scheme: String? = mUri?.getScheme() in onCreate() 91 val msg: String = getString(R.string.streamloadingtext, mUri!!.getHost()) in onCreate() 103 mPlayer!!.setDataSourceAndPrepare(mUri!!) in onCreate() 153 if (mUri!!.getAuthority() === MediaStore.AUTHORITY) { in onCreate() 155 …mAsyncQueryHandler.startQuery(0, null, mUri, arrayOf<String>(MediaStore.Audio.Media.TITLE, MediaSt… in onCreate() 161 mAsyncQueryHandler.startQuery(0, null, mUri, null, null, null, null) in onCreate() 166 val path: String? = mUri?.getPath() in onCreate() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemData.java | 42 private final Uri mUri; field in FilmstripItemData 66 mUri = uri; in FilmstripItemData() 119 return mUri; in getUri() 167 sb.append(mUri); in toString() 190 private final Uri mUri; field in FilmstripItemData.Builder 197 mUri = uri; in Builder() 208 mUri, in build()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | UriWallpaperInfo.java | 23 public final Uri mUri; field in UriWallpaperInfo 27 mUri = uri; in UriWallpaperInfo() 34 new BitmapRegionTileSource.InputStreamSource(a, mUri); in onClick() 66 a.cropImageAndSetWallpaper(mUri, h, shouldFadeOutOnFinish); in onSave() 84 InputStreamProvider isp = InputStreamProvider.fromUri(activity, mUri); in loadThumbnaleAsync() 107 Log.e(TAG, "Error loading thumbnail for uri=" + mUri); in loadThumbnaleAsync()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorSpringBoardActivity.java | 48 private Uri mUri; field in ContactEditorSpringBoardActivity 63 return new PickRawContactLoader(ContactEditorSpringBoardActivity.this, mUri); 108 mUri = intent.getData(); in onCreate() 109 final String authority = mUri.getAuthority(); in onCreate() 110 final String type = getContentResolver().getType(mUri); in onCreate() 116 final long rawContactId = ContentUris.parseId(mUri); in onCreate() 199 intent = EditorIntents.createEditContactIntent(this, mUri, mMaterialPalette, -1); in loadEditor() 221 this, mUri, rawContactId, mMaterialPalette); in getIntentForRawContact()
|