Searched refs:configContext (Results 1 – 2 of 2) sorted by relevance
176 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() local444 configContextDisplay = configContext.getDisplay(); in verifyGetDisplay()451 final Context configContext = createConfigurationContext(config); in verifyIsUiContext() local454 final boolean imeDerivedConfigContext = configContext.isUiContext(); in verifyIsUiContext()
938 final Context configContext = getContext().createConfigurationContext(configuration); in testIncorrectContextUse_ConfigContext() local941 () -> 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()