Home
last modified time | relevance | path

Searched defs:uri (Results 26 – 50 of 430) sorted by relevance

12345678910>>...18

/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpProvider.java48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
54 public String getType(Uri uri) { in getType()
59 public Uri insert(Uri uri, ContentValues values) { in insert()
64 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
71 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
76 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/frameworks/base/core/tests/coretests/src/android/content/
DRedactingProvider.java32 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
71 public String getType(Uri uri) { in getType()
76 public Uri insert(Uri uri, ContentValues values) { in insert()
81 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
86 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
DMemoryFileProviderTest.java39 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/data/1/blob"); in testRead() local
57 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/huge"); in testClose() local
72 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/file"); in testFile() local
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DSingleUserProvider.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()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsTempFileProvider.java53 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query()
60 public String getType(@NonNull Uri uri) { in getType()
66 public Uri insert(@NonNull Uri uri, @Nullable ContentValues values) { in insert()
71 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
77 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String in update()
83 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
145 public static File getFileForUri(Context context, String authority, Uri uri) in getFileForUri()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java77 public void doErrorTest(Uri uri, int error) throws Exception { in doErrorTest()
161 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToExternal_fileExists() local
198 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToExternal() local
229 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToProhibitedDirectory() local
270 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorTooManyRedirects() local
286 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorUnhandledHttpCode() local
297 Uri uri = getServerUri(DEFAULT_FILENAME); in testRelativeRedirect() local
348 Uri uri = getServerUri(DEFAULT_FILENAME); in testSetTitle() local
377 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadNoWifi() local
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java76 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, in query()
96 public ParcelFileDescriptor openFile(Uri uri, String mode) { in openFile()
106 public String getType(@NonNull Uri uri) { in getType()
111 public Uri insert(@NonNull Uri uri, @Nullable ContentValues values) { in insert()
116 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
122 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String selection, in update()
/frameworks/base/media/java/android/media/
DIRingtonePlayer.aidl31 … oneway void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); in play()
32 oneway void playWithVolumeShaping(IBinder token, in Uri uri, in AudioAttributes aa, in playWithVolumeShaping()
39 oneway void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa); in playAsync()
43 String getTitle(in Uri uri); in getTitle()
45 ParcelFileDescriptor openRingtone(in Uri uri); in openRingtone()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockOptionsProviderTest.java80 Uri uri = new Uri.Builder() in testGetType_listOptions() local
90 Uri uri = new Uri.Builder() in testGetType_preview() local
101 Uri uri = new Uri.Builder() in testGetType_thumbnail() local
164 Uri uri = new Uri.Builder() in testOpenFile_preview() local
180 Uri uri = new Uri.Builder() in testOpenFile_thumbnail() local
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java270 public @NonNull Collection<Uri> onGetSliceDescendants(@NonNull Uri uri) { in onGetSliceDescendants()
310 public final int update(Uri uri, ContentValues values, String selection, in update()
317 public final int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
323 public final Cursor query(Uri uri, String[] projection, String selection, in query()
330 public final Cursor query(Uri uri, String[] projection, String selection, String[] in query()
337 public final Cursor query(Uri uri, String[] projection, Bundle queryArgs, in query()
344 public final Uri insert(Uri uri, ContentValues values) { in insert()
350 public final String getType(Uri uri) { in getType()
358 Uri uri = getUriWithoutUserId(validateIncomingUriOrNull( in call() local
392 Uri uri = getUriWithoutUserId(validateIncomingUriOrNull( in call() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSliceBroadcastRelayHandler.java53 Uri uri = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_URI); in handleIntent() local
60 Uri uri = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_URI); in handleIntent() local
69 private BroadcastRelay getOrCreateRelay(Uri uri) { in getOrCreateRelay()
78 private BroadcastRelay getAndRemoveRelay(Uri uri) { in getAndRemoveRelay()
95 public BroadcastRelay(Uri uri) { in BroadcastRelay()
/frameworks/base/tests/testables/src/android/testing/
DTestablePermissions.java47 public void setPermission(Uri uri, int value) { in setPermission()
56 boolean wantsCall(Uri uri) { in wantsCall()
64 int check(Uri uri, int modeFlags) { in check()
75 public void enforce(Uri uri, int modeFlags) { in enforce()
/frameworks/base/core/java/android/database/
DContentObserver.java131 public void onChange(boolean selfChange, Uri uri) { in onChange()
146 public void onChange(boolean selfChange, Uri uri, int userId) { in onChange()
179 public final void dispatchChange(boolean selfChange, Uri uri) { in dispatchChange()
196 private void dispatchChange(boolean selfChange, Uri uri, int userId) { in dispatchChange()
210 public NotificationRunnable(boolean selfChange, Uri uri, int userId) { in NotificationRunnable()
230 public void onChange(boolean selfChange, Uri uri, int userId) { in onChange()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockOptionsProvider.java85 public String getType(Uri uri) { in getType()
95 public Cursor query(Uri uri, String[] projection, String selection, in query()
116 public Uri insert(Uri uri, ContentValues initialValues) { in insert()
121 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
126 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
131 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
176 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, in writeDataToPipe()
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java71 protected abstract Uri insertInTransaction(Uri uri, ContentValues values); in insertInTransaction()
76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, in updateInTransaction()
82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); in deleteInTransaction()
95 public Uri insert(Uri uri, ContentValues values) { in insert()
122 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert()
148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
176 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInlineImageResolver.java75 Drawable resolveImage(Uri uri) throws IOException { in resolveImage()
80 public Drawable loadImage(Uri uri) { in loadImage()
170 Drawable get(Uri uri); in get()
183 boolean hasEntry(Uri uri); in hasEntry()
189 void preload(Uri uri); in preload()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java148 Uri uri = state.getUri(); in getPinnedSlices() local
160 public void pinSlice(String pkg, Uri uri, SliceSpec[] specs, IBinder token) in pinSlice()
179 public void unpinSlice(String pkg, Uri uri, IBinder token) throws RemoteException { in unpinSlice()
195 public SliceSpec[] getPinnedSpecs(Uri uri, String pkg) throws RemoteException { in getPinnedSpecs()
203 public void grantSlicePermission(String pkg, String toPkg, Uri uri) throws RemoteException { in grantSlicePermission()
211 public void revokeSlicePermission(String pkg, String toPkg, Uri uri) throws RemoteException { in revokeSlicePermission()
219 public int checkSlicePermission(Uri uri, String callingPkg, String pkg, int pid, int uid, in checkSlicePermission()
258 public void grantPermissionFromUser(Uri uri, String pkg, String callingPkg, boolean allSlices) { in grantPermissionFromUser()
339 private void enforceOwner(String pkg, Uri uri, int user) { in enforceOwner()
345 protected void removePinnedSlice(Uri uri) { in removePinnedSlice()
[all …]
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java115 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
195 public String getType(Uri uri) { in getType()
212 public final Uri insert(Uri uri, ContentValues values) { in insert()
220 public final int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
229 Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DFakeOverrideContentProvider.java143 Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
149 public String getType(Uri uri) { in getType()
154 public Uri insert(Uri uri, ContentValues values) { in insert()
159 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
164 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java196 Uri uri = null; in parseInsertCommand() local
222 Uri uri = null; in parseDeleteCommand() local
244 Uri uri = null; in parseUpdateCommand() local
276 Uri uri = null; in parseCallCommand() local
305 Uri uri = null; in parseGetTypeCommand() local
325 Uri uri = null; in parseReadCommand() local
344 Uri uri = null; in parseWriteCommand() local
363 Uri uri = null; in parseQueryCommand() local
451 public Command(Uri uri, int userId) { in Command()
504 public InsertCommand(Uri uri, int userId, ContentValues contentValues) { in InsertCommand()
[all …]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java86 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
94 public String getType(Uri uri) { in getType()
99 public Uri insert(Uri uri, ContentValues values) { in insert()
111 public Cursor query(Uri uri, String[] projection, String selection, in query()
122 public int update(Uri uri, ContentValues values, String selection, in update()
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DSampleProvider.java37 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
43 public String getType(Uri uri) { in getType()
49 public Uri insert(Uri uri, ContentValues values) { in insert()
61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
151 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFakeProviderWithAsserts.java48 ExpectedQuery(Uri uri, String[] projection, String whereClause, String[] whereArgs, in ExpectedQuery()
64 ExpectedInsert(Uri uri, ContentValues contentValues, Uri returnValue) { in ExpectedInsert()
78 ExpectedUpdate(Uri uri, String whereClause, String[] whereArgs, in ExpectedUpdate()
102 public Cursor query(Uri uri, String[] projection, String whereClause, String[] whereArgs, in query()
114 public Uri insert(Uri uri, ContentValues contentValues) { in insert()
122 public int update(Uri uri, ContentValues contentValues, String whereClause, in update()
/frameworks/base/core/java/android/content/
DEntity.java51 public void addSubValue(Uri uri, ContentValues values) { in addSubValue()
56 public final Uri uri; field in Entity.NamedContentValues
59 public NamedContentValues(Uri uri, ContentValues values) { in NamedContentValues()
DSearchRecentSuggestionsProvider.java227 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
251 public String getType(Uri uri) { in getType()
274 public Uri insert(Uri uri, ContentValues values) { in insert()
321 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
344 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local
386 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local
395 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()

12345678910>>...18