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.java97 private FakeSmsContentProvider mContentProvider; field in GsmInboundSmsHandlerTest
201 mContentProvider = new FakeSmsContentProvider(); in setUp()
203 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp() local
220 mContentProvider.shutdown(); in tearDown()
502 assertEquals(3, mContentProvider.getNumRows()); in testMultiPartSmsWithIncompleteWAP()
503 assertEquals(1, mContentProvider.query(sRawUri, null, "deleted=0", null, null).getCount()); in testMultiPartSmsWithIncompleteWAP()
616 assertEquals(1, mContentProvider.getNumRows()); in testMultiPartIncompleteSms()
618 Cursor c = mContentProvider.query(sRawUri, null, null, null, null); in testMultiPartIncompleteSms()
643 assertEquals(1, mContentProvider.getNumRows()); in testMultiPartSmsWithInvalidSeqNumber()
761 mContentProvider.insert(sRawUri, mMockInboundSmsTracker.getContentValues()); in testBroadcastUndeliveredUserLocked()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java67 private ContentProvider mContentProvider; field in PinnedSliceStateTest
77 mContentProvider = mock(ContentProvider.class); in setUp()
79 when(mContentProvider.getIContentProvider()).thenReturn(mIContentProvider); in setUp()
80 mContext.getContentResolver().addProvider(AUTH, mContentProvider, UNSTABLE); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java90 private ContentProvider mContentProvider; field in SubscriptionInfoUpdaterTest
108 return mContentProvider.update(uri, values, selection, selectionArgs); in update()
145 when(mContentProvider.update(any(), any(), any(), isNull())).thenAnswer( in setUp()
526 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid1Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
531 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid3Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
539 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid2Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
575 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_listFailure()
604 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_emptyToEmpty()
654 verify(mContentProvider, never()).update(any(), any(), any(), any()); in testUpdateFromCarrierConfigOpportunisticUnchanged()
680 verify(mContentProvider, times(1)).update( in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
[all …]
DContextFixture.java571 private final ContentProvider mContentProvider = spy(new FakeContentProvider()); field in ContextFixture
619 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in ContextFixture()
623 mContentResolver.addProvider(ServiceStateTable.AUTHORITY, mContentProvider); in ContextFixture()
DCarrierAppUtilsTest.java59 private SettingsMockContentProvider mContentProvider; field in CarrierAppUtilsTest
71 mContentProvider = new SettingsMockContentProvider(); in setUp()
72 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java78 private FakeSmsContentProvider mContentProvider; field in CdmaInboundSmsHandlerTest
153 mContentProvider = new FakeSmsContentProvider(); in setUp()
155 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp() local
172 mContentProvider.shutdown(); in tearDown()
/frameworks/base/core/java/android/provider/
DSettings.java2225 private IContentProvider mContentProvider; field in Settings.ContentProviderHolder
2233 if (mContentProvider == null) { in getProvider()
2234 mContentProvider = contentResolver in getProvider()
2237 return mContentProvider; in getProvider()
2243 mContentProvider = null; in clearProviderForTest()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt13919 Landroid/content/ContentResolver$CursorWrapperInner;->mContentProvider:Landroid/content/IContentPro…
13926 Landroid/content/ContentResolver$ParcelFileDescriptorInner;->mContentProvider:Landroid/content/ICon…