Home
last modified time | relevance | path

Searched refs:ACTION_MAIN (Results 1 – 25 of 114) sorted by relevance

12345

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DUserAspectRatioSettingsWindowManagerTest.java19 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/
DCameraIntentsTest.kt44 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/
DTimeoutRecordTest.java42 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/
DCarActivityInterceptorUpdatableTest.java163 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()
DCarDisplayCompatActivityInterceptorTest.java116 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/
DSmokeTestActivity.java35 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null); in getTargetIntent()
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java38 mIntent = new Intent(Intent.ACTION_MAIN); in LaunchPerformanceBase()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTestActivity.java32 Intent intent = new Intent(Intent.ACTION_MAIN); in startActivity()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java58 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/
DSchedulerService.java42 .setAction(Intent.ACTION_MAIN) in onStartCommand()
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DServiceCrashTest.java68 intent.setAction(Intent.ACTION_MAIN); in testCrashQuickly()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java116 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/
DShortcutManagerTest4.java116 final Intent intent = new Intent(Intent.ACTION_MAIN) in testPersistingWeirdCharacters()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPersonalAppsSuspensionHelper.java114 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/
DQSTileIntentUserInputHandler.kt94 Intent(Intent.ACTION_MAIN) in handle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/domain/interactor/
DTaskSwitchInteractor.kt89 baseIntent.hasCategory(Intent.CATEGORY_HOME) && baseIntent.action == Intent.ACTION_MAIN in <lambda>()
/frameworks/base/services/core/java/com/android/server/policy/
DModifierShortcutManager.java262 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/
DUtils.java66 Intent intent = new Intent(Intent.ACTION_MAIN); in startElementLayout()
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/
DTestActivity.java59 .setAction(Intent.ACTION_MAIN) in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java66 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in isHeadlessRemoteDisplayProvider()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/satellite/
DSatelliteDialogUtils.kt91 context.startActivity(Intent(Intent.ACTION_MAIN).apply { in <lambda>()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java161 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/
DAppCompatibility.java102 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/
DHearingDevicesToolItemParser.java84 new Intent(Intent.ACTION_MAIN).setComponent( in parseStringArray()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DWindowPerfTestBase.java59 context.startActivity(new Intent(Intent.ACTION_MAIN) in setUpOnce()

12345