Home
last modified time | relevance | path

Searched refs:isValidAction (Results 1 – 7 of 7) 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/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DSettingsQCRegistryTest.java67 assertThat(SettingsQCRegistry.isValidAction(QCTestUtils.URI.toString())).isTrue(); in isValidAction_validAction_returnsTrue()
72 assertThat(SettingsQCRegistry.isValidAction(Uri.EMPTY.toString())).isFalse(); in isValidAction_invalidAction_returnsFalse()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCBroadcastReceiver.java35 if (SettingsQCRegistry.isValidAction(action)) { in onReceive()
DSettingsQCRegistry.java197 public static boolean isValidAction(String action) { in isValidAction() method in SettingsQCRegistry
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBroadcastReceiver.java58 if (CustomSliceRegistry.isValidAction(action)) { in onReceive()
DCustomSliceRegistry.java338 public static boolean isValidAction(String action) { in isValidAction() method in CustomSliceRegistry
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java1484 if (!isValidAction(action)) { in handleCenterButtonEvent()
1561 if (!isValidAction(action)) { in handleNudgeEvent()
2031 if (!isValidAction(action)) { in handleBackButtonEvent()
2098 private static boolean isValidAction(int action) { in isValidAction() method in RotaryService