Home
last modified time | relevance | path

Searched refs:sendIntent (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/
DPreferredActivitiesTest.java276 sendIntent(mTest.mimeType()); in triggerResolutionDialog()
380 private static void sendIntent(String mimeType) { in sendIntent() method in PreferredActivitiesTest
381 Intent sendIntent = new Intent(); in sendIntent() local
382 sendIntent.setAction(ACTION); in sendIntent()
383 sendIntent.setType(mimeType); in sendIntent()
384 sendIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in sendIntent()
385 targetContext().startActivity(sendIntent, null); in sendIntent()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/assertions/
DAssertionsByIntentResolution.java116 Intent sendIntent = new Intent(); in intentSend() local
117 sendIntent.setAction(Intent.ACTION_SEND); in intentSend()
118 sendIntent.setType(mimeType); in intentSend()
119 return sendIntent; in intentSend()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java270 PendingIntent sendIntent = PendingIntent.getActivity(mContext, 0, in testAdjustNotification_smartActionKey() local
273 sendIntent).build(); in testAdjustNotification_smartActionKey()
284 assertNotEquals(sendIntent, action.actionIntent); in testAdjustNotification_smartActionKey()
304 actionFound = actionFound || action.actionIntent.equals(sendIntent); in testAdjustNotification_smartActionKey()
/cts/tests/tests/libcorefileio/src/android/cts/
DFileChannelInterProcessLockTest.java470 Intent sendIntent = new Intent(getContext(), LockHoldingService.class) in checkLockBehavior() local
476 getContext().startService(sendIntent); in checkLockBehavior()