HomeSort by relevance Sort by last modified time
    Searched defs:mUiModeManager (Results 1 - 9 of 9) sorted by null

  /cts/tests/app/src/android/app/cts/
UiModeManagerTest.java 28 private UiModeManager mUiModeManager;
33 mUiModeManager = (UiModeManager) getContext().getSystemService(Context.UI_MODE_SERVICE);
34 assertNotNull(mUiModeManager);
43 mUiModeManager.getCurrentModeType());
47 mUiModeManager.getCurrentModeType());
57 assertTrue(mUiModeManager.isNightModeLocked());
60 if (mUiModeManager.isNightModeLocked()) {
85 assertEquals(Configuration.UI_MODE_TYPE_CAR, mUiModeManager.getCurrentModeType());
86 assertTrue(mUiModeManager.isUiModeLocked());
91 if (mUiModeManager.isUiModeLocked())
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
AppCompatDelegateImplV23.java 26 private final UiModeManager mUiModeManager;
31 mUiModeManager = (UiModeManager) context.getSystemService(Context.UI_MODE_SERVICE);
45 && mUiModeManager.getNightMode() == UiModeManager.MODE_NIGHT_AUTO) {
  /packages/services/Car/service/src/com/android/car/
CarNightService.java 37 private final UiModeManager mUiModeManager;
62 if (mUiModeManager != null) {
63 mUiModeManager.setNightMode(mNightSetting);
70 mUiModeManager = (UiModeManager) mContext.getSystemService(Context.UI_MODE_SERVICE);
71 if (mUiModeManager == null) {
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
SystemStateProviderTest.java 47 @Mock UiModeManager mUiModeManager;
74 when(mContext.getSystemService(Context.UI_MODE_SERVICE)).thenReturn(mUiModeManager);
75 when(mUiModeManager.getCurrentModeType()).thenReturn(Configuration.UI_MODE_TYPE_CAR);
81 when(mContext.getSystemService(Context.UI_MODE_SERVICE)).thenReturn(mUiModeManager);
82 when(mUiModeManager.getCurrentModeType()).thenReturn(Configuration.UI_MODE_TYPE_NORMAL);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DozeService.java 80 private UiModeManager mUiModeManager;
154 mUiModeManager = (UiModeManager) mContext.getSystemService(Context.UI_MODE_SERVICE);
174 mCarMode = mUiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_CAR;
  /frameworks/base/services/core/java/com/android/server/policy/
PhoneWindowManager.java 436 IUiModeManager mUiModeManager;
    [all...]
  /prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar 
  /external/robolectric/v3/runtime/
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 

Completed in 136 milliseconds