Home
last modified time | relevance | path

Searched refs:APP_SELF (Results 1 – 3 of 3) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java132 private static final String APP_SELF = "android.server.wm.cts"; field in WindowUntrustedTouchTest
199 mPreviousSawAppOp = AppOpsUtils.getOpMode(APP_SELF, OPSTR_SYSTEM_ALERT_WINDOW); in setUp()
200 AppOpsUtils.setOpMode(APP_SELF, OPSTR_SYSTEM_ALERT_WINDOW, MODE_ALLOWED); in setUp()
224 AppOpsUtils.setOpMode(APP_SELF, OPSTR_SYSTEM_ALERT_WINDOW, mPreviousSawAppOp); in tearDown()
332 addSawOverlay(APP_SELF, WINDOW_1, .7f); in testWhenOneSawWindowAboveThresholdAndSelfSawWindow_allowsTouch()
344 addSawOverlay(APP_SELF, WINDOW_1, .7f); in testWhenOneSawWindowBelowThresholdAndSelfSawWindow_allowsTouch()
357 addSawOverlay(APP_SELF, WINDOW_1, .7f); in testWhenTwoSawWindowsTogetherBelowThresholdAndSelfSawWindow_allowsTouch()
463 addActivityOverlay(APP_SELF, /* opacity */ .9f); in testWhenOneSelfActivityWindow_allowsTouch()
496 addToastOverlay(APP_SELF, /* custom */ true); in testWhenOneActivityWindowAndOneSelfCustomToastWindow_blocksTouch()
508 addSawOverlay(APP_SELF, WINDOW_1, .5f); in testWhenOneActivityWindowAndOneSelfSawWindow_blocksTouch()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityRecordInputSinkTests.java48 private static final String APP_SELF = "android.server.wm.cts"; field in ActivityRecordInputSinkTests
53 … new ComponentName(APP_SELF, "android.server.wm.activity.ActivityRecordInputSinkTestsActivity");
56 Components.TranslucentFloatingActivity.getComponent(APP_SELF);
164 intent.setPackage(APP_SELF); in launchActivityInSameTask()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java93 private static final String APP_SELF = "android.app.stubs"; field in CloseSystemDialogsTest
127 PermissionUtils.grantPermission(APP_SELF, Manifest.permission.POST_NOTIFICATIONS); in setUp()
131 mNotificationHelper.enableListener(APP_SELF); in setUp()
184 mNotificationHelper.disableListener(APP_SELF); in tearDown()
316 mService = getService(APP_SELF); in testCloseSystemDialogsViaWindowManager_whenTestInstrumentedViaShell_isSent()
326 mService = getService(APP_SELF); in testCloseSystemDialogsViaWindowManager_whenRunningAsShell_isSent()
362 mService = getService(APP_SELF); in testCloseSystemDialogsViaActivityManager_whenTestInstrumentedViaShell_isSent()
373 mService = getService(APP_SELF); in testCloseSystemDialogsViaActivityManager_whenRunningAsShell_isSent()