Home
last modified time | relevance | path

Searched refs:contentUri (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContentUris.java12 protected static Uri withAppendedId(Uri contentUri, long id) { in withAppendedId() argument
13 return Uri.withAppendedPath(contentUri, String.valueOf(id)); in withAppendedId()
17 protected static long parseId(Uri contentUri) { in parseId() argument
18 if (!contentUri.isHierarchical()) { in parseId()
21 String path = contentUri.getLastPathSegment(); in parseId()
/external/exoplayer/tree/extensions/ima/src/androidTest/java/com/google/android/exoplayer2/ext/ima/
DImaPlaybackTest.java142 private final Uri contentUri; field in ImaPlaybackTest.ImaHostedTest
149 private ImaHostedTest(Uri contentUri, String adsResponse, AdId... expectedAdIds) { in ImaHostedTest() argument
153 this.contentUri = contentUri; in ImaHostedTest()
194 .createMediaSource(MediaItem.fromUri(contentUri)); in buildSource()
/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/upstream/
DContentDataSourceTest.java82 Uri contentUri = TestContentProvider.buildUri("does/not.exist", false); in readInvalidUri() local
83 DataSpec dataSpec = new DataSpec(contentUri); in readInvalidUri()
96 Uri contentUri = TestContentProvider.buildUri(DATA_PATH, pipeMode); in assertData() local
100 DataSpec dataSpec = new DataSpec(contentUri, offset, length); in assertData()
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java665 Uri contentUri = getContentUri(); in registerContentObserver() local
677 .registerContentObserver(contentUri, /* notifyForDescendants= */ true, contentObserver); in registerContentObserver()
679 Log.w(TAG, "Failed to register content observer for " + contentUri + ": " + e); in registerContentObserver()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java370 Uri contentUri = (new Uri.Builder()) in smsSendMultimediaMessage() local
382 if (contentUri != null) { in smsSendMultimediaMessage()
383 Log.d(String.format("URI String: %s", contentUri.toString())); in smsSendMultimediaMessage()
384 mSms.sendMultimediaMessage(mContext, contentUri, null/* locationUrl */, in smsSendMultimediaMessage()