/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 297 mAutoTracker.setTileAdded(WORK); 316 mAutoTracker.setTileAdded(SAVER); 328 mAutoTracker.setTileAdded(HOTSPOT); 341 mAutoTracker.setTileAdded(DEVICE_CONTROLS); 369 mAutoTracker.setTileAdded(WALLET); in initWalletController() 378 mAutoTracker.setTileAdded(mSafetySpec); in initSafetyTile() 402 mAutoTracker.setTileAdded(NIGHT); 420 mAutoTracker.setTileAdded(BRIGHTNESS); 442 mAutoTracker.setTileAdded(CAST); 508 mAutoTracker.setTileAdded(mSpec); in handleValueChanged()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | CustomTileAddedSharedPreferencesRepositoryTest.kt | 47 underTest.setTileAdded(TEST_COMPONENT, userId, added = true) in setTileAdded_inSharedPreferences() 50 underTest.setTileAdded(TEST_COMPONENT, userId, added = false) in setTileAdded_inSharedPreferences() 62 underTest.setTileAdded(TEST_COMPONENT, userId, added = true) in setTileAdded_differentComponents() 76 underTest.setTileAdded(TEST_COMPONENT, userId = 1, added = true) in setTileAdded_differentUsers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/ |
D | CustomTileAddedRepository.kt | 40 fun setTileAdded(componentName: ComponentName, userId: Int, added: Boolean) in isTileAdded() method 54 override fun setTileAdded(componentName: ComponentName, userId: Int, added: Boolean) { in isTileAdded() method in com.android.systemui.qs.pipeline.data.repository.CustomTileAddedSharedPrefsRepository
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManagerTest.java | 447 verify(mAutoAddTracker).setTileAdded(TEST_SPEC); in testSettingTileAdded_onChanged() 454 verify(mAutoAddTracker).setTileAdded(TEST_CUSTOM_SPEC); in testSettingTileAddedComponentAtEnd_onChanged() 463 verify(mAutoAddTracker).setTileAdded(TEST_SPEC); in testSettingTileAdded_onlyOnce() 470 verify(mAutoAddTracker, never()).setTileAdded(TEST_SPEC); in testSettingTileNotAdded_onChangedTo0() 479 verify(mAutoAddTracker, never()).setTileAdded(TEST_SPEC); in testSettingTileNotAdded_ifPreviouslyAdded() 537 verify(mAutoAddTracker, times(1)).setTileAdded(eq("work")); in managedProfileAdded_tileAdded() 571 verify(mAutoAddTracker).setTileAdded(spec); in testAddControlsTileIfNotPresent() 588 verify(mAutoAddTracker, never()).setTileAdded(spec); in testDontAddControlsTileIfPresent() 608 verify(mAutoAddTracker, never()).setTileAdded(spec); in testRemoveControlsTileFromTrackerWhenRequested()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AutoAddTrackerTest.java | 106 mAutoTracker.setTileAdded(SAVER); in testSetAdded() 116 mAutoTracker.setTileAdded(SAVER); in testPersist() 129 mAutoTracker.setTileAdded(SAVER); in testIndependentUsers() 138 mAutoTracker.setTileAdded(SAVER); in testChangeUser()
|
D | QSTileHostTest.java | 593 mQSTileHost.setTileAdded(CUSTOM_TILE, user, true); in testSetTileAdded_true() 602 mQSTileHost.setTileAdded(CUSTOM_TILE, user, false); in testSetTileAdded_false() 611 mQSTileHost.setTileAdded(CUSTOM_TILE, user, true); in testSetTileAdded_differentUser() 623 mQSTileHost.setTileAdded(CUSTOM_TILE, user, true); in testSetTileRemoved_afterCustomTileChangedByUser() 636 mQSTileHost.setTileAdded(CUSTOM_TILE, user, true); in testSetTileRemoved_removedByUser() 650 mQSTileHost.setTileAdded(CUSTOM_TILE, user, true); in testSetTileRemoved_removedBySystem()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/ |
D | FakeCustomTileAddedRepository.kt | 29 override fun setTileAdded(componentName: ComponentName, userId: Int, added: Boolean) { in setTileAdded() method in com.android.systemui.qs.pipeline.data.repository.FakeCustomTileAddedRepository
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileServiceManagerTest.java | 133 .setTileAdded(mComponentName, mUserTracker.getUserId(), true); in testSetTileAddedIfNotAdded() 143 .setTileAdded(eq(mComponentName), anyInt(), eq(true)); in testNotSetTileAddedIfAdded() 155 .setTileAdded(mComponentName, user, true); in testSetTileAddedCorrectUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 386 setTileAdded(CustomTile.getComponentFromSpec(spec), mCurrentUser, false); in removeTile() 501 setTileAdded(component, mCurrentUser, false); in changeTilesByUser() 547 public void setTileAdded(ComponentName componentName, int userId, boolean added) { in setTileAdded() method in QSTileHost
|
D | AutoAddTracker.kt | 204 fun setTileAdded(tile: String) { in <lambda>() method in com.android.systemui.qs.AutoAddTracker
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceManager.java | 123 mCustomTileAddedRepository.setTileAdded(component, userId, true); in startLifecycleManagerAndAddTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | CurrentTilesInteractor.kt | 354 customTileAddedRepository.setTileAdded(componentName, userId, false) in onCustomTileRemoved()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | CurrentTilesInteractorImplTest.kt | 703 customTileAddedRepository.setTileAdded( in tileCreator()
|