/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenControllerTests.java | 193 Intent startIntent = createStartIntent("startActivity"); in testStartIntent_appendsNoUserActionFlag() local 195 PendingIntent.getActivity(mContext, 0, startIntent, FLAG_IMMUTABLE); in testStartIntent_appendsNoUserActionFlag() 197 mSplitScreenController.startIntent(pendingIntent, mContext.getUserId(), null, in testStartIntent_appendsNoUserActionFlag() 200 verify(mStageCoordinator).startIntent(eq(pendingIntent), mIntentCaptor.capture(), in testStartIntent_appendsNoUserActionFlag() 209 Intent startIntent = createStartIntent("startActivity"); in startIntent_multiInstancesSupported_appendsMultipleTaskFag() local 211 PendingIntent.getActivity(mContext, 0, startIntent, FLAG_IMMUTABLE); in startIntent_multiInstancesSupported_appendsMultipleTaskFag() 214 createTaskInfo(WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_STANDARD, startIntent); in startIntent_multiInstancesSupported_appendsMultipleTaskFag() 217 mSplitScreenController.startIntent(pendingIntent, mContext.getUserId(), null, in startIntent_multiInstancesSupported_appendsMultipleTaskFag() 220 verify(mStageCoordinator).startIntent(eq(pendingIntent), mIntentCaptor.capture(), in startIntent_multiInstancesSupported_appendsMultipleTaskFag() 229 Intent startIntent = createStartIntent("startActivity"); in startIntent_multiInstancesNotSupported_startTaskInBackgroundBeforeSplitActivated() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
D | RecordingServiceTest.java | 141 Intent startIntent = RecordingService.getStartIntent(mContext, 0, 0, false, null); in testLogStartFullScreenRecording() local 142 mRecordingService.onStartCommand(startIntent, 0, 0); in testLogStartFullScreenRecording() 151 Intent startIntent = RecordingService.getStartIntent(mContext, 0, 0, false, target); in testLogStartPartialRecording() local 152 mRecordingService.onStartCommand(startIntent, 0, 0); in testLogStartPartialRecording() 184 Intent startIntent = RecordingService.getStartIntent(mContext, 0, 0, false, null); in testErrorUpdatesState() local 185 mRecordingService.onStartCommand(startIntent, 0, 0); in testErrorUpdatesState() 256 Intent startIntent = RecordingService.getStopIntent(mContext); in testOnErrorSaving() local 257 mRecordingService.onStartCommand(startIntent, 0, 0); in testOnErrorSaving()
|
D | RecordingControllerTest.java | 177 PendingIntent startIntent = Mockito.mock(PendingIntent.class); in testStartRecording() local 178 mController.startCountdown(0, 0, startIntent, null); in testStartRecording() 181 verify(startIntent).send(any()); in testStartRecording() 187 PendingIntent startIntent = Mockito.mock(PendingIntent.class); in testStopRecording() local 190 mController.startCountdown(0, 0, startIntent, stopIntent); in testStopRecording() 215 PendingIntent startIntent = Mockito.mock(PendingIntent.class); in testUpdateStateBroadcast() local 216 mController.startCountdown(0, 0, startIntent, null); in testUpdateStateBroadcast() 240 PendingIntent startIntent = Mockito.mock(PendingIntent.class); in testUserChange() local 242 mController.startCountdown(0, 0, startIntent, stopIntent); in testUserChange()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | EventConditionProviderTest.java | 51 Intent startIntent = in setUp() local 53 startIntent.setPackage("android"); in setUp() 64 service.onBind(startIntent); in setUp()
|
D | CountdownConditionProviderTest.java | 51 Intent startIntent = in setUp() local 53 startIntent.setPackage("android"); in setUp() 64 service.onBind(startIntent); in setUp()
|
D | ScheduleConditionProviderTest.java | 43 Intent startIntent = in setUp() local 45 startIntent.setPackage("android"); in setUp() 56 service.onBind(startIntent); in setUp()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 298 Intent startIntent = mNameToIntent.get(launch.getApp()); in testMeasureStartUpTime() local 299 if (startIntent == null) { in testMeasureStartUpTime() 305 String appPkgName = startIntent.getComponent().getPackageName(); in testMeasureStartUpTime() 341 Intent startIntent = mNameToIntent.get(launch.getApp()); in testMeasureStartUpTime() local 342 if (startIntent == null) { in testMeasureStartUpTime() 348 String appPkgName = startIntent.getComponent().getPackageName(); in testMeasureStartUpTime() 1043 Intent startIntent = new Intent(intentToResolve); in resolveLoop() local 1044 startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in resolveLoop() 1046 startIntent.setClassName(ri.activityInfo.packageName, in resolveLoop() 1051 mNameToIntent.put(ri.activityInfo.packageName, startIntent); in resolveLoop() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/smartspace/ |
D | SmartspaceInteractionHandler.kt | 38 intentStarter = this::startIntent, in <lambda>() 47 private fun startIntent( in <lambda>() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/ |
D | WidgetInteractionHandler.kt | 39 intentStarter = this::startIntent, in <lambda>() 49 private fun startIntent( in <lambda>() method
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 173 Intent startIntent = new Intent(intentToResolve); in createMappings() local 174 startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in createMappings() 176 startIntent.setClassName(ri.activityInfo.packageName, in createMappings() 178 mNameToIntent.put(ri.loadLabel(pm).toString(), startIntent); in createMappings() local 192 Intent startIntent = mNameToIntent.get(appName); in startApp() local 194 AppLaunchRunnable runnable = new AppLaunchRunnable(startIntent); in startApp()
|
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/ |
D | BcSmartspaceDataPlugin.java | 210 startIntent(v, action.getIntent(), showOnLockscreen); in startFromAction() 222 startIntent(v, action.getIntent(), showOnLockscreen); in startFromAction() 232 void startIntent(View v, Intent i, boolean showOnLockscreen); in startIntent() method
|
/frameworks/base/core/java/android/app/ |
D | ApplicationStartInfo.java | 436 public void setIntent(Intent startIntent) { in setIntent() argument 437 if (startIntent != null) { in setIntent() 438 if (startIntent.canStripForHistory()) { in setIntent() 440 mStartIntent = startIntent.maybeStripForHistory(); in setIntent() 441 } else if (startIntent.getExtras() != null) { in setIntent() 445 mStartIntent = startIntent.cloneFilter(); in setIntent() 449 mStartIntent = new Intent(startIntent); in setIntent()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillClientController.java | 242 public void onStartActivity(Intent startIntent, Intent cachedIntent) { in onStartActivity() argument 247 startIntent.resolveActivity(mActivity.getPackageManager()).getPackageName())) { in onStartActivity() 255 startIntent.putExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN, token); in onStartActivity() 256 startIntent.putExtra(AutofillManager.EXTRA_RESTORE_CROSS_ACTIVITY, true); in onStartActivity()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicyTest.java | 294 verify(mSplitScreenStarter).startIntent(any(), anyInt(), any(), in dragOverFullscreenHome_expectOnlyFullscreenTarget() 309 verify(mSplitScreenStarter).startIntent(any(), anyInt(), any(), in dragOverFullscreenApp_expectSplitScreenTargets() 314 verify(mSplitScreenStarter).startIntent(any(), anyInt(), any(), in dragOverFullscreenApp_expectSplitScreenTargets() 329 verify(mSplitScreenStarter).startIntent(any(), anyInt(), any(), in dragOverFullscreenAppPhone_expectVerticalSplitScreenTargets() 334 verify(mSplitScreenStarter).startIntent(any(), anyInt(), any(), in dragOverFullscreenAppPhone_expectVerticalSplitScreenTargets()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | FlashNotificationsControllerTest.java | 409 Intent startIntent = new Intent(ACTION_FLASH_NOTIFICATION_START_PREVIEW); in simulateLongPreview() local 410 startIntent.putExtra(EXTRA_FLASH_NOTIFICATION_PREVIEW_TYPE, PREVIEW_TYPE_LONG); in simulateLongPreview() 411 startIntent.putExtra(EXTRA_FLASH_NOTIFICATION_PREVIEW_COLOR, color); in simulateLongPreview() 412 mController.mFlashBroadcastReceiver.onReceive(mTestableContext, startIntent); in simulateLongPreview()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicy.java | 291 mStarter.startIntent(launchIntent, user.getIdentifier(), null /* fillIntent */, in launchApp() 312 mStarter.startIntent(session.launchableIntent, in launchIntent() 324 void startIntent(PendingIntent intent, int userId, Intent fillInIntent, in startIntent() method 369 public void startIntent(PendingIntent intent, int userId, @Nullable Intent fillInIntent, in startIntent() method in DragAndDropPolicy.DefaultStarter
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordDialogDelegate.java | 162 PendingIntent startIntent = PendingIntent.getForegroundService(userContext, in requestScreenCapture() local 172 mController.startCountdown(DELAY_MS, INTERVAL_MS, startIntent, stopIntent); in requestScreenCapture()
|
D | RecordingController.java | 188 public void startCountdown(long ms, long interval, PendingIntent startIntent, in startCountdown() argument 209 startIntent.send(mInteractiveBroadcastOption); in startCountdown()
|
D | ScreenRecordPermissionDialogDelegate.kt | 221 val startIntent = in <lambda>() constant 241 controller.startCountdown(DELAY_MS, INTERVAL_MS, startIntent, stopIntent) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/dagger/ |
D | SmartspaceViewComponent.kt | 70 override fun startIntent(view: View, intent: Intent, showOnLockscreen: Boolean) { in create() method
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AvatarPhotoControllerTest.java | 231 Intent startIntent = verifyStartSystemActivityForResult( in cropDoesNotUseTakePhotoUri() local 233 assertThat(startIntent.getData()).isNotEqualTo(mTakePhotoUri); in cropDoesNotUseTakePhotoUri()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 731 final Intent startIntent = new Intent(); in testHandlePictureInPictureRequested_overriddenToEnter() local 732 startIntent.putExtra(TestActivity.PIP_REQUESTED_OVERRIDE_ENTER, true); in testHandlePictureInPictureRequested_overriddenToEnter() 733 final TestActivity activity = mActivityTestRule.launchActivity(startIntent); in testHandlePictureInPictureRequested_overriddenToEnter() 750 final Intent startIntent = new Intent(); in testHandlePictureInPictureRequested_overriddenToSkip() local 751 startIntent.putExtra(TestActivity.PIP_REQUESTED_OVERRIDE_SKIP, true); in testHandlePictureInPictureRequested_overriddenToSkip() 752 final TestActivity activity = mActivityTestRule.launchActivity(startIntent); in testHandlePictureInPictureRequested_overriddenToSkip()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | ISplitScreen.aidl | 87 oneway void startIntent(in PendingIntent intent, int userId, in Intent fillInIntent, in startIntent() method
|
D | SplitScreenController.java | 679 public void startIntent(PendingIntent intent, int userId, @Nullable Intent fillInIntent, in startIntent() method in SplitScreenController 682 startIntent(intent, userId, fillInIntent, position, options); in startIntent() 829 public void startIntent(PendingIntent intent, int userId1, @Nullable Intent fillInIntent, in startIntent() method in SplitScreenController 882 mStageCoordinator.startIntent(intent, fillInIntent, position, options); in startIntent() 1402 public void startIntent(PendingIntent intent, int userId, Intent fillInIntent, int position, in startIntent() method in SplitScreenController.ISplitScreenImpl 1405 (controller) -> controller.startIntent(intent, userId, fillInIntent, position, in startIntent()
|
D | StageCoordinator.java | 270 SplitRequest(int taskId, Intent startIntent, int position) { in SplitRequest() argument 272 mStartIntent = startIntent; in SplitRequest() 275 SplitRequest(Intent startIntent, int position) { in SplitRequest() argument 276 mStartIntent = startIntent; in SplitRequest() 279 SplitRequest(Intent startIntent, Intent startIntent2, int position) { in SplitRequest() argument 280 mStartIntent = startIntent; in SplitRequest() 627 void startIntent(PendingIntent intent, Intent fillInIntent, @SplitPosition int position, in startIntent() method in StageCoordinator
|