Searched refs:safetyComponent (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManagerTest.java | 485 ComponentName safetyComponent = CustomTile.getComponentFromSpec(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileNotAdded_ifPreviouslyAdded() local 487 verify(mQsHost, times(1)).addTile(safetyComponent, true); in testSafetyTileNotAdded_ifPreviouslyAdded() 490 verify(mQsHost, times(1)).addTile(safetyComponent, true); in testSafetyTileNotAdded_ifPreviouslyAdded() 495 ComponentName safetyComponent = CustomTile.getComponentFromSpec(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileAdded_onUserChange() local 497 verify(mQsHost, times(1)).addTile(safetyComponent, true); in testSafetyTileAdded_onUserChange() 500 verify(mQsHost, times(2)).addTile(safetyComponent, true); in testSafetyTileAdded_onUserChange() 505 ComponentName safetyComponent = CustomTile.getComponentFromSpec(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileRemoved_onSafetyCenterDisable() local 514 ComponentName safetyComponent = CustomTile.getComponentFromSpec(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileAdded_onSafetyCenterEnable() local 516 verify(mQsHost, times(1)).addTile(safetyComponent, true); in testSafetyTileAdded_onSafetyCenterEnable() 519 verify(mQsHost, times(2)).addTile(safetyComponent, true); in testSafetyTileAdded_onSafetyCenterEnable()
|