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

1234567891011>>

/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactLoaderUtils.java42 public static Uri ensureIsContactUri(final ContentResolver resolver, final Uri uri) argument
44 if (uri == null) throw new IllegalArgumentException("uri must not be null");
46 final String authority = uri.getAuthority();
50 final String type = resolver.getType(uri);
53 return uri;
58 final long rawContactId = ContentUris.parseId(uri);
64 throw new IllegalArgumentException("uri format is unknown");
71 final long rawContactId = ContentUris.parseId(uri);
76 throw new IllegalArgumentException("uri authorit
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DStitchingChangeListener.java22 public void onStitchingQueued(Uri uri); argument
24 public void onStitchingResult(Uri uri); argument
26 public void onStitchingProgress(Uri uri, int progress); argument
/packages/apps/Mms/src/com/android/mms/util/
H A DItemLoadedFuture.java36 void cancel(Uri uri); argument
H A DNullItemLoadedFuture.java28 public void cancel(Uri uri) { argument
H A DAddressUtils.java42 public static String getFrom(Context context, Uri uri) { argument
43 String msgId = uri.getLastPathSegment();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DTypedUriMatcher.java26 public T match(Uri uri); argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppLiveFolder.java68 private static Intent createLiveFolder(Context context, Uri uri, String name, int icon) { argument
71 intent.setDataAndNormalize(uri);
/packages/apps/Browser/src/com/android/browser/
H A DDataUri.java23 * Class extracts the mime type and data from a data uri.
36 public DataUri(String uri) throws MalformedURLException { argument
37 if (!isDataUri(uri)) {
41 int commaIndex = uri.indexOf(',', DATA_URI_PREFIX.length());
45 String contentType = uri.substring(DATA_URI_PREFIX.length(),
47 mData = uri.substring(commaIndex + 1).getBytes();
H A DFetchUrlMimeType.java57 String uri, String cookies, String userAgent) {
60 mUri = uri;
56 FetchUrlMimeType(Context context, DownloadManager.Request request, String uri, String cookies, String userAgent) argument
/packages/apps/Calendar/src/com/android/calendar/
H A DGoogleCalendarUriIntentFilter.java68 * @param uri incoming request
71 private String[] extractEidAndEmail(Uri uri) { argument
73 String eidParam = uri.getQueryParameter("eid");
133 Log.w(TAG, "Punting malformed URI " + uri);
144 Uri uri = intent.getData();
145 if (uri != null) {
146 String[] eidParts = extractEidAndEmail(uri);
200 // Pick up attendee status action from uri clicked
202 if ("RESPOND".equals(uri.getQueryParameter("action"))) {
204 switch (Integer.parseInt(uri
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DLegacyPhoneNumberPickerFragment.java57 protected void startPhoneNumberShortcutIntent(Uri uri) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DCallUtil.java52 public static Intent getCallIntent(Uri uri) { argument
53 return getCallIntent(uri, null);
68 public static Intent getCallIntent(Uri uri, String callOrigin) { argument
69 final Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, uri);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DUriUtils.java48 public static String uriToString(Uri uri) { argument
49 return uri == null ? null : uri.toString();
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DImportRequest.java46 public final Uri uri; field in class:ImportRequest
49 * Holds the byte stream of the vcard, if {@link #uri} is null.
87 * The count of vCard entries in {@link #uri}. A receiver of this object can use it
92 * which means we have to open and scan over {@link #uri} to know this value, while
99 byte[] data, Uri uri, String displayName, int estimatedType, String estimatedCharset,
103 this.uri = uri;
98 ImportRequest(Account account, byte[] data, Uri uri, String displayName, int estimatedType, String estimatedCharset, int vcardVersion, int entryCount) argument
/packages/apps/Email/tests/src/com/android/email/activity/
H A DIntentUtilitiesTests.java77 public void checkGetIdFromIntent(String uri, long expected) { argument
78 Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "ACCOUNT_ID")));
81 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MAILBOX_ID")));
84 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MESSAGE_ID")));
H A DMessageFileViewTest.java51 private void setUpIntent(Uri uri) { argument
53 i.setData(uri);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DChangeNotifier.java31 public ChangeNotifier(MediaSet set, Uri uri, GalleryApp application) { argument
33 application.getDataManager().registerChangeNotifier(uri, this);
H A DPanoramaMetadataJob.java31 public PanoramaMetadataJob(Context context, Uri uri) { argument
33 mUri = uri;
/packages/apps/Gallery2/src/com/android/photos/data/
H A DNotificationWatcher.java34 public void notifyChange(Uri uri, boolean syncToNetwork) { argument
35 mUris.add(uri);
39 public boolean isNotified(Uri uri) { argument
40 return mUris.contains(uri);
/packages/apps/Gallery2/src_pd/com/android/gallery3d/app/
H A DStitchingProgressManager.java31 public Integer getProgress(Uri uri) { argument
/packages/apps/Mms/src/com/android/mms/drm/
H A DDrmUtils.java60 * @param uri Uri to content
63 public static boolean haveRightsForAction(Uri uri, int action) { argument
68 if (drmManagerClient.canHandle(uri.toString(), null)) {
69 int check = drmManagerClient.checkRightsStatus(uri.toString(), action);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DSendTransaction.java64 int transId, TransactionSettings connectionSettings, String uri) {
66 mSendReqURI = Uri.parse(uri);
67 mId = uri;
157 Uri uri = persister.move(mSendReqURI, Sent.CONTENT_URI);
160 mTransactionState.setContentUri(uri);
63 SendTransaction(Context context, int transId, TransactionSettings connectionSettings, String uri) argument
H A DTransactionState.java73 * To represent the result uri of transaction such as uri of MM.
75 * @return Result uri.
82 * To set the result uri. This method is only invoked by the transactions.
84 * @param uri The result uri.
86 synchronized void setContentUri(Uri uri) { argument
87 mContentUri = uri;
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/
H A DHangingSuggestionProvider.java43 public Cursor query(Uri uri, String[] projectionIn, String selection, argument
45 Log.d(TAG, "query(" + uri + ")");
47 List<String> path = uri.getPathSegments();
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProvider.java31 public Cursor query(Uri uri, String[] projection, argument
39 public Uri insert(Uri uri, ContentValues values) { argument
43 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public String getType(Uri uri) { argument

Completed in 444 milliseconds

1234567891011>>