Home
last modified time | relevance | path

Searched refs:configContext (Results 1 – 2 of 2) sorted by relevance

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java176 final Context configContext = createConfigurationContext(testConfig); in onHandleCommand()
377 configContext.getSystemService(WindowManager.class); in onHandleCommand()
385 ViewConfiguration.get(configContext); in onHandleCommand()
396 new GestureDetector(configContext, listener); in onHandleCommand()
442 final Context configContext = createConfigurationContext(config); in verifyGetDisplay() local
444 configContextDisplay = configContext.getDisplay(); in verifyGetDisplay()
451 final Context configContext = createConfigurationContext(config); in verifyIsUiContext() local
454 final boolean imeDerivedConfigContext = configContext.isUiContext(); in verifyIsUiContext()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java938 final Context configContext = getContext().createConfigurationContext(configuration); in testIncorrectContextUse_ConfigContext() local
941 () -> configContext.getSystemService(WindowManager.class)); in testIncorrectContextUse_ConfigContext()
944 ViewConfiguration.get(configContext); in testIncorrectContextUse_ConfigContext()
946 assertNoViolation(() -> ViewConfiguration.get(configContext)); in testIncorrectContextUse_ConfigContext()
950 assertNoViolation(() -> new GestureDetector(configContext, mGestureListener)); in testIncorrectContextUse_ConfigContext()
958 configContext.getSystemService(WallpaperManager.class) in testIncorrectContextUse_ConfigContext()