Home
last modified time | relevance | path

Searched refs:overlay (Results 1 – 25 of 40) sorted by relevance

12

/cts/tests/tests/content/src/android/content/om/cts/
DFabricatedOverlayTest.java86 final FabricatedOverlay overlay = in setResourceValue_forResourceName_withoutSlash_shouldBeInvalid() local
92 overlay.setResourceValue("demo", TypedValue.TYPE_INT_COLOR_ARGB8, in setResourceValue_forResourceName_withoutSlash_shouldBeInvalid()
98 final FabricatedOverlay overlay = in setResourceValue_forResourceName_colonAfterSlash_shouldBeInvalid() local
104 overlay.setResourceValue( in setResourceValue_forResourceName_colonAfterSlash_shouldBeInvalid()
112 final FabricatedOverlay overlay = in setResourceValue_forResourceName_invalidResourceType_shouldFail() local
118 overlay.setResourceValue("s/demo", TypedValue.TYPE_INT_COLOR_ARGB8, in setResourceValue_forResourceName_invalidResourceType_shouldFail()
124 final FabricatedOverlay overlay = in setResourceValue_forResourceName_colonBeforeSlash_shouldBeValid() local
127 overlay.setResourceValue(mContext.getPackageName() + ":color/demo", in setResourceValue_forResourceName_colonBeforeSlash_shouldBeValid()
133 final FabricatedOverlay overlay = in setResourceValue_forIntType_colorAsStringType_shouldFail() local
138 () -> overlay.setResourceValue("color/demo", TypedValue.TYPE_STRING, Color.WHITE, in setResourceValue_forIntType_colorAsStringType_shouldFail()
[all …]
DFabricatedOverlayFacilitator.java59 final FabricatedOverlay overlay = isSelfTarget in prepare() local
62 overlay.setTargetOverlayable(overlayableName); in prepare()
63 overlay.setResourceValue(TARGET_COLOR_RES, TypedValue.TYPE_INT_COLOR_ARGB8, Color.WHITE, in prepare()
65 overlay.setResourceValue(TARGET_STRING_RES, TypedValue.TYPE_STRING, "HELLO", in prepare()
67 return overlay; in prepare()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DOverlayActivity.java17 package android.server.wm.overlay;
19 import static android.server.wm.overlay.Components.OverlayActivity.EXTRA_OPACITY;
20 import static android.server.wm.overlay.Components.OverlayActivity.EXTRA_TOKEN;
21 import static android.server.wm.overlay.Components.OverlayActivity.EXTRA_TOKEN_RECEIVER;
22 import static android.server.wm.overlay.Components.OverlayActivity.EXTRA_TOUCHABLE;
23 import static android.server.wm.overlay.UntrustedTouchTestService.BACKGROUND_COLOR;
DToastActivity.java17 package android.server.wm.overlay;
19 import static android.server.wm.overlay.UntrustedTouchTestService.BACKGROUND_COLOR;
DExitAnimationActivity.java17 package android.server.wm.overlay;
19 import static android.server.wm.overlay.UntrustedTouchTestService.BACKGROUND_COLOR;
DTrampolineActivity.java17 package android.server.wm.overlay;
DTranslucentFloatingActivity.java17 package android.server.wm.overlay;
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDreamCoordinator.java97 public void setDreamOverlay(ComponentName overlay) { in setDreamOverlay() argument
98 SystemUtil.runWithShellPermissionIdentity(() -> mDreamManager.setDreamOverlay(overlay)); in setDreamOverlay()
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayAll/rro_src/com/android/cts/overlay/all/
DInjectedOverlay.java17 package com.android.cts.overlay.all;
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/
DSimpleActivity.java17 package com.android.cts.overlay.target;
DOverlayTargetService.java17 package com.android.cts.overlay.target;
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityRecordInputSinkTests.java21 import static android.server.wm.overlay.Components.TranslucentFloatingActivity.ACTION_FINISH;
22 import static android.server.wm.overlay.Components.TranslucentFloatingActivity.EXTRA_FADE_EXIT;
33 import android.server.wm.overlay.Components;
/cts/hostsidetests/securitybulletin/test-apps/BUG-182810085/src/android/security/cts/BUG_182810085/
DDeviceTest.java86 UiObject2 overlay = waitForView(By.text(mContext.getString(R.string.tapjacking_text))); in testTapjacking() local
87 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/hostsidetests/securitybulletin/test-apps/BUG-182808318/src/android/security/cts/BUG_182808318/
DDeviceTest.java86 UiObject2 overlay = waitForView(By.text(mContext.getString(R.string.tapjacking_text))); in testTapjacking() local
87 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183963253/src/android/security/cts/BUG_183963253/
DDeviceTest.java87 UiObject2 overlay = waitForView(By.text("BUG_183963253 overlay text")); in testTapjacking() local
88 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411210/src/android/security/cts/BUG_183411210/
DDeviceTest.java86 UiObject2 overlay = waitForView(By.text(mContext.getString(R.string.tapjacking_text))); in testTapjacking() local
87 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183794206/src/android/security/cts/BUG_183794206/
DDeviceTest.java89 UiObject2 overlay = waitForView(By.text(mContext.getString(R.string.tapjacking_text))); in testTapjacking() local
90 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/tests/tests/media/bettertogether/
DAndroid.bp34 "--auto-add-overlay",
66 "--auto-add-overlay",
/cts/hostsidetests/securitybulletin/test-apps/BUG-183613671/src/android/security/cts/BUG_183613671/
DDeviceTest.java88 UiObject2 overlay = waitForView(By.text("BUG_183613671 OVERLAY TEXT")); in testTapjacking() local
89 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411279/src/android/security/cts/BUG_183411279/
DDeviceTest.java88 UiObject2 overlay = waitForView(By.text(mContext.getString(R.string.tapjacking_text))); in testTapjacking() local
89 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183410508/src/android/security/cts/BUG_183410508/
DDeviceTest.java90 UiObject2 overlay = waitForView(By.text(mContext.getString(R.string.tapjacking_text))); in testTapjacking() local
91 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraAndOverlayForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/overlay/
DOverlayActivity.kt1 package android.sensorprivacy.cts.usemiccamera.overlay
/cts/hostsidetests/securitybulletin/test-apps/BUG-182282630/src/android/security/cts/BUG_182282630/
DDeviceTest.java94 UiObject2 overlay = waitForView(By.text(mContext.getString(R.string.tapjacking_text))); in testTapjacking() local
95 assertNull("Tap-jacking successful. Overlay was displayed.!", overlay); in testTapjacking()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallTest.java177 View[] overlay = new View[1]; in overlaysAreSuppressedWhenConfirmingUninstall() local
179 overlay[0] = LayoutInflater.from(mContext).inflate(R.layout.overlay_activity, in overlaysAreSuppressedWhenConfirmingUninstall()
181 windowManager.addView(overlay[0], layoutParams); in overlaysAreSuppressedWhenConfirmingUninstall()
203 windowManager.removeView(overlay[0]); in overlaysAreSuppressedWhenConfirmingUninstall()
/cts/tests/tests/media/drmframework/
DAndroid.bp36 "--auto-add-overlay",
86 "--auto-add-overlay",

12