Searched refs:expectedAction (Results 1 – 6 of 6) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 73 public static BlockingBroadcastReceiver create(Context context, String expectedAction) { in create() argument 74 return create(context, new IntentFilter(expectedAction)); in create() 81 …public static BlockingBroadcastReceiver create(Context context, String expectedAction, Function<In… in create() argument 82 return create(context, new IntentFilter(expectedAction), checker); in create() 100 public BlockingBroadcastReceiver(Context context, String expectedAction) { in BlockingBroadcastReceiver() argument 101 this(context, new IntentFilter(expectedAction)); in BlockingBroadcastReceiver() 113 public BlockingBroadcastReceiver(Context context, String expectedAction, in BlockingBroadcastReceiver() argument 115 this(context, new IntentFilter(expectedAction), checker); in BlockingBroadcastReceiver()
|
/cts/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityMonitorTest.java | 145 final String expectedAction = "matched_using_onStartActivity"; in testActivityMonitor_onStartActivityBlocks() local 147 new ActivityResult(expectedResultCode, new Intent(expectedAction))); in testActivityMonitor_onStartActivityBlocks() 162 expectedAction, data.getAction()); in testActivityMonitor_onStartActivityBlocks() 194 final String expectedAction = "matched_using_intent_filter"; in testActivityMonitor_onStartActivityAndIntentFilter() local 197 new ActivityResult(expectedResultCode, new Intent(expectedAction)), in testActivityMonitor_onStartActivityAndIntentFilter() 214 expectedAction, data.getAction()); in testActivityMonitor_onStartActivityAndIntentFilter() 246 final String expectedAction = "matched_using_activity_class"; in testActivityMonitor_onStartActivityAndActivityClass() local 249 new ActivityResult(expectedResultCode, new Intent(expectedAction)), in testActivityMonitor_onStartActivityAndActivityClass() 266 expectedAction, data.getAction()); in testActivityMonitor_onStartActivityAndActivityClass()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | PermissionUtils.java | 182 private static void pressPermissionPromptButton(UiDevice device, int expectedAction, in pressPermissionPromptButton() argument 184 UiObject2 button = findPermissionPromptButton(device, expectedAction, resNames); in pressPermissionPromptButton() 189 private static UiObject2 findPermissionPromptButton(UiDevice device, int expectedAction, in findPermissionPromptButton() argument 195 switch (expectedAction) { in findPermissionPromptButton() 204 + expectedAction); in findPermissionPromptButton() 236 return findPermissionPromptButtonAutomotive(device, expectedAction); in findPermissionPromptButton() 240 int expectedAction) { in findPermissionPromptButtonAutomotive() argument 246 switch (expectedAction) { in findPermissionPromptButtonAutomotive() 256 throw new IllegalArgumentException("Invalid expected action: " + expectedAction); in findPermissionPromptButtonAutomotive()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilitySystemActionTest.java | 219 public SystemActionBroadcastReceiver(CountDownLatch latch, String expectedAction) { in SystemActionBroadcastReceiver() argument 222 mExpectedAction = expectedAction; in SystemActionBroadcastReceiver()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputService.java | 116 String expectedAction = 118 if (intent.getAction().equals(expectedAction)) {
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceTest.java | 332 private static void assertSynthesizedSoftwareKeyEvent(KeyEvent keyEvent, int expectedAction, 340 assertEquals(expectedAction, keyEvent.getAction());
|