/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | DarkThemeSliceTest.java | 132 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()
|
D | BluetoothDevicesSliceTest.java | 126 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()
|
D | ContextualAdaptiveSleepSliceTest.java | 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()
|
D | LowStorageSliceTest.java | 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()
|
D | SliceContextualCardRendererTest.java | 95 ((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()
|
D | BatteryFixSliceTest.java | 111 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/ |
D | SlicePreferencesUtil.java | 299 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/ |
D | WifiSliceTest.java | 93 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()
|
D | ContextualWifiSliceTest.java | 88 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/ |
D | FaceSetupSliceTest.java | 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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | EligibleCardCheckerTest.java | 62 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/ |
D | ProviderModelSliceTest.java | 172 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/ |
D | MobileDataSliceTest.java | 93 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/ |
D | MediaOutputIndicatorSliceTest.java | 144 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()
|
D | RemoteMediaSliceTest.java | 131 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/ |
D | InlineSuggestionRenderServiceImpl.java | 56 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/ |
D | ContextualWifiSlice.java | 67 public Slice getSlice() { in getSlice() method in ContextualWifiSlice 76 return super.getSlice(); in getSlice()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AlwaysOnDisplaySliceTest.java | 88 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/ |
D | SettingsSliceProvider.java | 238 .getSlice(); in onBindSlice() 247 return ZenModeSliceBuilder.getSlice(getContext()); in onBindSlice() 249 return BluetoothSliceBuilder.getSlice(getContext()); in onBindSlice()
|
D | CustomSliceable.java | 64 Slice getSlice(); in getSlice() method
|
/packages/modules/NeuralNetworks/common/include/ |
D | MetaModel.h | 76 ReturnedSlice getSlice(Version version) const;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationSliceTest.java | 39 final Slice LocationSlice = new LocationSlice(mContext).getSlice(); in getLocationSlice_correctSliceContent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothSliceBuilderTest.java | 60 final Slice BluetoothSlice = BluetoothSliceBuilder.getSlice(mContext); in getBluetoothSlice_correctSliceContent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/flashlight/ |
D | FlashlightSliceTest.java | 68 final Slice slice = new FlashlightSlice(mContext).getSlice(); in getFlashlightSlice_correctData()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationSlice.java | 56 public Slice getSlice() { in getSlice() method in LocationSlice
|