Home
last modified time | relevance | path

Searched refs:isValidAction (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/slices/
DSpecialCaseSliceManagerTest.java88 final boolean isValidAction = in isValidAction_validActions_returnsTrue()
89 CustomSliceRegistry.isValidAction(FakeSliceable.URI.toString()); in isValidAction_validActions_returnsTrue()
91 assertThat(isValidAction).isTrue(); in isValidAction_validActions_returnsTrue()
96 final boolean isValidAction = CustomSliceRegistry.isValidAction("action"); in isValidAction_invalidAction_returnsFalse()
98 assertThat(isValidAction).isFalse(); in isValidAction_invalidAction_returnsFalse()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBroadcastReceiver.java59 if (CustomSliceRegistry.isValidAction(action)) { in onReceive()
DCustomSliceRegistry.java361 public static boolean isValidAction(String action) { in isValidAction() method in CustomSliceRegistry
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java1363 if (!isValidAction(action)) { in handleCenterButtonEvent()
1438 if (!isValidAction(action)) { in handleNudgeEvent()
1784 if (!isValidAction(action)) { in handleBackButtonEvent()
1826 private static boolean isValidAction(int action) { in isValidAction() method in RotaryService