Home
last modified time | relevance | path

Searched refs:bindSlice (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DEligibleCardCheckerTest.java71 doReturn(slice).when(mEligibleCardChecker).bindSlice(any(Uri.class)); in isCardEligibleToDisplay_toggleSlice_hasInlineActionShouldBeTrue()
101 doReturn(null).when(mEligibleCardChecker).bindSlice(any(Uri.class)); in isCardEligibleToDisplay_nullSlice_returnFalse()
111 doReturn(slice).when(mEligibleCardChecker).bindSlice(any(Uri.class)); in isCardEligibleToDisplay_errorSlice_returnFalse()
121 doReturn(slice).when(mEligibleCardChecker).bindSlice(any(Uri.class)); in isCardEligibleToDisplay_sliceNotNull_cacheSliceToCard()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DEligibleCardChecker.java96 final Slice slice = bindSlice(uri); in isCardEligibleToDisplay()
113 Slice bindSlice(Uri uri) { in bindSlice() method in EligibleCardChecker
119 final Slice slice = manager.bindSlice(uri); in bindSlice()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DPreferenceSliceLiveData.java103 Slice s = mUri != null ? mSliceViewManager.bindSlice(mUri)
104 : mSliceViewManager.bindSlice(mIntent);
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/homepage/contextualcards/
DContextualCardLoaderTest.java72 mEligibleCardChecker.bindSlice(CustomSliceRegistry.FLASHLIGHT_SLICE_URI); in bindSlice_flashlightUri_shouldReturnFlashlightSlice()
81 final Slice loadedSlice = mEligibleCardChecker.bindSlice(Uri.parse(sliceUri)); in bindSlice_noProvider_shouldReturnNull()