Home
last modified time | relevance | path

Searched refs:cpc (Results 1 – 7 of 7) 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); in onPackageOrphaned()
132 try (ContentProviderClient cpc = context.getContentResolver() in onMediaMountedBroadcast() argument
134 if (!((MediaProvider)cpc.getLocalContentProvider()).isVolumeAttached(mediaVolume)) { in onMediaMountedBroadcast()
176 try (ContentProviderClient cpc = context.getContentResolver() in onScanVolume() argument
178 final MediaProvider provider = ((MediaProvider) cpc.getLocalContentProvider()); in onScanVolume()
181 final ContentResolver resolver = ContentResolver.wrap(cpc.getLocalContentProvider()); in onScanVolume()
212 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()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java187 try (ContentProviderClient cpc = sIsolatedResolver in testLocale() argument
189 ((MediaProvider) cpc.getLocalContentProvider()) in testLocale()
196 try (ContentProviderClient cpc = sIsolatedResolver in testDump() argument
198 cpc.getLocalContentProvider().dump(null, in testDump()
240 try (ContentProviderClient cpc = sIsolatedResolver in testIdle() argument
242 ((MediaProvider) cpc.getLocalContentProvider()) in testIdle()
1339 try (ContentProviderClient cpc = sIsolatedResolver in ensureFileColumns() argument
1341 ((MediaProvider) cpc.getLocalContentProvider()) in ensureFileColumns()
1377 try (ContentProviderClient cpc = sIsolatedResolver in testRedactionForInvalidUris() argument
1379 MediaProvider mp = (MediaProvider) cpc.getLocalContentProvider(); in testRedactionForInvalidUris()
[all …]
/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/fuse/
DExternalStorageServiceImpl.java157 try (ContentProviderClient cpc = in getMediaProvider() argument
159 return (MediaProvider) cpc.getLocalContentProvider(); in getMediaProvider()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java524 ContentProviderClient cpc = mContentResolver.acquireContentProviderClient( in doInBackground() local
527 cpc.getLocalContentProvider(); in doInBackground()
537 cpc.release(); in doInBackground()