Searched refs:TEST_CUSTOM_SAFETY_SPEC (Results 1 – 1 of 1) sorted by relevance
104 private static final String TEST_CUSTOM_SAFETY_SPEC = CustomTile.toSpec(new ComponentName( field in AutoTileManagerTest485 ComponentName safetyComponent = CustomTile.getComponentFromSpec(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileNotAdded_ifPreviouslyAdded()488 when(mAutoAddTracker.isAdded(TEST_CUSTOM_SAFETY_SPEC)).thenReturn(true); in testSafetyTileNotAdded_ifPreviouslyAdded()495 ComponentName safetyComponent = CustomTile.getComponentFromSpec(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileAdded_onUserChange()498 when(mAutoAddTracker.isAdded(TEST_CUSTOM_SAFETY_SPEC)).thenReturn(false); in testSafetyTileAdded_onUserChange()505 ComponentName safetyComponent = CustomTile.getComponentFromSpec(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileRemoved_onSafetyCenterDisable()507 when(mAutoAddTracker.isAdded(TEST_CUSTOM_SAFETY_SPEC)).thenReturn(true); in testSafetyTileRemoved_onSafetyCenterDisable()509 verify(mQsHost, times(1)).removeTile(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileRemoved_onSafetyCenterDisable()514 ComponentName safetyComponent = CustomTile.getComponentFromSpec(TEST_CUSTOM_SAFETY_SPEC); in testSafetyTileAdded_onSafetyCenterEnable()