/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
D | PublicPreferenceActivity.java | 51 final Uri dataUri = intent.getData(); in onCreate() local 52 if (dataUri != null) { in onCreate() 54 dataUri.getQueryParameter(MailPreferenceActivity.PREFERENCE_FRAGMENT_ID); in onCreate() 56 final Set<String> paramNames = dataUri.getQueryParameterNames(); in onCreate() 58 final Uri.Builder builder = dataUri.buildUpon().clearQuery(); in onCreate() 62 builder.appendQueryParameter(param, dataUri.getQueryParameter(param)); in onCreate()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrManager.java | 555 for (Uri dataUri : dataUris) { in removeRecordedPrograms() 556 removeRecordedData(dataUri); in removeRecordedPrograms() 824 private void removeRecordedData(Uri dataUri) { in removeRecordedData() argument 826 if (isFile(dataUri)) { in removeRecordedData() 827 File recordedProgramPath = new File(dataUri.getPath()); in removeRecordedData() 836 + dataUri); in removeRecordedData() 839 Log.w(TAG, "Unable to delete recording data at " + dataUri); in removeRecordedData() 844 Log.w(TAG, "Unable to delete recording data at " + dataUri, e); in removeRecordedData() 854 public static boolean isFile(Uri dataUri) { in isFile() argument 855 return dataUri != null in isFile() [all …]
|
D | DvrStorageStatusManager.java | 154 Uri dataUri = Uri.parse(dataUriString); in getDeleteOps() local 156 || dataUri == null in getDeleteOps() 157 || dataUri.getPath() == null in getDeleteOps() 158 || !ContentResolver.SCHEME_FILE.equals(dataUri.getScheme())) { in getDeleteOps() 161 File recordedProgramDir = new File(dataUri.getPath()); in getDeleteOps()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerStorageCleanUpService.java | 116 Uri dataUri = Uri.parse(dataUriString); in getRecordedProgramsDirs() local 118 || dataUri == null in getRecordedProgramsDirs() 119 || dataUri.getPath() == null in getRecordedProgramsDirs() 120 || !ContentResolver.SCHEME_FILE.equals(dataUri.getScheme())) { in getRecordedProgramsDirs() 123 File recordedProgramDir = new File(dataUri.getPath()); in getRecordedProgramsDirs()
|
/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/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 | 647 Uri dataUri = resolver.insert(insertUri, values); in createName() local 648 return ContentUris.parseId(dataUri); in createName() 663 Uri dataUri = resolver.insert(insertUri, values); in createPhone() local 664 return ContentUris.parseId(dataUri); in createPhone() 678 Uri dataUri = resolver.insert(insertUri, values); in createEmail() local 679 return ContentUris.parseId(dataUri); in createEmail() 687 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values); in createStatus() local 688 return ContentUris.parseId(dataUri); in createStatus() 757 Uri dataUri = resolver.insert(insertUri, values); in createGroupMembership() local 758 return ContentUris.parseId(dataUri); in createGroupMembership()
|
D | ContactsProvider2Test.java | 1011 Uri dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); in testDataDirectoryWithLookupUri() local 1013 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 1017 dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); in testDataDirectoryWithLookupUri() 1018 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 1021 dataUri = Uri.withAppendedPath(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, in testDataDirectoryWithLookupUri() 1023 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 1026 private void assertDataRows(Uri dataUri, ContentValues values) { in assertDataRows() argument 1027 Cursor cursor = mResolver.query(dataUri, new String[]{ Data.DATA1 }, null, null, Data._ID); in assertDataRows() 1167 Uri dataUri = mResolver.insert(Data.CONTENT_URI, values); in testDataInsert() local 1168 long dataId = ContentUris.parseId(dataUri); in testDataInsert() [all …]
|
/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/util/ |
D | ProfileNameSaver.java | 127 Uri dataUri = ContactsContract.Profile.CONTENT_RAW_CONTACTS_URI.buildUpon() in getProfileItem() local 133 dataUri, in getProfileItem() 142 Log.e(TAG, "Received null from query to the first profile item at " + dataUri); in getProfileItem()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactSelectionActivity.java | 532 public void onPickDataUri(Uri dataUri, boolean isVideoCall, int callInitiationType) { in onPickDataUri() argument 533 returnPickerResult(dataUri); in onPickDataUri() 598 public void onPickPostalAddressAction(Uri dataUri) { in onPickPostalAddressAction() argument 599 returnPickerResult(dataUri); in onPickPostalAddressAction() 606 public void onPickEmailAddressAction(Uri dataUri) { in onPickEmailAddressAction() argument 607 returnPickerResult(dataUri); in onPickEmailAddressAction()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DvrDetailsFragment.java | 235 private boolean isDataUriAccessible(Uri dataUri) { in isDataUriAccessible() argument 236 if (dataUri == null || dataUri.getPath() == null) { in isDataUriAccessible() 240 File recordedProgramPath = new File(dataUri.getPath()); in isDataUriAccessible()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactBroadcastReceiver.java | 35 final Uri dataUri = intent.getData(); in onReceive() local 39 newIntent.setData(dataUri); in onReceive()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 864 Uri dataUri = null; in persistData() local 920 dataUri = part.getDataUri(); in persistData() 921 if ((dataUri == null) || (dataUri.equals(uri))) { in persistData() 927 if (preOpenedFiles != null && preOpenedFiles.containsKey(dataUri)) { in persistData() 928 is = preOpenedFiles.get(dataUri); in persistData() 931 is = mContentResolver.openInputStream(dataUri); in persistData() 934 throw new MmsException("Failed to create input stream on " + dataUri); in persistData() 960 dataUri = uri; in persistData()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleApiCalls.java | 390 final Uri dataUri = intent.getData(); in handleDismissTimer() local 391 if (dataUri != null) { in handleDismissTimer() 392 final Timer selectedTimer = getSelectedTimer(dataUri); in handleDismissTimer() 422 private Timer getSelectedTimer(Uri dataUri) { in getSelectedTimer() argument 424 final int timerId = (int) ContentUris.parseId(dataUri); in getSelectedTimer()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
D | TestSyncAdapter.java | 80 final Uri dataUri = Data.CONTENT_URI.buildUpon() in onPerformSync() local 83 ops.add(ContentProviderOperation.newInsert(dataUri) in onPerformSync()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 1032 Uri dataUri = findFirstDataRow(rawContactId, StructuredName.CONTENT_ITEM_TYPE); in updatePeople() local 1033 if (dataUri != null) { in updatePeople() 1034 mContactsProvider.updateInTransaction(dataUri, mValues2, null, null); in updatePeople() 1042 Uri dataUri = findFirstDataRow(rawContactId, Note.CONTENT_ITEM_TYPE); in updatePeople() local 1043 if (dataUri != null) { in updatePeople() 1044 mContactsProvider.updateInTransaction(dataUri, mValues3, null, null); in updatePeople() 1127 Uri dataUri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in updatePhoto() local 1128 dataId = ContentUris.parseId(dataUri); in updatePhoto() 1131 Uri dataUri = ContentUris.withAppendedId(Data.CONTENT_URI, dataId); in updatePhoto() local 1132 count = mContactsProvider.updateInTransaction(dataUri, mValues, null, null); in updatePhoto()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | RecordedProgram.java | 296 public Builder setDataUri(@Nullable String dataUri) { in setDataUri() argument 297 return setDataUri(toUri(dataUri)); in setDataUri() 300 public abstract Builder setDataUri(Uri dataUri); in setDataUri() argument
|
/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()
|
D | ShortcutIntentBuilder.java | 146 public void createPhoneNumberShortcutIntent(Uri dataUri, String shortcutAction) { in createPhoneNumberShortcutIntent() argument 147 new PhoneNumberLoadingAsyncTask(dataUri, shortcutAction).execute(); in createPhoneNumberShortcutIntent()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactLoader.java | 133 final Uri dataUri = result.isUserProfile in loadInBackground() local 137 dataUri, in loadInBackground()
|
/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 | 31 void onPickDataUri(Uri dataUri, boolean isVideoCall, int callInitiationType); in onPickDataUri() argument
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | OnPhoneNumberPickerActionListener.java | 26 void onPickDataUri(Uri dataUri, boolean isVideoCall, CallSpecificAppData callSpecificAppData); in onPickDataUri() argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 414 final Uri dataUri = Uri.withAppendedPath(rawContactUri, in fetchContactIdAndLookupFromRawContactUri() local 416 mContactsProvider.expectQuery(dataUri) in fetchContactIdAndLookupFromRawContactUri()
|