Home
last modified time | relevance | path

Searched refs:intents (Results 1 – 17 of 17) sorted by relevance

/cts/tests/app/PendingIntentApi33/src/android/app/cts/pendingintentapi33/
DPendingIntentApi33Test.java75 Intent[] intents = new Intent[]{ in testGetActivities() local
81 PendingIntent.getActivities(mContext, 1, intents, in testGetActivities()
85 for (int i = 0; i < intents.length; i++) { in testGetActivities()
86 intents[i].setComponent(null); in testGetActivities()
87 intents[i].setPackage(null); in testGetActivities()
91 PendingIntent.getActivities(mContext, 1, intents, PendingIntent.FLAG_IMMUTABLE); in testGetActivities()
94 PendingIntent.getActivities(mContext, 1, intents, PendingIntent.FLAG_MUTABLE in testGetActivities()
98 PendingIntent.getActivities(mContext, 1, intents, PendingIntent.FLAG_MUTABLE in testGetActivities()
102 PendingIntent.getActivities(mContext, 1, intents, PendingIntent.FLAG_MUTABLE); in testGetActivities()
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DForegroundEmbeddingActivity.java55 Intent[] intents = intent.getParcelableArrayExtra(
57 startActivityInSplit(intents);
84 void startActivityInSplit(Intent[] intents) { in startActivityInSplit() argument
92 for (Intent intent: intents) { in startActivityInSplit()
DForegroundActivity.java64 Intent[] intents = intent.getParcelableArrayExtra(
66 Log.d(TAG, mA + ":start " + Arrays.asList(intents));
67 startActivities(intents);
/cts/tests/signature/intent-check/src/android/signature/cts/intent/
DIntentTest.java117 Set<String> intents = new HashSet<>(); in lookupPlatformIntents() local
118 intents.addAll(parse(CURRENT_API_RESOURCE)); in lookupPlatformIntents()
119 intents.addAll(parse(SYSTEM_CURRENT_API_RESOURCE)); in lookupPlatformIntents()
120 intents.addAll(parse(SYSTEM_REMOVED_API_RESOURCE)); in lookupPlatformIntents()
121 return intents; in lookupPlatformIntents()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/broadcasts/
DActivityIntents.kt56 val intents = parser.parseDumpsysActivities(commandOutput) in <lambda>() constant
57 intents.forEach { intent -> in <lambda>()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java163 public static JSONArray intentsToJson(List<GenerationIntent> intents) in intentsToJson() argument
167 for (GenerationIntent intent : intents) { in intentsToJson()
175 List<GenerationIntent> intents = new ArrayList<>(); in intentsFromJson() local
181 intents.add(intent); in intentsFromJson()
184 return intents; in intentsFromJson()
373 static List<GenerationIntent> prepareSerialisation(List<LaunchFromIntent> intents) { in prepareSerialisation() argument
374 return prepareSerialisation(intents, 0); in prepareSerialisation()
379 static List<GenerationIntent> prepareSerialisation(List<LaunchFromIntent> intents, in prepareSerialisation() argument
382 for (int i = 0; i < intents.size(); i++) { in prepareSerialisation()
383 LaunchFromIntent launchFromIntent = intents.get(i); in prepareSerialisation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DStartActivityTests.java479 private int[] startActivitiesAndGetTaskIds(Intent[] intents) { in startActivitiesAndGetTaskIds() argument
483 intentBundle.putParcelableArray(EXTRA_INTENTS, intents); in startActivitiesAndGetTaskIds()
488 final int[] taskIds = new int[intents.length + 1]; in startActivitiesAndGetTaskIds()
491 mWmState.computeState(intents[intents.length - 1].getComponent()); in startActivitiesAndGetTaskIds()
493 for (int i = 0; i < intents.length; i++) { in startActivitiesAndGetTaskIds()
494 taskIds[i + 1] = mWmState.getTaskByActivity(intents[i].getComponent()).getTaskId(); in startActivitiesAndGetTaskIds()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java92 final Intent[] intents = buttonInfo.getIntents(); in onClick() local
94 if (intents != null) { in onClick()
95 for (Parcelable intent : intents) { in onClick()
181 public ButtonInfo(int buttonText, Intent... intents) { in ButtonInfo() argument
183 mIntents = intents; in ButtonInfo()
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DTestActivity.java124 final Parcelable[] intents = data.getParcelableArray(EXTRA_INTENTS); in handleCommand() local
125 startActivities(Arrays.copyOf(intents, intents.length, Intent[].class), options); in handleCommand()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20007/test-app/src/android/security/cts/CVE_2022_20007/
DPocMainActivity.java45 Intent[] intents = {victimIntent, coverIntent}; in onCreate() local
46 startActivities(intents); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraContentJobService.java17 package com.android.cts.verifier.camera.intents;
DCameraIntentsActivity.java16 package com.android.cts.verifier.camera.intents;
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DSplashscreenTests.java145 Intent[] intents, ActivityOptions options) { in startActivitiesFromStarter() argument
148 data.putParcelableArray(EXTRA_INTENTS, intents); in startActivitiesFromStarter()
579 private void launchActivitiesFromStarterWithOptions(Intent[] intents, in launchActivitiesFromStarterWithOptions() argument
585 startActivitiesFromStarter(starter, intents, options); in launchActivitiesFromStarterWithOptions()
595 final Intent[] intents = new Intent[] { in testLaunchActivitiesWithIconOptions() local
601 launchActivitiesFromStarterWithOptions(intents, options, in testLaunchActivitiesWithIconOptions()
612 final Intent[] intents = new Intent[] { in testLaunchActivitiesWithSolidColorOptions() local
619 launchActivitiesFromStarterWithOptions(intents, options, in testLaunchActivitiesWithSolidColorOptions()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileSharingTest.java358 Intent[] intents, ResolveInfo expectedForwarder, boolean expectForwardable) { in assertCrossProfileIntentsResolvability() argument
359 for (Intent intent : intents) { in assertCrossProfileIntentsResolvability()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityTestBase.java226 Intent[] intents = Stream.of(componentNames) in getLaunchActivitiesBroadcast() local
233 broadcastIntent.putExtra(app.FOREGROUND_ACTIVITY_EXTRA.LAUNCH_INTENTS, intents); in getLaunchActivitiesBroadcast()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java1142 final Intent[] intents = { in testStartActivities() local
1156 mContext.startActivities(intents); in testStartActivities()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java520 final Intent[] intents = new Intent[]{ in testApplyWithDrawInstructions() local
536 mRemoteViews.setOnClickFillInIntent(i + 1, intents[i]); in testApplyWithDrawInstructions()