Searched refs:dataUri (Results 1 - 24 of 24) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
H A DOnEmailAddressPickerActionListener.java28 void onPickEmailAddressAction(Uri dataUri); argument
H A DOnPostalAddressPickerActionListener.java28 void onPickPostalAddressAction(Uri dataUri); argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
H A DPublicPreferenceActivity.java51 final Uri dataUri = intent.getData();
52 if (dataUri != null) {
54 dataUri.getQueryParameter(MailPreferenceActivity.PREFERENCE_FRAGMENT_ID);
56 final Set<String> paramNames = dataUri.getQueryParameterNames();
58 final Uri.Builder builder = dataUri.buildUpon().clearQuery();
62 builder.appendQueryParameter(param, dataUri.getQueryParameter(param));
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DOnPhoneNumberPickerActionListener.java30 void onPickPhoneNumberAction(Uri dataUri); argument
H A DShortcutIntentBuilder.java140 public void createPhoneNumberShortcutIntent(Uri dataUri, String shortcutAction) { argument
141 new PhoneNumberLoadingAsyncTask(dataUri, shortcutAction).execute();
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactBroadcastReceiver.java35 final Uri dataUri = intent.getData();
39 newIntent.setData(dataUri);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetClickHandler.java37 private boolean isValidDataUri(Uri dataUri) { argument
38 if (dataUri == null) return false;
41 .openAssetFileDescriptor(dataUri, "r");
45 Log.w(TAG, "cannot open uri: " + dataUri, e);
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/
H A DPhoneNumberInteractionTest.java100 Uri dataUri = ContentUris.withAppendedId(Data.CONTENT_URI, 1);
101 expectQuery(dataUri, true /* isDataUri */ )
108 interaction.startInteraction(dataUri);
229 final Uri dataUri;
231 dataUri = uri;
233 dataUri = Uri.withAppendedPath(uri, Contacts.Data.CONTENT_DIRECTORY);
236 .expectQuery(dataUri)
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DResultActivity.java76 String dataUri = intent.getDataString();
77 if (dataUri != null) {
78 addRowsForQuery(Uri.parse(dataUri));
105 private void addRowsForQuery(Uri dataUri) { argument
106 Cursor cursor = getContentResolver().query(dataUri, null, null, null, null);
/packages/apps/Browser/src/com/android/browser/
H A DWallpaperHandler.java190 DataUri dataUri = new DataUri(mUrl);
191 inputStream = new ByteArrayInputStream(dataUri.getData());
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DContactLoader.java78 final Uri dataUri = Uri.withAppendedPath(contactUri, Contacts.Data.CONTENT_DIRECTORY);
79 Cursor cursor = resolver.query(dataUri, StatusQuery.PROJECTION, StatusUpdates.PRESENCE
99 cursor = resolver.query(dataUri, new String[] {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsActor.java552 Uri dataUri = resolver.insert(insertUri, values);
553 return ContentUris.parseId(dataUri);
568 Uri dataUri = resolver.insert(insertUri, values);
569 return ContentUris.parseId(dataUri);
583 Uri dataUri = resolver.insert(insertUri, values);
584 return ContentUris.parseId(dataUri);
592 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values);
593 return ContentUris.parseId(dataUri);
662 Uri dataUri = resolver.insert(insertUri, values);
663 return ContentUris.parseId(dataUri);
[all...]
H A DContactsProvider2Test.java857 Uri dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY);
859 assertDataRows(dataUri, values);
863 dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY);
864 assertDataRows(dataUri, values);
867 dataUri = Uri.withAppendedPath(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI,
869 assertDataRows(dataUri, values);
872 private void assertDataRows(Uri dataUri, ContentValues values) { argument
873 Cursor cursor = mResolver.query(dataUri, new String[]{ Data.DATA1 }, null, null, Data._ID);
1013 Uri dataUri = mResolver.insert(Data.CONTENT_URI, values);
1014 long dataId = ContentUris.parseId(dataUri);
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactSelectionActivity.java487 public void onPickPhoneNumberAction(Uri dataUri) { argument
488 returnPickerResult(dataUri);
535 public void onPickPostalAddressAction(Uri dataUri) { argument
536 returnPickerResult(dataUri);
543 public void onPickEmailAddressAction(Uri dataUri) { argument
544 returnPickerResult(dataUri);
/packages/apps/Contacts/src/com/android/contacts/
H A DSplitAggregateView.java157 Uri dataUri = Uri.withAppendedPath(mAggregateUri, Data.CONTENT_DIRECTORY);
158 Cursor cursor = getContext().getContentResolver().query(dataUri,
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DPduPersister.java838 // the dataUri of the part.
847 * into storage, otherwise load source data from the dataUri and then
864 Uri dataUri = null;
920 dataUri = part.getDataUri();
921 if ((dataUri == null) || (dataUri == uri)) {
925 // dataUri can look like:
927 if (preOpenedFiles != null && preOpenedFiles.containsKey(dataUri)) {
928 is = preOpenedFiles.get(dataUri);
931 is = mContentResolver.openInputStream(dataUri);
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactsUtils.java296 Uri dataUri = Uri.withAppendedPath(baseUri, Contacts.Data.CONTENT_DIRECTORY);
298 c = cr.query(dataUri,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DLegacyApiSupport.java1061 Uri dataUri = findFirstDataRow(rawContactId, StructuredName.CONTENT_ITEM_TYPE);
1062 if (dataUri != null) {
1063 mContactsProvider.updateInTransaction(dataUri, mValues2, null, null);
1071 Uri dataUri = findFirstDataRow(rawContactId, Note.CONTENT_ITEM_TYPE);
1072 if (dataUri != null) {
1073 mContactsProvider.updateInTransaction(dataUri, mValues3, null, null);
1190 Uri dataUri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues);
1191 dataId = ContentUris.parseId(dataUri);
1194 Uri dataUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId);
1195 count = mContactsProvider.updateInTransaction(dataUri, mValue
[all...]
H A DContactsProvider2.java3026 Uri dataUri = inProfileMode()
3029 Cursor c = query(dataUri, DataRowHandler.DataDeleteQuery.COLUMNS,
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
H A DContactLoaderTest.java400 final Uri dataUri = Uri.withAppendedPath(rawContactUri,
402 mContactsProvider.expectQuery(dataUri)
/packages/apps/Dialer/src/com/android/dialer/
H A DDialtactsActivity.java1227 public void onPickPhoneNumberAction(Uri dataUri) { argument
1231 DialtactsActivity.this, dataUri, getCallOrigin());
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DComposeActivity.java613 final Uri dataUri = intent.getData();
614 if (dataUri != null) {
1650 final Uri dataUri = intent.getData();
1651 if (dataUri != null) {
1652 if (MAIL_TO.equals(dataUri.getScheme())) {
1653 initFromMailTo(dataUri.toString());
1655 if (!mAccount.composeIntentUri.equals(dataUri)) {
1656 String toText = dataUri.getSchemeSpecificPart();
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DContactsSyncParser.java642 Uri dataUri = ContentUris.withAppendedId(ncv.uri, id);
643 return dataUri;
/packages/apps/Calendar/src/com/android/calendar/
H A DEventInfoFragment.java2032 final Uri dataUri = Uri.withAppendedPath(CommonDataKinds.Email.CONTENT_FILTER_URI,
2034 final Uri lookupUri = ContactsContract.Data.getContactLookupUri(resolver, dataUri);

Completed in 732 milliseconds