Home
last modified time | relevance | path

Searched defs:uri (Results 1 – 25 of 900) sorted by relevance

12345678910>>...36

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUriUtils.java102 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + SCHEME_DELIMITER in getAndroidResourceUri() local
110 public static boolean isAndroidResourceUri(Uri uri) { in isAndroidResourceUri()
119 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() local
130 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() local
142 public static boolean isAccountImageUri(Uri uri) { in isAccountImageUri()
149 public static String getAccountName(Uri uri) { in getAccountName()
161 public static Uri getAccountImageChangeNotifyUri(Uri uri) { in getAccountImageChangeNotifyUri()
178 public static boolean isContentUri(Uri uri) { in isContentUri()
186 public static boolean isShortcutIconResourceUri(Uri uri) { in isShortcutIconResourceUri()
193 public static ShortcutIconResource getIconResource(Uri uri) { in getIconResource()
[all …]
/packages/apps/Camera2/src/com/android/camera/session/
DSessionNotifier.java28 public void notifyTaskQueued(final Uri uri); in notifyTaskQueued()
31 public void notifyTaskDone(final Uri uri); in notifyTaskDone()
34 public void notifyTaskFailed(final Uri uri, final int failureMessageId, in notifyTaskFailed()
38 public void notifyTaskCanceled(final Uri uri); in notifyTaskCanceled()
41 public void notifyTaskProgress(final Uri uri, final int progressPercent); in notifyTaskProgress()
44 public void notifyTaskProgressText(final Uri uri, final int messageId); in notifyTaskProgressText()
47 public void notifySessionUpdated(final Uri uri); in notifySessionUpdated()
DCaptureSessionManagerImpl.java69 public void notifyTaskQueued(final Uri uri) { in notifyTaskQueued()
87 public void notifyTaskDone(final Uri uri) { in notifyTaskDone()
106 public void notifyTaskFailed(final Uri uri, final int failureMessageId, in notifyTaskFailed()
122 public void notifyTaskCanceled(final Uri uri) { in notifyTaskCanceled()
141 public void notifyTaskProgress(final Uri uri, final int progressPercent) { in notifyTaskProgress()
159 public void notifyTaskProgressText(final Uri uri, final int messageId) { in notifyTaskProgressText()
177 public void notifySessionUpdated(final Uri uri) { in notifySessionUpdated()
325 public boolean hasErrorMessage(Uri uri) { in hasErrorMessage()
330 public int getErrorMessageId(Uri uri) { in getErrorMessageId()
339 public void removeErrorMessage(Uri uri) { in removeErrorMessage()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java111 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testInsert() local
124 Uri uri = mResolver.insert(voicemailUri(), values); in testInsertReadMessageIsNotNew() local
157 Uri uri = insertVoicemail(); in testFileContent() local
175 Uri uri = insertVoicemail(); in testUpdate() local
197 final Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testUpdateOwnPackageVoicemail_NotDirty() local
212 final Uri uri = insertVoicemailForSourcePackage("another-package"); in testUpdateOtherPackageCallLog_NotDirty() local
232 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus() local
246 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty() local
262 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_notDirty() local
278 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_noOtherValues() local
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DRcsProviderMessageHelper.java413 Cursor queryUnifiedMessageWithId(Uri uri) { in queryUnifiedMessageWithId()
417 Cursor queryUnifiedMessageWithIdInThread(Uri uri) { in queryUnifiedMessageWithIdInThread()
427 Cursor queryIncomingMessageWithId(Uri uri) { in queryIncomingMessageWithId()
437 Cursor queryOutgoingMessageWithId(Uri uri) { in queryOutgoingMessageWithId()
447 Cursor queryAllMessagesOnThread(Uri uri, String selection, String[] selectionArgs) { in queryAllMessagesOnThread()
454 Uri insertMessageOnThread(Uri uri, ContentValues valuesParameter, boolean isIncoming, in insertMessageOnThread()
530 long insertMessageDelivery(Uri uri, ContentValues values) { in insertMessageDelivery()
546 int updateDelivery(Uri uri, ContentValues contentValues) { in updateDelivery()
556 int deleteIncomingMessageWithId(Uri uri) { in deleteIncomingMessageWithId()
565 int deleteOutgoingMessageWithId(Uri uri) { in deleteOutgoingMessageWithId()
[all …]
DRcsProviderEventHelper.java184 long insertParticipantEvent(Uri uri, ContentValues values) { in insertParticipantEvent()
199 long insertParticipantJoinedEvent(Uri uri, ContentValues values) { in insertParticipantJoinedEvent()
203 long insertParticipantLeftEvent(Uri uri, ContentValues values) { in insertParticipantLeftEvent()
207 long insertThreadNameChangeEvent(Uri uri, ContentValues values) { in insertThreadNameChangeEvent()
211 long insertThreadIconChangeEvent(Uri uri, ContentValues values) { in insertThreadIconChangeEvent()
215 private long insertGroupThreadEvent(Uri uri, ContentValues valuesParameter, in insertGroupThreadEvent()
232 int deleteParticipantEvent(Uri uri) { in deleteParticipantEvent()
240 int deleteGroupThreadEvent(Uri uri) { in deleteGroupThreadEvent()
247 private String getEventIdFromEventUri(Uri uri) { in getEventIdFromEventUri()
251 private String getParticipantIdFromUri(Uri uri) { in getParticipantIdFromUri()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContentProvider.java39 private final String uri; field in FakeContentProvider.ContentOverride
45 ContentOverride(final String uri, final String where, final String args, in ContentOverride()
54 boolean match(final String uri, final String where, final String[] args) { in match()
73 public FakeContentProvider(final Context context, final Uri uri, final boolean canDelegate) { in FakeContentProvider()
88 public void addOverrideData(final Uri uri, final String where, final String args, in addOverrideData()
93 public void addOverrideType(final Uri uri, final String type) { in addOverrideType()
110 public Cursor query(final Uri uri, final String[] projection, final String selection, in query()
142 public String getType(final Uri uri) { in getType()
155 public Uri insert(final Uri uri, final ContentValues values) { in insert()
161 public int delete(final Uri uri, final String selection, final String[] selectionArgs) { in delete()
[all …]
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/
DNaughtySuggestionProvider.java38 public String getType(Uri uri) { in getType()
43 public Uri insert(Uri uri, ContentValues values) { in insert()
48 public int update(Uri uri, ContentValues values, String selection, in update()
54 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
59 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) { in openTypedAssetFile()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/
DCrashingIconProvider.java42 public ParcelFileDescriptor openFile(Uri uri, String mode) { in openFile()
48 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
54 public String getType(Uri uri) { in getType()
60 public Uri insert(Uri uri, ContentValues values) { in insert()
66 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
73 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/providers/BookmarkProvider/src/com/android/bookmarkstore/
DBookmarkProvider.java39 public String getType(Uri uri) { in getType()
44 public Uri insert(Uri uri, ContentValues values) { in insert()
49 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
59 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DNullContentProvider.java31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
37 public String getType(Uri uri) { in getType()
42 public Uri insert(Uri uri, ContentValues values) { in insert()
47 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
52 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaAssetProvider.java41 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile()
61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
67 public String getType(Uri uri) { in getType()
72 public Uri insert(Uri uri, ContentValues values) { in insert()
77 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
82 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDumpFileProvider.java45 public Uri insert(Uri uri, ContentValues values) { in insert()
51 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
57 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
63 public String getType(Uri uri) { in getType()
68 private static String extractFileName(Uri uri) { in extractFileName()
75 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
91 public Cursor query(Uri uri, String[] inProjection, String selection, String[] selectionArgs, in query()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStitchingChangeListener.java22 public void onStitchingQueued(Uri uri); in onStitchingQueued()
24 public void onStitchingResult(Uri uri); in onStitchingResult()
26 public void onStitchingProgress(Uri uri, int progress); in onStitchingProgress()
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/
DSpammySuggestionProvider.java46 public Cursor query(Uri uri, String[] projectionIn, String selection, in query()
64 public String getType(Uri uri) { in getType()
69 public Uri insert(Uri uri, ContentValues values) { in insert()
74 public int update(Uri uri, ContentValues values, String selection, in update()
80 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
/packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/
DSlowSuggestionProvider.java46 public Cursor query(Uri uri, String[] projectionIn, String selection, in query()
70 public String getType(Uri uri) { in getType()
75 public Uri insert(Uri uri, ContentValues values) { in insert()
80 public int update(Uri uri, ContentValues values, String selection, in update()
86 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java53 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
93 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
99 public String getType(Uri uri) { in getType()
104 public Uri insert(Uri uri, ContentValues values) { in insert()
109 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
114 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DMmsFileProvider.java54 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
61 public Uri insert(Uri uri, ContentValues values) { in insert()
67 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
73 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
79 public String getType(Uri uri) { in getType()
85 public ParcelFileDescriptor openFile(Uri uri, String fileMode) throws FileNotFoundException { in openFile()
108 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, in writeDataToPipe()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DAudioPlayerActivity.java50 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in start() local
60 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, in start() local
71 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, in start() local
82 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, in start() local
93 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start() local
104 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start() local
134 Uri uri = intent.getData(); in handleIntent() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestCommandReceiver.java57 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
62 public String getType(Uri uri) { in getType()
67 public Uri insert(Uri uri, ContentValues values) { in insert()
72 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
78 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
112 Uri uri = Uri.parse("content://" + inst.getContext().getPackageName() + ".commands"); in callCommand() local
117 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/packages/apps/Settings/src/com/android/settings/backup/
DBackupSettingsContentProvider.java39 public Bundle call(String method, String uri, Bundle extras) { in call()
55 …public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String… in query()
60 public String getType(Uri uri) { in getType()
65 public Uri insert(Uri uri, ContentValues values) { in insert()
70 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
75 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/backup/
DBackupSettingsContentProvider.java39 public Bundle call(String method, String uri, Bundle extras) { in call()
55 …public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String… in query()
60 public String getType(Uri uri) { in getType()
65 public Uri insert(Uri uri, ContentValues values) { in insert()
70 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
75 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java71 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()
114 public static boolean isLocalUri(@NonNull final Uri uri) { in isLocalUri()
124 public static boolean isMediaStoreUri(final Uri uri) { in isMediaStoreUri()
137 public static long getContentSize(final Uri uri) { in getContentSize()
163 public static int getMediaDurationMs(final Uri uri) { in getMediaDurationMs()
309 public static boolean isSmsMmsUri(final Uri uri) { in isSmsMmsUri()
321 public static String[] parseRecipientsFromSmsMmsUri(final Uri uri) { in parseRecipientsFromSmsMmsUri()
[all …]
/packages/apps/Gallery2/src/com/android/photos/data/
DSQLiteContentProvider.java76 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()
138 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert()
159 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
183 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
258 protected void notifyChange(ContentResolver resolver, Uri uri, boolean syncToNetwork) { in notifyChange()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickCountRecordStorage.java26 int getPickCountRecord(Context context, Uri uri); in getPickCountRecord()
27 void setPickCountRecord(Context context, Uri uri, int pickCount); in setPickCountRecord()
28 int increasePickCountRecord(Context context, Uri uri); in increasePickCountRecord()
35 public int getPickCountRecord(Context context, Uri uri) { in create()
53 public void setPickCountRecord(Context context, Uri uri, int pickCount) { in create()
59 public int increasePickCountRecord(Context context, Uri uri) { in create()

12345678910>>...36