Home
last modified time | relevance | path

Searched refs:flagsCaptor (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/
DPowerRepositoryImplTest.kt202 val flagsCaptor = argumentCaptor<Int>() in userActivity_notifiesPowerManager() constant
207 capture(flagsCaptor) in userActivity_notifiesPowerManager()
209 assertThat(flagsCaptor.value).isNotEqualTo(PowerManager.USER_ACTIVITY_FLAG_NO_CHANGE_LIGHTS) in userActivity_notifiesPowerManager()
210 assertThat(flagsCaptor.value).isNotEqualTo(PowerManager.USER_ACTIVITY_FLAG_INDIRECT) in userActivity_notifiesPowerManager()
219 val flagsCaptor = argumentCaptor<Int>() in userActivity_notifiesPowerManager_noChangeLightsTrue() constant
224 capture(flagsCaptor) in userActivity_notifiesPowerManager_noChangeLightsTrue()
226 assertThat(flagsCaptor.value).isEqualTo(PowerManager.USER_ACTIVITY_FLAG_NO_CHANGE_LIGHTS) in userActivity_notifiesPowerManager_noChangeLightsTrue()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DDistractingPackageHelperTest.kt60 pkgListCaptor.capture(), any(), any(), flagsCaptor.capture()) in setDistractingPackageRestrictionsAsUser()
63 val distractionFlags = flagsCaptor.value in setDistractingPackageRestrictionsAsUser()
162 flagsCaptor.capture()) in removeDistractingPackageRestrictions()
164 val distractionFlags = flagsCaptor.value in removeDistractingPackageRestrictions()
DPackageHelperTestBase.kt73 lateinit var flagsCaptor: ArgumentCaptor<Int> variable in com.android.server.pm.PackageHelperTestBase
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsProviderLifecycleManagerTest.kt354 val flagsCaptor = argumentCaptor<Int>() in testRebindForPanelWithSameFlags() constant
355 verify(mockContext).bindServiceAsUser(any(), any(), capture(flagsCaptor), any()) in testRebindForPanelWithSameFlags()
361 verify(mockContext).bindServiceAsUser(any(), any(), eq(flagsCaptor.value), any()) in testRebindForPanelWithSameFlags()