Home
last modified time | relevance | path

Searched refs:TEST_ACTION (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DSliceBroadcastRelayHandlerTest.java52 private static final String TEST_ACTION = "com.android.systemui.action.TEST_ACTION"; field in SliceBroadcastRelayHandlerTest
78 IntentFilter value = new IntentFilter(TEST_ACTION); in testRegister()
98 IntentFilter value = new IntentFilter(TEST_ACTION); in testUnregister()
137 IntentFilter value = new IntentFilter(TEST_ACTION); in testRelay()
143 relay.getValue().onReceive(mSpyContext, new Intent(TEST_ACTION)); in testRelay()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
H A DPackageParsingDeferErrorTest.kt47 private const val TEST_ACTION =
73 assertThat(intentFilter.hasAction(TEST_ACTION)).isTrue()
94 assertThat(intentFilter.hasAction(TEST_ACTION)).isTrue()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
H A DBroadcastDispatcherTest.kt71 const val TEST_ACTION = "TEST_ACTION"
303 val testFilter = IntentFilter(TEST_ACTION).apply {
311 val testFilter = IntentFilter(TEST_ACTION).apply {
319 val testFilter = IntentFilter(TEST_ACTION).apply {
327 val testFilter = IntentFilter(TEST_ACTION).apply {
335 val testFilter = IntentFilter(TEST_ACTION).apply {
/aosp14/frameworks/base/core/tests/coretests/src/android/view/accessibility/
H A DAccessibilityManagerTest.java71 private static final RemoteAction TEST_ACTION = new RemoteAction( field in AccessibilityManagerTest
167 manager.registerSystemAction(TEST_ACTION, actionId); in testRegisterSystemAction()
169 verify(mMockService).registerSystemAction(TEST_ACTION, actionId); in testRegisterSystemAction()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityManagerServiceTest.java114 private static final RemoteAction TEST_ACTION = new RemoteAction( field in AccessibilityManagerServiceTest
240 () -> mA11yms.registerSystemAction(TEST_ACTION, ACTION_ID)); in testRegisterSystemActionWithoutPermission()
241 verify(mMockSystemActionPerformer, never()).registerSystemAction(ACTION_ID, TEST_ACTION); in testRegisterSystemActionWithoutPermission()
247 mA11yms.registerSystemAction(TEST_ACTION, ACTION_ID); in testRegisterSystemAction()
248 verify(mMockSystemActionPerformer).registerSystemAction(ACTION_ID, TEST_ACTION); in testRegisterSystemAction()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DRemoteInputViewTest.java99 private static final String TEST_ACTION = "com.android.REMOTE_INPUT_VIEW_ACTION"; field in RemoteInputViewTest
130 mContext.registerReceiver(mReceiver, new IntentFilter(TEST_ACTION), null, in setUp()
145 new Intent(TEST_ACTION).setPackage(mContext.getPackageName()), in setTestPendingIntent()
H A DSmartReplyViewTest.java87 private static final String TEST_ACTION = "com.android.SMART_REPLY_VIEW_ACTION"; field in SmartReplyViewTest
126 mContext.registerReceiver(mReceiver, new IntentFilter(TEST_ACTION), in setUp()
526 new Intent(TEST_ACTION).setPackage(mContext.getPackageName()), in createSmartReplies()
543 new Intent(TEST_ACTION).setPackage(mContext.getPackageName()), in createAction()