/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | SettingsContextualCardProvider.java | 23 import com.android.settings.slices.CustomSliceRegistry; 37 .setSliceUri(CustomSliceRegistry.BLUETOOTH_DEVICES_SLICE_URI.toString()) in getContextualCards() 38 .setCardName(CustomSliceRegistry.BLUETOOTH_DEVICES_SLICE_URI.toString()) in getContextualCards() 43 .setSliceUri(CustomSliceRegistry.LOW_STORAGE_SLICE_URI.toString()) in getContextualCards() 44 .setCardName(CustomSliceRegistry.LOW_STORAGE_SLICE_URI.toString()) in getContextualCards() 48 CustomSliceRegistry.CONTEXTUAL_ADAPTIVE_SLEEP_URI.toString(); in getContextualCards() 57 .setSliceUri(CustomSliceRegistry.FACE_ENROLL_SLICE_URI.toString()) in getContextualCards() 58 .setCardName(CustomSliceRegistry.FACE_ENROLL_SLICE_URI.toString()) in getContextualCards() 63 .setSliceUri(CustomSliceRegistry.DARK_THEME_SLICE_URI.toString()) in getContextualCards() 64 .setCardName(CustomSliceRegistry.DARK_THEME_SLICE_URI.toString()) in getContextualCards()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | VolumePanelTest.java | 27 import com.android.settings.slices.CustomSliceRegistry; 62 CustomSliceRegistry.REMOTE_MEDIA_SLICE_URI, in getSlices_checkUri() 63 CustomSliceRegistry.VOLUME_CALL_URI, in getSlices_checkUri() 64 CustomSliceRegistry.VOLUME_MEDIA_URI, in getSlices_checkUri() 65 CustomSliceRegistry.MEDIA_OUTPUT_INDICATOR_SLICE_URI, in getSlices_checkUri() 66 CustomSliceRegistry.VOLUME_SEPARATE_RING_URI, in getSlices_checkUri() 67 CustomSliceRegistry.VOLUME_NOTIFICATION_URI, in getSlices_checkUri() 68 CustomSliceRegistry.VOLUME_ALARM_URI); in getSlices_checkUri()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | SpecialCaseSliceManagerTest.java | 46 CustomSliceRegistry.sUriToSlice.clear(); in setUp() 47 CustomSliceRegistry.sUriToSlice.put(FakeSliceable.URI, FakeSliceable.class); in setUp() 53 mContext, CustomSliceRegistry.getSliceClassByUri(FakeSliceable.URI)); in getSliceableFromUri_returnsCorrectObject() 67 mContext, CustomSliceRegistry.getSliceClassByUri(parameterUri)); in getSliceableFromUriWithParameter_returnsCorrectObject() 74 final boolean isValidUri = CustomSliceRegistry.isValidUri(FakeSliceable.URI); in isValidUri_validUri_returnsTrue() 81 final boolean isValidUri = CustomSliceRegistry.isValidUri(null); in isValidUri_invalidUri_returnsFalse() 89 CustomSliceRegistry.isValidAction(FakeSliceable.URI.toString()); in isValidAction_validActions_returnsTrue() 96 final boolean isValidAction = CustomSliceRegistry.isValidAction("action"); in isValidAction_invalidAction_returnsFalse()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SettingsSliceProvider.java | 124 CustomSliceRegistry.BLUETOOTH_URI, 125 CustomSliceRegistry.FLASHLIGHT_SLICE_URI, 126 CustomSliceRegistry.LOCATION_SLICE_URI, 127 CustomSliceRegistry.MOBILE_DATA_SLICE_URI, 128 CustomSliceRegistry.WIFI_CALLING_URI, 129 CustomSliceRegistry.WIFI_SLICE_URI, 130 CustomSliceRegistry.ZEN_MODE_SLICE_URI 174 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onSlicePinned() 186 if (CustomSliceRegistry.ZEN_MODE_SLICE_URI.equals(sliceUri)) { in onSlicePinned() 189 } else if (CustomSliceRegistry.BLUETOOTH_URI.equals(sliceUri)) { in onSlicePinned() [all …]
|
D | SliceDeepLinkSpringBoard.java | 49 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onCreate() 52 CustomSliceRegistry.getSliceClassByUri(sliceUri)); in onCreate() 54 } else if (CustomSliceRegistry.ZEN_MODE_SLICE_URI.equals(sliceUri)) { in onCreate() 56 } else if (CustomSliceRegistry.BLUETOOTH_URI.equals(sliceUri)) { in onCreate()
|
D | SlicesFeatureProviderImpl.java | 78 final Uri newUri = CustomSliceRegistry.removeParameterFromUri(uri); in getSliceableFromUri() 79 final Class clazz = CustomSliceRegistry.getSliceClassByUri(newUri); in getSliceableFromUri()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | VolumePanel.java | 22 import static com.android.settings.slices.CustomSliceRegistry.MEDIA_OUTPUT_INDICATOR_SLICE_URI; 23 import static com.android.settings.slices.CustomSliceRegistry.REMOTE_MEDIA_SLICE_URI; 24 import static com.android.settings.slices.CustomSliceRegistry.VOLUME_ALARM_URI; 25 import static com.android.settings.slices.CustomSliceRegistry.VOLUME_CALL_URI; 26 import static com.android.settings.slices.CustomSliceRegistry.VOLUME_MEDIA_URI; 27 import static com.android.settings.slices.CustomSliceRegistry.VOLUME_NOTIFICATION_URI; 28 import static com.android.settings.slices.CustomSliceRegistry.VOLUME_SEPARATE_RING_URI;
|
D | WifiPanel.java | 27 import com.android.settings.slices.CustomSliceRegistry; 59 uris.add(CustomSliceRegistry.WIFI_SLICE_URI); in getSlices()
|
D | NfcPanel.java | 27 import com.android.settings.slices.CustomSliceRegistry; 54 uris.add(CustomSliceRegistry.NFC_SLICE_URI); in getSlices()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | FaceSetupSlice.java | 41 import com.android.settings.slices.CustomSliceRegistry; 82 return new ListBuilder(mContext, CustomSliceRegistry.FACE_ENROLL_SLICE_URI, in getSlice() 110 return new ListBuilder(mContext, CustomSliceRegistry.FACE_ENROLL_SLICE_URI, in getSlice() 115 CustomSliceRegistry.FACE_ENROLL_SLICE_URI, ListBuilder.INFINITY) in getSlice() 124 return CustomSliceRegistry.FACE_ENROLL_SLICE_URI; in getUri()
|
D | LowStorageSlice.java | 37 import com.android.settings.slices.CustomSliceRegistry; 69 CustomSliceRegistry.LOW_STORAGE_SLICE_URI, ListBuilder.INFINITY).setAccentColor( in getSlice() 96 return CustomSliceRegistry.LOW_STORAGE_SLICE_URI; in getUri() 115 .setData(CustomSliceRegistry.LOW_STORAGE_SLICE_URI); in getIntent()
|
D | DarkThemeSlice.java | 46 import com.android.settings.slices.CustomSliceRegistry; 98 return new ListBuilder(mContext, CustomSliceRegistry.DARK_THEME_SLICE_URI, in getSlice() 114 return new ListBuilder(mContext, CustomSliceRegistry.DARK_THEME_SLICE_URI, in getSlice() 129 return CustomSliceRegistry.DARK_THEME_SLICE_URI; in getUri()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSliceHelperTest.java | 52 import com.android.settings.slices.CustomSliceRegistry; 126 CustomSliceRegistry.WIFI_CALLING_URI); in createWifiCallingSlice_notReadyToWifiCalling_wfcNotSupported() 147 CustomSliceRegistry.WIFI_CALLING_URI); in test_CreateWifiCallingSlice_needsActivation() 164 CustomSliceRegistry.WIFI_CALLING_URI); in test_CreateWifiCallingSlice_success() 180 final Slice slice = mProvider.onBindSlice(CustomSliceRegistry.WIFI_CALLING_URI); in test_SettingSliceProvider_getsRightSliceWifiCalling() 221 CustomSliceRegistry.WIFI_CALLING_PREFERENCE_URI); in test_CreateWifiCallingPreferenceSlice_prefNotEditable() 235 CustomSliceRegistry.WIFI_CALLING_PREFERENCE_URI); in test_CreateWifiCallingPreferenceSlice_wfcOff() 254 CustomSliceRegistry.WIFI_CALLING_PREFERENCE_URI); in test_CreateWifiCallingPreferenceSlice_success() 274 CustomSliceRegistry.WIFI_CALLING_PREFERENCE_URI); in test_SettingsSliceProvider_getWfcPreferenceSlice()
|
/packages/apps/Settings/src/com/android/settings/flashlight/ |
D | FlashlightSlice.java | 44 import com.android.settings.slices.CustomSliceRegistry; 76 return new ListBuilder(mContext, CustomSliceRegistry.FLASHLIGHT_SLICE_URI, in getSlice() 90 return CustomSliceRegistry.FLASHLIGHT_SLICE_URI; in getUri() 111 mContext.getContentResolver().notifyChange(CustomSliceRegistry.FLASHLIGHT_SLICE_URI, null); in onNotifyChange()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardLoaderTest.java | 28 import com.android.settings.slices.CustomSliceRegistry; 72 mEligibleCardChecker.bindSlice(CustomSliceRegistry.FLASHLIGHT_SLICE_URI); in bindSlice_flashlightUri_shouldReturnFlashlightSlice() 74 assertThat(loadedSlice.getUri()).isEqualTo(CustomSliceRegistry.FLASHLIGHT_SLICE_URI); in bindSlice_flashlightUri_shouldReturnFlashlightSlice()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | Enhanced4gLteSliceHelperTest.java | 50 import com.android.settings.slices.CustomSliceRegistry; 122 CustomSliceRegistry.ENHANCED_4G_SLICE_URI); in createEnhanced4gLteSlice_invalidSubId_nullSlice() 132 CustomSliceRegistry.ENHANCED_4G_SLICE_URI); in createEnhanced4gLteSlice_enhanced4gLteNotSupported_nullSlice() 145 CustomSliceRegistry.ENHANCED_4G_SLICE_URI); in createEnhanced4gLteSlice_success() 159 final Slice slice = mProvider.onBindSlice(CustomSliceRegistry.ENHANCED_4G_SLICE_URI); in sttingSliceProvider_enhanced4gLteHelper_getsRightSlice()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AlwaysOnDisplaySlice.java | 39 import com.android.settings.slices.CustomSliceRegistry; 76 return new ListBuilder(mContext, CustomSliceRegistry.ALWAYS_ON_SLICE_URI, in getSlice() 98 return CustomSliceRegistry.ALWAYS_ON_SLICE_URI; in getUri()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationSlice.java | 40 import com.android.settings.slices.CustomSliceRegistry; 65 return new ListBuilder(mContext, CustomSliceRegistry.LOCATION_SLICE_URI, in getSlice() 77 return CustomSliceRegistry.LOCATION_SLICE_URI; in getUri()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardLoaderTest.java | 38 import com.android.settings.slices.CustomSliceRegistry; 159 .setSliceUri(CustomSliceRegistry.LOW_STORAGE_SLICE_URI) in getContextualCardList() 170 .setSliceUri(CustomSliceRegistry.DARK_THEME_SLICE_URI) in getContextualCardList() 182 .setSliceUri(CustomSliceRegistry.BLUETOOTH_DEVICES_SLICE_URI) in getContextualCardList()
|
D | ContextualCardManagerTest.java | 57 import com.android.settings.slices.CustomSliceRegistry; 237 cards.add(buildContextualCard(CustomSliceRegistry.FACE_ENROLL_SLICE_URI, in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast() 239 cards.add(buildContextualCard(CustomSliceRegistry.BLUETOOTH_DEVICES_SLICE_URI, in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast() 241 cards.add(buildContextualCard(CustomSliceRegistry.LOW_STORAGE_SLICE_URI, in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast() 247 .isEqualTo(CustomSliceRegistry.BLUETOOTH_DEVICES_SLICE_URI); in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast() 249 .isEqualTo(CustomSliceRegistry.FACE_ENROLL_SLICE_URI); in sortCards_hasStickyCards_stickyShouldAlwaysBeTheLast() 614 cards.add(buildContextualCard(CustomSliceRegistry.FACE_ENROLL_SLICE_URI.toString())); in getCardsWithViewType_hasOneStickySlice_shouldHaveOneStickyCard() 615 cards.add(buildContextualCard(CustomSliceRegistry.LOW_STORAGE_SLICE_URI.toString())); in getCardsWithViewType_hasOneStickySlice_shouldHaveOneStickyCard() 674 .setSliceUri(CustomSliceRegistry.LOW_STORAGE_SLICE_URI) in getContextualCardList() 687 .setSliceUri(CustomSliceRegistry.DARK_THEME_SLICE_URI) in getContextualCardList() [all …]
|
D | SettingsContextualCardProviderTest.java | 31 import com.android.settings.slices.CustomSliceRegistry; 78 CustomSliceRegistry.DARK_THEME_SLICE_URI.toString())) { in getContextualCards_darkThemeSlice_shouldGetImportantCategory()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SettingsSliceProviderTest.java | 129 CustomSliceRegistry.WIFI_SLICE_URI, 130 CustomSliceRegistry.BLUETOOTH_URI, 131 CustomSliceRegistry.LOCATION_SLICE_URI 135 CustomSliceRegistry.ZEN_MODE_SLICE_URI, 136 CustomSliceRegistry.FLASHLIGHT_SLICE_URI, 137 CustomSliceRegistry.MOBILE_DATA_SLICE_URI, 138 CustomSliceRegistry.WIFI_CALLING_URI 597 CustomSliceRegistry.FLASHLIGHT_SLICE_URI, "com.android.whaaaat"); in onCreatePermissionRequest_returnsSettingIntent() 613 CustomSliceRegistry.FLASHLIGHT_SLICE_URI); in bindSlice_flashlightSlice_returnsFlashlightSlice() 615 assertThat(flashlightSlice.getUri()).isEqualTo(CustomSliceRegistry.FLASHLIGHT_SLICE_URI); in bindSlice_flashlightSlice_returnsFlashlightSlice()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/ |
D | NfcPanelTest.java | 26 import com.android.settings.slices.CustomSliceRegistry; 50 CustomSliceRegistry.NFC_SLICE_URI); in getSlices_containsNecessarySlices()
|
D | WifiPanelTest.java | 26 import com.android.settings.slices.CustomSliceRegistry; 50 CustomSliceRegistry.WIFI_SLICE_URI); in getSlices_containsNecessarySlices()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AlwaysOnDisplaySliceTest.java | 40 import com.android.settings.slices.CustomSliceRegistry; 75 assertThat(uri).isEqualTo(CustomSliceRegistry.ALWAYS_ON_SLICE_URI); in getUri_shouldReturnCorrectSliceUri()
|