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.java174 final Context configContext = createConfigurationContext(testConfig); in onHandleCommand()
373 configContext.getSystemService(WindowManager.class); in onHandleCommand()
381 ViewConfiguration.get(configContext); in onHandleCommand()
392 new GestureDetector(configContext, listener); in onHandleCommand()
434 final Context configContext = createConfigurationContext(config); in verifyGetDisplay() local
436 configContextDisplay = configContext.getDisplay(); in verifyGetDisplay()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java872 final Context configContext = getContext().createConfigurationContext(configuration); in testIncorrectContextUse_ConfigContext() local
875 () -> configContext.getSystemService(WindowManager.class)); in testIncorrectContextUse_ConfigContext()
877 assertNoViolation(() -> ViewConfiguration.get(configContext)); in testIncorrectContextUse_ConfigContext()
881 assertNoViolation(() -> new GestureDetector(configContext, mGestureListener)); in testIncorrectContextUse_ConfigContext()
889 configContext.getSystemService(WallpaperManager.class) in testIncorrectContextUse_ConfigContext()