/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrManager.java | 576 for (Uri dataUri : dataUris) { in removeRecordedPrograms() 577 removeRecordedData(dataUri); in removeRecordedPrograms() 845 private void removeRecordedData(Uri dataUri) { in removeRecordedData() argument 847 if (isFile(dataUri)) { in removeRecordedData() 848 File recordedProgramPath = new File(dataUri.getPath()); in removeRecordedData() 857 + dataUri); in removeRecordedData() 860 Log.w(TAG, "Unable to delete recording data at " + dataUri); in removeRecordedData() 865 Log.w(TAG, "Unable to delete recording data at " + dataUri, e); in removeRecordedData() 875 public static boolean isFile(Uri dataUri) { in isFile() argument 876 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 | 671 Uri dataUri = resolver.insert(insertUri, values); in createName() local 672 return ContentUris.parseId(dataUri); in createName() 687 Uri dataUri = resolver.insert(insertUri, values); in createPhone() local 688 return ContentUris.parseId(dataUri); in createPhone() 702 Uri dataUri = resolver.insert(insertUri, values); in createEmail() local 703 return ContentUris.parseId(dataUri); in createEmail() 711 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values); in createStatus() local 712 return ContentUris.parseId(dataUri); in createStatus() 781 Uri dataUri = resolver.insert(insertUri, values); in createGroupMembership() local 782 return ContentUris.parseId(dataUri); in createGroupMembership()
|
D | ContactsProvider2Test.java | 1030 Uri dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); in testDataDirectoryWithLookupUri() local 1032 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 1036 dataUri = Uri.withAppendedPath(lookupUri, Contacts.Data.CONTENT_DIRECTORY); in testDataDirectoryWithLookupUri() 1037 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 1040 dataUri = Uri.withAppendedPath(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, in testDataDirectoryWithLookupUri() 1042 assertDataRows(dataUri, values); in testDataDirectoryWithLookupUri() 1045 private void assertDataRows(Uri dataUri, ContentValues values) { in assertDataRows() argument 1046 Cursor cursor = mResolver.query(dataUri, new String[]{ Data.DATA1 }, null, null, Data._ID); in assertDataRows() 1186 Uri dataUri = mResolver.insert(Data.CONTENT_URI, values); in testDataInsert() local 1187 long dataId = ContentUris.parseId(dataUri); in testDataInsert() [all …]
|
/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/activities/ |
D | ContactSelectionActivity.java | 535 public void onPickDataUri(Uri dataUri, boolean isVideoCall, int callInitiationType) { in onPickDataUri() argument 536 returnPickerResult(dataUri); in onPickDataUri() 601 public void onPickPostalAddressAction(Uri dataUri) { in onPickPostalAddressAction() argument 602 returnPickerResult(dataUri); in onPickPostalAddressAction() 609 public void onPickEmailAddressAction(Uri dataUri) { in onPickEmailAddressAction() argument 610 returnPickerResult(dataUri); in onPickEmailAddressAction()
|
/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/TvSettings/Settings/src/com/android/tv/settings/basic/ |
D | BasicModeFeatureProviderImplX.java | 78 Uri dataUri = Uri.parse(basicModeExitData); in startBasicModeExitActivity() local 79 Intent intent = new Intent().setComponent(componentName).setData(dataUri); in startBasicModeExitActivity()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleApiCalls.kt | 294 val dataUri = intent.data in handleDismissTimer() constant 295 if (dataUri != null) { in handleDismissTimer() 296 val selectedTimer = getSelectedTimer(dataUri) in handleDismissTimer() 326 private fun getSelectedTimer(dataUri: Uri): Timer? { in getSelectedTimer() 328 val timerId = ContentUris.parseId(dataUri).toInt() 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/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/TV/src/com/android/tv/dvr/data/ |
D | RecordedProgram.java | 297 public Builder setDataUri(@Nullable String dataUri) { in setDataUri() argument 298 return setDataUri(toUri(dataUri)); in setDataUri() 301 public abstract Builder setDataUri(Uri dataUri); in setDataUri() argument
|
/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/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/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 416 private void launchActivityWithUri(Uri dataUri) { in launchActivityWithUri() argument 418 intent.setData(dataUri); in launchActivityWithUri()
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | Conversation.java | 576 public Message setData(@NonNull String dataMimeType, @NonNull Uri dataUri) { in setData() argument 578 mDataUri = dataUri; in setData()
|