Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java130 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 …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DDarkThemeSliceTest.java138 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()
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()
DBluetoothDevicesSliceTest.java131 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()
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.java100 ((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()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSlicePreferencesUtil.java310 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 …]
/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/unit/src/com/android/settings/network/
DProviderModelSliceTest.java176 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()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBlockingPrefWithSliceController.java172 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataSliceTest.java93 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()
/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/tests/robotests/src/com/android/settings/media/
DRemoteMediaSliceTest.java132 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()
DMediaOutputIndicatorSliceTest.java151 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAlwaysOnDisplaySliceTest.java82 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnNotSupported_returnNull()
91 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnSupported_showTitleSubtitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeSliceBuilderTest.java84 final Slice dndSlice = ZenModeSliceBuilder.getSlice(mContext); in getZenModeSlice_correctSliceContent()
100 final Slice dndSlice = ZenModeSliceBuilder.getSlice(mContext); in getZenModeSlice_managedByAdmin_shouldNotHaveToggle()
/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceable.java64 Slice getSlice(); in getSlice() method
DSettingsSliceProvider.java251 .getSlice(); in onBindSlice()
260 return ZenModeSliceBuilder.getSlice(getContext()); in onBindSlice()
262 return BluetoothSliceBuilder.getSlice(getContext()); in onBindSlice()
/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.java66 final Slice slice = new FlashlightSlice(mContext).getSlice(); in getFlashlightSlice_correctData()
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/
DSpecialCaseSliceManagerTest.java123 public Slice getSlice() { in getSlice() method in SpecialCaseSliceManagerTest.FakeSliceable
/packages/apps/Settings/src/com/android/settings/display/
DAlwaysOnDisplaySlice.java67 public Slice getSlice() { in getSlice() method in AlwaysOnDisplaySlice
/packages/apps/Settings/src/com/android/settings/location/
DLocationSlice.java56 public Slice getSlice() { in getSlice() method in LocationSlice

12