/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | UserAspectRatioSettingsWindowManagerTest.java | 19 import static android.content.Intent.ACTION_MAIN; 115 false, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in setUp() 200 true, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in testUpdateCompatInfo() 221 false, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in testUpdateCompatInfo() 229 true, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in testUpdateCompatInfo() 255 false, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in testUpdateCompatInfoLayoutNotInflatedYet() 263 true, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in testUpdateCompatInfoLayoutNotInflatedYet() 272 true, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in testEligibleButtonHiddenIfLetterboxBoundsEqualToStableBounds() 297 true, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in testUserFullscreenOverrideEnabled_buttonAlwaysShown() 385 true, /* topActivityBoundsLetterboxed */ true, ACTION_MAIN, CATEGORY_LAUNCHER); in testLayoutHasUserAspectRatioSettingsButton()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/ |
D | CameraIntentsTest.kt | 44 assertFalse(CameraIntents.isSecureCameraIntent(Intent(Intent.ACTION_MAIN))) in testIsSecureCameraIntent() 54 assertFalse(CameraIntents.isInsecureCameraIntent(Intent(Intent.ACTION_MAIN))) in testIsInsecureCameraIntent()
|
/frameworks/base/tests/Internal/src/com/android/internal/os/ |
D | TimeoutRecordTest.java | 42 Intent intent = new Intent(Intent.ACTION_MAIN); in forBroadcastReceiver_returnsCorrectTimeoutRecord() 57 Intent intent = new Intent(Intent.ACTION_MAIN); in forBroadcastReceiver_withPackageAndClass_returnsCorrectTimeoutRecord() 71 Intent intent = new Intent(Intent.ACTION_MAIN); in forBroadcastReceiver_withTimeoutDurationMs_returnsCorrectTimeoutRecord()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarActivityInterceptorUpdatableTest.java | 163 Intent intent = new Intent(Intent.ACTION_MAIN); in createActivityInterceptorInfoWithMainIntent() 170 Intent intent = new Intent(Intent.ACTION_MAIN); in createActivityInterceptorInfoWithMainIntent() 178 Intent intent = new Intent(Intent.ACTION_MAIN); in createActivityInterceptorInfoWithMainIntent() 316 when(mMockInfo.getIntent()).thenReturn(new Intent(Intent.ACTION_MAIN)); in registerInterceptor_works() 324 when(mMockInfo.getIntent()).thenReturn(new Intent(Intent.ACTION_MAIN)); in unregisterInterceptor_works() 335 when(mMockInfo.getIntent()).thenReturn(new Intent(Intent.ACTION_MAIN)); in registerInterceptor_respectsOrder()
|
D | CarDisplayCompatActivityInterceptorTest.java | 116 Intent intent = new Intent(Intent.ACTION_MAIN); in hostActivity_isIgnored() 268 Intent intent = new Intent(Intent.ACTION_MAIN); in getNoDisplayCompatRequiredActivity() 283 Intent intent = new Intent(Intent.ACTION_MAIN); in getDisplayCompatRequiredActivity()
|
/frameworks/base/tests/SmokeTest/src/com/android/smoketest/ |
D | SmokeTestActivity.java | 35 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null); in getTargetIntent()
|
/frameworks/base/test-runner/src/android/test/ |
D | LaunchPerformanceBase.java | 38 mIntent = new Intent(Intent.ACTION_MAIN); in LaunchPerformanceBase()
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouter2ManagerTestActivity.java | 32 Intent intent = new Intent(Intent.ACTION_MAIN); in startActivity()
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
D | ProcessErrorsTest.java | 58 mHomeIntent = new Intent(Intent.ACTION_MAIN); in ProcessErrorsTest() 237 final Intent launchable = new Intent(Intent.ACTION_MAIN); in getLauncherActivities() 256 final Intent intent = new Intent(Intent.ACTION_MAIN); in intentForActivity()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SchedulerService.java | 42 .setAction(Intent.ACTION_MAIN) in onStartCommand()
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
D | ServiceCrashTest.java | 68 intent.setAction(Intent.ACTION_MAIN); in testCrashQuickly()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 116 Intent intent = new Intent(Intent.ACTION_MAIN); in getLauncherPackageName() 163 Intent intentToResolve = new Intent(Intent.ACTION_MAIN); in createMappings() 207 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest4.java | 116 final Intent intent = new Intent(Intent.ACTION_MAIN) in testPersistingWeirdCharacters()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PersonalAppsSuspensionHelper.java | 114 final Intent intent = new Intent(Intent.ACTION_MAIN); in getSystemLauncherPackages() 194 final Intent intentToResolve = new Intent(Intent.ACTION_MAIN); in hasLauncherIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/actions/ |
D | QSTileIntentUserInputHandler.kt | 94 Intent(Intent.ACTION_MAIN) in handle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/domain/interactor/ |
D | TaskSwitchInteractor.kt | 89 baseIntent.hasCategory(Intent.CATEGORY_HOME) && baseIntent.action == Intent.ACTION_MAIN in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ModifierShortcutManager.java | 262 intent = new Intent(Intent.ACTION_MAIN); in loadShortcuts() 272 intent = Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, categoryName); in loadShortcuts() 379 intent = Intent.makeMainSelectorActivity(Intent.ACTION_MAIN, category); in handleIntentShortcut()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | Utils.java | 66 Intent intent = new Intent(Intent.ACTION_MAIN); in startElementLayout()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/ |
D | TestActivity.java | 59 .setAction(Intent.ACTION_MAIN) in start()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | Utils.java | 66 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in isHeadlessRemoteDisplayProvider()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/satellite/ |
D | SatelliteDialogUtils.kt | 91 context.startActivity(Intent(Intent.ACTION_MAIN).apply { in <lambda>()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 161 Intent intent = new Intent(Intent.ACTION_MAIN); in callSetAppLimit() 195 Intent intent = new Intent(Intent.ACTION_MAIN); in callSetAppUsageLimit()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 102 Intent intent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in setUp() 234 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in returnHome()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesToolItemParser.java | 84 new Intent(Intent.ACTION_MAIN).setComponent( in parseStringArray()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | WindowPerfTestBase.java | 59 context.startActivity(new Intent(Intent.ACTION_MAIN) in setUpOnce()
|