Searched refs:uiModeManager (Results 1 – 10 of 10) sorted by relevance
58 UiModeManager uiModeManager = getSystemService(UiModeManager.class);59 uiModeManager.disableCarMode(0);80 UiModeManager uiModeManager = getSystemService(UiModeManager.class);81 uiModeManager.enableCarMode(priority, 0);86 UiModeManager uiModeManager = getSystemService(UiModeManager.class);87 uiModeManager.disableCarMode(0);92 UiModeManager uiModeManager = getSystemService(UiModeManager.class);93 return uiModeManager.requestProjection(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE);98 UiModeManager uiModeManager = getSystemService(UiModeManager.class);99 uiModeManager.releaseProjection(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE);
66 UiModeManager uiModeManager = context.getSystemService(UiModeManager.class); in hasGlobalSearchActivity() local67 if (uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_TELEVISION) { in hasGlobalSearchActivity()
184 UiModeManager uiModeManager = getContext().getSystemService(UiModeManager.class); in testAutomotiveProjectionExceptions() local186 uiModeManager.releaseProjection(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE), in testAutomotiveProjectionExceptions()211 () -> uiModeManager.requestProjection(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE), in testAutomotiveProjectionExceptions()227 () -> uiModeManager.releaseProjection(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE), in testAutomotiveProjectionExceptions()241 () -> uiModeManager.releaseProjection(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE), in testAutomotiveProjectionExceptions()
223 UiModeManager uiModeManager = getContext().getSystemService(UiModeManager.class); in setAutomotiveProjection() local226 () -> uiModeManager.requestProjection(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE), in setAutomotiveProjection()230 () -> uiModeManager.releaseProjection(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE), in setAutomotiveProjection()
128 UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in isOnWatchUiMode() local129 return uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_WATCH; in isOnWatchUiMode()
402 UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in testIncomingVideoCallWithNoVideoSupportInCarMode() local403 if (uiModeManager.isUiModeLocked()) { in testIncomingVideoCallWithNoVideoSupportInCarMode()502 UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in testSwapInCallServicesForSelfManagedCSCall() local503 if (uiModeManager.isUiModeLocked()) { in testSwapInCallServicesForSelfManagedCSCall()
80 final UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in setUp() local82 Configuration.UI_MODE_TYPE_NORMAL, uiModeManager.getCurrentModeType()); in setUp()
410 final UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in testSetApplicationNightMode() local411 assumeTrue(uiModeManager != null); in testSetApplicationNightMode()412 final int systemNightMode = uiModeManager.getNightMode(); in testSetApplicationNightMode()
171 UiModeManager uiModeManager = (UiModeManager) mActivity.getSystemService( in isTvMode() local173 return uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_TELEVISION; in isTvMode()
2869 UiModeManager uiModeManager = checkNotNull(mContext.getSystemService(UiModeManager.class)); in isUiModeManagerThemeOverlayActive() local2871 () -> uiModeManager.getAttentionModeThemeOverlay() in isUiModeManagerThemeOverlayActive()