Home
last modified time | relevance | path

Searched defs:slice (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DContextualAdaptiveSleepSliceTest.java87 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfFeatureIsAvailable() local
96 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIfFeatureIsUnavailable() local
103 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfNotRecentlySetup() local
113 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIfRecentlySetup() local
120 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_ShowIfNotTurnedOn() local
129 final Slice slice = mContextualAdaptiveSleepSlice.getSlice(); in getSlice_DoNotShowIFTurnedOn() local
DLowStorageSliceTest.java68 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldHaveStorageFreeTitle() local
79 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldNotHaveErrorHint() local
89 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveStorageSettingsTitle() local
100 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveErrorHint() local
DBluetoothDevicesSliceTest.java125 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_noBluetoothHardware_shouldReturnNull() local
135 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothOff_shouldHaveBluetoothOffTitleAndSummary() local
151 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothTurningOn_shouldHaveBluetoothDevicesTitleAndPairNewDevice() local
163 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_bluetoothOn_shouldHaveBluetoothDevicesTitleAndPairNewDevice() local
178 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_hasBluetoothDevices_shouldMatchBluetoothMockTitle() local
223 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldOnlyShowHeaderAndDefaultRowCount() local
DBatteryFixSliceTest.java111 final Slice slice = mSlice.getSlice(); in getSlice_unimportantSlice_shouldSkip() local
133 final Slice slice = mSlice.getSlice(); in getSlice_hasImportantTip_shouldTintIcon() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelperTest.java127 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_invalidSubId() local
137 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_wfcNotSupported() local
157 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_needsActivation() local
173 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_success() local
189 final Slice slice = mProvider.onBindSlice(CustomSliceRegistry.WIFI_CALLING_URI); in test_SettingSliceProvider_getsRightSliceWifiCalling() local
226 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_prefNotEditable() local
240 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_wfcOff() local
258 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_success() local
277 final Slice slice = mProvider.onBindSlice( in test_SettingsSliceProvider_getWfcPreferenceSlice() local
311 private void testWifiCallingSettingsUnavailableSlice(Slice slice, in testWifiCallingSettingsUnavailableSlice()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DEligibleCardCheckerTest.java62 final Slice slice = wifiSlice.getSlice(); in isSliceToggleable_cardWithToggle_returnTrue() local
70 final Slice slice = wifiSlice.getSlice(); in isCardEligibleToDisplay_toggleSlice_hasInlineActionShouldBeTrue() local
109 final Slice slice = new Slice.Builder(TEST_SLICE_URI) in isCardEligibleToDisplay_errorSlice_returnFalse() local
120 final Slice slice = wifiSlice.getSlice(); in isCardEligibleToDisplay_sliceNotNull_cacheSliceToCard() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DEnhanced4gLteSliceHelperTest.java130 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in test_CreateEnhanced4gLteSlice_invalidSubId() local
140 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in test_CreateEnhanced4gLteSlice_enhanced4gLteNotSupported() local
153 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in test_CreateEnhanced4gLteSlice_success() local
168 final Slice slice = mProvider.onBindSlice(CustomSliceRegistry.ENHANCED_4G_SLICE_URI); in test_SettingSliceProvider_getsRightSliceEnhanced4gLte() local
200 private void testEnhanced4gLteSettingsUnavailableSlice(Slice slice, in testEnhanced4gLteSettingsUnavailableSlice()
218 private void testEnhanced4gLteSettingsToggleSlice(Slice slice) { in testEnhanced4gLteSettingsToggleSlice()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DEligibleCardChecker.java96 final Slice slice = bindSlice(uri); in isCardEligibleToDisplay() local
119 final Slice slice = manager.bindSlice(uri); in bindSlice() local
135 boolean isSliceToggleable(Slice slice) { in isSliceToggleable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java91 final Slice slice = SliceBuilderUtils.buildSlice(mContext, sliceData); in buildIntentSlice_returnsMatchingSlice() local
100 final Slice slice = SliceBuilderUtils.buildSlice(mContext, dummyData); in buildToggleSlice_returnsMatchingSlice() local
114 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in buildSliderSlice_returnsMatchingSlice() local
128 final Slice slice = SliceBuilderUtils.buildSlice(mContext, dummyData); in buildCopyableSlice_returnsMatchingSlice() local
292 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testUnsupportedSlice_validTitleSummary() local
305 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testDisabledForUserSlice_validTitleSummary() local
318 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testDisabledDependentSettingSlice_validTitleSummary() local
338 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testConditionallyUnavailableSlice_validTitleSummary() local
366 final Slice slice = SliceBuilderUtils.buildSlice(mContext, sliceData); in buildIntentSlice_noIconPassed_returnsSliceWithIcon() local
385 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DRemoteMediaSliceTest.java131 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_noActiveSession_checkRowNumber() local
139 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_withActiveSession_checkRowNumber() local
148 final Slice slice = mRemoteMediaSlice.getSlice(); in getSlice_withActiveSession_checkTitle() local
DMediaOutputGroupSliceTest.java153 final Slice slice = mMediaOutputGroupSlice.getSlice(); in getSlice_withOneSelectableDevice_checkRowNumber() local
172 final Slice slice = mMediaOutputGroupSlice.getSlice(); in getSlice_withOneSelectableDevice_checkTitle() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java66 public static void testSettingsIntentSlice(Context context, Slice slice, SliceData sliceData) { in testSettingsIntentSlice()
98 public static void testSettingsToggleSlice(Context context, Slice slice, SliceData sliceData) { in testSettingsToggleSlice()
138 public static void testSettingsSliderSlice(Context context, Slice slice, SliceData sliceData) { in testSettingsSliderSlice()
179 public static void testSettingsCopyableSlice(Context context, Slice slice, in testSettingsCopyableSlice()
215 public static void testSettingsUnavailableSlice(Context context, Slice slice, in testSettingsUnavailableSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAlwaysOnDisplaySliceTest.java88 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnNotSupported_returnNull() local
97 final Slice slice = mSlice.getSlice(); in getSlice_alwaysOnSupported_showTitleSubtitle() local
/packages/apps/Settings/src/com/android/settings/slices/
DBlockingSlicePrefController.java37 public void onChanged(Slice slice) { in onChanged()
DSlicePreference.java52 public void onSliceUpdated(Slice slice) { in onSliceUpdated()
DSlicePreferenceController.java89 public void onChanged(Slice slice) { in onChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DBlockingSlicePrefController.java37 public void onChanged(Slice slice) { in onChanged()
DSlicePreference.java50 public void onSliceUpdated(Slice slice) { in onSliceUpdated()
DSlicePreferenceController.java84 public void onChanged(Slice slice) { in onChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/deviceinfo/
DStorageSliceTest.java68 final Slice slice = mStorageSlice.getSlice(); in getSlice_shouldBeCorrectSliceContent() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/flashlight/
DFlashlightSliceTest.java68 final Slice slice = new FlashlightSlice(mContext).getSlice(); in getFlashlightSlice_correctData() local
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceHalfCardRendererHelper.java56 void bindView(RecyclerView.ViewHolder holder, ContextualCard card, Slice slice) { in bindView()
DSliceFullCardRendererHelper.java48 void bindView(RecyclerView.ViewHolder holder, ContextualCard card, Slice slice) { in bindView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSliceHalfCardRendererHelper.java56 void bindView(RecyclerView.ViewHolder holder, ContextualCard card, Slice slice) { in bindView()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DPreferenceSliceLiveData.java94 public void setValue(Slice slice) { in setValue()

12