/frameworks/base/core/tests/coretests/src/com/android/internal/logging/ |
D | MetricsLoggerTest.java | 38 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/ |
D | SliceBroadcastRelayHandlerTest.java | 65 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/ |
D | PackageParsingDeferErrorTest.kt | 45 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/ |
D | GsmInboundSmsHandler.java | 54 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/ |
D | BroadcastDispatcherTest.kt | 71 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/ |
D | AccessibilityManagerTest.java | 88 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/ |
D | CdmaInboundSmsHandler.java | 72 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/ |
D | RemoteInputViewTest.java | 98 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()
|
D | SmartReplyViewTest.java | 87 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/ |
D | AccessibilityManagerServiceTest.java | 165 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/ |
D | CarrierResolver.java | 81 private static final String TEST_ACTION = "com.android.internal.telephony" field in CarrierResolver 190 filter.addAction(TEST_ACTION); in CarrierResolver()
|