Searched refs:CardContentProvider (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardControllerTest.java | 38 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/ |
D | CardContentProviderTest.java | 49 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()
|
D | ContextualCardLoaderTest.java | 95 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/ |
D | CardContentProvider.java | 38 public class CardContentProvider extends ContentProvider { class 44 .authority(CardContentProvider.CARD_AUTHORITY) 50 .authority(CardContentProvider.CARD_AUTHORITY)
|
D | ContextualCardLoader.java | 86 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()
|
D | CardDatabaseHelper.java | 223 context.getContentResolver().notifyChange(CardContentProvider.DELETE_CARD_URI, null); in markContextualCardAsDismissed()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | CardContentProvider.java | 38 public class CardContentProvider extends ContentProvider { class 44 .authority(CardContentProvider.CARD_AUTHORITY) 50 .authority(CardContentProvider.CARD_AUTHORITY)
|
D | ContextualCardLoader.java | 83 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()
|
D | CardDatabaseHelper.java | 223 context.getContentResolver().notifyChange(CardContentProvider.DELETE_CARD_URI, null); in markContextualCardAsDismissed()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardRenderer.java | 42 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/ |
D | SliceContextualCardRenderer.java | 40 import com.android.car.developeroptions.homepage.contextualcards.CardContentProvider; 115 mContext.getContentResolver().notifyChange(CardContentProvider.REFRESH_CARD_URI, in bindView()
|