/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | OnePlayerActivity.java | 114 Uri uri = null; 116 uri = resultData.getData(); 117 Log.i(TAG, "Uri: " + uri.toString()); 120 mAlbumArtBitmap = MediaStore.Images.Media.getBitmap(this.getContentResolver(), uri);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewCallbacks.java | 95 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri); argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | CarrierServiceStateTrackerTest.java | 70 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { argument 71 super.notifyChange(uri, observer, syncToNetwork); 72 logd("onChanged(uri=" + uri + ")" + observer); 74 observer.dispatchChange(false, uri);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | RGBZ.java | 48 * Creates an RGBZ from a content uri. 50 * @param uri The uri name of the RGBZ 53 public RGBZ(Uri uri, ContentResolver contentResolver, Context context) throws IOException { argument 54 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); 56 throw new FileNotFoundException(uri.toString()); 58 depthImage = DepthImage.createFromXMPMetadata(context, uri); 68 * @param uriImage The uri name of the image 69 * @param uriDepthmap The uri name of the depthmap
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
H A D | TypefaceCompatApi24Impl.java | 138 final Uri uri = font.getUri(); 139 ByteBuffer buffer = bufferCache.get(uri); 141 buffer = TypefaceCompatUtil.mmap(context, cancellationSignal, uri); 142 bufferCache.put(uri, buffer);
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/ |
H A D | IconTest.kt | 70 val uri = cacheFile.toUri() 71 val icon = uri.toIcon()
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
H A D | FontRequestEmojiCompatConfigTest.java | 258 final Uri uri = Uri.fromFile(file); 261 new FontInfo(uri, 0 /* ttc index */, 400 /* weight */, 290 new FontInfo(uri, 0 /* ttc index */, 400 /* weight */, 315 final Uri uri = Uri.fromFile(file); 318 new FontInfo(uri, 0 /* ttc index */, 400 /* weight */, 342 new FontInfo(uri, 0 /* ttc index */, 400 /* weight */, 372 final Uri uri = Uri.fromFile(file); 374 new FontInfo(uri, 0 /* ttc index */, 400 /* weight */, 399 any(Context.class), eq(uri), observerCaptor.capture()); 402 new FontInfo(uri, [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/media/ |
H A D | MediaPlayerAdapter.java | 330 * @return Returns <code>true</code> if uri represents a new media; <code>false</code> 334 public boolean setDataSource(Uri uri) { argument 335 if (mMediaSourceUri != null ? mMediaSourceUri.equals(uri) : uri == null) { 338 mMediaSourceUri = uri;
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/ |
H A D | RoutePlayer.java | 154 * Opens the video based on the given uri and updates the media session and item statuses. 155 * @param uri link to the video 157 public void openVideo(Uri uri) { argument 158 mClient.play(uri, "video/mp4", null, 0, null, new ItemActionCallback() { 182 private void playInternal(Uri uri) { argument 183 mClient.play(uri, "video/mp4", null, 0, null, new ItemActionCallback() {
|
H A D | VideoView2.java | 325 * @param uri the URI of the video. 330 public void setVideoUri(Uri uri) { argument 331 mImpl.setVideoUri(uri, null); 337 * @param uri the URI of the video. 344 public void setVideoUri(Uri uri, @Nullable Map<String, String> headers) { argument 345 mImpl.setVideoUri(uri, headers);
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/ |
H A D | GridRowBuilder.java | 43 TemplateBuilderImpl createGridRowBuilder(Uri uri); argument
|
H A D | GridRowBuilderListV1Impl.java | 78 public TemplateBuilderImpl createGridRowBuilder(Uri uri) { argument 79 return new CellBuilder(uri); 138 public CellBuilder(@NonNull Uri uri) { argument 139 super(new Slice.Builder(uri), null);
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestLoopUri.cpp | 129 SLDataLocator_URI uri; local 166 uri.locatorType = SL_DATALOCATOR_URI; 167 uri.URI = (SLchar*) path; 173 audioSource.pLocator = (void *)&uri;
|
H A D | slesTestPlayStreamType.cpp | 58 SLDataLocator_URI uri; local 116 uri.locatorType = SL_DATALOCATOR_URI; 117 uri.URI = (SLchar*) path; 125 audioSource.pLocator = (void*)&uri;
|
H A D | slesTestPlayUri.cpp | 132 SLDataLocator_URI uri; local 172 uri.locatorType = SL_DATALOCATOR_URI; 173 uri.URI = (SLchar*) path; 179 audioSource.pLocator = (void *)&uri;
|
H A D | slesTest_playStates.cpp | 57 SLDataLocator_URI uri; local 110 uri.locatorType = SL_DATALOCATOR_URI; 111 uri.URI = (SLchar*) path; 119 audioSource.pLocator = (void*)&uri;
|
/frameworks/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 106 SLDataLocator_URI uri; local 146 uri.locatorType = SL_DATALOCATOR_URI; 147 uri.URI = (SLchar*) path; 153 audioSource.pLocator = (void *)&uri;
|
/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 144 * Content uri used to access call log entries, including voicemail records. You must have 803 final Uri uri = addEntryAndRemoveExpiredEntries(context, userManager, 806 result = uri; 865 final Uri uri = ContentProvider.maybeAddUserId( 870 Log.v(LOG_TAG, String.format("Inserting to %s", uri)); 880 final Uri result = resolver.insert(uri, values); 886 resolver.delete(uri, "_id IN " + 897 resolver.delete(uri, "_id IN " +
|
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/ |
H A D | Assistant.java | 357 public void onChange(boolean selfChange, Uri uri) { argument 358 update(uri); 361 private void update(Uri uri) { argument 363 if (uri == null || DISMISS_TO_VIEW_RATIO_LIMIT_URI.equals(uri)) { 368 if (uri == null || STREAK_LIMIT_URI.equals(uri)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerServiceTestable.java | 101 public void notifyChangeToContentObserver(Uri uri, int userHandle) { argument 102 ContentObserver co = mMockInjector.mContentObservers.get(new Pair<>(uri, userHandle)); 104 co.onChange(false, uri, userHandle); // notify synchronously 108 co = mMockInjector.mContentObservers.get(new Pair<>(uri, UserHandle.USER_ALL)); 110 co.onChange(false, uri, userHandle); // notify synchronously 119 // Key is a pair of uri and userId 334 void registerContentObserver(Uri uri, boolean notifyForDescendents, argument 336 mContentObservers.put(new Pair<Uri, Integer>(uri, userHandle), observer);
|
/frameworks/base/core/java/android/nfc/ |
H A D | NdefRecord.java | 325 * The uri parameter will be normalized with 329 * {@link IllegalArgumentException} may be thrown if the uri 336 * @param uri URI to encode. 338 * @throws IllegalArugmentException if the uri is empty or invalid 340 public static NdefRecord createUri(Uri uri) { argument 341 if (uri == null) throw new NullPointerException("uri is null"); 343 uri = uri.normalizeScheme(); 344 String uriString = uri [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SuggestionsAdapter.java | 574 Uri uri = Uri.parse(drawableId); 575 drawable = getDrawable(uri); 590 private Drawable getDrawable(Uri uri) { argument 592 String scheme = uri.getScheme(); 596 mProviderContext.getContentResolver().getResourceId(uri); 600 throw new FileNotFoundException("Resource does not exist: " + uri); 604 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri); 606 throw new FileNotFoundException("Failed to open " + uri); 614 Log.e(LOG_TAG, "Error closing icon stream for " + uri, ex); 619 Log.w(LOG_TAG, "Icon not found: " + uri [all...] |
/frameworks/base/media/java/android/media/session/ |
H A D | MediaController.java | 737 * @param uri The URI of the requested media. 741 public void prepareFromUri(Uri uri, Bundle extras) { argument 742 if (uri == null || Uri.EMPTY.equals(uri)) { 747 mSessionBinder.prepareFromUri(mContext.getPackageName(), mCbStub, uri, extras); 749 Log.wtf(TAG, "Error calling prepare(" + uri + ").", e); 808 * @param uri The URI of the requested media. 812 public void playFromUri(Uri uri, Bundle extras) { argument 813 if (uri == null || Uri.EMPTY.equals(uri)) { [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | TileUtils.java | 558 Uri uri = Uri.parse(uriString); 559 String method = getMethodFromUri(uri); 563 IContentProvider provider = getProviderFromUri(context, uri, providerMap); 578 private static IContentProvider getProviderFromUri(Context context, Uri uri, argument 580 if (uri == null) { 583 String authority = uri.getAuthority(); 588 providerMap.put(authority, context.getContentResolver().acquireUnstableProvider(uri)); 593 /** Returns the first path segment of the uri if it exists as the method, otherwise null. */ 594 static String getMethodFromUri(Uri uri) { argument 595 if (uri [all...] |
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | SettingsProviderTest.java | 226 final Uri uri = insertStringViaProviderApi(SETTING_TYPE_SYSTEM, FAKE_SETTING_NAME, 230 assertEquals("Did not get expected Uri.", expectUri, uri); 470 final Uri uri = insertStringViaProviderApi(type, FAKE_SETTING_NAME, 473 assertEquals("Did not get expected Uri.", expectUri, uri); 491 Uri uri = getBaseUriForType(type); 513 final int insertCount = getContext().getContentResolver().bulkInsert(uri, allValues); 544 Uri uri = insertStringViaProviderApi(type, 547 assertEquals("Did not get expected Uri.", expectUri, uri); 666 Uri uri = getBaseUriForType(type); 668 Cursor cursor = getContext().getContentResolver().query(uri, NAME_VALUE_COLUMN [all...] |