/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
UriImage.java | 49 private final Uri mUri; 64 mUri = uri; 94 String scheme = mUri.getScheme(); 101 .openInputStream(mUri); 106 .openFileDescriptor(mUri, "r"); 110 Log.w(TAG, "fail to open: " + mUri, e); 115 URL url = new URI(mUri.toString()).toURL(); 237 return ContentResolver.SCHEME_FILE.equals(mUri.getScheme()); 247 return mUri; 260 if (ContentResolver.SCHEME_FILE.equals(mUri.getScheme())) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsSingleRecipientSender.java | 25 private Uri mUri; 33 mUri = uri; 69 boolean moved = Sms.moveMessageToFolder(mContext, mUri, Sms.MESSAGE_TYPE_OUTBOX, 0); 72 "to outbox: " + mUri); 90 mUri, 98 mUri, 124 ", uri=" + mUri + ", msgs.count=" + messageCount);
|
NotificationTransaction.java | 76 private Uri mUri; 85 mUri = Uri.parse(uriString); 89 PduPersister.getPduPersister(context).load(mUri); 113 mUri = PduPersister.getPduPersister(context).persist( 156 downloadManager.markState(mUri, DownloadManager.STATE_UNSTARTED); 161 downloadManager.markState(mUri, DownloadManager.STATE_DOWNLOADING); 199 mUri, null, null); 206 mUri = uri; 231 Recycler.getMmsRecycler().deleteOldMessagesInSameThreadAsMessage(mContext, mUri); 236 mTransactionState.setContentUri(mUri); [all...] |
/frameworks/base/core/java/android/content/ |
ContentProviderOperation.java | 42 private final Uri mUri; 59 mUri = builder.mUri; 71 mUri = Uri.CREATOR.createFromParcel(source); 95 mUri = ContentProvider.getUriWithoutUserId(cpo.mUri); 97 mUri = cpo.mUri; 110 if (ContentProvider.uriHasUserId(mUri)) { 118 Uri.writeToParcel(dest, mUri); [all...] |
ClipData.java | 190 Uri mUri; 199 mUri = null; 212 mUri = null; 222 mUri = null; 232 mUri = uri; 243 mUri = uri; 260 mUri = uri; 288 return mUri; 459 if (mUri != null) { 464 String[] types = context.getContentResolver().getStreamTypes(mUri, "text/*") [all...] |
CursorLoader.java | 45 Uri mUri; 64 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, 137 mUri = uri; 191 return mUri; 195 mUri = uri; 233 writer.print(prefix); writer.print("mUri="); writer.println(mUri);
|
/frameworks/base/media/java/android/media/ |
Ringtone.java | 66 private Uri mUri; 120 setUri(mUri); 140 return mTitle = getTitle(context, mUri, true); 206 mUri = uri; 207 if (mUri == null) { 216 mLocalPlayer.setDataSource(mContext, mUri); 238 return mUri; 253 final Uri canonicalUri = mUri.getCanonicalUri(); 315 int ringtoneType = RingtoneManager.getDefaultType(mUri); 346 Log.w(TAG, "not playing fallback for " + mUri); [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
CursorLoader.java | 38 Uri mUri; 49 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, 101 mUri = uri; 155 return mUri; 159 mUri = uri; 197 writer.print(prefix); writer.print("mUri="); writer.println(mUri);
|
/packages/apps/Browser/src/com/android/browser/ |
FetchUrlMimeType.java | 52 private String mUri; 60 mUri = uri; 72 httpHost = Proxy.getPreferredHttpHost(mContext, mUri); 81 HttpHead request = new HttpHead(mUri); 126 MimeTypeMap.getFileExtensionFromUrl(mUri)); 132 String filename = URLUtil.guessFileName(mUri, contentDisposition,
|
/frameworks/base/core/java/android/database/ |
ContentObserver.java | 205 private final Uri mUri; 210 mUri = uri; 216 ContentObserver.this.onChange(mSelfChange, mUri, mUserId);
|
/cts/tests/tests/database/src/android/database/cts/ |
ContentObservableTest.java | 122 private Uri mUri; 132 mUri = uri; 145 mUri = null; 153 return mUri;
|
/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSessionManagerImpl.java | 51 private Uri mUri; 100 notifyTaskProgress(mUri, mProgressPercent); 119 notifyTaskProgressText(mUri, message); 137 mUri = mPlaceHolderSession.outputUri; 138 putSession(mUri, this); 139 notifyTaskQueued(mUri); 144 mUri = uri; 148 mSessions.put(mUri.toString(), this); 149 notifyTaskQueued(mUri); 154 if (mUri != null) [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
MovieViewControl.java | 59 private final Uri mUri; 84 mUri = videoUri; 88 String scheme = mUri.getScheme(); 98 mVideoView.setVideoURI(mUri); 145 if (!uriSupportsBookmarks(mUri)) { 155 mUri, projection, null, null, null); 191 if (!uriSupportsBookmarks(mUri)) { 198 mContentResolver.update(mUri, values, null, null); 221 mVideoView.setVideoURI(mUri);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MuteVideo.java | 39 private Uri mUri = null; 47 mUri = uri; 54 mActivity.getContentResolver(), mUri, 64 mDstFileInfo, mActivity.getContentResolver(), mUri);
|
/packages/apps/Mms/src/com/android/mms/util/ |
PduLoaderManager.java | 158 private final Uri mUri; 165 mUri = uri; 184 pdu = mPduPersister.load(mUri); 190 Log.e(TAG, "MmsException loading uri: " + mUri, e); 198 final Set<ItemLoadedCallback> callbacks = mCallbacks.get(mUri); 211 mSlideshowCache.put(mUri, resultSlideshow); 214 mCallbacks.remove(mUri); 215 mPendingTaskUris.remove(mUri); 218 Log.d(TAG, "Pdu task for " + mUri + "exiting; " + mPendingTaskUris.size()
|
ThumbnailManager.java | 226 private final Uri mUri; 233 mUri = uri; 254 Log.e(TAG, "Couldn't load bitmap for " + mUri, e); 256 Log.e(TAG, "Couldn't load bitmap for " + mUri, e); 263 final Set<ItemLoadedCallback> callbacks = mCallbacks.get(mUri); 288 mThumbnailCache.put(mUri, resultBitmap); 290 Log.v(TAG, "in callback runnable: bitmap uri: " + mUri + 297 mCallbacks.remove(mUri); 298 mPendingTaskUris.remove(mUri); 301 Log.d(TAG, "Image task for " + mUri + "exiting " + mPendingTaskUris.size( [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 62 private Uri mUri; 73 assertNotNull("Row has not be inserted or loaded yet", mUri); 75 Cursor cursor = mProvider.query(mUri, IdQuery.COLUMNS, null, null, null, null); 85 assertTrue("Could not obtain _ID for URI: " + mUri, mId != -1); 91 mUri = uri; 96 if (mUri == null) { 98 mUri = ContentUris.withAppendedId(getContentUri(), mId); 100 return mUri; 130 mUri = mProvider.insert(getContentUri(), mValues); 131 assertNotNull("Could not insert a row in " + getContentUri(), mUri); [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
MediaModel.java | 51 private Uri mUri; 73 mUri = uri; 136 return mUri; 149 * @param uri the mUri to set 152 mUri = uri; 210 if (mUri == null) { 217 retriever.setDataSource(mContext, mUri); 224 Log.e(TAG, "MediaMetadataRetriever failed to get duration for " + mUri.getPath(), ex); 235 input = cr.openInputStream(mUri);
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailImpl.java | 31 private final Uri mUri; 54 mUri = uri; 223 return mUri; 228 return mUri != null; 250 + mProviderData + ", mUri=" + mUri + ", mIsRead=" + mIsRead + ", mHasContent="
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
ObjectCursorLoader.java | 39 private Uri mUri; 76 final Cursor inner = getContext().getContentResolver().query(mUri, mProjection, 174 writer.print(prefix); writer.print("mUri="); writer.println(mUri); 197 return mUri; 204 mUri = uri;
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NoteEditor.java | 76 private Uri mUri; 160 mUri = intent.getData(); 169 mUri = getContentResolver().insert(intent.getData(), null); 176 if (mUri == null) { 188 setResult(RESULT_OK, (new Intent()).setAction(mUri.toString())); 209 mUri, // The URI that gets multiple notes from the provider. 400 Intent intent = new Intent(null, mUri); 574 mUri, // The URI for the record to update. 595 getContentResolver().update(mUri, values, null, null); 612 getContentResolver().delete(mUri, null, null) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
RawContact.java | 57 public final Uri mUri; 73 this.mUri = uri; 78 this.mUri = parcel.readParcelable(Uri.class.getClassLoader()); 89 parcel.writeParcelable(mUri, i); 109 return Objects.hashCode(mUri, mContentValues); 118 return Objects.equal(mUri, other.mUri) && 322 if (Data.CONTENT_URI.equals(dataItem.mUri)) { 332 if (Data.CONTENT_URI.equals(dataItem.mUri)) { 343 sb.append("\n ").append(namedDataItem.mUri); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppIncomingFileConfirmActivity.java | 74 private Uri mUri; 97 mUri = intent.getData(); 99 mTransInfo = BluetoothOppUtility.queryRecord(this, mUri); 120 if (V) Log.v(TAG, "BluetoothIncomingFileConfirmActivity: Got uri:" + mUri); 145 this.getContentResolver().update(mUri, mUpdateValues, null, null); 156 this.getContentResolver().update(mUri, mUpdateValues, null, null); 167 this.getContentResolver().update(mUri, mUpdateValues, null, null);
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
RequestHandler.java | 52 Uri mUri;
62 mUri = uri;
73 Log.e(TAG, "Failed to handle request: " + mUri, e);
80 if ("file".equals(mUri.getScheme())) {
84 int match = sUriMatcher.match(mUri);
159 File f = new File(mUri.getPath());
163 t.assign("path", mUri.getPath());
226 Matcher m = pattern.matcher(mUri.getPath());
230 return mUri.getPath();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
TransitionImage.java | 56 private Uri mUri; 90 return mUri; 94 mUri = uri; 203 mUri = bundle.getParcelable(EXTRA_TRANSITION_BITMAP_URI); 205 if (mUri != null) { 208 .resource(mUri).build(); 252 bundle.putParcelable(EXTRA_TRANSITION_BITMAP_URI, mUri); 269 intent.putExtra(EXTRA_TRANSITION_BITMAP_URI, mUri); 365 return "{TransitionImage Uri=" + mUri + " rect=" + mRect
|