Home
last modified time | relevance | path

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

12345678910>>...46

/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/provider/
DBaseQCProvider.java66 Uri uri = getUriWithoutUserId(validateIncomingUriOrNull( in call() local
88 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
94 public String getType(Uri uri) { in getType()
99 public Uri insert(Uri uri, ContentValues values) { in insert()
104 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
109 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
122 protected QCItem onBind(@NonNull Uri uri) { in onBind()
133 protected void onSubscribed(@NonNull Uri uri) { in onSubscribed()
142 protected void onUnsubscribed(@NonNull Uri uri) { in onUnsubscribed()
151 protected void onDestroy(@NonNull Uri uri) { in onDestroy()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java112 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testInsert() local
125 Uri uri = mResolver.insert(voicemailUri(), values); in testInsertReadMessageIsNotNew() local
158 Uri uri = insertVoicemail(); in testFileContent() local
176 Uri uri = insertVoicemail(); in testUpdate() local
198 final Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testUpdateOwnPackageVoicemail_NotDirty() local
213 final Uri uri = insertVoicemailForSourcePackage("another-package"); in testUpdateOtherPackageCallLog_NotDirty() local
233 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus() local
247 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_dirty() local
263 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_notDirty() local
279 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_retainDirtyStatus_noOtherValues() local
[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/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/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageContentProvider.java129 public Cursor query( in query()
157 public String getType(@NonNull Uri uri) { in getType()
163 public Uri insert(@NonNull Uri uri, @Nullable ContentValues contentValues) { in insert()
192 public int delete(@NonNull Uri uri, @Nullable String s, @Nullable String[] strings) { in delete()
197 public int update( in update()
205 private Cursor getLastFullChargeTimestamp(Uri uri) { in getLastFullChargeTimestamp()
220 private Cursor getBatteryStateLatestTimestamp(Uri uri) { in getBatteryStateLatestTimestamp()
237 private Cursor getBatteryStates(Uri uri) { in getBatteryStates()
254 private Cursor getAppUsageEvents(Uri uri) { in getAppUsageEvents()
271 private Cursor getAppUsageLatestTimestamp(Uri uri) { in getAppUsageLatestTimestamp()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCProvider.java53 public QCItem onBind(Uri uri) { in onBind()
62 public void onSubscribed(Uri uri) { in onSubscribed()
71 public void onUnsubscribed(Uri uri) { in onUnsubscribed()
76 public void onDestroy(Uri uri) { in onDestroy()
85 private SettingsQCItem getQCItemFromUri(Context context, Uri uri) { in getQCItemFromUri()
98 private void startBackgroundWorker(SettingsQCItem qcItem, Uri uri) { in startBackgroundWorker()
115 private void stopBackgroundWorker(Uri uri) { in stopBackgroundWorker()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DDelegatorTest.java70 final Uri uri = createAudio(); in testPushAllowed() local
86 final Uri uri = createAudio(); in testOrphanedAllowed() local
103 final Uri uri = createAudio(); in testPullBlocked() local
121 final Uri uri = mResolver.insert(mExternalAudio, values); in createAudio() local
127 private String getOwner(Uri uri) throws Exception { in getOwner()
135 public static void setOwner(Uri uri, String packageName) throws Exception { in setOwner()
143 public static void clearOwner(Uri uri) throws Exception { in clearOwner()
/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/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/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java87 public static boolean isBluetoothShareUri(Uri uri) { in isBluetoothShareUri()
95 public static BluetoothOppTransferInfo queryRecord(Context context, Uri uri) { in queryRecord()
198 Context context, String fileName, String mimetype, Long timeStamp, Uri uri) { in openReceivedFile()
260 .contentResolverDelete(context.getContentResolver(), uri, null, null); in openReceivedFile() local
290 static boolean fileExists(Context context, Uri uri) { in fileExists()
296 .contentResolverOpenFileDescriptor(resolver, uri, readOnlyMode)) { in fileExists() argument
329 public static void updateVisibilityToHidden(Context context, Uri uri) { in updateVisibilityToHidden()
333 .contentResolverUpdate(context.getContentResolver(), uri, updateValues, null, null); in updateVisibilityToHidden() local
434 static Uri originalUri(Uri uri) { in originalUri()
445 static Uri generateUri(Uri uri, BluetoothOppSendFileInfo sendFileInfo) { in generateUri()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DMmsFileProvider.java59 Uri uri, in query()
69 public Uri insert(Uri uri, ContentValues values) { in insert()
75 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
81 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
87 public String getType(Uri uri) { in getType()
93 public ParcelFileDescriptor openFile(Uri uri, String fileMode) throws FileNotFoundException { in openFile()
118 ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, Cursor c) { in writeDataToPipe()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/
DCrashingIconProvider.java44 public ParcelFileDescriptor openFile(Uri uri, String mode) { in openFile()
50 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
59 public String getType(Uri uri) { in getType()
65 public Uri insert(Uri uri, ContentValues values) { in insert()
71 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()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java74 public static String getFilePathFromUri(final Uri uri) { in getFilePathFromUri()
84 public static boolean isLocalResourceUri(final Uri uri) { in isLocalResourceUri()
94 public static boolean isBugleAppResource(final Uri uri) { in isBugleAppResource()
100 public static boolean isFileUri(final Uri uri) { in isFileUri()
120 public static boolean isLocalUri(@NonNull final Uri uri) { in isLocalUri()
130 public static boolean isMediaStoreUri(final Uri uri) { in isMediaStoreUri()
155 public static long getContentSize(final Uri uri) { in getContentSize()
181 public static int getMediaDurationMs(final Uri uri) { in getMediaDurationMs()
346 public static boolean isSmsMmsUri(final Uri uri) { in isSmsMmsUri()
357 public static String parseRecipientsFromSmsMmsUri(final Uri uri) { in parseRecipientsFromSmsMmsUri()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java130 public ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal, in openFile()
155 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts, in openTypedAssetFile()
214 public Cursor query(Uri uri, String[] projection, int callingPid, int callingUid, in query()
228 private Cursor queryInternal(Uri uri, String[] projection) { in queryInternal()
245 public String getType(@NonNull Uri uri, int callingPid, int callingUid) { in getType()
288 private ParcelFileDescriptor openPickerFile(Uri uri) in openPickerFile()
298 File getPickerFileFromUri(Uri uri) { in getPickerFileFromUri()
313 Cursor queryPickerUri(Uri uri, String[] projection) { in queryPickerUri()
320 private String getPickerSegmentType(Uri uri) { in getPickerSegmentType()
346 public static Uri wrapProviderUri(Uri uri, String action, int userId) { in wrapProviderUri()
[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/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTestCommandProvider.java55 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
60 public String getType(Uri uri) { in getType()
65 public Uri insert(Uri uri, ContentValues values) { in insert()
70 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
76 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
117 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java123 protected int enforceReadPermissionInner(Uri uri, in enforceReadPermissionInner()
133 protected int enforceWritePermissionInner(Uri uri, in enforceWritePermissionInner()
168 public String getType(Uri uri) { in getType()
180 public Uri insert(Uri uri, ContentValues values) { in insert()
191 public int bulkInsert(@NonNull Uri uri, @NonNull ContentValues[] values) { in bulkInsert()
197 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
214 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
230 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
245 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
293 private UriData(Uri uri, VoicemailUriType uriType, String id, String sourcePackage) { in UriData()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DConnectedDevicesSliceUtils.java53 static String getDeviceAddr(Uri uri) { in getDeviceAddr()
60 static boolean isGeneralPath(Uri uri) { in isGeneralPath()
64 static boolean isBluetoothDevicePath(Uri uri) { in isBluetoothDevicePath()
68 static boolean isFindMyRemotePath(Uri uri) { in isFindMyRemotePath()
73 static boolean isSliceProviderValid(Context context, String uri) { in isSliceProviderValid()
92 private static String getFirstSegment(Uri uri) { in getFirstSegment()
99 static void notifyToGoBack(Context context, Uri uri) { in notifyToGoBack()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/common/
DApplicationContextProvider.java37 Uri uri, in query()
46 public String getType(Uri uri) { in getType()
51 public Uri insert(Uri uri, ContentValues values) { in insert()
56 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
61 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/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DWebAddresses.java40 public static Optional<Uri> topPrivateDomainAndScheme(Uri uri) { in topPrivateDomainAndScheme()
51 public static Optional<Uri> originAndScheme(Uri uri) { in originAndScheme()
63 private static Optional<Uri> domainAndScheme(Uri uri, boolean useOrigin) { in domainAndScheme()
100 public static boolean isLocalhost(Uri uri) { in isLocalhost()
111 public static boolean isLocalhostIp(Uri uri) { in isLocalhostIp()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
41 public String getType(Uri uri) { in getType()
46 public Uri insert(Uri uri, ContentValues values) { in insert()
51 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DAudioPlayerActivity.java53 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in start() local
63 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, in start() local
74 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, in start() local
85 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, in start() local
96 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start() local
107 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start() local
145 Uri uri = intent.getData(); in handleIntent() local

12345678910>>...46