Home
last modified time | relevance | path

Searched full:contenturi (Results 1 – 25 of 29) sorted by relevance

12

/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSmsManager.java324 Uri contentUri, in sendMultimediaMessage() argument
328 if (contentUri == null || TextUtils.isEmpty(contentUri.getHost())) { in sendMultimediaMessage()
329 throw new IllegalArgumentException("Invalid contentUri"); in sendMultimediaMessage()
333 new SendMultimediaMessageParams(contentUri, locationUrl, configOverrides, sentIntent, 0L); in sendMultimediaMessage()
339 Uri contentUri, in sendMultimediaMessage() argument
344 if (contentUri == null || TextUtils.isEmpty(contentUri.getHost())) { in sendMultimediaMessage()
345 throw new IllegalArgumentException("Invalid contentUri"); in sendMultimediaMessage()
350 contentUri, locationUrl, configOverrides, sentIntent, messageId); in sendMultimediaMessage()
357 Uri contentUri, in downloadMultimediaMessage() argument
360 if (contentUri == null || TextUtils.isEmpty(contentUri.getHost())) { in downloadMultimediaMessage()
[all …]
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/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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/datasource/src/androidTest/java/com/google/android/exoplayer2/upstream/
DContentDataSourceTest.java73 Uri contentUri = AssetContentProvider.buildUri("does/not.exist", false); in readInvalidUri() local
74 DataSpec dataSpec = new DataSpec(contentUri); in readInvalidUri()
87 Uri contentUri = AssetContentProvider.buildUri(DATA_PATH, pipeMode); in assertData() local
91 DataSpec dataSpec = new DataSpec(contentUri, offset, length); in assertData()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/datasource/src/androidTest/java/com/google/android/exoplayer2/upstream/
DContentDataSourceTest.java73 Uri contentUri = AssetContentProvider.buildUri("does/not.exist", false); in readInvalidUri() local
74 DataSpec dataSpec = new DataSpec(contentUri); in readInvalidUri()
87 Uri contentUri = AssetContentProvider.buildUri(DATA_PATH, pipeMode); in assertData() local
91 DataSpec dataSpec = new DataSpec(contentUri, offset, length); in assertData()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DContentResolverBackend.java95 Uri contentUri = rewriteAndCheckUri(uri); in openForRead() local
96 return context.getContentResolver().openInputStream(contentUri); in openForRead()
101 Uri contentUri = rewriteAndCheckUri(uri); in openForNativeRead() local
102 ParcelFileDescriptor pfd = context.getContentResolver().openFileDescriptor(contentUri, "r"); in openForNativeRead()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/ima/src/androidTest/java/com/google/android/exoplayer2/ext/ima/
DImaPlaybackTest.java190 private final Uri contentUri; field in ImaPlaybackTest.ImaHostedTest
197 private ImaHostedTest(Uri contentUri, String adsResponse, AdId... expectedAdIds) { in ImaHostedTest() argument
201 this.contentUri = contentUri; in ImaHostedTest()
240 new DefaultMediaSourceFactory(context).createMediaSource(MediaItem.fromUri(contentUri)); in buildSource()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/ima/src/androidTest/java/com/google/android/exoplayer2/ext/ima/
DImaPlaybackTest.java190 private final Uri contentUri; field in ImaPlaybackTest.ImaHostedTest
197 private ImaHostedTest(Uri contentUri, String adsResponse, AdId... expectedAdIds) { in ImaHostedTest() argument
201 this.contentUri = contentUri; in ImaHostedTest()
240 new DefaultMediaSourceFactory(context).createMediaSource(MediaItem.fromUri(contentUri)); in buildSource()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/
Ddownloading-media.md113 new DownloadRequest.Builder(contentId, contentUri).build();
118 `contentUri` can often be used as the `contentId`, however apps are free to use
123 as a hint for cases where the content type cannot be inferred from `contentUri`.
351 .createMediaSource(MediaItem.fromUri(contentUri));
376 MediaItem.fromUri(contentUri),
Dad-insertion.md180 .setUri(contentUri)
191 .setUri(contentUri)
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/
Ddownloading-media.md108 new DownloadRequest.Builder(contentId, contentUri).build();
113 `contentUri` can often be used as the `contentId`, however apps are free to use
118 as a hint for cases where the content type cannot be inferred from `contentUri`.
346 .createMediaSource(MediaItem.fromUri(contentUri));
371 MediaItem.fromUri(contentUri),
Dad-insertion.md179 .setUri(contentUri)
190 .setUri(contentUri)
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/backends/
DContentResolverBackendTest.java114 Uri contentUri = uri.buildUpon().scheme("content").build(); in embedded_rewritesScheme() local
117 .registerInputStream(contentUri, new ByteArrayInputStream(expected.getBytes(UTF_8))); in embedded_rewritesScheme()
/external/cronet/base/android/java/src/org/chromium/base/
DContentUriUtils.java315 Uri contentUri = getContentUriFromFile(new File(filePathString)); in getContentUriFromFilePath() local
316 if (contentUri != null) { in getContentUriFromFilePath()
317 return contentUri.toString(); in getContentUriFromFilePath()
/external/ktfmt/online_formatter/
Dformat.yaml27 ContentUri: build/lambda-lib.zip
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaServerSideAdInsertionMediaSource.java633 private void setContentUri(Uri contentUri) { in setContentUri() argument
639 .setUri(contentUri) in setContentUri()
959 @Nullable private volatile Uri contentUri; field in ImaServerSideAdInsertionMediaSource.StreamManagerLoadable
984 return contentUri; in getContentUri()
1001 contentUri = Uri.parse(streamUri); in load()
1010 while (contentUri == null && !cancelled && !error) { in load()
1017 if (error && contentUri == null) { in load()
/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()
/external/python/google-api-python-client/docs/dyn/
Ddialogflow_v2.projects.knowledgeBases.documents.html117 …"contentUri": "A String", # The URI where the file content is located. For doc…
222 …"contentUri": "A String", # The URI where the file content is located. For doc…
268 …"contentUri": "A String", # The URI where the file content is located. For doc…
322 …"contentUri": "A String", # The URI where the file content is located. For doc…
388 …"contentUri": "A String", # Optional. The path of gcs source file for reloadin…
Ddialogflow_v2.projects.locations.knowledgeBases.documents.html117 …"contentUri": "A String", # The URI where the file content is located. For doc…
222 …"contentUri": "A String", # The URI where the file content is located. For doc…
268 …"contentUri": "A String", # The URI where the file content is located. For doc…
322 …"contentUri": "A String", # The URI where the file content is located. For doc…
388 …"contentUri": "A String", # Optional. The path of gcs source file for reloadin…
Ddialogflow_v2.projects.agent.knowledgeBases.documents.html117 …"contentUri": "A String", # The URI where the file content is located. For doc…
222 …"contentUri": "A String", # The URI where the file content is located. For doc…
268 …"contentUri": "A String", # The URI where the file content is located. For doc…
322 …"contentUri": "A String", # The URI where the file content is located. For doc…
388 …"contentUri": "A String", # Optional. The path of gcs source file for reloadin…
Ddialogflow_v2beta1.projects.agent.knowledgeBases.documents.html118 …"contentUri": "A String", # The URI where the file content is located. For doc…
225 …"contentUri": "A String", # The URI where the file content is located. For doc…
273 …"contentUri": "A String", # The URI where the file content is located. For doc…
328 …"contentUri": "A String", # The URI where the file content is located. For doc…
Ddialogflow_v2beta1.projects.locations.knowledgeBases.documents.html121 …"contentUri": "A String", # The URI where the file content is located. For doc…
228 …"contentUri": "A String", # The URI where the file content is located. For doc…
332 …"contentUri": "A String", # The URI where the file content is located. For doc…
387 …"contentUri": "A String", # The URI where the file content is located. For doc…
Ddialogflow_v2beta1.projects.knowledgeBases.documents.html121 …"contentUri": "A String", # The URI where the file content is located. For doc…
228 …"contentUri": "A String", # The URI where the file content is located. For doc…
332 …"contentUri": "A String", # The URI where the file content is located. For doc…
387 …"contentUri": "A String", # The URI where the file content is located. For doc…
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java975 Uri contentUri = getContentUri(); in registerContentObserver() local
987 .registerContentObserver(contentUri, /* notifyForDescendants= */ true, contentObserver); in registerContentObserver()
989 Log.w(TAG, "Failed to register content observer for " + contentUri + ": " + e); in registerContentObserver()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DDatabaseContentProvider.java61 * @param contentUri The base Uri of the syncable content in this provider

12