Home
last modified time | relevance | path

Searched refs:setTileAdded (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java297 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/
DCustomTileAddedSharedPreferencesRepositoryTest.kt47 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/
DCustomTileAddedRepository.kt40 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/
DAutoTileManagerTest.java447 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/
DAutoAddTrackerTest.java106 mAutoTracker.setTileAdded(SAVER); in testSetAdded()
116 mAutoTracker.setTileAdded(SAVER); in testPersist()
129 mAutoTracker.setTileAdded(SAVER); in testIndependentUsers()
138 mAutoTracker.setTileAdded(SAVER); in testChangeUser()
DQSTileHostTest.java593 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/
DFakeCustomTileAddedRepository.kt29 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/
DTileServiceManagerTest.java133 .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/
DQSTileHost.java386 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
DAutoAddTracker.kt204 fun setTileAdded(tile: String) { in <lambda>() method in com.android.systemui.qs.AutoAddTracker
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java123 mCustomTileAddedRepository.setTileAdded(component, userId, true); in startLifecycleManagerAndAddTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractor.kt354 customTileAddedRepository.setTileAdded(componentName, userId, false) in onCustomTileRemoved()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractorImplTest.kt703 customTileAddedRepository.setTileAdded( in tileCreator()