Searched defs:uri (Results 1 - 25 of 297) sorted by relevance

1234567891011>>

/frameworks/av/media/libmediaplayerservice/
H A DActivityManager.cpp27 int openContentProviderFile(const String16& uri) argument
35 fd = am->openContentUri(uri);
/frameworks/base/core/java/android/database/
H A DContentObservable.java64 * @param uri The Uri of the changed content, or null if unknown.
66 public void dispatchChange(boolean selfChange, Uri uri) { argument
70 observer.dispatchChange(selfChange, uri);
/frameworks/av/media/libstagefright/
H A DDataURISource.cpp26 sp<DataURISource> DataURISource::Create(const char *uri) { argument
27 if (strncasecmp("data:", uri, 5)) {
31 const char *commaPos = strrchr(uri, ',');
39 AString tmp(&uri[5], commaPos - &uri[5]);
60 size_t dataLen = strlen(uri) - tmp.size() - 6;
/frameworks/base/core/java/android/content/
H A DContentProviderResult.java26 * to have exactly one of {@link #uri} or {@link #count} set.
29 public final Uri uri; field in class:ContentProviderResult
32 public ContentProviderResult(Uri uri) { argument
33 if (uri == null) throw new IllegalArgumentException("uri must not be null");
34 this.uri = uri;
40 this.uri = null;
47 uri = null;
50 uri
[all...]
H A DEntity.java28 * corresponds to that RawContact. The uri refers to the Data table uri for each row.
47 public void addSubValue(Uri uri, ContentValues values) { argument
48 mSubValues.add(new Entity.NamedContentValues(uri, values));
52 public final Uri uri; field in class:Entity.NamedContentValues
55 public NamedContentValues(Uri uri, ContentValues values) { argument
56 this.uri = uri;
65 sb.append("\n ").append(namedValue.uri);
H A DUriMatcher.java212 * @param uri The url whose path we will match against.
217 public int match(Uri uri) argument
219 final List<String> pathSegments = uri.getPathSegments();
224 if (li == 0 && uri.getAuthority() == null) {
229 String u = i < 0 ? uri.getAuthority() : pathSegments.get(i);
/frameworks/base/core/java/android/widget/
H A DImageSwitcher.java74 * @param uri the Uri of an image
78 public void setImageURI(Uri uri) argument
81 image.setImageURI(uri);
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
H A DEffectsVideoCapture.java73 Uri uri = Uri.fromFile(file);
74 verify(getActivity(), uri);
78 private void verify(CameraEffectsRecordingSample activity, Uri uri) throws Exception { argument
79 assertNotNull(uri);
82 retriever.setDataSource(activity, uri);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestContentResolver.java36 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { argument
37 getPhaser(uri).arrive();
41 void waitForNotification(Uri uri, int count) throws InterruptedException, TimeoutException { argument
42 Assert.assertEquals(count, getPhaser(uri).awaitAdvanceInterruptibly(
46 int getChangeCount(Uri uri) { argument
47 if (mPhasers.containsKey(uri)) {
48 return mPhasers.get(uri).getPhase();
54 private synchronized Phaser getPhaser(Uri uri) { argument
55 Phaser phaser = mPhasers.get(uri);
58 mPhasers.put(uri, phase
[all...]
/frameworks/base/sax/java/android/sax/
H A DChildren.java30 Element getOrCreate(Element parent, String uri, String localName) { argument
31 int hash = uri.hashCode() * 31 + localName.hashCode();
37 current = new Child(parent, uri, localName, parent.depth + 1, hash);
45 && current.uri.compareTo(uri) == 0
56 current = new Child(parent, uri, localName, parent.depth + 1, hash);
65 Element get(String uri, String localName) { argument
66 int hash = uri.hashCode() * 31 + localName.hashCode();
75 && current.uri.compareTo(uri)
91 Child(Element parent, String uri, String localName, int depth, int hash) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DSyncBaseInstrumentation.java53 protected void syncProvider(Uri uri, String accountName, String authority) throws Exception { argument
/frameworks/support/compat/java/android/support/v4/content/
H A DContentResolverCompat.java51 * @param uri The URI, using the content:// scheme, for the content to
71 Uri uri, String[] projection, String selection, String[] selectionArgs,
80 return resolver.query(uri, projection, selection, selectionArgs, sortOrder,
98 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
70 query(ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/ui/
H A DVideoActivity.java58 private void playVideo(Uri uri) { argument
59 mVideoView.setVideoURI(uri);
65 Uri uri = intent.getData();
66 playVideo(uri);
/frameworks/support/media-compat/api23/android/support/v4/media/session/
H A DMediaControllerCompatApi23.java28 public static void playFromUri(Object controlsObj, Uri uri, Bundle extras) { argument
29 ((MediaController.TransportControls) controlsObj).playFromUri(uri, extras);
H A DMediaSessionCompatApi23.java31 public void onPlayFromUri(Uri uri, Bundle extras); argument
40 public void onPlayFromUri(Uri uri, Bundle extras) { argument
41 mCallback.onPlayFromUri(uri, extras);
/frameworks/support/media-compat/api24/android/support/v4/media/session/
H A DMediaControllerCompatApi24.java40 public static void prepareFromUri(Object controlsObj, Uri uri, Bundle extras) { argument
41 ((MediaController.TransportControls) controlsObj).prepareFromUri(uri, extras);
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/ui/
H A DVideoActivity.java58 private void playVideo(Uri uri) { argument
59 mVideoView.setVideoURI(uri);
65 Uri uri = intent.getData();
66 playVideo(uri);
/frameworks/base/core/java/android/net/
H A DPacProxySelector.java59 public List<Proxy> select(URI uri) { argument
74 if (!"http".equalsIgnoreCase(uri.getScheme())) {
75 uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), "/", null, null);
77 urlString = uri.toURL().toString();
79 urlString = uri.getHost();
81 urlString = uri.getHost();
84 response = mProxyService.resolvePacFile(uri
133 connectFailed(URI uri, SocketAddress address, IOException failure) argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java99 public ImageSpan(Context context, Uri uri) { argument
100 this(context, uri, ALIGN_BOTTOM);
107 public ImageSpan(Context context, Uri uri, int verticalAlignment) { argument
110 mContentUri = uri;
111 mSource = uri.toString();
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
39 public String getType(Uri uri) { argument
43 public Uri insert(Uri uri, ContentValues values) { argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
39 public String getType(Uri uri) { argument
43 public Uri insert(Uri uri, ContentValues values) { argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
39 public String getType(Uri uri) { argument
44 public Uri insert(Uri uri, ContentValues values) { argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
39 public String getType(Uri uri) { argument
44 public Uri insert(Uri uri, ContentValues values) { argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
21 public Uri insert(Uri uri, ContentValues values) { argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
36 public String getType(Uri uri) { argument
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
21 public Uri insert(Uri uri, ContentValues values) { argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
36 public String getType(Uri uri) { argument

Completed in 399 milliseconds

1234567891011>>