/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaService.java | 114 try (ContentProviderClient cpc = getContentResolver() in onLocaleChanged() argument 116 ((MediaProvider) cpc.getLocalContentProvider()).onLocaleChanged(); in onLocaleChanged() 121 try (ContentProviderClient cpc = getContentResolver() in onPackageOrphaned() argument 123 ((MediaProvider) cpc.getLocalContentProvider()).onPackageOrphaned(packageName, uid); in onPackageOrphaned() 132 try (ContentProviderClient cpc = context.getContentResolver() in onMediaMountedBroadcast() argument 134 if (!((MediaProvider)cpc.getLocalContentProvider()).isVolumeAttached(mediaVolume)) { in onMediaMountedBroadcast() 186 try (ContentProviderClient cpc = context.getContentResolver() in onScanVolume() argument 188 final MediaProvider provider = ((MediaProvider) cpc.getLocalContentProvider()); in onScanVolume() 191 final ContentResolver resolver = ContentResolver.wrap(cpc.getLocalContentProvider()); in onScanVolume() 222 try (ContentProviderClient cpc = context.getContentResolver() in onScanFile() argument [all …]
|
D | IdleService.java | 41 try (ContentProviderClient cpc = getContentResolver() in onStartJob() argument 43 ((MediaProvider) cpc.getLocalContentProvider()).onIdleMaintenance(mSignal); in onStartJob() 54 try (ContentProviderClient cpc = getContentResolver() in onStopJob() argument 56 ((MediaProvider) cpc.getLocalContentProvider()).onIdleMaintenanceStopped(); in onStopJob()
|
D | MediaUpgradeReceiver.java | 96 try (ContentProviderClient cpc = in getMediaProvider() argument 99 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadReceiver.java | 138 try (ContentProviderClient cpc = context.getContentResolver() in handleRemovedUidEntries() argument 140 Helpers.handleRemovedUidEntries(context, cpc.getLocalContentProvider(), in handleRemovedUidEntries() 151 try (ContentProviderClient cpc = context.getContentResolver() in handleUidRemoved() argument 153 Helpers.handleRemovedUidEntries(context, cpc.getLocalContentProvider(), uid); in handleUidRemoved()
|
D | MediaScanTriggerJob.java | 70 try (ContentProviderClient cpc in onStartJob() argument 75 = ((DownloadProvider) cpc.getLocalContentProvider()); in onStartJob()
|
/packages/providers/MediaProvider/src/com/android/providers/media/stableuris/job/ |
D | StableUriIdleMaintenanceService.java | 49 try (ContentProviderClient cpc = getContentResolver() in onStartJob() argument 51 ((MediaProvider) cpc.getLocalContentProvider()).backupDatabases(mSignal); in onStartJob()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 208 try (ContentProviderClient cpc = sIsolatedResolver in testLocale() argument 210 ((MediaProvider) cpc.getLocalContentProvider()) in testLocale() 217 try (ContentProviderClient cpc = sIsolatedResolver in testDump() argument 219 cpc.getLocalContentProvider().dump(null, in testDump() 261 try (ContentProviderClient cpc = sIsolatedResolver in testIdle() argument 263 ((MediaProvider) cpc.getLocalContentProvider()) in testIdle() 1692 try (ContentProviderClient cpc = sIsolatedResolver in ensureFileColumns() argument 1694 ((MediaProvider) cpc.getLocalContentProvider()) in ensureFileColumns() 1730 try (ContentProviderClient cpc = sIsolatedResolver in testRedactionForInvalidUris() argument 1732 MediaProvider mp = (MediaProvider) cpc.getLocalContentProvider(); in testRedactionForInvalidUris() [all …]
|
D | IdleServiceTest.java | 270 try (ContentProviderClient cpc = resolver in testDetectSpecialFormat() argument 272 ((MediaProvider) cpc.getLocalContentProvider()) in testDetectSpecialFormat()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PhotoPickerProvider.java | 158 try (ContentProviderClient cpc = cr.acquireContentProviderClient(MediaStore.AUTHORITY)) { in getMediaProvider() argument 159 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
|
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/ |
D | ExternalStorageServiceImpl.java | 177 try (ContentProviderClient cpc = in getMediaProvider() argument 179 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 532 ContentProviderClient cpc = mContentResolver.acquireContentProviderClient( in doInBackground() local 535 cpc.getLocalContentProvider(); in doInBackground() 545 cpc.release(); in doInBackground()
|