Home
last modified time | relevance | path

Searched refs:IContentProvider (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/content/
DContentProviderNative.java44 abstract public class ContentProviderNative extends Binder implements IContentProvider {
55 static public IContentProvider asInterface(IBinder obj) in asInterface()
60 IContentProvider in = in asInterface()
61 (IContentProvider)obj.queryLocalInterface(descriptor); in asInterface()
83 data.enforceInterface(IContentProvider.descriptor); in onTransact()
138 data.enforceInterface(IContentProvider.descriptor); in onTransact()
149 data.enforceInterface(IContentProvider.descriptor); in onTransact()
162 data.enforceInterface(IContentProvider.descriptor); in onTransact()
175 data.enforceInterface(IContentProvider.descriptor); in onTransact()
193 data.enforceInterface(IContentProvider.descriptor); in onTransact()
[all …]
DContentResolver.java635 public void unstableProviderDied(IContentProvider icp) { in wrap()
639 public boolean releaseUnstableProvider(IContentProvider icp) { in wrap()
643 public boolean releaseProvider(IContentProvider icp) { in wrap()
647 protected IContentProvider acquireUnstableProvider(Context c, String name) { in wrap()
651 protected IContentProvider acquireProvider(Context c, String name) { in wrap()
675 protected abstract IContentProvider acquireProvider(Context c, String name);
685 protected IContentProvider acquireExistingProvider(Context c, String name) {
691 public abstract boolean releaseProvider(IContentProvider icp);
694 protected abstract IContentProvider acquireUnstableProvider(Context c, String name);
697 public abstract boolean releaseUnstableProvider(IContentProvider icp);
[all …]
DContentProviderClient.java80 private final IContentProvider mContentProvider;
94 public ContentProviderClient(ContentResolver contentResolver, IContentProvider contentProvider, in ContentProviderClient()
101 public ContentProviderClient(ContentResolver contentResolver, IContentProvider contentProvider, in ContentProviderClient()
DIContentProvider.java39 public interface IContentProvider extends IInterface { interface
DContentProvider.java199 IContentProvider abstractInterface) { in coerceToLocalContentProvider()
2043 public IContentProvider getIContentProvider() { in getIContentProvider()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentResolver.java21 import android.content.IContentProvider;
42 public IContentProvider acquireProvider(Context c, String name) { in acquireProvider()
51 public IContentProvider acquireExistingProvider(Context c, String name) { in acquireExistingProvider()
60 public boolean releaseProvider(IContentProvider icp) { in releaseProvider()
66 protected IContentProvider acquireUnstableProvider(Context c, String name) { in acquireUnstableProvider()
71 public boolean releaseUnstableProvider(IContentProvider icp) { in releaseUnstableProvider()
77 public void unstableProviderDied(IContentProvider icp) { in unstableProviderDied()
DBridgeContentProvider.java22 import android.content.IContentProvider;
41 public final class BridgeContentProvider implements IContentProvider {
/frameworks/base/test-mock/src/android/test/mock/
DMockContentResolver.java22 import android.content.IContentProvider;
89 protected IContentProvider acquireProvider(Context context, String name) { in acquireProvider()
95 protected IContentProvider acquireExistingProvider(Context context, String name) { in acquireExistingProvider()
111 public boolean releaseProvider(IContentProvider provider) { in releaseProvider()
117 protected IContentProvider acquireUnstableProvider(Context c, String name) { in acquireUnstableProvider()
123 public boolean releaseUnstableProvider(IContentProvider icp) { in releaseUnstableProvider()
129 public void unstableProviderDied(IContentProvider icp) { in unstableProviderDied()
DMockContentProvider.java25 import android.content.IContentProvider;
56 private class InversionIContentProvider implements IContentProvider {
278 public final IContentProvider getIContentProvider() { in getIContentProvider()
DMockIContentProvider.java24 import android.content.IContentProvider;
44 public class MockIContentProvider implements IContentProvider {
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableContentResolverTest.java4 import android.content.IContentProvider;
33 IContentProvider iprovider = Mockito.mock(IContentProvider.class); in testDefaultContentProvider()
44 IContentProvider iprovider = Mockito.mock(IContentProvider.class); in testStableContentProvider()
55 IContentProvider iprovider = Mockito.mock(IContentProvider.class); in testUnstableContentProvider()
/frameworks/base/tests/testables/src/android/testing/
DTestableContentResolver.java20 import android.content.IContentProvider;
90 protected IContentProvider acquireProvider(Context context, String name) { in acquireProvider()
100 protected IContentProvider acquireExistingProvider(Context context, String name) { in acquireExistingProvider()
111 public boolean releaseProvider(IContentProvider provider) { in releaseProvider()
121 protected IContentProvider acquireUnstableProvider(Context c, String name) { in acquireUnstableProvider()
131 public boolean releaseUnstableProvider(IContentProvider icp) { in releaseUnstableProvider()
141 public void unstableProviderDied(IContentProvider icp) { in unstableProviderDied()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java20 import android.content.IContentProvider;
319 String uriString, Map<String, IContentProvider> providerMap) { in getIconFromUri()
350 Map<String, IContentProvider> providerMap, String key) { in getTextFromUri()
356 Map<String, IContentProvider> providerMap) { in getBundleFromUri()
365 IContentProvider provider = getProviderFromUri(context, uri, providerMap); in getBundleFromUri()
377 private static IContentProvider getProviderFromUri(Context context, Uri uri, in getProviderFromUri()
378 Map<String, IContentProvider> providerMap) { in getProviderFromUri()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java24 import android.content.IContentProvider;
460 IContentProvider provider = null; in execute()
498 protected abstract void onExecute(IContentProvider provider) throws Exception; in onExecute()
510 public void onExecute(IContentProvider provider) throws Exception { in onExecute()
524 public void onExecute(IContentProvider provider) throws Exception { in onExecute()
559 public void onExecute(IContentProvider provider) throws Exception { in onExecute()
574 public void onExecute(IContentProvider provider) throws Exception { in onExecute()
586 public void onExecute(IContentProvider provider) throws Exception { in onExecute()
599 public void onExecute(IContentProvider provider) throws Exception { in onExecute()
618 public void onExecute(IContentProvider provider) throws Exception { in onExecute()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java20 import android.content.IContentProvider;
270 final IContentProvider iprovider = mProvider.getIContentProvider(); in onCommand()
299 List<String> listForUser(IContentProvider provider, int userHandle, String table) { in listForUser()
322 String getForUser(IContentProvider provider, int userHandle, in getForUser()
348 void putForUser(IContentProvider provider, int userHandle, final String table, in putForUser()
382 int deleteForUser(IContentProvider provider, int userHandle, in deleteForUser()
407 void resetForUser(IContentProvider provider, int userHandle, in resetForUser()
DDeviceConfigService.java22 import android.content.IContentProvider;
183 final IContentProvider iprovider = mProvider.getIContentProvider(); in onCommand()
237 private boolean delete(IContentProvider provider, String namespace, String key) { in delete()
254 private List<String> list(IContentProvider provider, @Nullable String namespace) { in list()
/frameworks/base/core/java/android/app/
DContentProviderHolder.java21 import android.content.IContentProvider;
37 public IContentProvider provider;
DContextImpl.java32 import android.content.IContentProvider;
2764 protected IContentProvider acquireProvider(Context context, String auth) { in acquireProvider()
2771 protected IContentProvider acquireExistingProvider(Context context, String auth) { in acquireExistingProvider()
2778 public boolean releaseProvider(IContentProvider provider) { in releaseProvider()
2783 protected IContentProvider acquireUnstableProvider(Context c, String auth) { in acquireUnstableProvider()
2790 public boolean releaseUnstableProvider(IContentProvider icp) { in releaseUnstableProvider()
2795 public void unstableProviderDied(IContentProvider icp) { in unstableProviderDied()
2800 public void appNotRespondingViaProvider(IContentProvider icp) { in appNotRespondingViaProvider()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java25 import android.content.IContentProvider;
58 IContentProvider provider = null; in getSystemLongPressTime()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java24 import android.content.IContentProvider;
68 private IContentProvider mIContentProvider;
80 mIContentProvider = mock(IContentProvider.class); in setUp()
/frameworks/base/core/tests/coretests/src/android/content/
DContentResolverTest.java48 private IContentProvider mProvider;
58 mProvider = mock(IContentProvider.class); in setUp()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java29 import android.content.IContentProvider;
47 private @Mock IContentProvider mMockProvider;
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderRecord.java23 import android.content.IContentProvider;
47 public IContentProvider provider;
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java35 import android.content.IContentProvider;
83 @Mock IContentProvider mTestIContentProvider;
/frameworks/base/core/java/android/provider/
DSettings.java53 import android.content.IContentProvider;
2256 private IContentProvider mContentProvider;
2262 public IContentProvider getProvider(ContentResolver contentResolver) { in getProvider()
2324 IContentProvider cp = mProviderHolder.getProvider(cr); in putStringForUser()
2361 IContentProvider cp = mProviderHolder.getProvider(cr); in getStringForUser()
5467 IContentProvider cp = sProviderHolder.getProvider(resolver); in resetToDefaultsAsUser()
14132 IContentProvider cp = sProviderHolder.getProvider(resolver); in resetToDefaultsAsUser()
15052 IContentProvider cp = sProviderHolder.getProvider(resolver); in resetToDefaults()

12