/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 396 Uri dataUri = resolver.insert(insertUri, values); in createName() local 397 return ContentUris.parseId(dataUri); in createName() 412 Uri dataUri = resolver.insert(insertUri, values); in createPhone() local 413 return ContentUris.parseId(dataUri); in createPhone() 427 Uri dataUri = resolver.insert(insertUri, values); in createEmail() local 428 return ContentUris.parseId(dataUri); in createEmail() 436 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values); in createStatus() local 437 return ContentUris.parseId(dataUri); in createStatus() 506 Uri dataUri = resolver.insert(insertUri, values); in createGroupMembership() local 507 return ContentUris.parseId(dataUri); in createGroupMembership()
|
D | ContactsProvider2Test.java | 795 Uri dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); in testDataDirectoryWithLookupUri() local 797 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 801 dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); in testDataDirectoryWithLookupUri() 802 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 805 dataUri = Uri.withAppendedPath(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, in testDataDirectoryWithLookupUri() 807 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 810 private void assertDataRows(Uri dataUri, ContentValues values) { in assertDataRows() argument 811 Cursor cursor = mResolver.query(dataUri, new String[]{ Data.DATA1 }, null, null, Data._ID); in assertDataRows() 951 Uri dataUri = mResolver.insert(Data.CONTENT_URI, values); in testDataInsert() local 952 long dataId = ContentUris.parseId(dataUri); in testDataInsert() [all …]
|
/packages/apps/Dialer/tests/src/com/android/dialer/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/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactSelectionActivity.java | 498 public void onPickPhoneNumberAction(Uri dataUri) { in onPickPhoneNumberAction() argument 499 returnPickerResult(dataUri); in onPickPhoneNumberAction() 515 public void onPickPostalAddressAction(Uri dataUri) { in onPickPostalAddressAction() argument 516 returnPickerResult(dataUri); in onPickPostalAddressAction() 523 public void onPickEmailAddressAction(Uri dataUri) { in onPickEmailAddressAction() argument 524 returnPickerResult(dataUri); in onPickEmailAddressAction()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetClickHandler.java | 37 private boolean isValidDataUri(Uri dataUri) { in isValidDataUri() argument 38 if (dataUri == null) return false; in isValidDataUri() 41 .openAssetFileDescriptor(dataUri, "r"); in isValidDataUri() 45 Log.w(TAG, "cannot open uri: " + dataUri, e); in isValidDataUri()
|
/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 | 2946 Uri dataUri = inProfileMode() in deleteData() local 2949 Cursor c = query(dataUri, DataRowHandler.DataDeleteQuery.COLUMNS, in deleteData()
|
/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/Mms/src/com/android/mms/data/ |
D | WorkingMessage.java | 428 public int setAttachment(int type, Uri dataUri, boolean append) { in setAttachment() argument 430 LogTag.debug("setAttachment type=%d uri %s", type, dataUri); in setAttachment() 443 if (type == TEXT && mAttachmentType == SLIDESHOW && mSlideshow != null && dataUri == null in setAttachment() 453 result = append ? appendMedia(type, dataUri, slideShowEditor) in setAttachment() 454 : changeMedia(type, dataUri, slideShowEditor); in setAttachment()
|
/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/apps/Browser/src/com/android/browser/ |
D | WallpaperHandler.java | 190 DataUri dataUri = new DataUri(mUrl); in openStream() local 191 inputStream = new ByteArrayInputStream(dataUri.getData()); in openStream()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageCompose.java | 2010 final Uri dataUri = intent.getData(); in initFromIntent() local 2011 if (dataUri != null) { in initFromIntent() 2012 if ("mailto".equals(dataUri.getScheme())) { in initFromIntent() 2013 initializeFromMailTo(dataUri.toString()); in initFromIntent() 2015 String toText = dataUri.getSchemeSpecificPart(); in initFromIntent()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 157 Uri dataUri = Uri.withAppendedPath(mAggregateUri, Data.CONTENT_DIRECTORY); in loadData() local 158 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/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ShortcutIntentBuilder.java | 131 public void createPhoneNumberShortcutIntent(Uri dataUri, String shortcutAction) { in createPhoneNumberShortcutIntent() argument 132 new PhoneNumberLoadingAsyncTask(dataUri, shortcutAction).execute(); in createPhoneNumberShortcutIntent()
|
D | OnPhoneNumberPickerActionListener.java | 30 void onPickPhoneNumberAction(Uri dataUri); in onPickPhoneNumberAction() argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 381 final Uri dataUri = Uri.withAppendedPath(rawContactUri, in fetchContactIdAndLookupFromRawContactUri() local 383 mContactsProvider.expectQuery(dataUri) in fetchContactIdAndLookupFromRawContactUri()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | OnPostalAddressPickerActionListener.java | 28 void onPickPostalAddressAction(Uri dataUri); in onPickPostalAddressAction() argument
|
D | OnEmailAddressPickerActionListener.java | 28 void onPickEmailAddressAction(Uri dataUri); in onPickEmailAddressAction() argument
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | DialtactsActivity.java | 406 public void onPickPhoneNumberAction(Uri dataUri) { 410 DialtactsActivity.this, dataUri, getCallOrigin());
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ComposeMessageActivity.java | 3096 Uri dataUri = persister.persistPart(part, 3098 result = mWorkingMessage.setAttachment(WorkingMessage.IMAGE, dataUri, append); 3100 log("ResizeImageResultCallback: dataUri=" + dataUri);
|
/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/Calendar/src/com/android/calendar/ |
D | EventInfoFragment.java | 2026 final Uri dataUri = Uri.withAppendedPath(CommonDataKinds.Email.CONTENT_FILTER_URI, in showContactInfo() local 2028 final Uri lookupUri = ContactsContract.Data.getContactLookupUri(resolver, dataUri); in showContactInfo()
|