Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DDarkThemeSliceTest.java132 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_batterySaver_returnErrorSlice()
141 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_notAvailable_returnErrorSlice()
156 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_newSession_notAvailable_returnErrorSlice()
169 assertThat(mDarkThemeSlice.getSlice()).isNotNull(); in getSlice_previouslyDisplayed_isAvailable_returnSlice()
178 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_sliceNotClicked_notAvailable_returnErrorSlice()
190 assertThat(mDarkThemeSlice.getSlice()).isNotNull(); in getSlice_sliceClicked_isAvailable_returnSlice()
198 assertThat(mDarkThemeSlice.getSlice()).isNotNull(); in getSlice_isAvailable_returnSlice()
206 final Slice slice = mDarkThemeSlice.getSlice(); in getSlice_isAvailable_showTitleSubtitle()
DBluetoothDevicesSliceTest.java126 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_noBluetoothHardware_shouldReturnNull()
136 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothOff_shouldHaveBluetoothOffTitleAndSummary()
152 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothTurningOn_shouldHaveBluetoothDevicesTitleAndPairNewDevice()
164 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothOn_shouldHaveBluetoothDevicesTitleAndPairNewDevice()
179 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_hasBluetoothDevices_shouldMatchBluetoothMockTitle()
192 mBluetoothDevicesSlice.getSlice(); in getSlice_hasAvailableMediaDevice_shouldBuildPrimaryBluetoothAction()
203 mBluetoothDevicesSlice.getSlice(); in getSlice_hasPreviouslyConnectedDevice_shouldBuildPrimaryBluetoothAction()
214 mBluetoothDevicesSlice.getSlice(); in getSlice_hasNonMediaDeviceConnected_shouldNotBuildPrimaryBluetoothAction()
224 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldOnlyShowHeaderAndDefaultRowCount()
DContextualAdaptiveSleepSliceTest.java87 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()
DLowStorageSliceTest.java68 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()
DSliceContextualCardRendererTest.java95 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_invalidScheme_sliceShouldBeNull()
106 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_viewTypeFullWidth_shouldSetCachedSlice()
118 ((SliceFullCardRendererHelper.SliceViewHolder) viewHolder).sliceView.getSlice()) in bindView_viewTypeSticky_shouldSetCachedSlice()
288 final Slice slice = new ContextualWifiSlice(mActivity).getSlice(); in buildContextualCard()
DBatteryFixSliceTest.java111 final Slice slice = mSlice.getSlice(); in getSlice_unimportantSlice_shouldSkip()
133 final Slice slice = mSlice.getSlice(); in getSlice_hasImportantTip_shouldTintIcon()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSlicePreferencesUtil.java299 List<SliceItem> items = sliceItem.getSlice().getItems(); in extract()
338 Slice itemSlice = item.getSlice(); in getInfoList()
416 List<SliceItem> items = sliceItem.getSlice().getItems(); in isIconNeedsToBeProcessed()
427 List<SliceItem> items = sliceItem.getSlice().getItems(); in getButtonStyle()
438 List<SliceItem> items = sliceItem.getSlice().getItems(); in getSeekbarMin()
449 List<SliceItem> items = sliceItem.getSlice().getItems(); in getSeekbarMax()
460 List<SliceItem> items = sliceItem.getSlice().getItems(); in getSeekbarValue()
471 List<SliceItem> items = sliceItem.getSlice().getItems(); in enabled()
482 List<SliceItem> items = sliceItem.getSlice().getItems(); in selectable()
493 List<SliceItem> items = sliceItem.getSlice().getItems(); in addInfoStatus()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java93 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_shouldHaveTitleAndToggle()
111 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_wifiOff_shouldReturnSingleRow()
122 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_noAp_shouldReturnLoadingRow()
157 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneConnectedAp_shouldReturnLoadingRow()
172 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneConnectedApAndOneDisconnectedAp_shouldReturnLoadingRow()
186 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneDisconnectedAp_shouldReturnLoadingRow()
202 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_apReachExpandedCount_shouldNotReturnLoadingRow()
DContextualWifiSliceTest.java88 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_newSession_hasActiveConnection_shouldCollapseSlice()
98 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_newSession_noConnection_shouldExpandSlice()
110 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_previousExpanded_hasActiveConnection_shouldExpandSlice()
123 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_previousCollapsed_connectionLoss_shouldCollapseSlice()
133 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_contextualWifiSlice_shouldReturnContextualWifiSliceUri()
/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/slices/
DFaceSetupSliceTest.java59 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DEligibleCardCheckerTest.java62 final Slice slice = wifiSlice.getSlice(); in isSliceToggleable_cardWithToggle_returnTrue()
70 final Slice slice = wifiSlice.getSlice(); in isCardEligibleToDisplay_toggleSlice_hasInlineActionShouldBeTrue()
120 final Slice slice = wifiSlice.getSlice(); in isCardEligibleToDisplay_sliceNotNull_cacheSliceToCard()
125 assertThat(mEligibleCardChecker.mCard.getSlice()).isNotNull(); in isCardEligibleToDisplay_sliceNotNull_cacheSliceToCard()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceTest.java172 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_noWifiAndHasCarrierNoData_oneCarrier()
186 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_noWifiAndNoCarrier_oneCarrier()
200 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_airplaneModeIsOn_oneWifiToggle()
223 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveTwoWifiAndOneCarrier_getFiveRow()
247 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveOneConnectedWifiAndTwoDisconnectedWifiAndNoCarrier_getFiveRow()
267 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveTwoDisconnectedWifiAndNoCarrier_getFourRow()
289 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow()
313 final Slice slice = mMockProviderModelSlice.getSlice(); in getSlice_haveEthernetAndCarrierAndConnectedWifiAndDisconnectedWifi_getSixRow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataSliceTest.java93 final Slice mobileData = mMobileDataSlice.getSlice(); in getSlice_shouldHaveTitleAndToggle()
175 final Slice mobileData = mMobileDataSlice.getSlice(); in isMobileDataAvailable_noSubscriptions_slicePrimaryActionIsEmpty()
183 final Slice mobileData = mMobileDataSlice.getSlice(); in isMobileDataAvailable_nullSubscriptions_slicePrimaryActionIsEmpty()
192 final Slice mobileData = mMobileDataSlice.getSlice(); in airplaneModeEnabled_slicePrimaryActionIsEmpty()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputIndicatorSliceTest.java144 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_withConnectedDevice_verifyMetadata()
160 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_noConnectedDevice_returnErrorSlice()
174 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_audioModeIsInCommunication_returnErrorSlice()
188 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_audioModeIsRingtone_returnErrorSlice()
202 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_audioModeIsInCall_returnErrorSlice()
DRemoteMediaSliceTest.java131 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_noActiveSession_checkRowNumber()
139 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_withActiveSession_checkRowNumber()
148 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_withActiveSession_checkTitle()
/packages/modules/ExtServices/java/src/android/ext/services/autofill/
DInlineSuggestionRenderServiceImpl.java56 suggestionView = Renderer.render(this, presentation.getSlice(), style); in onRenderSuggestion()
57 attributionIntent = Renderer.getAttributionIntent(presentation.getSlice()); in onRenderSuggestion()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DContextualWifiSlice.java67 public Slice getSlice() { in getSlice() method in ContextualWifiSlice
76 return super.getSlice(); in getSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAlwaysOnDisplaySliceTest.java88 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnNotSupported_returnNull()
97 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnSupported_showTitleSubtitle()
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java238 .getSlice(); in onBindSlice()
247 return ZenModeSliceBuilder.getSlice(getContext()); in onBindSlice()
249 return BluetoothSliceBuilder.getSlice(getContext()); in onBindSlice()
DCustomSliceable.java64 Slice getSlice(); in getSlice() method
/packages/modules/NeuralNetworks/common/include/
DMetaModel.h76 ReturnedSlice getSlice(Version version) const;
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSliceTest.java39 final Slice LocationSlice = new LocationSlice(mContext).getSlice(); in getLocationSlice_correctSliceContent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSliceBuilderTest.java60 final Slice BluetoothSlice = BluetoothSliceBuilder.getSlice(mContext); in getBluetoothSlice_correctSliceContent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/flashlight/
DFlashlightSliceTest.java68 final Slice slice = new FlashlightSlice(mContext).getSlice(); in getFlashlightSlice_correctData()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSlice.java56 public Slice getSlice() { in getSlice() method in LocationSlice

12