Searched refs:uri (Results 76 - 100 of 397) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/
H A DClipData.java230 public Item(Uri uri) { argument
234 mUri = uri;
241 public Item(CharSequence text, Intent intent, Uri uri) { argument
245 mUri = uri;
254 public Item(CharSequence text, String htmlText, Intent intent, Uri uri) { argument
262 mUri = uri;
323 Uri uri = getUri();
324 if (uri != null) {
333 .openTypedAssetFileDescriptor(uri, "text/*", null);
366 return uri
572 uriToHtml(String uri) argument
582 uriToStyledText(String uri) argument
736 newUri(ContentResolver resolver, CharSequence label, Uri uri) argument
771 newRawUri(CharSequence label, Uri uri) argument
[all...]
H A DUriPermission.java42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { argument
43 mUri = uri;
90 return "UriPermission {uri=" + mUri + ", modeFlags=" + mModeFlags + ", persistedTime="
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DContentObserverController.java118 for (Uri uri : taskStatus.changedUris) {
119 taskStatus.contentObserverJobInstance.mChangedUris.add(uri);
208 public ObserverInstance(Handler handler, JobInfo.TriggerContentUri uri) { argument
210 mUri = uri;
214 public void onChange(boolean selfChange, Uri uri) { argument
216 Slog.i(TAG, "onChange(self=" + selfChange + ") for " + uri
227 inst.mChangedUris.add(uri);
232 inst.mChangedAuthorities.add(uri.getAuthority());
267 for (JobInfo.TriggerContentUri uri : uris) {
268 ObserverInstance obs = mObservers.get(uri);
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java131 String uri = server;
132 if (!uri.endsWith("/")) {
133 uri += "/";
135 uri += "upload";
136 Log.d(LOG_TAG, "Upload url:" + uri);
137 HttpPost postRequest = new HttpPost(uri);
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java50 public void scanCompleted(String path, Uri uri) {
53 client.onScanCompleted(path, uri);
67 * @param uri the Uri for the file if the scanning operation succeeded
70 public void onScanCompleted(String path, Uri uri); argument
89 * @param uri the Uri for the file if the scanning operation succeeded
92 public void onScanCompleted(String path, Uri uri); argument
198 public void onScanCompleted(String path, Uri uri) { argument
200 mClient.onScanCompleted(path, uri);
/frameworks/base/services/core/java/com/android/server/am/
H A DCoreSettingsObserver.java85 Uri uri = Settings.Secure.getUriFor(setting);
87 uri, false, this);
91 Uri uri = Settings.System.getUriFor(setting);
93 uri, false, this);
97 Uri uri = Settings.Global.getUriFor(setting);
99 uri, false, this);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java98 public EntityIterator queryEntities(Uri uri, argument
100 TestCase.assertTrue(uri != null);
101 TestCase.assertTrue(ContentResolver.SCHEME_CONTENT.equals(uri.getScheme()));
102 final String authority = uri.getAuthority();
114 public Cursor query(Uri uri,String[] projection, argument
116 TestCase.assertTrue(VCardVerifier.CONTACTS_TEST_CONTENT_URI.equals(uri));
/frameworks/base/services/core/java/com/android/server/firewall/
H A DPortFilter.java47 Uri uri = intent.getData();
48 if (uri != null) {
49 port = uri.getPort();
/frameworks/av/include/media/stagefright/
H A DDataURISource.h29 static sp<DataURISource> Create(const char *uri);
/frameworks/base/core/java/android/net/http/
H A DHttpResponseCache.java204 @Override public CacheResponse get(URI uri, String requestMethod, argument
206 return delegate.get(uri, requestMethod, requestHeaders);
209 @Override public CacheRequest put(URI uri, URLConnection urlConnection) throws IOException { argument
210 return delegate.put(uri, urlConnection);
/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java117 * Asserts that reading from the content uri requires a particular permission by querying the
118 * uri and ensuring a {@link SecurityException} is thrown mentioning the particular permission.
120 * @param uri The uri that requires a permission to query.
123 public void assertReadingContentUriRequiresPermission(Uri uri, String permission) { argument
125 getContext().getContentResolver().query(uri, null, null, null, null);
135 * Asserts that writing to the content uri requires a particular permission by inserting into
136 * the uri and ensuring a {@link SecurityException} is thrown mentioning the particular
139 * @param uri The uri tha
142 assertWritingContentUriRequiresPermission(Uri uri, String permission) argument
[all...]
/frameworks/base/media/java/android/media/session/
H A DISessionCallback.aidl35 void onPrepareFromUri(in Uri uri, in Bundle extras);
39 void onPlayFromUri(in Uri uri, in Bundle extras);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DFilesActivity.java84 final Uri uri = intent.getData();
87 if (DEBUG) Log.d(TAG, "Stack already resolved for uri: " + intent.getData());
100 if(uri != null
101 && uri.getAuthority() != null
102 && !uri.equals(mState.stack.peek())
103 && !LauncherActivity.isLaunchUri(uri)) {
105 "Launching with non-empty stack. Ignoring unexpected uri: " + uri);
111 assert(uri != null);
113 ProviderExecutor.forAuthority(uri
[all...]
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DRGBZ.java34 * Creates an RGBZ from a content uri.
36 * @param uri The uri name of the RGBZ
39 public RGBZ(Uri uri, ContentResolver contentResolver, Context context) throws IOException { argument
40 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri));
42 throw new FileNotFoundException(uri.toString());
44 this.depthImage = new DepthImage(context, uri);
/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java121 * Map from userId to providerPackageName to [clientPackageName, uri] to
286 * hold the INTERACT_ACROSS_USERS_FULL permission or hold a read uri grant to the uri.
291 public void registerContentObserver(Uri uri, boolean notifyForDescendants, argument
293 if (observer == null || uri == null) {
294 throw new IllegalArgumentException("You must pass a valid uri and observer");
300 // Registering an observer for any user other than the calling user requires uri grant or
303 if (checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION, userHandle)
320 mRootNode.addObserverLocked(uri, observer, notifyForDescendants, mRootNode,
322 if (false) Log.v(TAG, "Registered observer " + observer + " at " + uri
327 registerContentObserver(Uri uri, boolean notifyForDescendants, IContentObserver observer) argument
353 notifyChange(Uri uri, IContentObserver observer, boolean observerWantsSelfNotifications, int flags, int userHandle) argument
435 checkUriPermission(Uri uri, int pid, int uid, int modeFlags, int userHandle) argument
444 notifyChange(Uri uri, IContentObserver observer, boolean observerWantsSelfNotifications, boolean syncToNetwork) argument
1065 getProviderPackageName(Uri uri) argument
1086 invalidateCacheLocked(int userId, String providerPackageName, Uri uri) argument
1254 getUriSegment(Uri uri, int index) argument
1266 countUriSegments(Uri uri) argument
1274 addObserverLocked(Uri uri, IContentObserver observer, boolean notifyForDescendants, Object observersLock, int uid, int pid, int userHandle) argument
1281 addObserverLocked(Uri uri, int index, IContentObserver observer, boolean notifyForDescendants, Object observersLock, int uid, int pid, int userHandle) argument
1393 collectObserversLocked(Uri uri, int index, IContentObserver observer, boolean observerWantsSelfNotifications, int flags, int targetUserHandle, ArrayList<ObserverCall> calls) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduPersister.java79 * The uri of temporary drm objects.
525 * @param uri The Uri of the PDU to be loaded.
529 public GenericPdu load(Uri uri) throws MmsException { argument
536 if (PDU_CACHE_INSTANCE.isUpdating(uri)) {
538 Log.v(TAG, "load: " + uri + " blocked by isUpdating()");
545 cacheEntry = PDU_CACHE_INSTANCE.get(uri);
552 PDU_CACHE_INSTANCE.setUpdating(uri, true);
555 Cursor c = SqliteWrapper.query(mContext, mContentResolver, uri,
559 long msgId = ContentUris.parseId(uri);
563 throw new MmsException("Bad uri
784 persistData(PduPart part, Uri uri, String contentType, HashMap<Uri, InputStream> preOpenedFiles) argument
932 convertUriToPath(Context context, Uri uri) argument
987 updateHeaders(Uri uri, SendReq sendReq) argument
1092 updatePart(Uri uri, PduPart part, HashMap<Uri, InputStream> preOpenedFiles) argument
1154 updateParts(Uri uri, PduBody body, HashMap<Uri, InputStream> preOpenedFiles) argument
1241 persist(GenericPdu pdu, Uri uri, boolean createThreadId, boolean groupMmsEnabled, HashMap<Uri, InputStream> preOpenedFiles) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java508 Uri uri = Uri.parse(drawableId);
509 drawable = getDrawable(uri);
524 private Drawable getDrawable(Uri uri) { argument
526 String scheme = uri.getScheme();
530 return getDrawableFromResourceUri(uri);
532 throw new FileNotFoundException("Resource does not exist: " + uri);
536 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri);
538 throw new FileNotFoundException("Failed to open " + uri);
546 Log.e(LOG_TAG, "Error closing icon stream for " + uri, ex);
551 Log.w(LOG_TAG, "Icon not found: " + uri
674 getDrawableFromResourceUri(Uri uri) argument
[all...]
/frameworks/base/core/java/android/text/style/
H A DURLSpan.java70 Uri uri = Uri.parse(getURL());
72 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
/frameworks/base/core/java/android/webkit/
H A DCookieManager.java143 * Gets cookie(s) for a given uri so that it can be set to "cookie:" in http
146 * @param uri the WebAddress for which the cookies are requested
152 public synchronized String getCookie(WebAddress uri) { argument
153 return getCookie(uri.toString());
/frameworks/base/media/java/android/media/tv/
H A DTvContentRatingSystemInfo.java48 Uri uri = new Uri.Builder()
53 return new TvContentRatingSystemInfo(uri, applicationInfo);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DReceiverActivity.java46 final Uri uri = DocumentsContract.buildRootUri(
50 intent.setData(uri);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DDocumentLoaderTest.java71 final Uri uri = DocumentsContract.buildChildDocumentsUri(
85 mResolver.waitForNotification(uri, 1);
96 mResolver.waitForNotification(uri, 2);
104 assertEquals(2, mResolver.getChangeCount(uri));
159 final Uri uri = DocumentsContract.buildChildDocumentsUri(
161 assertEquals(0, mResolver.getChangeCount(uri));
168 assertEquals(0, mResolver.getChangeCount(uri));
175 mResolver.waitForNotification(uri, 1);
/frameworks/base/telecomm/java/com/android/internal/telecom/
H A DIVideoProvider.aidl51 void setPauseImage(in Uri uri);
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsVideoCallProvider.aidl64 void setPauseImage(in Uri uri);
/frameworks/ex/common/java/com/android/common/
H A DSearch.java118 Uri uri = uriBuilder.build();
121 return context.getContentResolver().query(uri, null, selection, selArgs, null);

Completed in 879 milliseconds

1234567891011>>