Home
last modified time | relevance | path

Searched refs:getUri (Results 1 – 25 of 86) sorted by relevance

1234

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactDeltaTests.java199 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testEntityDiffNoneInsert()
204 assertEquals("Incorrect target", Data.CONTENT_URI, oper.getUri()); in testEntityDiffNoneInsert()
209 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testEntityDiffNoneInsert()
239 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testEntityDiffUpdateInsert()
244 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testEntityDiffUpdateInsert()
249 assertEquals("Incorrect target", Data.CONTENT_URI, oper.getUri()); in testEntityDiffUpdateInsert()
254 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testEntityDiffUpdateInsert()
278 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testEntityDiffNoneUpdate()
283 assertEquals("Incorrect target", Data.CONTENT_URI, oper.getUri()); in testEntityDiffNoneUpdate()
288 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testEntityDiffNoneUpdate()
[all …]
DRawContactModifierTests.java360 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testTrimEmptySingle()
365 assertEquals("Incorrect target", Data.CONTENT_URI, oper.getUri()); in testTrimEmptySingle()
370 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testTrimEmptySingle()
381 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testTrimEmptySingle()
491 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testTrimEmptyAfterUpdate()
496 assertEquals("Incorrect target", Data.CONTENT_URI, oper.getUri()); in testTrimEmptyAfterUpdate()
501 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testTrimEmptyAfterUpdate()
512 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testTrimEmptyAfterUpdate()
535 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testTrimInsertEmpty()
564 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri()); in testTrimInsertInsert()
[all …]
DRawContactDeltaListTests.java196 assertEquals("Unexpected uri", expected.getUri(), found.getUri()); in assertDiffPattern()
296 if (AggregationExceptions.CONTENT_URI.equals(oper.getUri()) in countExceptionUpdates()
/packages/apps/Camera2/src/com/android/camera/data/
DLocalMediaData.java206 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0) in fillImageView()
470 public Uri getUri() { in getUri() method in LocalMediaData.PhotoData
491 Cursor c = context.getContentResolver().query(getUri(), QUERY_PROJECTION, null, in refresh()
581 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, mOrientation) in loadUri()
779 public Uri getUri() { in getUri() method in LocalMediaData.VideoData
799 Cursor c = context.getContentResolver().query(getUri(), QUERY_PROJECTION, null, in refresh()
824 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0) in fillImageView()
828 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, 0) in fillImageView()
870 actionCallback.playVideo(getUri(), mTitle); in getView()
DLocalDataList.java50 return mUri.equals(((LocalData) o).getUri()); in equals()
86 mUriMap.put(data.getUri(), data); in set()
91 mUriMap.put(data.getUri(), data); in add()
96 mUriMap.put(data.getUri(), data); in add()
DMetadataLoader.java42 PanoramaMetadataLoader.loadPanoramaMetadata(context, data.getUri(), in loadMetadata()
44 RgbzMetadataLoader.loadRgbzMetadata(context, data.getUri(), data.getMetadata()); in loadMetadata()
DCameraDataAdapter.java179 final Uri uri = newData.getUri(); in addData()
369 Uri sessionUri = Storage.getSessionUriFromContentUri(localData.getUri()); in onPostExecute()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.java103 return new Intent(action).setData(getUri(alarmId)); in createIntent()
107 return new Intent(context, cls).setData(getUri(alarmId)); in createIntent()
110 public static Uri getUri(long alarmId) { in getUri() method in Alarm
137 Cursor cursor = contentResolver.query(getUri(alarmId), QUERY_COLUMNS, null, null, null); in getAlarm()
198 long rowsUpdated = contentResolver.update(getUri(alarm.id), values, null, null); in updateAlarm()
204 int deletedRows = contentResolver.delete(getUri(alarmId), "", null); in deleteAlarm()
DAlarmInstance.java122 return new Intent(action).setData(getUri(instanceId)); in createIntent()
126 return new Intent(context, cls).setData(getUri(instanceId)); in createIntent()
133 public static Uri getUri(long instanceId) { in getUri() method in AlarmInstance
145 Cursor cursor = contentResolver.query(getUri(instanceId), QUERY_COLUMNS, null, null, null); in getInstance()
234 long rowsUpdated = contentResolver.update(getUri(instance.mId), values, null, null); in updateInstance()
240 int deletedRows = contentResolver.delete(getUri(instanceId), "", null); in deleteInstance()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java155 throw new IllegalStateException("Invalid uri type for uri: " + uriData.getUri()); in getTableDelegate()
178 public final Uri getUri() { in getUri() method in VoicemailContentProvider.UriData
255 uriData.getUri()); in checkAndAddSourcePackageIntoValues()
278 return openFileHelper(uriData.getUri(), mode); in openDataFile()
357 VoicemailContract.PARAM_KEY_SOURCE_PACKAGE, uriData.getUri())); in checkPackagePermission()
359 checkPackagesMatch(getCallingPackage_(), uriData.getSourcePackage(), uriData.getUri()); in checkPackagePermission()
DVoicemailContentTable.java143 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId); in insert()
155 uriData.getUri())); in checkInsertSupported()
193 Log.w(TAG, "No filename for uri " + uriData.getUri() + ", cannot delete file"); in delete()
250 "Cannot update URI: %s. Bulk update not supported", uriData.getUri())); in checkUpdateSupported()
/packages/apps/Mms/src/com/android/mms/model/
DImageModel.java141 mItemLoadedFuture = thumbnailManager.getThumbnail(getUri(), callback); in loadThumbnailBitmap()
150 mItemLoadedFuture.cancel(getUri()); in cancelThumbnailLoading()
168 bm = createBitmap(Math.max(width, height), getUri()); in getBitmap()
187 UriImage image = new UriImage(mContext, getUri()); in resizeMedia()
231 getUri()); in resizeMedia()
DVideoModel.java207 mItemLoadedFuture = thumbnailManager.getVideoThumbnail(getUri(), callback); in loadThumbnailBitmap()
216 mItemLoadedFuture.cancel(getUri()); in cancelThumbnailLoading()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java316 final Uri contentUri = data.getUri();
427 final Uri contentUri = data.getUri();
431 data.getUri() != Uri.EMPTY) {
473 data.getUri());
930 mDataAdapter.getLocalData(currentDataId).getUri())) {
942 mDataAdapter.getLocalData(currentDataId).getUri())) {
1806 mDataAdapter.refresh(data.getUri()); in onResumeTasks()
2300 .setDataAndType(data.getUri(), data.getMimeType()) in launchEditor()
2341 bundle.putString(TinyPlanetFragment.ARGUMENT_URI, data.getUri().toString()); in launchTinyPlanetEditor()
2610 GalleryHelper.setContentUri(startGalleryIntent, currentLocalData.getUri()); in startGallery()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigurationActivity.java128 Uri newUri = Uri.parse(mWifiStatusIconUriGetter.getUri()); in updateIconUriIfNecessary()
264 Uri.parse(mWifiStatusIconUriGetter.getUri())); in updateView()
269 Uri.parse(mWifiStatusIconUriGetter.getUri())); in updateView()
274 getNetworkName(), null, Uri.parse(mWifiStatusIconUriGetter.getUri())); in updateView()
280 Uri.parse(mWifiStatusIconUriGetter.getUri())); in updateView()
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManagerImpl.java251 public Uri getUri() { in getUri() method in CaptureSessionManagerImpl.CaptureSessionImpl
545 listener.onSessionQueued(session.getUri()); in fillTemporarySession()
546 listener.onSessionProgress(session.getUri(), session.getProgress()); in fillTemporarySession()
547 listener.onSessionProgressText(session.getUri(), in fillTemporarySession()
/packages/apps/Mms/src/com/android/mms/transaction/
DTransactionService.java701 String uri = args.getUri(); in handleMessage()
729 transactionSettings, args.getUri()); in handleMessage()
734 transactionSettings, args.getUri()); in handleMessage()
739 transactionSettings, args.getUri()); in handleMessage()
DTransactionBundle.java129 public String getUri() { in getUri() method in TransactionBundle
152 " uri: " + getUri() + in toString()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionImageMatcher.java30 Uri l = lhs == null ? null : lhs.getUri(); in compare()
31 Uri r = rhs == null ? null : rhs.getUri(); in compare()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMenuItem.java30 String getUri(); in getUri() method
106 public String getUri() { in getUri() method in MenuItem.ConstantUriGetter
/packages/apps/Settings/src/com/android/settings/notification/
DOtherSoundSettings.java213 cr.registerContentObserver(pref.getUri(), false, this); in register()
224 if (pref.getUri().equals(uri)) { in onChange()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java155 view.setAudio(audio.getUri(), audio.getSrc(), audio.getExtras()); in presentAudio()
226 view.setVideo(video.getSrc(), video.getUri()); in presentVideo()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java212 public Uri getUri() { in getUri() method in MockContentProvider.TypeQuery
226 return getUri().equals(uri); in equals()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java819 if ((mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), contentResolver))) { in updateThumbnailButton()
912 Uri uri = mThumbnail.getUri(); in showSharePopup()
913 if (mSharePopup == null || !uri.equals(mSharePopup.getUri())) { in showSharePopup()
/packages/apps/Mms/src/com/android/mms/data/
DConversation.java362 final Uri threadUri = getUri(); in markAsRead()
435 public synchronized Uri getUri() { in getUri() method in Conversation
446 public static Uri getUri(long threadId) { in getUri() method in Conversation

1234