Home
last modified time | relevance | path

Searched refs:mContentProvider (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/content/
DContentProviderClient.java80 private final IContentProvider mContentProvider; field in ContentProviderClient
104 mContentProvider = contentProvider; in ContentProviderClient()
140 Binder.allowBlocking(mContentProvider.asBinder()); in setDetectNotResponding()
146 Binder.defaultBlocking(mContentProvider.asBinder()); in setDetectNotResponding()
192 remoteCancellationSignal = mContentProvider.createCancellationSignal(); in query()
195 final Cursor cursor = mContentProvider.query( in query()
203 mContentResolver.unstableProviderDied(mContentProvider); in query()
218 return mContentProvider.getType(url); in getType()
221 mContentResolver.unstableProviderDied(mContentProvider); in getType()
238 return mContentProvider.getStreamTypes(url, mimeTypeFilter); in getStreamTypes()
[all …]
DContentResolver.java3322 private final IContentProvider mContentProvider;
3329 mContentProvider = contentProvider;
3339 ContentResolver.this.releaseProvider(mContentProvider);
3358 private final IContentProvider mContentProvider;
3363 mContentProvider = icp;
3369 ContentResolver.this.releaseProvider(mContentProvider);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java105 private FakeSmsContentProvider mContentProvider; field in GsmInboundSmsHandlerTest
227 mContentProvider = new FakeSmsContentProvider(); in setUp()
229 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp() local
249 mContentProvider.shutdown(); in tearDown()
538 assertEquals(3, mContentProvider.getNumRows()); in testMultiPartSmsWithIncompleteWAP()
539 assertEquals(1, mContentProvider.query(sRawUri, null, "deleted=0", null, null).getCount()); in testMultiPartSmsWithIncompleteWAP()
653 assertEquals(1, mContentProvider.getNumRows()); in testMultiPartIncompleteSms()
655 Cursor c = mContentProvider.query(sRawUri, null, null, null, null); in testMultiPartIncompleteSms()
680 assertEquals(1, mContentProvider.getNumRows()); in testMultiPartSmsWithInvalidSeqNumber()
800 mContentProvider.insert(sRawUri, mMockInboundSmsTracker.getContentValues()); in testBroadcastUndeliveredUserLocked()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java98 private ContentProvider mContentProvider; field in SubscriptionInfoUpdaterTest
116 return mContentProvider.update(uri, values, selection, selectionArgs); in update()
140 when(mContentProvider.update(any(), any(), any(), isNull())).thenAnswer( in setUp()
306 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), valueCapture.capture(), in testSimNotReadyDisabledUiccApps()
324 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), valueCapture.capture(), in testSimRemovedWhileDisablingUiccApps()
625 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid1Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
630 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid3Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
638 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid2Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
674 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_listFailure()
703 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_emptyToEmpty()
[all …]
DContextFixture.java604 private final ContentProvider mContentProvider = spy(new FakeContentProvider()); field in ContextFixture
661 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in ContextFixture()
665 mContentResolver.addProvider(ServiceStateTable.AUTHORITY, mContentProvider); in ContextFixture()
DCarrierAppUtilsTest.java65 private SettingsMockContentProvider mContentProvider; field in CarrierAppUtilsTest
76 mContentProvider = new SettingsMockContentProvider(); in setUp()
77 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java69 private ContentProvider mContentProvider; field in PinnedSliceStateTest
79 mContentProvider = mock(ContentProvider.class); in setUp()
81 when(mContentProvider.getIContentProvider()).thenReturn(mIContentProvider); in setUp()
82 mContext.getContentResolver().addProvider(AUTH, mContentProvider, UNSTABLE); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java81 private FakeSmsContentProvider mContentProvider; field in CdmaInboundSmsHandlerTest
144 mContentProvider = new FakeSmsContentProvider(); in setUp()
146 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp() local
165 mContentProvider.shutdown(); in tearDown()
/frameworks/base/core/java/android/provider/
DSettings.java2256 private IContentProvider mContentProvider; field in Settings.ContentProviderHolder
2264 if (mContentProvider == null) { in getProvider()
2265 mContentProvider = contentResolver in getProvider()
2268 return mContentProvider; in getProvider()
2274 mContentProvider = null; in clearProviderForTest()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt13057 Landroid/content/ContentResolver$CursorWrapperInner;->mContentProvider:Landroid/content/IContentPro…
13059 Landroid/content/ContentResolver$ParcelFileDescriptorInner;->mContentProvider:Landroid/content/ICon…