Home
last modified time | relevance | path

Searched refs:cpc (Results 1 – 11 of 11) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaService.java114 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 …]
DIdleService.java41 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()
DMediaUpgradeReceiver.java96 try (ContentProviderClient cpc = in getMediaProvider() argument
99 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java138 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()
DMediaScanTriggerJob.java70 try (ContentProviderClient cpc in onStartJob() argument
75 = ((DownloadProvider) cpc.getLocalContentProvider()); in onStartJob()
/packages/providers/MediaProvider/src/com/android/providers/media/stableuris/job/
DStableUriIdleMaintenanceService.java49 try (ContentProviderClient cpc = getContentResolver() in onStartJob() argument
51 ((MediaProvider) cpc.getLocalContentProvider()).backupDatabases(mSignal); in onStartJob()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java208 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 …]
DIdleServiceTest.java270 try (ContentProviderClient cpc = resolver in testDetectSpecialFormat() argument
272 ((MediaProvider) cpc.getLocalContentProvider()) in testDetectSpecialFormat()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerProvider.java158 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/
DExternalStorageServiceImpl.java177 try (ContentProviderClient cpc = in getMediaProvider() argument
179 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java532 ContentProviderClient cpc = mContentResolver.acquireContentProviderClient( in doInBackground() local
535 cpc.getLocalContentProvider(); in doInBackground()
545 cpc.release(); in doInBackground()