Home
last modified time | relevance | path

Searched refs:createWindowContext (Results 1 – 12 of 12) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowContextTestBase.java31 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()
DWindowContextPolicyTests.java61 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()
DWindowContextTests.java69 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()
DWindowMetricsWindowContextTests.java82 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in WindowContextTestSession()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextIsUiContextTest.java77 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()
DContextGetDisplayTest.java109 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/
DWindowFocusHandleService.java96 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/
DContextTestBase.java86 public Context createWindowContext() { in createWindowContext() method in ContextTestBase
87 return mApplicationContext.createDisplayContext(mDefaultDisplay).createWindowContext( in createWindowContext()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java720 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/
DUntrustedTouchTestService.java133 return displayContext.createWindowContext(LayoutParams.TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()
/cts/tests/framework/base/windowmanager/alertwindowservice/src/android/server/wm/alertwindowservice/
DAlertWindowService.java144 .createWindowContext(TYPE_APPLICATION_OVERLAY, null /* options */); in onCreate()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java471 return displayContext.createWindowContext(TYPE_APPLICATION_OVERLAY, null); in getContextForSaw()