/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
D | RecordingControllerTest.java | 95 PendingIntent startIntent = Mockito.mock(PendingIntent.class); in testStartRecording() local 96 mController.startCountdown(0, 0, startIntent, null); in testStartRecording() 99 verify(startIntent).send(); in testStartRecording() 109 PendingIntent startIntent = Mockito.mock(PendingIntent.class); in testStopRecording() local 112 mController.startCountdown(0, 0, startIntent, stopIntent); in testStopRecording() 141 PendingIntent startIntent = Mockito.mock(PendingIntent.class); in testUpdateStateBroadcast() local 142 mController.startCountdown(0, 0, startIntent, null); in testUpdateStateBroadcast() 170 PendingIntent startIntent = Mockito.mock(PendingIntent.class); in testUserChange() local 172 mController.startCountdown(0, 0, startIntent, stopIntent); in testUserChange()
|
D | RecordingServiceTest.java | 107 Intent startIntent = RecordingService.getStartIntent(mContext, 0, 0, false); in testLogStartRecording() local 108 mRecordingService.onStartCommand(startIntent, 0, 0); in testLogStartRecording() 140 Intent startIntent = RecordingService.getStartIntent(mContext, 0, 0, false); in testErrorUpdatesState() local 141 mRecordingService.onStartCommand(startIntent, 0, 0); in testErrorUpdatesState()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicyTest.java | 208 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverFullscreenHome_expectOnlyFullscreenTarget() 220 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverFullscreenApp_expectSplitScreenAndFullscreenTargets() 225 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverFullscreenApp_expectSplitScreenAndFullscreenTargets() 237 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverFullscreenAppPhone_expectVerticalSplitScreenAndFullscreenTargets() 242 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverFullscreenAppPhone_expectVerticalSplitScreenAndFullscreenTargets() 254 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverFullscreenNonResizeableApp_expectOnlyFullscreenTargets() 266 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragNonResizeableAppOverFullscreenApp_expectOnlyFullscreenTargets() 279 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverSplitApp_expectFullscreenAndSplitTargets() 285 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverSplitApp_expectFullscreenAndSplitTargets() 298 verify(mSplitScreenStarter).startIntent(any(), any(), in testDragAppOverSplitAppPhone_expectFullscreenAndVerticalSplitTargets() [all …]
|
/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/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 171 Intent startIntent = new Intent(intentToResolve); in createMappings() local 172 startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in createMappings() 174 startIntent.setClassName(ri.activityInfo.packageName, in createMappings() 176 mNameToIntent.put(ri.loadLabel(pm).toString(), startIntent); in createMappings() local 190 Intent startIntent = mNameToIntent.get(appName); in startApp() local 192 AppLaunchRunnable runnable = new AppLaunchRunnable(startIntent); in startApp()
|
/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 538 Intent startIntent = new Intent(intentToResolve); in resolveLoop() local 539 startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in resolveLoop() 541 startIntent.setClassName(ri.activityInfo.packageName, in resolveLoop() 546 mNameToIntent.put(ri.activityInfo.packageName, startIntent); in resolveLoop() 547 mNameToIntent.put(appName, startIntent); in resolveLoop() 557 Intent startIntent = mNameToIntent.get(appName); in startApp() local 558 if (startIntent == null) { in startApp() 563 AppLaunchRunnable runnable = new AppLaunchRunnable(startIntent, forceStopBeforeLaunch, in startApp() 614 Intent startIntent = mNameToIntent.get(appName); in closeApp() local 615 if (startIntent != null) { in closeApp() [all …]
|
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/ |
D | BcSmartspaceDataPlugin.java | 128 startIntent(v, action.getIntent()); in startFromAction() 135 void startIntent(View v, Intent i); in startIntent() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordDialog.java | 116 PendingIntent startIntent = PendingIntent.getForegroundService(userContext, in requestScreenCapture() local 126 mController.startCountdown(DELAY_MS, INTERVAL_MS, startIntent, stopIntent); in requestScreenCapture()
|
D | RecordingController.java | 114 public void startCountdown(long ms, long interval, PendingIntent startIntent, in startCountdown() argument 135 startIntent.send(); in startCountdown()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | ISplitScreen.aidl | 76 oneway void startIntent(in PendingIntent intent, in Intent fillInIntent, int stage, in startIntent() method
|
D | SplitScreenController.java | 202 public void startIntent(PendingIntent intent, Intent fillInIntent, in startIntent() method in SplitScreenController 440 public void startIntent(PendingIntent intent, Intent fillInIntent, int stage, int position, in startIntent() method in SplitScreenController.ISplitScreenImpl 444 controller.startIntent(intent, fillInIntent, stage, position, options); in startIntent()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 630 final Intent startIntent = new Intent(); in testHandlePictureInPictureRequested_overriddenToEnter() local 631 startIntent.putExtra(TestActivity.PIP_REQUESTED_OVERRIDE_ENTER, true); in testHandlePictureInPictureRequested_overriddenToEnter() 632 final TestActivity activity = mActivityTestRule.launchActivity(startIntent); in testHandlePictureInPictureRequested_overriddenToEnter() 646 final Intent startIntent = new Intent(); in testHandlePictureInPictureRequested_overriddenToSkip() local 647 startIntent.putExtra(TestActivity.PIP_REQUESTED_OVERRIDE_SKIP, true); in testHandlePictureInPictureRequested_overriddenToSkip() 648 final TestActivity activity = mActivityTestRule.launchActivity(startIntent); in testHandlePictureInPictureRequested_overriddenToSkip()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicy.java | 237 mStarter.startIntent(intent.getParcelableExtra(EXTRA_PENDING_INTENT), in startClipDescription() 298 void startIntent(PendingIntent intent, Intent fillInIntent, in startIntent() method 340 public void startIntent(PendingIntent intent, @Nullable Intent fillInIntent, int stage, in startIntent() method in DragAndDropPolicy.DefaultStarter
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ScheduleConditionProviderTest.java | 41 Intent startIntent = in setUp() local 43 startIntent.setPackage("android"); in setUp() 54 service.onBind(startIntent); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceController.kt | 126 override fun startIntent(v: View?, i: Intent?) { in <lambda>() method
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 485 Intent startIntent = new Intent(); in getInterface() 486 startIntent.setClass(getContext(), WapPushManager.class); in getInterface() 487 IBinder service = bindService(startIntent); in getInterface()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 1390 Intent startIntent = getIntent(); 1392 startIntent.getBooleanExtra(EXTRA_IS_AUDIO_CAPTURE_DEVICE, false);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1135 @UserIdInt int targetUserId, boolean startIntent, boolean dontAskCredential) { in ensureCanModifyQuietMode() argument 1141 if (startIntent) { in ensureCanModifyQuietMode()
|