Home
last modified time | relevance | path

Searched refs:UI_MODE_SERVICE (Results 1 – 21 of 21) sorted by relevance

/aosp12/packages/apps/Settings/src/com/android/settings/display/
H A DNightModePreferenceController.java16 import static android.content.Context.UI_MODE_SERVICE;
58 (UiModeManager) mContext.getSystemService(UI_MODE_SERVICE); in displayPreference()
70 (UiModeManager) mContext.getSystemService(UI_MODE_SERVICE); in onPreferenceChange()
/aosp12/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
H A DCarModeDialerActivity.java130 UiModeManager uiModeManager = (UiModeManager) getSystemService(UI_MODE_SERVICE); in enableCarMode()
137 UiModeManager uiModeManager = (UiModeManager) getSystemService(UI_MODE_SERVICE); in disableCarMode()
/aosp12/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
H A DWidgetsSamples.java37 mUiModeManager = (UiModeManager) this.getSystemService(Context.UI_MODE_SERVICE); in onCreate()
H A DAbstractSampleActivity.java45 mUiModeManager = (UiModeManager) this.getSystemService(Context.UI_MODE_SERVICE); in onCreateOptionsMenu()
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DTestDialerActivity.java205 UiModeManager uiModeManager = (UiModeManager) getSystemService(UI_MODE_SERVICE); in enableCarMode()
212 UiModeManager uiModeManager = (UiModeManager) getSystemService(UI_MODE_SERVICE); in disableCarMode()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
H A DDayNightTile.java53 mUiModeManager = (UiModeManager) mContext.getSystemService(Context.UI_MODE_SERVICE); in DayNightTile()
/aosp12/frameworks/base/core/java/android/app/
H A DUiModeManager.java73 @SystemService(Context.UI_MODE_SERVICE)
279 ServiceManager.getServiceOrThrow(Context.UI_MODE_SERVICE)); in UiModeManager()
H A DSystemServiceRegistry.java699 registerService(Context.UI_MODE_SERVICE, UiModeManager.class, in registerService() argument
/aosp12/packages/services/Car/service/src/com/android/car/
H A DCarNightService.java159 mUiModeManager = (UiModeManager) mContext.getSystemService(Context.UI_MODE_SERVICE); in CarNightService()
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DActivityTest.java208 .getSystemService(Context.UI_MODE_SERVICE); in setSystemUiModeNight()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDeviceStateMonitor.java304 Context.UI_MODE_SERVICE); in DeviceStateMonitor()
747 Context.UI_MODE_SERVICE); in isAutomotiveProjectionActive()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DComponentContextFixture.java219 case Context.UI_MODE_SERVICE: in getSystemService()
249 return Context.UI_MODE_SERVICE; in getSystemServiceName()
/aosp12/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
H A DAppCompatibility.java247 UiModeManager umm = (UiModeManager) mContext.getSystemService(Context.UI_MODE_SERVICE); in getLaunchIntentForPackage()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DDeviceStateMonitorTest.java164 mContextFixture.setSystemService(Context.UI_MODE_SERVICE, mUiModeManager); in setUp()
H A DContextFixture.java319 return Context.UI_MODE_SERVICE; in getSystemServiceName()
/aosp12/frameworks/base/core/java/android/content/
H A DContext.java3662 UI_MODE_SERVICE,
4978 public static final String UI_MODE_SERVICE = "uimode"; field in Context
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java435 publishBinderService(Context.UI_MODE_SERVICE, mService); in onStart()
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java4163 ServiceManager.getService(Context.UI_MODE_SERVICE));
4981 ServiceManager.getService(Context.UI_MODE_SERVICE)); in updateUiMode()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt10699 field public static final String UI_MODE_SERVICE = "uimode";
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt7279 field public static final java.lang.String UI_MODE_SERVICE = "uimode";