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
105 mContentProvider = contentProvider; in ContentProviderClient()
142 Binder.allowBlocking(mContentProvider.asBinder()); in setDetectNotResponding()
148 Binder.defaultBlocking(mContentProvider.asBinder()); in setDetectNotResponding()
194 remoteCancellationSignal = mContentProvider.createCancellationSignal(); in query()
197 final Cursor cursor = mContentProvider.query( in query()
206 mContentResolver.unstableProviderDied(mContentProvider); in query()
221 return mContentProvider.getType(url); in getType()
224 mContentResolver.unstableProviderDied(mContentProvider); in getType()
241 return mContentProvider.getStreamTypes(url, mimeTypeFilter); in getStreamTypes()
[all …]
DContentResolver.java3745 private final IContentProvider mContentProvider;
3752 mContentProvider = contentProvider;
3762 ContentResolver.this.releaseProvider(mContentProvider);
3781 private final IContentProvider mContentProvider;
3786 mContentProvider = icp;
3792 ContentResolver.this.releaseProvider(mContentProvider);
/frameworks/base/core/java/android/view/inputmethod/
DInlineSuggestion.java66 private final IInlineContentProvider mContentProvider; field in InlineSuggestion
140 if (mContentProvider == null) { in inflate()
145 mContentProvider.provideContent(size.getWidth(), size.getHeight(), in inflate()
169 return new InlineContentCallbackImpl(context, mContentProvider, callbackExecutor, in getInlineContentCallback()
459 this.mContentProvider = contentProvider;
475 return mContentProvider;
496 "contentProvider = " + mContentProvider + ", " +
515 && java.util.Objects.equals(mContentProvider, that.mContentProvider)
527 _hash = 31 * _hash + java.util.Objects.hashCode(mContentProvider);
550 if (mContentProvider != null) flg |= 0x2;
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java108 private FakeSmsContentProvider mContentProvider; field in GsmInboundSmsHandlerTest
232 mContentProvider = new FakeSmsContentProvider(); in setUp()
234 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp() local
254 mContentProvider.shutdown(); in tearDown()
556 assertEquals(3, mContentProvider.getNumRows()); in testMultiPartSmsWithIncompleteWAP()
557 assertEquals(1, mContentProvider.query(sRawUri, null, "deleted=0", null, null).getCount()); in testMultiPartSmsWithIncompleteWAP()
678 assertEquals(1, mContentProvider.getNumRows()); in testMultiPartIncompleteSms()
680 Cursor c = mContentProvider.query(sRawUri, null, null, null, null); in testMultiPartIncompleteSms()
706 assertEquals(1, mContentProvider.getNumRows()); in testMultiPartSmsWithInvalidSeqNumber()
834 mContentProvider.insert(sRawUri, mMockInboundSmsTracker.getContentValues()); in testBroadcastUndeliveredUserLocked()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPinnedSliceStateTest.java70 private ContentProvider mContentProvider; field in PinnedSliceStateTest
80 mContentProvider = mock(ContentProvider.class); in setUp()
82 when(mContentProvider.getIContentProvider()).thenReturn(mIContentProvider); in setUp()
83 mContext.getContentResolver().addProvider(AUTH, mContentProvider, UNSTABLE); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java98 private ContentProvider mContentProvider; field in SubscriptionInfoUpdaterTest
118 return mContentProvider.update(uri, values, selection, selectionArgs); in update()
142 when(mContentProvider.update(any(), any(), any(), isNull())).thenAnswer( in setUp()
308 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), valueCapture.capture(), in testSimNotReadyDisabledUiccApps()
600 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid1Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
605 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid3Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
613 verify(mContentProvider).update(eq(SubscriptionManager.CONTENT_URI), iccid2Values.capture(), in testUpdateEmbeddedSubscriptions_listSuccess()
649 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_listFailure()
678 verify(mContentProvider, never()).update(eq(SubscriptionManager.CONTENT_URI), any(), in testUpdateEmbeddedSubscriptions_emptyToEmpty()
728 verify(mContentProvider, never()).update(any(), any(), any(), any()); in testUpdateFromCarrierConfigOpportunisticUnchanged()
[all …]
DContextFixture.java630 private final ContentProvider mContentProvider = spy(new FakeContentProvider()); field in ContextFixture
687 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in ContextFixture()
691 mContentResolver.addProvider(ServiceStateTable.AUTHORITY, mContentProvider); in ContextFixture()
DCarrierAppUtilsTest.java66 private SettingsMockContentProvider mContentProvider; field in CarrierAppUtilsTest
95 mContentProvider = new SettingsMockContentProvider(); in setUp()
96 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java82 private FakeSmsContentProvider mContentProvider; field in CdmaInboundSmsHandlerTest
148 mContentProvider = new FakeSmsContentProvider(); in setUp()
150 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp() local
169 mContentProvider.shutdown(); in tearDown()
/frameworks/base/core/java/android/provider/
DSettings.java2585 private IContentProvider mContentProvider; field in Settings.ContentProviderHolder
2593 if (mContentProvider == null) { in getProvider()
2594 mContentProvider = contentResolver in getProvider()
2597 return mContentProvider; in getProvider()
2603 mContentProvider = null; in clearProviderForTest()