/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetClickHandler.java | 34 private boolean isValidDataUri(Uri dataUri) { in isValidDataUri() argument 35 if (dataUri == null) return false; in isValidDataUri() 38 .openAssetFileDescriptor(dataUri, "r"); in isValidDataUri() 42 Log.w(TAG, "cannot open uri: " + dataUri, e); in isValidDataUri()
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | PhoneNumberInteractionTest.java | 110 Uri dataUri = ContentUris.withAppendedId(Data.CONTENT_URI, 1); in testSendSmsWhenDataIdIsProvided() local 111 expectQuery(dataUri, true /* isDataUri */ ) in testSendSmsWhenDataIdIsProvided() 118 interaction.startInteraction(dataUri); in testSendSmsWhenDataIdIsProvided() 239 final Uri dataUri; in expectQuery() local 241 dataUri = uri; in expectQuery() 243 dataUri = Uri.withAppendedPath(uri, Contacts.Data.CONTENT_DIRECTORY); in expectQuery() 246 .expectQuery(dataUri) in expectQuery()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | ResultActivity.java | 76 String dataUri = intent.getDataString(); in addRowsForIntent() local 77 if (dataUri != null) { in addRowsForIntent() 78 addRowsForQuery(Uri.parse(dataUri)); in addRowsForIntent() 105 private void addRowsForQuery(Uri dataUri) { in addRowsForQuery() argument 106 Cursor cursor = getContentResolver().query(dataUri, null, null, null, null); in addRowsForQuery()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 385 Uri dataUri = resolver.insert(insertUri, values); in createName() local 386 return ContentUris.parseId(dataUri); in createName() 401 Uri dataUri = resolver.insert(insertUri, values); in createPhone() local 402 return ContentUris.parseId(dataUri); in createPhone() 416 Uri dataUri = resolver.insert(insertUri, values); in createEmail() local 417 return ContentUris.parseId(dataUri); in createEmail() 425 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values); in createStatus() local 426 return ContentUris.parseId(dataUri); in createStatus() 495 Uri dataUri = resolver.insert(insertUri, values); in createGroupMembership() local 496 return ContentUris.parseId(dataUri); in createGroupMembership()
|
D | ContactsProvider2Test.java | 742 Uri dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); in testDataDirectoryWithLookupUri() local 744 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 748 dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); in testDataDirectoryWithLookupUri() 749 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 752 dataUri = Uri.withAppendedPath(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, in testDataDirectoryWithLookupUri() 754 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 757 private void assertDataRows(Uri dataUri, ContentValues values) { in assertDataRows() argument 758 Cursor cursor = mResolver.query(dataUri, new String[]{ Data.DATA1 }, null, null, Data._ID); in assertDataRows() 898 Uri dataUri = mResolver.insert(Data.CONTENT_URI, values); in testDataInsert() local 899 long dataId = ContentUris.parseId(dataUri); in testDataInsert() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactBroadcastReceiver.java | 33 final Uri dataUri = intent.getData(); in onReceive() local 37 newIntent.setData(dataUri); in onReceive()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | ContactLoader.java | 78 final Uri dataUri = Uri.withAppendedPath(contactUri, Contacts.Data.CONTENT_DIRECTORY); in loadInBackground() local 79 Cursor cursor = resolver.query(dataUri, StatusQuery.PROJECTION, StatusUpdates.PRESENCE in loadInBackground() 99 cursor = resolver.query(dataUri, new String[] { in loadInBackground()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactSelectionActivity.java | 488 public void onPickPhoneNumberAction(Uri dataUri) { in onPickPhoneNumberAction() argument 489 returnPickerResult(dataUri); in onPickPhoneNumberAction() 505 public void onPickPostalAddressAction(Uri dataUri) { in onPickPostalAddressAction() argument 506 returnPickerResult(dataUri); in onPickPostalAddressAction() 513 public void onPickEmailAddressAction(Uri dataUri) { in onPickEmailAddressAction() argument 514 returnPickerResult(dataUri); in onPickEmailAddressAction()
|
D | DialtactsActivity.java | 409 public void onPickPhoneNumberAction(Uri dataUri) { 413 DialtactsActivity.this, dataUri, getCallOrigin());
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | OnEmailAddressPickerActionListener.java | 28 void onPickEmailAddressAction(Uri dataUri); in onPickEmailAddressAction() argument
|
D | OnPostalAddressPickerActionListener.java | 28 void onPickPostalAddressAction(Uri dataUri); in onPickPostalAddressAction() argument
|
D | OnPhoneNumberPickerActionListener.java | 30 void onPickPhoneNumberAction(Uri dataUri); in onPickPhoneNumberAction() argument
|
D | ShortcutIntentBuilder.java | 131 public void createPhoneNumberShortcutIntent(Uri dataUri, String shortcutAction) { in createPhoneNumberShortcutIntent() argument 132 new PhoneNumberLoadingAsyncTask(dataUri, shortcutAction).execute(); in createPhoneNumberShortcutIntent()
|
/packages/apps/Browser/src/com/android/browser/ |
D | WallpaperHandler.java | 185 DataUri dataUri = new DataUri(mUrl); in openStream() local 186 inputStream = new ByteArrayInputStream(dataUri.getData()); in openStream()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 160 Uri dataUri = Uri.withAppendedPath(mAggregateUri, Data.CONTENT_DIRECTORY); in loadData() local 161 Cursor cursor = getContext().getContentResolver().query(dataUri, in loadData()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | ContactsUtils.java | 296 Uri dataUri = Uri.withAppendedPath(baseUri, Contacts.Data.CONTENT_DIRECTORY); in querySuperPrimaryPhone() local 298 c = cr.query(dataUri, in querySuperPrimaryPhone()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 1060 Uri dataUri = findFirstDataRow(rawContactId, StructuredName.CONTENT_ITEM_TYPE); in updatePeople() local 1061 if (dataUri != null) { in updatePeople() 1062 mContactsProvider.updateInTransaction(dataUri, mValues2, null, null); in updatePeople() 1070 Uri dataUri = findFirstDataRow(rawContactId, Note.CONTENT_ITEM_TYPE); in updatePeople() local 1071 if (dataUri != null) { in updatePeople() 1072 mContactsProvider.updateInTransaction(dataUri, mValues3, null, null); in updatePeople() 1192 Uri dataUri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in updatePhoto() local 1193 dataId = ContentUris.parseId(dataUri); in updatePhoto() 1196 Uri dataUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId); in updatePhoto() local 1197 count = mContactsProvider.updateInTransaction(dataUri, mValues, null, null); in updatePhoto()
|
D | ContactsProvider2.java | 2823 Uri dataUri = inProfileMode() in deleteData() local 2826 Cursor c = query(dataUri, DataRowHandler.DataDeleteQuery.COLUMNS, in deleteData()
|
/packages/apps/Mms/src/com/android/mms/data/ |
D | WorkingMessage.java | 421 public int setAttachment(int type, Uri dataUri, boolean append) { in setAttachment() argument 423 LogTag.debug("setAttachment type=%d uri %s", type, dataUri); in setAttachment() 436 if (type == TEXT && mAttachmentType == SLIDESHOW && mSlideshow != null && dataUri == null in setAttachment() 446 result = append ? appendMedia(type, dataUri, slideShowEditor) in setAttachment() 447 : changeMedia(type, dataUri, slideShowEditor); in setAttachment()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactLoaderTest.java | 380 final Uri dataUri = Uri.withAppendedPath(rawContactUri, in fetchContactIdAndLookupFromRawContactUri() local 382 mContactsProvider.expectQuery(dataUri) in fetchContactIdAndLookupFromRawContactUri()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageCompose.java | 2008 final Uri dataUri = intent.getData(); in initFromIntent() local 2009 if (dataUri != null) { in initFromIntent() 2010 if ("mailto".equals(dataUri.getScheme())) { in initFromIntent() 2011 initializeFromMailTo(dataUri.toString()); in initFromIntent() 2013 String toText = dataUri.getSchemeSpecificPart(); in initFromIntent()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoFragment.java | 1911 final Uri dataUri = Uri.withAppendedPath(CommonDataKinds.Email.CONTENT_FILTER_URI, in showContactInfo() local 1913 final Uri lookupUri = ContactsContract.Data.getContactLookupUri(resolver, dataUri); in showContactInfo()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | CalendarSyncAdapter.java | 258 Uri dataUri = ContentUris.withAppendedId(ncv.uri, id); in dataUriFromNamedContentValues() local 259 return dataUri; in dataUriFromNamedContentValues()
|
D | ContactsSyncAdapter.java | 1540 Uri dataUri = ContentUris.withAppendedId(ncv.uri, id); in dataUriFromNamedContentValues() local 1541 return dataUri; in dataUriFromNamedContentValues()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ComposeMessageActivity.java | 2951 Uri dataUri = persister.persistPart(part, ContentUris.parseId(messageUri)); 2952 result = mWorkingMessage.setAttachment(WorkingMessage.IMAGE, dataUri, append); 2954 log("ResizeImageResultCallback: dataUri=" + dataUri);
|