Searched refs:isNightDisplayAvailable (Results 1 – 10 of 10) sorted by relevance
270 if (ColorDisplayManager.isNightDisplayAvailable(mContext)) { in testChangeUserCallbacksStoppedAndStarted()324 if (ColorDisplayManager.isNightDisplayAvailable(mContext)) { in testChangeUserSomeCallbacksNotAdded()366 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenActivated()375 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileNotAdded_whenDeactivated()384 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenNightModeTwilight()394 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenNightModeCustom()404 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileNotAdded_whenNightModeDisabled()
48 private val enabled = ColorDisplayManager.isNightDisplayAvailable(context)
60 flowOf(ColorDisplayManager.isNightDisplayAvailable(context)) in availability()
95 val expectedAvailability = ColorDisplayManager.isNightDisplayAvailable(context) in <lambda>()
170 && ColorDisplayManager.isNightDisplayAvailable(mContext)) { in startControllersAndSettingsListeners()205 if (ColorDisplayManager.isNightDisplayAvailable(mContext) in stopListening()
106 return ColorDisplayManager.isNightDisplayAvailable(mContext); in isAvailable()
500 public static boolean isNightDisplayAvailable(Context context) { in isNightDisplayAvailable() method in ColorDisplayManager
1487 mIsAvailable = ColorDisplayManager.isNightDisplayAvailable(context); in isAvailable()
8152 HSPLandroid/hardware/display/ColorDisplayManager;->isNightDisplayAvailable(Landroid/content/Context…
8155 HSPLandroid/hardware/display/ColorDisplayManager;->isNightDisplayAvailable(Landroid/content/Context…