Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java79 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); in testSettingsIntentSlice()
121 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); in testSettingsToggleSlice()
140 final SliceAction primaryAction = metadata.getPrimaryAction(); in testSettingsSliderSlice()
187 final SliceAction primaryAction = metadata.getPrimaryAction(); in testSettingsCopyableSlice()
229 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); in testSettingsUnavailableSlice()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DSliceTester.java78 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); in testSettingsIntentSlice()
120 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); in testSettingsToggleSlice()
139 final SliceAction primaryAction = metadata.getPrimaryAction(); in testSettingsSliderSlice()
186 final SliceAction primaryAction = metadata.getPrimaryAction(); in testSettingsCopyableSlice()
228 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); in testSettingsUnavailableSlice()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBatteryFixSlice.java126 final SliceAction primaryAction = SliceAction.createDeeplink(getPrimaryAction(), in getSlice()
164 private PendingIntent getPrimaryAction() { in getPrimaryAction() method in BatteryFixSlice
174 final SliceAction primaryAction = SliceAction.createDeeplink(getPrimaryAction(), icon, in buildBatteryGoodSlice()
DContextualAdaptiveSleepSlice.java90 final SliceAction pAction = SliceAction.createDeeplink(getPrimaryAction(), in getSlice()
124 private PendingIntent getPrimaryAction() { in getPrimaryAction() method in ContextualAdaptiveSleepSlice
DSliceHalfCardRendererHelper.java59 final SliceAction primaryAction = sliceMetadata.getPrimaryAction(); in bindView()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSlice.java61 final PendingIntent primaryAction = getPrimaryAction(); in getSlice()
96 private PendingIntent getPrimaryAction() { in getPrimaryAction() method in LocationSlice
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java369 final SliceAction primaryAction = metadata.getPrimaryAction(); in buildIntentSlice_noIconPassed_returnsSliceWithIcon()
388 final SliceAction primaryAction = metadata.getPrimaryAction(); in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon()
403 final SliceAction primaryAction = metadata.getPrimaryAction(); in buildToggleSlice_noIconPassed_returnsSliceWithIcon()
417 final SliceAction primaryAction = metadata.getPrimaryAction(); in buildSliderSlice_noIconPassed_returnsSliceWithIcon()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSliceBuilder.java80 final PendingIntent primaryAction = getPrimaryAction(context); in getSlice()
129 private static PendingIntent getPrimaryAction(Context context) { in getPrimaryAction() method in BluetoothSliceBuilder
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeSliceBuilder.java79 final PendingIntent primaryAction = getPrimaryAction(context); in getSlice()
143 private static PendingIntent getPrimaryAction(Context context) { in getPrimaryAction() method in ZenModeSliceBuilder
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataSlice.java94 final PendingIntent primaryAction = getPrimaryAction(); in getSlice()
173 private PendingIntent getPrimaryAction() { in getPrimaryAction() method in MobileDataSlice
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelperTest.java322 metadata.getPrimaryAction().getAction(); in testWifiCallingSettingsUnavailableSlice()
346 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); in testWifiCallingSettingsToggleSlice()
366 metadata.getPrimaryAction().getAction(); in testWifiCallingPreferenceSlice()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceTest.java348 when(mMockCarrierRowBuild.getPrimaryAction()).thenReturn(mockSliceAction); in mockBuilder()
355 getPrimaryAction(), in getPrimarySliceAction()
361 private PendingIntent getPrimaryAction() { in getPrimaryAction() method in ProviderModelSliceTest
/packages/apps/Settings/src/com/android/settings/network/
DProviderModelSliceHelper.java203 getPrimaryAction(intentAction), in getPrimarySliceAction()
220 private PendingIntent getPrimaryAction(String intentAction) { in getPrimaryAction() method in ProviderModelSliceHelper
DProviderModelSlice.java365 .setPrimaryAction(getPrimaryAction(icon, title)); in getSeeAllRow()
378 protected SliceAction getPrimaryAction(IconCompat icon, CharSequence title) { in getPrimaryAction() method
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DEnhanced4gLteSliceHelperTest.java201 metadata.getPrimaryAction().getAction(); in testEnhanced4gLteSettingsUnavailableSlice()
225 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); in testEnhanced4gLteSettingsToggleSlice()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSlice.java130 final PendingIntent primaryAction = getPrimaryAction(); in getHeaderRow()
291 private PendingIntent getPrimaryAction() { in getPrimaryAction() method in WifiSlice
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSliceTest.java48 final SliceAction primaryAction = metadata.getPrimaryAction(); in getLocationSlice_correctSliceContent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSliceBuilderTest.java69 final SliceAction primaryAction = metadata.getPrimaryAction(); in getBluetoothSlice_correctSliceContent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeSliceBuilderTest.java72 final SliceAction primaryAction = metadata.getPrimaryAction(); in getZenModeSlice_correctSliceContent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DRemoteMediaSliceTest.java150 final SliceAction primaryAction = metadata.getPrimaryAction(); in getSlice_withActiveSession_checkTitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DContextualWifiSliceTest.java158 final SliceAction primaryAction = metadata.getPrimaryAction(); in assertWifiHeader()
DWifiSliceTest.java101 final SliceAction primaryAction = metadata.getPrimaryAction(); in getWifiSlice_shouldHaveTitleAndToggle()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilderImpl.java289 if (builder.getPrimaryAction() != null) { in fillFrom()
290 setPrimaryAction(builder.getPrimaryAction()); in fillFrom()
DPreferenceSliceBuilder.java885 public SliceAction getPrimaryAction() { in getPrimaryAction() method in PreferenceSliceBuilder.RowBuilder
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataSliceTest.java102 final SliceAction primaryAction = metadata.getPrimaryAction(); in getSlice_shouldHaveTitleAndToggle()