Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSliceTest.java123 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_hasSuggestedApp_shouldHaveNotificationChannelTitle()
138 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_hasSuggestedApp_shouldSortByNotificationSentCount()
167 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_noRecentlyInstalledApp_shouldHaveNoSuggestedAppTitle()
180 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_noMultiChannelApp_shouldHaveNoSuggestedAppTitle()
194 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_insufficientNotificationSentCount_shouldHaveNoSuggestedAppTitle()
206 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_isSystemApp_shouldHaveNoSuggestedAppTitle()
219 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_isNotificationBanned_shouldHaveNoSuggestedAppTitle()
233 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldOnlyShowDefaultRows()
250 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_channelCountIsLessThanDefaultRows_subTitleShouldNotHaveTapToManagerAll()
266 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_channelCountIsEqualToDefaultRows_subTitleShouldNotHaveTapToManagerAll()
[all …]
DBluetoothDevicesSliceTest.java108 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_hasBluetoothDevices_shouldHaveBluetoothDevicesTitle()
119 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_hasBluetoothDevices_shouldMatchBluetoothMockTitle()
131 mBluetoothDevicesSlice.getSlice(); in getSlice_hasMediaBluetoothDevice_shouldBuildMediaBluetoothAction()
141 mBluetoothDevicesSlice.getSlice(); in getSlice_noMediaBluetoothDevice_shouldNotBuildMediaBluetoothAction()
150 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_noBluetoothDevices_shouldHaveNoBluetoothDevicesTitle()
162 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldOnlyShowDefaultRows()
174 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldContainDefaultCountInSubTitle()
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()
DDarkThemeSliceTest.java107 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_batterySaver_returnErrorSlice()
116 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_notAvailable_returnErrorSlice()
131 final Slice mediaSlice = mDarkThemeSlice.getSlice(); in getSlice_newSession_notAvailable_returnErrorSlice()
143 assertThat(mDarkThemeSlice.getSlice()).isNotNull(); in getSlice_previouslyDisplayed_isAvailable_returnSlice()
150 assertThat(mDarkThemeSlice.getSlice()).isNotNull(); in getSlice_isAvailable_returnSlice()
157 final Slice slice = mDarkThemeSlice.getSlice(); in getSlice_isAvailable_showTitleSubtitle()
DFaceSetupSliceTest.java64 assertThat(setupSlice.getSlice()).isNull(); in getSlice_noFaceManager_shouldReturnNull()
77 assertThat(setupSlice.getSlice()).isNull(); in getSlice_faceEnrolled_noReEnroll_shouldReturnNull()
88 assertThat(setupSlice.getSlice()).isNotNull(); in getSlice_faceNotEnrolled_shouldReturnSlice()
101 assertThat(setupSlice.getSlice()).isNotNull(); in getSlice_faceEnrolled_shouldReEnroll_shouldReturnSlice()
115 assertThat(setupSlice.getSlice()).isNotNull(); in getSlice_faceEnrolled_musteEnroll_shouldReturnSlice()
DLowStorageSliceTest.java71 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldHaveStorageFreeTitle()
82 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldNotHaveErrorHint()
92 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveStorageSettingsTitle()
103 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveErrorHint()
DBatteryFixSliceTest.java103 final Slice slice = mSlice.getSlice(); in getSlice_unimportantSlice_shouldSkip()
125 final Slice slice = mSlice.getSlice(); in getSlice_hasImportantTip_shouldTintIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java98 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_shouldHaveTitleAndToggle()
116 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_wifiOff_shouldReturnSingleRow()
127 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_noAp_shouldReturnLoadingRow()
168 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_noReachableAp_shouldReturnLoadingRow()
182 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneActiveAp_shouldReturnLoadingRow()
197 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneActiveApAndOneUnreachableAp_shouldReturnLoadingRow()
211 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_oneReachableAp_shouldNotReturnLoadingRow()
226 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_allReachableAps_shouldNotReturnLoadingRow()
244 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_isCaptivePortal_shouldHaveCaptivePortalItems()
DContextualWifiSliceTest.java86 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_hasActiveConnection_shouldReturnNull()
99 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_newSession_hasActiveConnection_shouldReturnNull()
110 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_previousDisplayed_hasActiveConnection_shouldHaveTitleAndToggle()
129 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_isCaptivePortal_shouldHaveTitleAndToggle()
148 final Slice wifiSlice = mWifiSlice.getSlice(); in getWifiSlice_contextualWifiSlice_shouldReturnContextualWifiSliceUri()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputIndicatorSliceTest.java120 assertThat(mMediaOutputIndicatorSlice.getSlice()).isNull(); in getSlice_noConnectedDevice_returnNull()
130 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_noActiveDevice_verifyDefaultName()
143 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_A2dpDeviceActive_verifyName()
156 final Slice mediaSlice = mMediaOutputIndicatorSlice.getSlice(); in getSlice_HADeviceActive_verifyName()
168 assertThat(mMediaOutputIndicatorSlice.getSlice()).isNotNull(); in getSlice_callStateIdle_available()
177 assertThat(mMediaOutputIndicatorSlice.getSlice()).isNull(); in getSlice_callStateRinging_returnNull()
186 assertThat(mMediaOutputIndicatorSlice.getSlice()).isNull(); in getSlice_callStateOffHook_returnNull()
DMediaOutputSliceTest.java113 final Slice slice = mMediaOutputSlice.getSlice(); in getSlice_workerIsNull_shouldReturnZeroRow()
125 final Slice slice = mMediaOutputSlice.getSlice(); in getSlice_bluetoothIsDisable_shouldReturnZeroRow()
137 final Slice slice = mMediaOutputSlice.getSlice(); in getSlice_callStateRinging_shouldReturnZeroRow()
153 final Slice mediaSlice = mMediaOutputSlice.getSlice(); in getSlice_shouldHaveActiveDeviceName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DEligibleCardCheckerTest.java63 final Slice slice = wifiSlice.getSlice(); in isSliceToggleable_cardWithToggle_returnTrue()
71 final Slice slice = emergencyInfoSlice.getSlice(); in isSliceToggleable_cardWithoutToggle_returnFalse()
79 final Slice slice = wifiSlice.getSlice(); in isCardEligibleToDisplay_toggleSlice_hasInlineActionShouldBeTrue()
90 final Slice slice = emergencyInfoSlice.getSlice(); in isCardEligibleToDisplay_notToggleSlice_hasInlineActionShouldBeFalse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataSliceTest.java94 final Slice mobileData = mMobileDataSlice.getSlice(); in getSlice_shouldHaveTitleAndToggle()
176 final Slice mobileData = mMobileDataSlice.getSlice(); in isMobileDataAvailable_noSubscriptions_slicePrimaryActionIsEmpty()
184 final Slice mobileData = mMobileDataSlice.getSlice(); in isMobileDataAvailable_nullSubscriptions_slicePrimaryActionIsEmpty()
193 final Slice mobileData = mMobileDataSlice.getSlice(); in airplaneModeEnabled_slicePrimaryActionIsEmpty()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DContextualWifiSlice.java53 public Slice getSlice() { in getSlice() method in ContextualWifiSlice
68 return super.getSlice(); in getSlice()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DContextualWifiSlice.java56 public Slice getSlice() { in getSlice() method in ContextualWifiSlice
71 return super.getSlice(); in getSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/deviceinfo/
DDeviceInfoSliceTest.java74 final Slice slice = mDeviceInfoSlice.getSlice(); in getSlice_hasSubscriptionInfo_shouldBeCorrectSliceContent()
90 final Slice slice = mDeviceInfoSlice.getSlice(); in getSlice_hasNoSubscriptionInfo_shouldShowUnknown()
DDataUsageSliceTest.java86 final Slice slice = mDataUsageSlice.getSlice(); in getSlice_hasSim_shouldBeCorrectSliceContent()
102 final Slice slice = mDataUsageSlice.getSlice(); in getSlice_hasNoSim_shouldShowNoSimCard()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSettingsSliceProvider.java192 .getSlice(); in onBindSlice()
201 return ZenModeSliceBuilder.getSlice(getContext()); in onBindSlice()
203 return BluetoothSliceBuilder.getSlice(getContext()); in onBindSlice()
DCustomSliceable.java64 Slice getSlice(); in getSlice() method
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java197 .getSlice(); in onBindSlice()
206 return ZenModeSliceBuilder.getSlice(getContext()); in onBindSlice()
208 return BluetoothSliceBuilder.getSlice(getContext()); in onBindSlice()
DCustomSliceable.java64 Slice getSlice(); in getSlice() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/flashlight/
DFlashlightSliceTest.java59 final Slice slice = new FlashlightSlice(mContext).getSlice(); in getFlashlightSlice_correctData()
/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/src/com/android/settings/homepage/contextualcards/deviceinfo/
DEmergencyInfoSlice.java44 public Slice getSlice() { in getSlice() method in EmergencyInfoSlice
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/
DEmergencyInfoSlice.java44 public Slice getSlice() { in getSlice() method in EmergencyInfoSlice

123