Home
last modified time | relevance | path

Searched refs:getSliceUri (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/logging/
DContextualCardLogUtilsTest.java56 assertThat(cardLog.getSliceUri()).isEqualTo(TEST_URI); in parseCardDismissLog_isValid_returnCorrectData()
71 assertThat(cardClickLog.getSliceUri()).isEqualTo(TEST_URI); in parseCardClickLog_isValid_returnCorrectData()
95 assertThat(cardClickLogList.get(0).getSliceUri()).isEqualTo(TEST_URI); in parseCardClickList_isValid_returnCorrectData()
97 assertThat(cardClickLogList.get(1).getSliceUri()).isEqualTo("testtest"); in parseCardClickList_isValid_returnCorrectData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPreferenceControllerTest.java227 new NfcSliceWorker(mContext, mNfcController.getSliceUri())); in ncfSliceWorker_nfcBroadcast_noExtra_sliceDoesntUpdate()
239 new NfcSliceWorker(mContext, mNfcController.getSliceUri())); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate()
252 new NfcSliceWorker(mContext, mNfcController.getSliceUri())); in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate()
265 new NfcSliceWorker(mContext, mNfcController.getSliceUri())); in ncfSliceWorker_nfcBroadcast_nfcOn_sliceUpdates()
278 new NfcSliceWorker(mContext, mNfcController.getSliceUri())); in ncfSliceWorker_nfcBroadcast_nfcOff_sliceUpdates()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardFeatureProviderImpl.java111 intent.putExtra(EXTRA_CONTEXTUALCARD_URI, card.getSliceUri().toString()); in logContextualCardDismiss()
132 intent.putExtra(EXTRA_CONTEXTUALCARD_URI, card.getSliceUri().toString()); in logContextualCardClick()
170 .setSliceUri(card.getSliceUri().toString()) in serialize()
DContextualCardLoader.java218 return card.getSliceUri().equals(CONTEXTUAL_WIFI_SLICE_URI) in isLargeCard()
219 || card.getSliceUri().equals(BLUETOOTH_DEVICES_SLICE_URI) in isLargeCard()
220 || card.getSliceUri().equals(CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI); in isLargeCard()
DEligibleCardChecker.java90 final Uri uri = card.getSliceUri(); in isCardEligibleToDisplay()
DContextualCard.java92 public Uri getSliceUri() { in getSliceUri() method in ContextualCard
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardLoader.java211 + candidates.get(i).getSliceUri()); in filterEligibleCards()
228 return card.getSliceUri().equals(CONTEXTUAL_WIFI_SLICE_URI) in isLargeCard()
229 || card.getSliceUri().equals(BLUETOOTH_DEVICES_SLICE_URI); in isLargeCard()
DEligibleCardChecker.java91 final Uri uri = card.getSliceUri(); in isCardEligibleToDisplay()
DContextualCard.java88 public Uri getSliceUri() { in getSliceUri() method in ContextualCard
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSliceContextualCardRenderer.java97 final Uri uri = card.getSliceUri(); in bindView()
161 mSliceLiveDataMap.get(card.getSliceUri()).removeObservers(mLifecycleOwner); in initDismissalActions()
DSliceFullCardRendererHelper.java52 cardHolder.sliceView.setTag(card.getSliceUri()); in bindView()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRenderer.java99 final Uri uri = card.getSliceUri(); in bindView()
178 mSliceLiveDataMap.get(card.getSliceUri()).removeObservers(mLifecycleOwner); in initDismissalActions()
DSliceFullCardRendererHelper.java51 cardHolder.sliceView.setTag(card.getSliceUri()); in bindView()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceable.java74 default Uri getSliceUri() { in getSliceUri() method
DSliceDataConverter.java219 .setUri(controller.getSliceUri()) in getSliceDataFromXML()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java219 assertThat(sortedCards.get(0).getSliceUri()).isEqualTo(Uri.parse(TEST_SLICE_URI)); in sortCards_shouldBeDescendingOrder()
246 assertThat(sortedCards.get(cards.size() - 1).getSliceUri()) in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast()
248 assertThat(sortedCards.get(cards.size() - 2).getSliceUri()) in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast()
DSettingsContextualCardProviderTest.java77 if (card.getSliceUri().equals( in getContextualCards_wifiSlice_shouldGetImportantCategory()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverButtonPreferenceController.java65 public Uri getSliceUri() { in getSliceUri() method in BatterySaverButtonPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverButtonPreferenceControllerTest.java78 assertThat(mController.getSliceUri().getAuthority()) in getSliceUri_shouldUsePlatformAuthority()
/packages/apps/Settings/src/com/android/settings/network/
DAirplaneModePreferenceController.java96 public Uri getSliceUri() { in getSliceUri() method in AirplaneModePreferenceController
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/logging/
DContextualCardLogUtils.java54 public String getSliceUri() { in getSliceUri() method in ContextualCardLogUtils.CardLog
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DAirplaneModePreferenceControllerTest.java92 assertThat(mController.getSliceUri().getAuthority()) in getSliceUri_shouldUsePlatformAuthority()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceFullCardRendererHelperTest.java93 assertThat(((SliceViewHolder) viewHolder).sliceView.getTag()).isEqualTo(card.getSliceUri()); in bindView_shouldSetTagToSliceUri()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/logging/
DContextualCardLogUtils.java54 public String getSliceUri() { in getSliceUri() method in ContextualCardLogUtils.CardLog
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java223 public Uri getSliceUri() { in getSliceUri() method in BasePreferenceController