Searched refs:mScreenOffHandler (Results 1 – 5 of 5) sorted by relevance
91 private ScreenOffHandler mScreenOffHandler; field in ScreenOffHandlerUnitTest133 SparseIntArray result = mScreenOffHandler.parseModeAssignmentSettingValue(actualModeString); in testParseSetting_valid_returnNonNull()154 result = mScreenOffHandler.parseModeAssignmentSettingValue(actualModeString); in testParseSetting_valid_returnNonNull()169 result = mScreenOffHandler.parseModeAssignmentSettingValue(actualModeString); in testParseSetting_valid_returnNonNull()182 result = mScreenOffHandler.parseModeAssignmentSettingValue(actualModeString); in testParseSetting_valid_returnNonNull()193 result = mScreenOffHandler.parseModeAssignmentSettingValue(actualModeString); in testParseSetting_valid_returnNonNull()214 SparseIntArray result = mScreenOffHandler.parseModeAssignmentSettingValue(actualModeString); in testParseSetting_invalid_returnNull()235 result = mScreenOffHandler.parseModeAssignmentSettingValue(actualModeString); in testParseSetting_invalid_returnNull()244 result = mScreenOffHandler.parseModeAssignmentSettingValue(""); in testParseSetting_invalid_returnNull()265 mScreenOffHandler.updateUserActivity(displayId, mClock.now()); in testUpdateUserActivity_noUserAssignedInModeOn_shouldTurnOffDisplay()[all …]
240 private FakeScreenOffHandler mScreenOffHandler; field in CarPowerManagementServiceUnitTest284 mScreenOffHandler = new FakeScreenOffHandler( in setUp()1110 .setScreenOffHandler(mScreenOffHandler) in testInitializePowerPolicy_invalidPowerState_powerPolicyRefactorFlagEnabled()1708 mScreenOffHandler.getDisplayUserActivityTime(displayId)).isAtMost( in testNotifyUserActivity_withoutTimestamp()1721 mScreenOffHandler.getDisplayUserActivityTime(displayId)).isEqualTo( in testNotifyUserActivity_withTimestamp()1944 .setScreenOffHandler(mScreenOffHandler) in testDisableWifiAndTethering()2307 mScreenOffHandler.setIsAutoPowerSaving(isPowerSaving); in testCanTurnOnDisplay_isNotPowerSaving()2319 mScreenOffHandler.setIsAutoPowerSaving(isPowerSaving); in testCanTurnOnDisplay_displayOff()2321 mScreenOffHandler.setDisplayPowerInfo(displayId, ScreenOffHandler.DISPLAY_POWER_MODE_OFF); in testCanTurnOnDisplay_displayOff()2332 mScreenOffHandler.setIsAutoPowerSaving(isPowerSaving); in testCanTurnOnDisplay_displayOn()[all …]
177 private final ScreenOffHandler mScreenOffHandler = new ScreenOffHandler(); field in CellBroadcastAlertDialog576 mScreenOffHandler.startScreenOnTimer(message); in onCreate()1026 mScreenOffHandler.startScreenOnTimer(message); in onNewIntent()1079 mScreenOffHandler.stopScreenOnTimer(); in dismissAllFromNotification()1148 mScreenOffHandler.stopScreenOnTimer(); in dismiss()
514 private final WeakReference<ScreenOffHandler> mScreenOffHandler; field in ScreenOffHandler.EventHandler518 mScreenOffHandler = new WeakReference<ScreenOffHandler>(screenOffHandler); in EventHandler()533 ScreenOffHandler screenOffHandler = mScreenOffHandler.get(); in handleMessage()
340 private final ScreenOffHandler mScreenOffHandler; field in CarPowerManagementService392 private @Nullable ScreenOffHandler mScreenOffHandler; field in CarPowerManagementService.Builder482 mScreenOffHandler = screenOffHandler; in setScreenOffHandler()580 mScreenOffHandler = Objects.requireNonNullElseGet(builder.mScreenOffHandler, () -> in CarPowerManagementService()610 mScreenOffHandler.init(); in init()692 mScreenOffHandler.dump(writer); in dump()752 mScreenOffHandler.dumpProto(proto); in dumpProto()1862 mScreenOffHandler.handleDisplayStateChange(displayId, on); in doHandleDisplayStateChange()1887 return mScreenOffHandler.canTurnOnDisplay(displayId); in canTurnOnDisplay()1894 mScreenOffHandler.updateUserActivity(displayId, eventTime); in notifyUserActivity()