Searched refs:onUiModeTypeChanged (Results 1 – 4 of 4) sorted by relevance
127 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testSuspendTriggersDoze_carMode()145 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testSuspendTriggersDoze_enterCarMode()154 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testDozeResume_exitCarMode()160 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_NORMAL); in testDozeResume_exitCarMode()169 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testDozeAoDResume_exitCarMode()175 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_NORMAL); in testDozeAoDResume_exitCarMode()186 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testUiModeDoesNotChange_noStateTransition()187 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testUiModeDoesNotChange_noStateTransition()188 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testUiModeDoesNotChange_noStateTransition()199 mDozeSuppressor.onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testUiModeTypeChange_whenDozeMachineIsNotReady_doesNotDoAnything()[all …]
571 verify(mPartMock).onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testOnConfigurationChanged_propagatesUiModeTypeToParts()572 verify(mAnotherPartMock).onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testOnConfigurationChanged_propagatesUiModeTypeToParts()582 verify(mPartMock, times(1)).onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testOnConfigurationChanged_propagatesOnlyUiModeChangesToParts()583 verify(mAnotherPartMock, times(1)).onUiModeTypeChanged(UI_MODE_TYPE_CAR); in testOnConfigurationChanged_propagatesOnlyUiModeChangesToParts()
79 public void onUiModeTypeChanged(int newUiModeType) { in onUiModeTypeChanged() method in DozeSuppressor
197 part.onUiModeTypeChanged(mUiModeType); in onConfigurationChanged()496 default void onUiModeTypeChanged(int newUiModeType) {} in onUiModeTypeChanged() method