Home
last modified time | relevance | path

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

12345678910>>...34

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUriUtils.java59 public static boolean isEmpty(@Nullable Uri uri) { in isEmpty()
111 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + SCHEME_DELIMITER in getAndroidResourceUri() local
119 public static boolean isAndroidResourceUri(Uri uri) { in isAndroidResourceUri()
128 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() local
139 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() local
151 public static boolean isAccountImageUri(Uri uri) { in isAccountImageUri()
158 public static String getAccountName(Uri uri) { in getAccountName()
170 public static Uri getAccountImageChangeNotifyUri(Uri uri) { in getAccountImageChangeNotifyUri()
188 public static String getPackageName(Context context, Uri uri) { in getPackageName()
199 public static boolean isContentUri(Uri uri) { in isContentUri()
[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/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/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/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/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/Car/libs/car-ui-lib/src/com/android/car/ui/core/
DCarUiInstaller.java77 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, in query()
84 public String getType(@NonNull Uri uri) { in getType()
90 public Uri insert(@NonNull Uri uri, @Nullable ContentValues values) { in insert()
95 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
101 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String selection, in update()
/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/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/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/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/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/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/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/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestCommandReceiver.java59 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
64 public String getType(Uri uri) { in getType()
69 public Uri insert(Uri uri, ContentValues values) { in insert()
74 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
80 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
121 Uri uri = Uri.parse("content://" + inst.getContext().getPackageName() + ".commands"); in callCommand() local
126 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/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()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationProvider.java34 public int update(Uri uri, ContentValues contentValues, String s, String[] strings) { in update()
39 public int delete(Uri uri, String s, String[] strings) { in delete()
44 public Uri insert(Uri uri, ContentValues contentValues) { in insert()
49 public String getType(Uri uri) { in getType()
54 public Cursor query(Uri uri, String[] strings, String s, String[] strings1, String s1) { in query()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DCardContentProvider.java73 public Uri insert(Uri uri, ContentValues values) { in insert()
80 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert()
112 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
117 public String getType(Uri uri) { in getType()
122 public Cursor query(Uri uri, String[] projection, String selection, in query()
136 cursor.setNotificationUri(getContext().getContentResolver(), uri); in query() local
144 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
161 String getTableFromMatch(Uri uri) { in getTableFromMatch()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DCardContentProvider.java73 public Uri insert(Uri uri, ContentValues values) { in insert()
80 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert()
112 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
117 public String getType(Uri uri) { in getType()
122 public Cursor query(Uri uri, String[] projection, String selection, in query()
136 cursor.setNotificationUri(getContext().getContentResolver(), uri); in query() local
144 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
161 String getTableFromMatch(Uri uri) { in getTableFromMatch()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java72 public static String getFilePathFromUri(final Uri uri) { in getFilePathFromUri()
82 public static boolean isLocalResourceUri(final Uri uri) { in isLocalResourceUri()
92 public static boolean isBugleAppResource(final Uri uri) { in isBugleAppResource()
97 public static boolean isFileUri(final Uri uri) { in isFileUri()
115 public static boolean isLocalUri(@NonNull final Uri uri) { in isLocalUri()
125 public static boolean isMediaStoreUri(final Uri uri) { in isMediaStoreUri()
150 public static long getContentSize(final Uri uri) { in getContentSize()
176 public static int getMediaDurationMs(final Uri uri) { in getMediaDurationMs()
322 public static boolean isSmsMmsUri(final Uri uri) { in isSmsMmsUri()
333 public static String parseRecipientsFromSmsMmsUri(final Uri uri) { in parseRecipientsFromSmsMmsUri()
[all …]

12345678910>>...34