Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/logging/
DMetricsLoggerTest.java38 private static final int TEST_ACTION = 42; field in MetricsLoggerTest
52 mLogger.action(TEST_ACTION); in testAction()
56 assertThat(event.getCategory()).isEqualTo(TEST_ACTION); in testAction()
62 mLogger.visible(TEST_ACTION); in testVisible()
63 mLogger.hidden(TEST_ACTION); in testVisible()
64 mLogger.visibility(TEST_ACTION, true); in testVisible()
65 mLogger.visibility(TEST_ACTION, false); in testVisible()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSliceBroadcastRelayHandlerTest.java65 private static final String TEST_ACTION = "com.android.systemui.action.TEST_ACTION"; field in SliceBroadcastRelayHandlerTest
99 IntentFilter value = new IntentFilter(TEST_ACTION); in testRegister()
120 IntentFilter value = new IntentFilter(TEST_ACTION); in testUnregister()
162 IntentFilter value = new IntentFilter(TEST_ACTION); in testRelay()
169 relay.getValue().onReceive(mSpyContext, new Intent(TEST_ACTION)); in testRelay()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DPackageParsingDeferErrorTest.kt45 private const val TEST_ACTION = in <lambda>() constant
71 assertThat(intentFilter.hasAction(TEST_ACTION)).isTrue() in <lambda>()
92 assertThat(intentFilter.hasAction(TEST_ACTION)).isTrue() in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java54 private static final String TEST_ACTION = "com.android.internal.telephony.gsm" field in GsmInboundSmsHandler
71 filter.addAction(TEST_ACTION); in GsmInboundSmsHandler()
96 super(TEST_ACTION); in GsmCbTestBroadcastReceiver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DBroadcastDispatcherTest.kt71 const val TEST_ACTION = "TEST_ACTION" in <lambda>() constant
303 val testFilter = IntentFilter(TEST_ACTION).apply { in <lambda>()
311 val testFilter = IntentFilter(TEST_ACTION).apply { in <lambda>()
319 val testFilter = IntentFilter(TEST_ACTION).apply { in <lambda>()
327 val testFilter = IntentFilter(TEST_ACTION).apply { in <lambda>()
335 val testFilter = IntentFilter(TEST_ACTION).apply { in <lambda>()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java88 private static final RemoteAction TEST_ACTION = new RemoteAction( field in AccessibilityManagerTest
184 manager.registerSystemAction(TEST_ACTION, actionId); in testRegisterSystemAction()
186 verify(mMockService).registerSystemAction(TEST_ACTION, actionId); in testRegisterSystemAction()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java72 private static final String TEST_ACTION = "com.android.internal.telephony.cdma" field in CdmaInboundSmsHandler
144 filter.addAction(TEST_ACTION); in CdmaInboundSmsHandler()
467 super(TEST_ACTION); in CdmaCbTestBroadcastReceiver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java98 private static final String TEST_ACTION = "com.android.REMOTE_INPUT_VIEW_ACTION"; field in RemoteInputViewTest
129 mContext.registerReceiver(mReceiver, new IntentFilter(TEST_ACTION), null, in setUp()
144 new Intent(TEST_ACTION).setPackage(mContext.getPackageName()), in setTestPendingIntent()
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java165 private static final RemoteAction TEST_ACTION = new RemoteAction( field in AccessibilityManagerServiceTest
323 () -> mA11yms.registerSystemAction(TEST_ACTION, ACTION_ID)); in testRegisterSystemActionWithoutPermission()
324 verify(mMockSystemActionPerformer, never()).registerSystemAction(ACTION_ID, TEST_ACTION); in testRegisterSystemActionWithoutPermission()
331 mA11yms.registerSystemAction(TEST_ACTION, ACTION_ID); in testRegisterSystemAction()
332 verify(mMockSystemActionPerformer).registerSystemAction(ACTION_ID, TEST_ACTION); in testRegisterSystemAction()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java81 private static final String TEST_ACTION = "com.android.internal.telephony" field in CarrierResolver
190 filter.addAction(TEST_ACTION); in CarrierResolver()