Home
last modified time | relevance | path

Searched refs:CardContentProvider (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardControllerTest.java38 import com.android.settings.homepage.contextualcards.CardContentProvider;
66 private CardContentProvider mProvider;
75 mProvider = Robolectric.setupContentProvider(CardContentProvider.class); in setUp()
76 ShadowContentResolver.registerProviderInternal(CardContentProvider.CARD_AUTHORITY, in setUp()
85 final Uri providerUri = CardContentProvider.REFRESH_CARD_URI; in onDismissed_cardShouldBeMarkedAsDismissed()
107 mResolver.insert(CardContentProvider.REFRESH_CARD_URI, generateOneRow()); in onDismissed_feedbackDisabled_shouldNotShowFeedbackDialog()
120 mResolver.insert(CardContentProvider.REFRESH_CARD_URI, generateOneRow()); in onDismissed_feedbackEnabled_shouldShowFeedbackDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DCardContentProviderTest.java49 private CardContentProvider mProvider;
56 mProvider = spy(Robolectric.setupContentProvider(CardContentProvider.class)); in setUp()
60 .authority(CardContentProvider.CARD_AUTHORITY) in setUp()
164 .authority(CardContentProvider.CARD_AUTHORITY) in invalid_Uri_shouldCrash()
DContextualCardLoaderTest.java95 mContextualCardLoader.mNotifyUri = CardContentProvider.REFRESH_CARD_URI; in getDisplayableCards_refreshCardUri_shouldLogContextualCard()
105 mContextualCardLoader.mNotifyUri = CardContentProvider.DELETE_CARD_URI; in getDisplayableCards_deleteCardUri_shouldNotLogContextualCard()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DCardContentProvider.java38 public class CardContentProvider extends ContentProvider { class
44 .authority(CardContentProvider.CARD_AUTHORITY)
50 .authority(CardContentProvider.CARD_AUTHORITY)
DContextualCardLoader.java86 mContext.getContentResolver().registerContentObserver(CardContentProvider.REFRESH_CARD_URI, in onStartLoading()
88 mContext.getContentResolver().registerContentObserver(CardContentProvider.DELETE_CARD_URI, in onStartLoading()
167 if (!CardContentProvider.DELETE_CARD_URI.equals(mNotifyUri)) { in getDisplayableCards()
DCardDatabaseHelper.java223 context.getContentResolver().notifyChange(CardContentProvider.DELETE_CARD_URI, null); in markContextualCardAsDismissed()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DCardContentProvider.java38 public class CardContentProvider extends ContentProvider { class
44 .authority(CardContentProvider.CARD_AUTHORITY)
50 .authority(CardContentProvider.CARD_AUTHORITY)
DContextualCardLoader.java83 mContext.getContentResolver().registerContentObserver(CardContentProvider.REFRESH_CARD_URI, in onStartLoading()
85 mContext.getContentResolver().registerContentObserver(CardContentProvider.DELETE_CARD_URI, in onStartLoading()
141 if (!CardContentProvider.DELETE_CARD_URI.equals(mNotifyUri)) { in getDisplayableCards()
DCardDatabaseHelper.java223 context.getContentResolver().notifyChange(CardContentProvider.DELETE_CARD_URI, null); in markContextualCardAsDismissed()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRenderer.java42 import com.android.settings.homepage.contextualcards.CardContentProvider;
120 mContext.getContentResolver().notifyChange(CardContentProvider.REFRESH_CARD_URI, in bindView()
128 mContext.getContentResolver().notifyChange(CardContentProvider.REFRESH_CARD_URI, in bindView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSliceContextualCardRenderer.java40 import com.android.car.developeroptions.homepage.contextualcards.CardContentProvider;
115 mContext.getContentResolver().notifyChange(CardContentProvider.REFRESH_CARD_URI, in bindView()