/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 19 import static android.app.UiModeManager.DEFAULT_PRIORITY; 20 import static android.app.UiModeManager.MODE_NIGHT_AUTO; 21 import static android.app.UiModeManager.MODE_NIGHT_CUSTOM; 22 import static android.app.UiModeManager.MODE_NIGHT_NO; 23 import static android.app.UiModeManager.MODE_NIGHT_YES; 24 import static android.app.UiModeManager.PROJECTION_TYPE_AUTOMOTIVE; 25 import static android.app.UiModeManager.PROJECTION_TYPE_NONE; 42 import android.app.UiModeManager; 104 private static final String TAG = UiModeManager.class.getSimpleName(); 117 private int mNightMode = UiModeManager.MODE_NIGHT_NO; [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | DisableCarModeActivity.java | 21 import android.app.UiModeManager; 36 uiModeManager.disableCarModeByCallingPackage(UiModeManager.DISABLE_CAR_MODE_GO_HOME in onCreate() 37 | UiModeManager.DISABLE_CAR_MODE_ALL_PRIORITIES, in onCreate()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/ |
D | DeviceIdlenessTracker.java | 19 import static android.app.UiModeManager.PROJECTION_TYPE_NONE; 24 import android.app.UiModeManager; 59 private final UiModeManager.OnProjectionStateChangedListener mOnProjectionStateChangedListener = 108 context.getSystemService(UiModeManager.class).addOnProjectionStateChangedListener( in startTracking() 109 UiModeManager.PROJECTION_TYPE_ALL, context.getMainExecutor(), in startTracking() 113 private void onProjectionStateChanged(@UiModeManager.ProjectionType int activeProjectionTypes, in onProjectionStateChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 19 import android.app.UiModeManager; 65 private UiModeManager mUiModeManager; 85 mUiModeManager = host.getUserContext().getSystemService(UiModeManager.class); in UiModeNightTile() 126 } else if (uiMode == UiModeManager.MODE_NIGHT_AUTO in handleUpdateState() 131 } else if (uiMode == UiModeManager.MODE_NIGHT_CUSTOM) { in handleUpdateState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DeviceStateMonitor.java | 19 import static android.app.UiModeManager.PROJECTION_TYPE_AUTOMOTIVE; 24 import android.app.UiModeManager; 303 UiModeManager umm = (UiModeManager) phone.getContext().getSystemService( in DeviceStateMonitor() 746 final UiModeManager umm = (UiModeManager) mPhone.getContext().getSystemService( in isAutomotiveProjectionActive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeTriggers.java | 20 import android.app.UiModeManager; 87 private final UiModeManager mUiModeManager; 193 mUiModeManager = mContext.getSystemService(UiModeManager.class); in DozeTriggers() 576 if (UiModeManager.ACTION_ENTER_CAR_MODE.equals(intent.getAction())) { in onReceive() 589 filter.addAction(UiModeManager.ACTION_ENTER_CAR_MODE); in register()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 26 import android.app.UiModeManager; 247 UiModeManager umm = (UiModeManager) mContext.getSystemService(Context.UI_MODE_SERVICE); in getLaunchIntentForPackage()
|
/frameworks/base/core/java/android/app/ |
D | UiModeManager.java | 74 public class UiModeManager { class 273 /*package*/ UiModeManager() throws ServiceNotFoundException { in UiModeManager() method in UiModeManager 277 /*package*/ UiModeManager(Context context) throws ServiceNotFoundException { in UiModeManager() method in UiModeManager
|
D | SearchManager.java | 631 final UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in startSearch()
|
D | SystemServiceRegistry.java | 699 registerService(Context.UI_MODE_SERVICE, UiModeManager.class, in registerService() 700 new CachedServiceFetcher<UiModeManager>() { in registerService() 702 public UiModeManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 703 return new UiModeManager(ctx.getOuterContext()); in registerService()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 19 import static android.app.UiModeManager.MODE_NIGHT_AUTO; 20 import static android.app.UiModeManager.MODE_NIGHT_CUSTOM; 21 import static android.app.UiModeManager.MODE_NIGHT_NO; 22 import static android.app.UiModeManager.MODE_NIGHT_YES; 23 import static android.app.UiModeManager.PROJECTION_TYPE_ALL; 24 import static android.app.UiModeManager.PROJECTION_TYPE_AUTOMOTIVE; 25 import static android.app.UiModeManager.PROJECTION_TYPE_NONE;
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 19 import android.app.UiModeManager; 259 private final UiModeManager.OnProjectionStateChangedListener mOnProjectionStateChangedListener = 294 UiModeManager uiModeManager = mContext.getSystemService(UiModeManager.class); in systemReady() 295 uiModeManager.addOnProjectionStateChangedListener(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE, in systemReady() 298 uiModeManager.getActiveProjectionTypes() != UiModeManager.PROJECTION_TYPE_NONE); in systemReady()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PackageConfigPersister.java | 19 import static android.app.UiModeManager.MODE_NIGHT_AUTO; 20 import static android.app.UiModeManager.MODE_NIGHT_CUSTOM;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DeviceStateMonitorTest.java | 36 import android.app.UiModeManager; 136 UiModeManager mUiModeManager;
|
D | ContextFixture.java | 36 import android.app.UiModeManager; 318 } else if (serviceClass == UiModeManager.class) { in getSystemServiceName()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | InCallService.java | 23 import android.app.UiModeManager;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 42 import android.app.UiModeManager; 166 when(mContext.getSystemService(UiModeManager.class)).thenReturn(mock(UiModeManager.class)); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 59 import android.app.UiModeManager; 657 private UiModeManager mUiModeManager; 921 mUiModeManager = mContext.getSystemService(UiModeManager.class); in start() 2746 " (auto: " + UiModeManager.MODE_NIGHT_AUTO + in dump() 2747 ", yes: " + UiModeManager.MODE_NIGHT_YES + in dump() 2748 ", no: " + UiModeManager.MODE_NIGHT_NO + ")"); in dump()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 106 import android.app.UiModeManager; 1769 filter.addAction(UiModeManager.ACTION_ENTER_CAR_MODE); in init() 1770 filter.addAction(UiModeManager.ACTION_EXIT_CAR_MODE); in init() 1771 filter.addAction(UiModeManager.ACTION_ENTER_DESK_MODE); in init() 1772 filter.addAction(UiModeManager.ACTION_EXIT_DESK_MODE); in init()
|
/frameworks/base/core/api/ |
D | test-current.txt | 372 public class UiModeManager {
|
D | system-current.txt | 841 public class UiModeManager { 842 …ner(int, @NonNull java.util.concurrent.Executor, @NonNull android.app.UiModeManager.OnProjectionSt… 847 …blic void removeOnProjectionStateChangedListener(@NonNull android.app.UiModeManager.OnProjectionSt… 859 public static interface UiModeManager.OnProjectionStateChangedListener {
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2702 …/app/SystemServiceRegistry$53;->createService(Landroid/app/ContextImpl;)Landroid/app/UiModeManager; 2783 HSPLandroid/app/UiModeManager$OnProjectionStateChangedListenerResourceManager;-><init>()V 2784 HSPLandroid/app/UiModeManager$OnProjectionStateChangedListenerResourceManager;-><init>(Landroid/app… 2785 HSPLandroid/app/UiModeManager;-><init>(Landroid/content/Context;)V 2786 HSPLandroid/app/UiModeManager;->getActiveProjectionTypes()I 2787 HSPLandroid/app/UiModeManager;->getCurrentModeType()I+]Landroid/app/IUiModeManager;Landroid/app/IUi… 23491 Landroid/app/UiModeManager$InnerListener; 23492 Landroid/app/UiModeManager$OnProjectionStateChangedListener; 23493 Landroid/app/UiModeManager$OnProjectionStateChangedListenerResourceManager; 23494 Landroid/app/UiModeManager;
|
D | preloaded-classes | 702 android.app.UiModeManager
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2702 …/app/SystemServiceRegistry$53;->createService(Landroid/app/ContextImpl;)Landroid/app/UiModeManager; 2783 HSPLandroid/app/UiModeManager$OnProjectionStateChangedListenerResourceManager;-><init>()V 2784 HSPLandroid/app/UiModeManager$OnProjectionStateChangedListenerResourceManager;-><init>(Landroid/app… 2785 HSPLandroid/app/UiModeManager;-><init>(Landroid/content/Context;)V 2786 HSPLandroid/app/UiModeManager;->getActiveProjectionTypes()I 2787 HSPLandroid/app/UiModeManager;->getCurrentModeType()I+]Landroid/app/IUiModeManager;Landroid/app/IUi… 33124 Landroid/app/UiModeManager$InnerListener; 33125 Landroid/app/UiModeManager$OnProjectionStateChangedListener; 33126 Landroid/app/UiModeManager$OnProjectionStateChangedListenerResourceManager; 33127 Landroid/app/UiModeManager;
|
D | preloaded-classes | 699 android.app.UiModeManager
|