Searched refs:getSlice (Results 1 – 25 of 48) sorted by relevance
12
130 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_isGuestUser_shouldReturnNoToggle()145 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_isNotGuestUser_shouldHaveTitleAndToggle()159 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_fromSIPackage_shouldHaveTitleAndToggle()175 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_notFromSIPackageAndWithWifiPermission_shouldHaveTitleAndToggle()190 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_notFromSIPackageAndWithoutWifiPermission_shouldReturnNoToggle()206 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_wifiOff_shouldReturnSingleRow()216 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_noAp_shouldReturnLoadingRow()251 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneConnectedAp_shouldReturnLoadingRow()266 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneConnectedApAndOneDisconnectedAp_shouldReturnLoadingRow()280 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneDisconnectedAp_shouldReturnLoadingRow()[all …]
138 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_batterySaver_returnErrorSlice()148 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_notAvailable_returnErrorSlice()164 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_newSession_notAvailable_returnErrorSlice()177 assertThat(mDarkThemeSlice.getSlice()).isNotNull(); in getSlice_previouslyDisplayed_isAvailable_returnSlice()187 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_sliceNotClicked_notAvailable_returnErrorSlice()199 assertThat(mDarkThemeSlice.getSlice()).isNotNull(); in getSlice_sliceClicked_isAvailable_returnSlice()207 assertThat(mDarkThemeSlice.getSlice()).isNotNull(); in getSlice_isAvailable_returnSlice()215 final Slice slice = mDarkThemeSlice.getSlice(); in getSlice_isAvailable_showTitleSubtitle()
87 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfFeatureIsAvailable()96 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIfFeatureIsUnavailable()103 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfNotRecentlySetup()113 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIfRecentlySetup()120 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfNotTurnedOn()129 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIFTurnedOn()
131 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_noBluetoothHardware_shouldReturnNull()141 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothOff_shouldHaveBluetoothOffTitleAndSummary()157 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothTurningOn_shouldHaveBluetoothDevicesTitleAndPairNewDevice()169 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothOn_shouldHaveBluetoothDevicesTitleAndPairNewDevice()184 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_hasBluetoothDevices_shouldMatchBluetoothMockTitle()197 mBluetoothDevicesSlice.getSlice(); in getSlice_hasAvailableMediaDevice_shouldBuildPrimaryBluetoothAction()208 mBluetoothDevicesSlice.getSlice(); in getSlice_hasPreviouslyConnectedDevice_shouldBuildPrimaryBluetoothAction()219 mBluetoothDevicesSlice.getSlice(); in getSlice_hasNonMediaDeviceConnected_shouldNotBuildPrimaryBluetoothAction()229 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldOnlyShowHeaderAndDefaultRowCount()
68 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldHaveStorageFreeTitle()79 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldNotHaveErrorHint()89 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveStorageSettingsTitle()100 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveErrorHint()
100 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_invalidScheme_sliceShouldBeNull()112 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_viewTypeFullWidth_shouldSetCachedSlice()125 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_viewTypeSticky_shouldSetCachedSlice()
310 List<SliceItem> items = sliceItem.getSlice().getItems(); in extract()352 Slice itemSlice = item.getSlice(); in getInfoList()430 List<SliceItem> items = sliceItem.getSlice().getItems(); in isIconNeedsToBeProcessed()441 List<SliceItem> items = sliceItem.getSlice().getItems(); in getButtonStyle()452 List<SliceItem> items = sliceItem.getSlice().getItems(); in getSeekbarMin()463 List<SliceItem> items = sliceItem.getSlice().getItems(); in getSeekbarMax()474 List<SliceItem> items = sliceItem.getSlice().getItems(); in getSeekbarValue()485 List<SliceItem> items = sliceItem.getSlice().getItems(); in enabled()496 List<SliceItem> items = sliceItem.getSlice().getItems(); in selectable()507 List<SliceItem> items = sliceItem.getSlice().getItems(); in addInfoStatus()[all …]
59 final SliceMetadata metadata = SliceMetadata.from(mContext, setupSlice.getSlice()); in getSlice_noFaceManager_shouldReturnNull()74 final SliceMetadata metadata = SliceMetadata.from(mContext, setupSlice.getSlice()); in getSlice_faceEnrolled_noReEnroll_shouldReturnNull()87 assertThat(setupSlice.getSlice()).isNotNull(); in getSlice_faceNotEnrolled_shouldReturnSlice()100 assertThat(setupSlice.getSlice()).isNotNull(); in getSlice_faceEnrolled_shouldReEnroll_shouldReturnSlice()114 assertThat(setupSlice.getSlice()).isNotNull(); in getSlice_faceEnrolled_musteEnroll_shouldReturnSlice()
176 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_isGuestUser_shouldNotAddRow()189 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_noWifiAndHasCarrierNoData_oneCarrier()203 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_noWifiAndNoCarrier_oneCarrier()217 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_airplaneModeIsOn_oneWifiToggle()240 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveTwoWifiAndOneCarrier_getFiveRow()264 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveOneConnectedWifiAndTwoDisconnectedWifiAndNoCarrier_getFiveRow()284 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveTwoDisconnectedWifiAndNoCarrier_getFourRow()306 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow()330 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveEthernetAndCarrierAndConnectedWifiAndDisconnectedWifi_getSixRow()
172 Optional<CharSequence> title = extractTitleFromSlice(sliceItem.getSlice()); in parseSliceToPreferenceList()173 Optional<CharSequence> subtitle = extractSubtitleFromSlice(sliceItem.getSlice()); in parseSliceToPreferenceList()174 Optional<SliceAction> action = extractActionFromSlice(sliceItem.getSlice()); in parseSliceToPreferenceList()287 Optional<SliceAction> result = extractActionFromSlice(item.getSlice()); in extractActionFromSlice()296 Optional<IconCompat> icon = extractIconFromSlice(item.getSlice()); in extractActionFromSlice()297 Optional<CharSequence> title = extractTitleFromSlice(item.getSlice()); in extractActionFromSlice()
93 final Slice mobileData = mMobileDataSlice.getSlice(); in getSlice_shouldHaveTitleAndToggle()178 final Slice mobileData = mMobileDataSlice.getSlice(); in isMobileDataAvailable_noSubscriptions_slicePrimaryActionIsEmpty()186 final Slice mobileData = mMobileDataSlice.getSlice(); in isMobileDataAvailable_nullSubscriptions_slicePrimaryActionIsEmpty()195 final Slice mobileData = mMobileDataSlice.getSlice(); in airplaneModeEnabled_slicePrimaryActionIsEmpty()
56 suggestionView = Renderer.render(this, presentation.getSlice(), style); in onRenderSuggestion()57 attributionIntent = Renderer.getAttributionIntent(presentation.getSlice()); in onRenderSuggestion()
132 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_noActiveSession_checkRowNumber()141 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_withActiveSession_checkRowNumber()151 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_withActiveSession_checkTitle()
151 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_withConnectedDevice_verifyMetadata()168 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_noConnectedDevice_returnErrorSlice()183 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_audioModeIsInCommunication_returnErrorSlice()198 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_audioModeIsRingtone_returnErrorSlice()213 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_audioModeIsInCall_returnErrorSlice()
82 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnNotSupported_returnNull()91 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnSupported_showTitleSubtitle()
84 final Slice dndSlice = ZenModeSliceBuilder.getSlice(mContext); in getZenModeSlice_correctSliceContent()100 final Slice dndSlice = ZenModeSliceBuilder.getSlice(mContext); in getZenModeSlice_managedByAdmin_shouldNotHaveToggle()
64 Slice getSlice(); in getSlice() method
251 .getSlice(); in onBindSlice()260 return ZenModeSliceBuilder.getSlice(getContext()); in onBindSlice()262 return BluetoothSliceBuilder.getSlice(getContext()); in onBindSlice()
76 ReturnedSlice getSlice(Version version) const;
39 final Slice LocationSlice = new LocationSlice(mContext).getSlice(); in getLocationSlice_correctSliceContent()
60 final Slice BluetoothSlice = BluetoothSliceBuilder.getSlice(mContext); in getBluetoothSlice_correctSliceContent()
66 final Slice slice = new FlashlightSlice(mContext).getSlice(); in getFlashlightSlice_correctData()
123 public Slice getSlice() { in getSlice() method in SpecialCaseSliceManagerTest.FakeSliceable
67 public Slice getSlice() { in getSlice() method in AlwaysOnDisplaySlice
56 public Slice getSlice() { in getSlice() method in LocationSlice