/packages/apps/Settings/src/com/android/settings/slices/ |
D | CustomSliceRegistry.java | 23 import android.net.Uri; 60 public static final Uri AIRPLANE_URI = new Uri.Builder() 70 public static final Uri BATTERY_FIX_SLICE_URI = new Uri.Builder() 80 public static final Uri BLUETOOTH_URI = new Uri.Builder() 90 public static final Uri BLUETOOTH_DEVICES_SLICE_URI = new Uri.Builder() 100 public static final Uri CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI = new Uri.Builder() 110 public static final Uri CONTEXTUAL_WIFI_SLICE_URI = new Uri.Builder() 120 public static final Uri DATA_USAGE_SLICE_URI = new Uri.Builder() 129 public static final Uri DEVICE_INFO_SLICE_URI = new Uri.Builder() 138 public static final Uri EMERGENCY_INFO_SLICE_URI = new Uri.Builder() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | CustomSliceRegistry.java | 25 import android.net.Uri; 61 public static final Uri AIRPLANE_URI = new Uri.Builder() 71 public static final Uri BATTERY_FIX_SLICE_URI = new Uri.Builder() 81 public static final Uri BLUETOOTH_URI = new Uri.Builder() 91 public static final Uri BLUETOOTH_DEVICES_SLICE_URI = new Uri.Builder() 101 public static final Uri CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI = new Uri.Builder() 111 public static final Uri CONTEXTUAL_WIFI_SLICE_URI = new Uri.Builder() 121 public static final Uri DATA_USAGE_SLICE_URI = new Uri.Builder() 130 public static final Uri DEVICE_INFO_SLICE_URI = new Uri.Builder() 139 public static final Uri EMERGENCY_INFO_SLICE_URI = new Uri.Builder() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | RcsProviderInsertTest.java | 32 import android.net.Uri; 65 assertThat(mContentResolver.insert(Uri.parse("content://rcs/thread"), null)).isNull(); in testInsertUnifiedThreadFails() 70 Uri uri = setup1To1Thread(mContentResolver); in testDuplicate1To1ThreadInsertion() 81 assertThat(mContentResolver.insert(Uri.parse("content://rcs/group_thread"), in testInsertGroupThread() 82 contentValues)).isEqualTo(Uri.parse("content://rcs/group_thread/1")); in testInsertGroupThread() 91 Uri uri = mContentResolver.insert(Uri.parse("content://rcs/participant"), contentValues); in testInsertParticipant() 92 assertThat(uri).isEqualTo(Uri.parse("content://rcs/participant/1")); in testInsertParticipant() 100 mContentResolver.insert(Uri.parse("content://rcs/participant"), contentValues); in testInsertParticipantIntoGroupThread() 105 mContentResolver.insert(Uri.parse("content://rcs/group_thread"), values); in testInsertParticipantIntoGroupThread() 108 Uri uri = Uri.parse("content://rcs/group_thread/1/participant/1"); in testInsertParticipantIntoGroupThread() [all …]
|
D | RcsProviderDeleteTest.java | 32 import android.net.Uri; 66 assertThat(mContentResolver.insert(Uri.parse("content://rcs/participant"), in setUp() 67 participantValues)).isEqualTo(Uri.parse("content://rcs/participant/1")); in setUp() 75 Uri groupThreadUri = Uri.parse("content://rcs/group_thread"); in setUp() 77 Uri.parse("content://rcs/group_thread/2")); in setUp() 79 Uri addParticipantToGroupThread = Uri.parse("content://rcs/group_thread/2/participant/1"); in setUp() 85 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/incoming_message"), in setUp() 87 Uri.parse("content://rcs/p2p_thread/1/incoming_message/1")); in setUp() 88 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/outgoing_message"), in setUp() 90 Uri.parse("content://rcs/p2p_thread/1/outgoing_message/2")); in setUp() [all …]
|
D | RcsProviderUpdateTest.java | 34 import android.net.Uri; 69 assertThat(mContentResolver.insert(Uri.parse("content://rcs/participant"), in setUp() 70 participantValues)).isEqualTo(Uri.parse("content://rcs/participant/1")); in setUp() 82 Uri groupThreadUri = Uri.parse("content://rcs/group_thread"); in setUp() 84 Uri.parse("content://rcs/group_thread/2")); in setUp() 86 Uri groupInsertionUri = Uri.parse("content://rcs/group_thread/2/participant/1"); in setUp() 91 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/incoming_message"), in setUp() 93 Uri.parse("content://rcs/p2p_thread/1/incoming_message/1")); in setUp() 94 assertThat(mContentResolver.insert(Uri.parse("content://rcs/p2p_thread/1/outgoing_message"), in setUp() 96 Uri.parse("content://rcs/p2p_thread/1/outgoing_message/2")); in setUp() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | AvatarUriUtil.java | 19 import android.net.Uri; 20 import android.net.Uri.Builder; 84 public static final Uri DEFAULT_BACKGROUND_AVATAR = new Uri.Builder().scheme(SCHEME) 87 private static final Uri BLANK_SIM_INDICATOR_INCOMING_URI = createSimIconUri("", 89 private static final Uri BLANK_SIM_INDICATOR_OUTGOING_URI = createSimIconUri("", 97 public static Uri createAvatarUri(@NonNull final List<ParticipantData> participants) { in createAvatarUri() 106 final ArrayList<Uri> avatarUris = new ArrayList<Uri>(numParticipants); in createAvatarUri() 119 public static Uri joinAvatarUriToGroup(@NonNull final List<Uri> avatarUris) { in joinAvatarUriToGroup() 124 final Uri firstAvatar = avatarUris.get(0); in joinAvatarUriToGroup() 135 final Uri uri = avatarUris.get(i); in joinAvatarUriToGroup() [all …]
|
D | UriUtil.java | 22 import android.net.Uri; 64 public static Uri getUriForResourceFile(final String path) { in getUriForResourceFile() 65 return TextUtils.isEmpty(path) ? null : Uri.fromFile(new File(path)); in getUriForResourceFile() 71 public static String getFilePathFromUri(final Uri uri) { in getFilePathFromUri() 81 public static boolean isLocalResourceUri(final Uri uri) { in isLocalResourceUri() 91 public static boolean isBugleAppResource(final Uri uri) { in isBugleAppResource() 96 public static boolean isFileUri(final Uri uri) { in isFileUri() 103 public static Uri getUriForResourceId(final Context context, final int resId) { in getUriForResourceId() 104 return new Uri.Builder() in getUriForResourceId() 114 public static boolean isLocalUri(@NonNull final Uri uri) { in isLocalUri() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SettingsSliceProviderTest.java | 41 import android.net.Uri; 106 private static final Uri URI = Uri.parse("content://com.android.settings.slices/test"); 114 private static final List<Uri> SPECIAL_CASE_PLATFORM_URIS = Arrays.asList( 120 private static final List<Uri> SPECIAL_CASE_OEM_URIS = Arrays.asList( 158 final Uri uri = SliceBuilderUtils.getUri(INTENT_PATH, false); in testInitialSliceReturned_emptySlice() 168 final Uri uri = SliceBuilderUtils.getUri(INTENT_PATH, false); in testLoadSlice_returnsSliceFromAccessor() 180 final Uri uri = SliceBuilderUtils.getUri(INTENT_PATH, false); in loadSlice_registersIntentFilter() 190 final Uri uri = SliceBuilderUtils.getUri(INTENT_PATH, false); in loadSlice_registersBackgroundListener() 244 final Uri blockedUri = new Uri.Builder() in onBindSlice_requestsBlockedSlice_returnsNull() 258 final Uri uri = SliceBuilderUtils.getUri( in getDescendantUris_fullActionUri_returnsSelf() [all …]
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | UriUtils.java | 24 import android.net.Uri; 91 public static Uri getShortcutIconResourceUri(ShortcutIconResource iconResource) { in getShortcutIconResourceUri() 92 return Uri.parse(SCHEME_SHORTCUT_ICON_RESOURCE + SCHEME_DELIMITER + iconResource.packageName in getShortcutIconResourceUri() 101 public static Uri getAndroidResourceUri(String resourceName) { in getAndroidResourceUri() 102 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + SCHEME_DELIMITER in getAndroidResourceUri() 110 public static boolean isAndroidResourceUri(Uri uri) { in isAndroidResourceUri() 118 public static Uri getAccountImageUri(String accountName) { in getAccountImageUri() 119 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() 129 public static Uri getAccountImageUri(String accountName, Uri changeNotifyUri) { in getAccountImageUri() 130 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() [all …]
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/ |
D | MockUiProviderTests.java | 25 import android.net.Uri; 53 final Uri accountUri = MockUiProvider.getAccountsUri(); in testTraverseContentProvider() 60 final Uri accountsUri = MockUiProvider.getAccountsUri(); in testGetFolders() 64 ArrayList<Uri> folderUris = new ArrayList<Uri>(); in testGetFolders() 66 Uri foldersUri; in testGetFolders() 70 foldersUri = Uri.parse(cursor.getString(folderUriIndex)); in testGetFolders() 76 ArrayList<Uri> childUris = new ArrayList<Uri>(); in testGetFolders() 77 ArrayList<Uri> convUris = new ArrayList<Uri>(); in testGetFolders() 79 for (Uri u : folderUris) { in testGetFolders() 84 Uri childUri; in testGetFolders() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 20 import android.net.Uri; 88 private Contact assertLoadContact(Uri uri) { in assertLoadContact() 99 Contact result = assertLoadContact(Uri.EMPTY); in testEmptyUri() 104 Contact result = assertLoadContact(Uri.parse("content://wtf")); in testInvalidUri() 110 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactIdUri() 111 final Uri entityUri = Uri.withAppendedPath(baseUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactIdUri() 112 final Uri lookupUri = ContentUris.withAppendedId( in testLoadContactWithContactIdUri() 113 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, LOOKUP_KEY), in testLoadContactWithContactIdUri() 134 final Uri legacyUri = ContentUris.withAppendedId( in testLoadContactWithOldStyleUri() 135 Uri.parse("content://contacts"), RAW_CONTACT_ID); in testLoadContactWithOldStyleUri() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | PduCache.java | 22 import android.net.Uri; 30 public final class PduCache extends AbstractCache<Uri, PduCacheEntry> { 74 private final SparseArray<HashSet<Uri>> mMessageBoxes; 75 private final SimpleArrayMap<Long, HashSet<Uri>> mThreads; 76 private final HashSet<Uri> mUpdating; 79 mMessageBoxes = new SparseArray<HashSet<Uri>>(); in PduCache() 80 mThreads = new SimpleArrayMap<Long, HashSet<Uri>>(); in PduCache() 81 mUpdating = new HashSet<Uri>(); in PduCache() 95 public synchronized boolean put(Uri uri, PduCacheEntry entry) { in put() 97 HashSet<Uri> msgBox = mMessageBoxes.get(msgBoxId); in put() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MessagingContentProvider.java | 25 import android.net.Uri; 64 public static final Uri CONVERSATIONS_URI = Uri.parse(CONTENT_AUTHORITY + CONVERSATIONS_QUERY); 65 static final Uri PARTS_URI = Uri.parse(CONTENT_AUTHORITY + DatabaseHelper.PARTS_TABLE); 70 static final Uri MESSAGES_URI = Uri.parse(CONTENT_AUTHORITY + MESSAGES_QUERY); 72 public static final Uri CONVERSATION_MESSAGES_URI = Uri.parse(CONTENT_AUTHORITY + 82 static final Uri CONVERSATION_PARTICIPANTS_URI = Uri.parse(CONTENT_AUTHORITY + 85 public static final Uri PARTICIPANTS_URI = Uri.parse(CONTENT_AUTHORITY + PARTICIPANTS_QUERY); 90 public static final Uri CONVERSATION_IMAGES_URI = Uri.parse(CONTENT_AUTHORITY + 95 public static final Uri DRAFT_IMAGES_URI = Uri.parse(CONTENT_AUTHORITY + 106 final Uri uri = Uri.parse(CONTENT_AUTHORITY); in notifyEverythingChanged() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 27 import android.net.Uri; 81 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleInsert() 94 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleUpdate() 116 Uri personId = mResolver.insert(People.CONTENT_URI, values); in testPeopleDelete() 152 Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testDefaultDisplayName() 158 final Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testPrimaryOrganization() 167 Uri orgUri1 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization() 174 Uri orgUri2 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization() 202 Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testPrimaryPhone() 211 Uri phoneUri1 = mResolver.insert(Phones.CONTENT_URI, values); in testPrimaryPhone() [all …]
|
D | ContactsProvider2Test.java | 34 import android.net.Uri; 136 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() 140 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() 141 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri() 153 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() 157 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() 158 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri() 169 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithoutDirectoryToLocalUri() 172 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithoutDirectoryToLocalUri() 173 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithoutDirectoryToLocalUri() [all …]
|
D | BaseContactsProvider2Test.java | 32 import android.net.Uri; 175 protected Uri setCallerIsSyncAdapter(Uri uri, Account account) { in setCallerIsSyncAdapter() 179 final Uri.Builder builder = uri.buildUpon(); in setCallerIsSyncAdapter() 186 protected int updateItem(Uri uri, long id, String... extras) { in updateItem() 187 Uri itemUri = ContentUris.withAppendedId(uri, id); in updateItem() 191 protected int updateItem(Uri uri, String... extras) { in updateItem() 218 final Uri uri = TestUtil.maybeAddAccountQueryParameters(Groups.CONTENT_URI, account); in createGroup() 240 protected Uri insertOrganization(long rawContactId, ContentValues values) { in insertOrganization() 244 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary) { in insertOrganization() 248 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary, in insertOrganization() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuardTest.java | 22 import android.net.Uri; 54 private static final Uri URI_CONTACTS_ID_PHOTO = 55 Uri.parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/photo"); 56 private static final Uri URI_CONTACTS_ID_DISPLAY_PHOTO = Uri 58 private static final Uri URI_CONTACTS_FILTER = 59 Uri.parse("content://com.android.contacts/contacts/filter/" + CONTACT_NAME); 60 private static final Uri URI_PHONES_FILTER = Uri 62 private static final Uri URI_CALLABLES_FILTER = Uri.parse( 64 private static final Uri URI_EMAILS_FILTER = Uri 66 private static final Uri URI_EMAILS_LOOKUP = [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | EmlAttachmentProvider.java | 29 import android.net.Uri; 81 private static Uri BASE_URI; 88 private Map<Uri, List<Uri>> mUriListMap; 93 private Map<Uri, Attachment> mUriAttachmentMap; 100 BASE_URI = new Uri.Builder().scheme("content").authority(authority).build(); in onCreate() 118 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 130 final List<Uri> attachmentUris = mUriListMap.get(uri); in query() 131 for (final Uri attachmentUri : attachmentUris) { in query() 144 final Uri attachmentsListUri = getListUriFromAttachmentUri(uri); in query() 148 final List<Uri> attachmentUris = mUriListMap.get(attachmentsListUri); in query() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 24 import android.net.Uri; 63 private static HashMap<Uri, Uri> sSessionsToContentUris = new HashMap<>(); 64 private static HashMap<Uri, Uri> sContentUrisToSessions = new HashMap<>(); 65 private static LruCache<Uri, Bitmap> sSessionsToPlaceholderBitmap = 67 new LruCache<Uri, Bitmap>(20 * 1024 * 1024) { 69 protected int sizeOf(Uri key, Bitmap value) { 73 private static HashMap<Uri, Point> sSessionsToSizes = new HashMap<>(); 74 private static HashMap<Uri, Integer> sSessionsToPlaceholderVersions = new HashMap<>(); 91 public static Uri addImage(ContentResolver resolver, String title, long date, in addImage() 120 public static Uri addImage(ContentResolver resolver, String title, long date, in addImage() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | JobErrorHandlingTest.java | 22 import android.net.Uri; 37 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecoversFromInvalidUri() 38 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecoversFromInvalidUri() 39 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecoversFromInvalidUri() 52 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecordsInvalidUris() 53 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecordsInvalidUris() 54 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecordsInvalidUris() 66 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testReportsCorrectFailureCount() 67 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testReportsCorrectFailureCount() 68 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testReportsCorrectFailureCount() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | NewOutgoingCallIntentBroadcasterTest.java | 43 import android.net.Uri; 123 Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(voicemailNumber)); in testVoicemailCall() 129 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(Uri.parse(voicemailNumber)), in testVoicemailCall() 136 badCallActionHelper(Uri.parse("voicemail:18005551234"), DisconnectCause.OUTGOING_CANCELED); in testVoicemailCallWithBadAction() 142 badCallActionHelper(Uri.parse("tel:6505551234"), DisconnectCause.INVALID_NUMBER); in testTelCallWithBadCallAction() 148 badCallActionHelper(Uri.parse("sip:testuser@testsite.com"), DisconnectCause.INVALID_NUMBER); in testSipCallWithBadCallAction() 151 private void badCallActionHelper(Uri handle, int expectedCode) { in badCallActionHelper() 164 Uri handle = Uri.parse("tel:6505551234"); in testAlreadyDisconnectedCall() 179 Uri handle = Uri.parse("tel:"); in testNoNumberSupplied() 192 Uri handle = Uri.parse("tel:6505551911"); in testEmergencyCallWithNonDefaultDialer() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockContentProvider.java | 23 import android.net.Uri; 46 private final Uri mUri; 71 public Query(Uri uri) { in Query() 136 public boolean equals(Uri uri, String[] projection, String selection, in equals() 208 private final Uri mUri; 211 public TypeQuery(Uri uri, String type) { in TypeQuery() 216 public Uri getUri() { in getUri() 229 public boolean equals(Uri uri) { in equals() 235 private final Uri mUri; 237 private final Uri mResultUri; [all …]
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreference.java | 21 import android.net.Uri; 59 public boolean isValidEmergencyContact(Context context, Uri phoneUri) { 67 private List<Uri> mEmergencyContacts = new ArrayList<Uri>(); 81 boolean isValidEmergencyContact(Context context, Uri phoneUri); in isValidEmergencyContact() 124 Uri phoneUriToRemove = contactPreference.getPhoneUri(); in onRemoveContactPreference() 126 List<Uri> updatedContacts = new ArrayList<Uri>(mEmergencyContacts); in onRemoveContactPreference() 139 public void addNewEmergencyContact(Uri phoneUri) { in addNewEmergencyContact() 148 List<Uri> updatedContacts = new ArrayList<Uri>(mEmergencyContacts); in addNewEmergencyContact() 156 public List<Uri> getEmergencyContacts() { in getEmergencyContacts() 160 public void setEmergencyContacts(List<Uri> emergencyContacts) { in setEmergencyContacts() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | SQLiteContentProvider.java | 28 import android.net.Uri; 44 private Set<Uri> mChangedUris; 58 mChangedUris = new HashSet<Uri>(); in onCreate() 76 public abstract Uri insertInTransaction(Uri uri, ContentValues values, in insertInTransaction() 83 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, in updateInTransaction() 90 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, in deleteInTransaction() 97 protected void postNotifyUri(Uri uri) { in postNotifyUri() 103 public boolean isCallerSyncAdapter(Uri uri) { in isCallerSyncAdapter() 116 public Uri insert(Uri uri, ContentValues values) { in insert() 117 Uri result = null; in insert() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 31 import android.net.Uri; 74 final Uri rootsUri = buildRootsUri(mAuthority); in getRoot() 91 public Uri createDocument(Uri parentUri, String mimeType, String name) { in createDocument() 96 Uri uri = DocumentsContract.createDocument(wrap(mClient), parentUri, mimeType, name); in createDocument() 104 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() 105 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument() 109 public Uri createDocument(RootInfo root, String mimeType, String name) { in createDocument() 113 public Uri createDocumentWithFlags(String documentId, String mimeType, String name, int flags, in createDocumentWithFlags() 124 Uri uri = out.getParcelable(DocumentsContract.EXTRA_URI); in createDocumentWithFlags() 128 public Uri createFolder(Uri parentUri, String name) { in createFolder() [all …]
|