Searched refs:uiModeManager (Results 1 – 4 of 4) sorted by relevance
56 @Mock private lateinit var uiModeManager: UiModeManager variable in com.android.systemui.qs.tiles.UiModeNightTileTest78 mContext.addMockSystemService(UiModeManager::class.java, uiModeManager) in setUp()131 `when`(uiModeManager.nightMode).thenReturn(UiModeManager.MODE_NIGHT_YES) in setNightModeOn()136 `when`(uiModeManager.nightMode).thenReturn(UiModeManager.MODE_NIGHT_NO) in setNightModeOff()
34 IUiModeManager uiModeManager = IUiModeManager.Stub.asInterface( in onCreate() local36 uiModeManager.disableCarModeByCallingPackage(UiModeManager.DISABLE_CAR_MODE_GO_HOME in onCreate()
631 final UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in startSearch() local633 if (uiModeManager.getCurrentModeType() != Configuration.UI_MODE_TYPE_TELEVISION) { in startSearch()
294 UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in systemReady() local295 uiModeManager.addOnProjectionStateChangedListener(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE, in systemReady()298 uiModeManager.getActiveProjectionTypes() != UiModeManager.PROJECTION_TYPE_NONE); in systemReady()