/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowContextTestBase.java | 31 Context createWindowContext(int displayId) { in createWindowContext() method in WindowContextTestBase 32 return createWindowContext(displayId, TYPE_APPLICATION_OVERLAY); in createWindowContext() 35 Context createWindowContext(int displayId, int type) { in createWindowContext() method in WindowContextTestBase 36 return createDisplayContext(displayId).createWindowContext( in createWindowContext()
|
D | WindowContextPolicyTests.java | 61 mContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in testCreateWindowContextWithNoDisplayContext() 67 displayContext.createWindowContext(null /* display */, TYPE_APPLICATION_OVERLAY, in testWindowContextWithNullDisplay() 75 mContext.createWindowContext(display, TYPE_APPLICATION_OVERLAY, null /* options */); in testWindowContextWithDisplayOnNonUiContext() 83 createWindowContext(display.mId); in testCreateMultipleWindowContextsWithoutView() 104 createWindowContext(display.mId, windowType); in testWindowContextWithAllPublicTypes()
|
D | WindowContextTests.java | 69 final Context windowContext = createWindowContext(display.mId); in testWindowContextConfigChanges() 103 final Context windowContext = createWindowContext(DEFAULT_DISPLAY); in testWindowContextBindService() 129 final Context windowContext = createWindowContext(display.mId); in testWindowContextRegisterComponentCallbacks() 156 final Context windowContext = createWindowContext(display.mId); in testWindowContextGlobalConfigChanges()
|
D | WindowMetricsWindowContextTests.java | 82 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in WindowContextTestSession()
|
/cts/tests/tests/content/src/android/content/wm/cts/ |
D | ContextIsUiContextTest.java | 77 assertThat(createWindowContext().isUiContext()).isTrue(); in testIsUiContextOnWindowContext() 82 final Context windowContext = mApplicationContext.createWindowContext(getDefaultDisplay(), in testIsUiContextOnWindowContextWithDisplay() 116 final Context uiDerivedContext = createWindowContext() in testIsUiContextOnUiDerivedContext() 123 final Context uiDerivedDisplayContext = createWindowContext() in testIsUiContextOnUiDerivedDisplayContext() 130 final Context uiContextWrapper = new ContextWrapper(createWindowContext()); in testIsUiContextOnUiContextWrapper()
|
D | ContextGetDisplayTest.java | 109 final Context windowContext = createWindowContext(); in testGetDisplayFromWindowContext() 116 final Context windowContext = mApplicationContext.createWindowContext(display, in testGetDisplayFromWindowContextWithDefaultDisplay() 124 final Context windowContext = mApplicationContext.createWindowContext(display, in testGetDisplayFromWindowContextWithSecondaryDisplay()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusHandleService.java | 96 final Context windowContext = createWindowContext(DEFAULT_DISPLAY); in createPopupTextView() 159 private Context createWindowContext(int displayId) { in createWindowContext() method in WindowFocusHandleService 161 return createDisplayContext(display).createWindowContext(TYPE_APPLICATION_OVERLAY, in createWindowContext()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTestBase.java | 86 public Context createWindowContext() { in createWindowContext() method in ContextTestBase 87 return mApplicationContext.createDisplayContext(mDefaultDisplay).createWindowContext( in createWindowContext()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 720 final Context windowContext = createWindowContext(); in testIncorrectContextUse_WindowContext_NoViolation() 783 createWindowContext().createConfigurationContext(config); in testIncorrectContextUse_UiDerivedContext_NoViolation() 803 final Context uiDerivedAttrContext = createWindowContext() in testIncorrectContextUse_UiDerivedContext_NoViolation() 836 final Context uiDerivedDisplayContext = createWindowContext().createDisplayContext(display); in testIncorrectContextUse_UiDerivedDisplayContext_ThrowViolation() 1153 private Context createWindowContext() { in createWindowContext() method in StrictModeTest 1157 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in createWindowContext()
|
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/ |
D | UntrustedTouchTestService.java | 133 return displayContext.createWindowContext(LayoutParams.TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
|
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/ |
D | AlertWindowService.java | 144 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
|
/cts/tests/app/src/android/app/cts/ |
D | CloseSystemDialogsTest.java | 471 return displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
|