Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java51 private static final String TEST_ACTION = "com.android.systemui.action.TEST_ACTION"; field in SliceBroadcastRelayHandlerTest
77 IntentFilter value = new IntentFilter(TEST_ACTION); in testRegister()
97 IntentFilter value = new IntentFilter(TEST_ACTION); in testUnregister()
136 IntentFilter value = new IntentFilter(TEST_ACTION); in testRelay()
142 relay.getValue().onReceive(mSpyContext, new Intent(TEST_ACTION)); in testRelay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DBroadcastDispatcherTest.kt59 const val TEST_ACTION = "TEST_ACTION" in capture() constant
203 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotContainDataScheme()
211 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotContainDataAuthority()
219 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotContainDataPath()
227 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotContainDataType()
235 val testFilter = IntentFilter(TEST_ACTION).apply { in testFilterMustNotSetPriority()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java71 private static final RemoteAction TEST_ACTION = new RemoteAction( field in AccessibilityManagerServiceTest
175 mA11yms.registerSystemAction(TEST_ACTION, ACTION_ID); in testRegisterSystemActionWithoutPermission()
179 verify(mMockSystemActionPerformer, never()).registerSystemAction(ACTION_ID, TEST_ACTION); in testRegisterSystemActionWithoutPermission()
184 mA11yms.registerSystemAction(TEST_ACTION, ACTION_ID); in testRegisterSystemAction()
185 verify(mMockSystemActionPerformer).registerSystemAction(ACTION_ID, TEST_ACTION); in testRegisterSystemAction()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DPackageParsingDeferErrorTest.kt47 private const val TEST_ACTION = in <lambda>() constant
80 assertThat(intents.first().hasAction(TEST_ACTION)).isTrue() in <lambda>()
100 assertThat(intents.first().hasAction(TEST_ACTION)).isTrue() in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java52 private static final String TEST_ACTION = "com.android.internal.telephony.gsm" field in GsmInboundSmsHandler
69 filter.addAction(TEST_ACTION); in GsmInboundSmsHandler()
93 super(TEST_ACTION); in GsmCbTestBroadcastReceiver()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java69 private static final RemoteAction TEST_ACTION = new RemoteAction( field in AccessibilityManagerTest
164 manager.registerSystemAction(TEST_ACTION, actionId); in testRegisterSystemAction()
166 verify(mMockService).registerSystemAction(TEST_ACTION, actionId); in testRegisterSystemAction()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java70 private static final String TEST_ACTION = "com.android.REMOTE_INPUT_VIEW_ACTION"; field in RemoteInputViewTest
97 mContext.registerReceiver(mReceiver, new IntentFilter(TEST_ACTION), null, in setUp()
111 new Intent(TEST_ACTION), PendingIntent.FLAG_MUTABLE); in setTestPendingIntent()
DSmartReplyViewTest.java84 private static final String TEST_ACTION = "com.android.SMART_REPLY_VIEW_ACTION"; field in SmartReplyViewTest
122 mContext.registerReceiver(mReceiver, new IntentFilter(TEST_ACTION)); in setUp()
489 PendingIntent.getBroadcast(mContext, 0, new Intent(TEST_ACTION), in createSmartReplies()
506 new Intent(TEST_ACTION), PendingIntent.FLAG_MUTABLE); in createAction()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java71 private static final String TEST_ACTION = "com.android.internal.telephony.cdma" field in CdmaInboundSmsHandler
143 filter.addAction(TEST_ACTION); in CdmaInboundSmsHandler()
462 super(TEST_ACTION); in CdmaCbTestBroadcastReceiver()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java78 private static final String TEST_ACTION = "com.android.internal.telephony" field in CarrierResolver
187 filter.addAction(TEST_ACTION); in CarrierResolver()