/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | ContextualAdaptiveSleepSliceTest.java | 87 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
|
D | NotificationChannelSliceTest.java | 123 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_hasSuggestedApp_shouldHaveNotificationChannelTitle() local 138 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_hasSuggestedApp_shouldSortByNotificationSentCount() local 167 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_noRecentlyInstalledApp_shouldHaveNoSuggestedAppTitle() local 180 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_noMultiChannelApp_shouldHaveNoSuggestedAppTitle() local 194 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_insufficientNotificationSentCount_shouldHaveNoSuggestedAppTitle() local 206 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_isSystemApp_shouldHaveNoSuggestedAppTitle() local 219 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_isNotificationBanned_shouldHaveNoSuggestedAppTitle() local 233 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldOnlyShowDefaultRows() local 250 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_channelCountIsLessThanDefaultRows_subTitleShouldNotHaveTapToManagerAll() local 266 final Slice slice = mNotificationChannelSlice.getSlice(); in getSlice_channelCountIsEqualToDefaultRows_subTitleShouldNotHaveTapToManagerAll() local [all …]
|
D | LowStorageSliceTest.java | 71 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldHaveStorageFreeTitle() local 82 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_lowStorage_shouldNotHaveErrorHint() local 92 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveStorageSettingsTitle() local 103 final Slice slice = mLowStorageSlice.getSlice(); in getSlice_storageFree_shouldHaveErrorHint() local
|
D | BluetoothDevicesSliceTest.java | 108 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_hasBluetoothDevices_shouldHaveBluetoothDevicesTitle() local 119 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_hasBluetoothDevices_shouldMatchBluetoothMockTitle() local 150 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_noBluetoothDevices_shouldHaveNoBluetoothDevicesTitle() local 162 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldOnlyShowDefaultRows() local 174 final Slice slice = mBluetoothDevicesSlice.getSlice(); in getSlice_exceedDefaultRowCount_shouldContainDefaultCountInSubTitle() local
|
D | BatteryFixSliceTest.java | 103 final Slice slice = mSlice.getSlice(); in getSlice_unimportantSlice_shouldSkip() local 125 final Slice slice = mSlice.getSlice(); in getSlice_hasImportantTip_shouldTintIcon() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | EligibleCardCheckerTest.java | 63 final Slice slice = wifiSlice.getSlice(); in isSliceToggleable_cardWithToggle_returnTrue() local 71 final Slice slice = emergencyInfoSlice.getSlice(); in isSliceToggleable_cardWithoutToggle_returnFalse() local 79 final Slice slice = wifiSlice.getSlice(); in isCardEligibleToDisplay_toggleSlice_hasInlineActionShouldBeTrue() local 90 final Slice slice = emergencyInfoSlice.getSlice(); in isCardEligibleToDisplay_notToggleSlice_hasInlineActionShouldBeFalse() local 141 final Slice slice = new Slice.Builder(TEST_SLICE_URI) in isCardEligibleToDisplay_errorSlice_returnFalse() local
|
D | ContextualCardFeatureProviderImplTest.java | 83 final Slice slice = buildSlice(CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI, packageName); in logNotificationPackage_isContextualNotificationChannel_shouldLogPackage() local 95 final Slice slice = buildSlice(FLASHLIGHT_SLICE_URI, packageName); in logNotificationPackage_isNotContextualNotificationChannel_shouldNotLogPackage() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSliceHelperTest.java | 126 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_invalidSubId() local 136 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_wfcNotSupported() local 156 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_needsActivation() local 172 final Slice slice = mWfcSliceHelper.createWifiCallingSlice( in test_CreateWifiCallingSlice_success() local 188 final Slice slice = mProvider.onBindSlice(CustomSliceRegistry.WIFI_CALLING_URI); in test_SettingSliceProvider_getsRightSliceWifiCalling() local 225 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_prefNotEditable() local 239 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_wfcOff() local 257 final Slice slice = mWfcSliceHelper.createWifiCallingPreferenceSlice( in test_CreateWifiCallingPreferenceSlice_success() local 276 final Slice slice = mProvider.onBindSlice( in test_SettingsSliceProvider_getWfcPreferenceSlice() local 310 private void testWifiCallingSettingsUnavailableSlice(Slice slice, in testWifiCallingSettingsUnavailableSlice() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | Enhanced4gLteSliceHelperTest.java | 104 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in test_CreateEnhanced4gLteSlice_invalidSubId() local 114 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in test_CreateEnhanced4gLteSlice_enhanced4gLteNotSupported() local 129 final Slice slice = mEnhanced4gLteSliceHelper.createEnhanced4gLteSlice( in test_CreateEnhanced4gLteSlice_success() local 146 final Slice slice = mProvider.onBindSlice(CustomSliceRegistry.ENHANCED_4G_SLICE_URI); in test_SettingSliceProvider_getsRightSliceEnhanced4gLte() local 178 private void testEnhanced4gLteSettingsUnavailableSlice(Slice slice, in testEnhanced4gLteSettingsUnavailableSlice() 196 private void testEnhanced4gLteSettingsToggleSlice(Slice slice) { in testEnhanced4gLteSettingsToggleSlice()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 92 final Slice slice = SliceBuilderUtils.buildSlice(mContext, sliceData); in buildIntentSlice_returnsMatchingSlice() local 101 final Slice slice = SliceBuilderUtils.buildSlice(mContext, dummyData); in buildToggleSlice_returnsMatchingSlice() local 115 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in buildSliderSlice_returnsMatchingSlice() local 129 final Slice slice = SliceBuilderUtils.buildSlice(mContext, dummyData); in buildCopyableSlice_returnsMatchingSlice() local 345 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testUnsupportedSlice_validTitleSummary() local 358 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testDisabledForUserSlice_validTitleSummary() local 371 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testDisabledDependentSettingSlice_validTitleSummary() local 391 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testConditionallyUnavailableSlice_validTitleSummary() local 419 final Slice slice = SliceBuilderUtils.buildSlice(mContext, sliceData); in buildIntentSlice_noIconPassed_returnsSliceWithIcon() local 438 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon() local [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/deviceinfo/ |
D | DeviceInfoSliceTest.java | 74 final Slice slice = mDeviceInfoSlice.getSlice(); in getSlice_hasSubscriptionInfo_shouldBeCorrectSliceContent() local 90 final Slice slice = mDeviceInfoSlice.getSlice(); in getSlice_hasNoSubscriptionInfo_shouldShowUnknown() local
|
D | DataUsageSliceTest.java | 86 final Slice slice = mDataUsageSlice.getSlice(); in getSlice_hasSim_shouldBeCorrectSliceContent() local 102 final Slice slice = mDataUsageSlice.getSlice(); in getSlice_hasNoSim_shouldShowNoSimCard() local
|
D | StorageSliceTest.java | 68 final Slice slice = mStorageSlice.getSlice(); in getSlice_shouldBeCorrectSliceContent() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputSliceTest.java | 113 final Slice slice = mMediaOutputSlice.getSlice(); in getSlice_workerIsNull_shouldReturnZeroRow() local 125 final Slice slice = mMediaOutputSlice.getSlice(); in getSlice_bluetoothIsDisable_shouldReturnZeroRow() local 137 final Slice slice = mMediaOutputSlice.getSlice(); in getSlice_callStateRinging_shouldReturnZeroRow() local
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardFeatureProvider.java | 25 void logNotificationPackage(Slice slice); in logNotificationPackage()
|
D | EligibleCardChecker.java | 100 final Slice slice = bindSlice(uri); in isCardEligibleToDisplay() local 148 boolean isSliceToggleable(Slice slice) { in isSliceToggleable()
|
D | ContextualCardFeatureProviderImpl.java | 44 public void logNotificationPackage(Slice slice) { in logNotificationPackage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | SliceTester.java | 66 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() 176 public static void testSettingsCopyableSlice(Context context, Slice slice, in testSettingsCopyableSlice() 212 public static void testSettingsUnavailableSlice(Context context, Slice slice, in testSettingsUnavailableSlice()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | BlockingSlicePrefController.java | 37 public void onChanged(Slice slice) { in onChanged()
|
D | SlicePreference.java | 50 public void onSliceUpdated(Slice slice) { in onSliceUpdated()
|
D | SlicePreferenceController.java | 85 public void onChanged(Slice slice) { in onChanged()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | BlockingSlicePrefController.java | 37 public void onChanged(Slice slice) { in onChanged()
|
D | SlicePreference.java | 50 public void onSliceUpdated(Slice slice) { in onSliceUpdated()
|
D | SlicePreferenceController.java | 84 public void onChanged(Slice slice) { in onChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/flashlight/ |
D | FlashlightSliceTest.java | 59 final Slice slice = new FlashlightSlice(mContext).getSlice(); in getFlashlightSlice_correctData() local
|