/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/ |
D | LockscreenPreconditionTest.kt | 43 private lateinit var deviceProvisionedController: DeviceProvisionedController variable in com.android.systemui.smartspace.LockscreenPreconditionTest 61 `when`(deviceProvisionedController.isCurrentUserSetup).thenReturn(true) in testFullyEnabled() 62 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in testFullyEnabled() 63 val precondition = LockscreenPrecondition(deviceProvisionedController, execution) in testFullyEnabled() 75 `when`(deviceProvisionedController.isCurrentUserSetup).thenReturn(true) in testProvisioning() 76 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(false) in testProvisioning() 78 LockscreenPrecondition(deviceProvisionedController, execution) in testProvisioning() 86 verify(deviceProvisionedController).addCallback(argumentCaptor.capture()) in testProvisioning() 90 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in testProvisioning() 101 `when`(deviceProvisionedController.isCurrentUserSetup).thenReturn(false) in testUserSetup() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/data/repository/ |
D | DeviceProvisioningRepositoryImplTest.kt | 42 @Mock lateinit var deviceProvisionedController: DeviceProvisionedController variable in com.android.systemui.statusbar.policy.data.repository.DeviceProvisioningRepositoryImplTest 51 deviceProvisionedController, in setup() 57 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in <lambda>() 66 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in <lambda>() 67 withArgCaptor { verify(deviceProvisionedController).addCallback(capture()) } in <lambda>() 76 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(false) in <lambda>() 77 withArgCaptor { verify(deviceProvisionedController).addCallback(capture()) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/data/repository/ |
D | DeviceProvisioningRepository.kt | 44 private val deviceProvisionedController: DeviceProvisionedController, in bindsImpl() constant in com.android.systemui.statusbar.policy.data.repository.DeviceProvisioningRepositoryImpl 51 trySend(deviceProvisionedController.isDeviceProvisioned) in bindsImpl() 54 deviceProvisionedController.addCallback(listener) in bindsImpl() 55 trySend(deviceProvisionedController.isDeviceProvisioned) in bindsImpl() 56 awaitClose { deviceProvisionedController.removeCallback(listener) } in bindsImpl()
|
D | UserSetupRepository.kt | 50 private val deviceProvisionedController: DeviceProvisionedController, constant in com.android.systemui.statusbar.policy.data.repository.UserSetupRepositoryImpl 63 deviceProvisionedController.addCallback(callback) in <lambda>() 65 awaitClose { deviceProvisionedController.removeCallback(callback) } in <lambda>() 72 withContext(bgDispatcher) { deviceProvisionedController.isCurrentUserSetup } in fetchUserSetupState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/preconditions/ |
D | LockscreenPrecondition.kt | 28 private val deviceProvisionedController: DeviceProvisionedController, constant in com.android.systemui.smartspace.preconditions.LockscreenPrecondition 45 deviceProvisionedController.addCallback(deviceProvisionedListener) 60 deviceReady = deviceProvisionedController.isDeviceProvisioned && in updateDeviceReadiness() 61 deviceProvisionedController.isCurrentUserSetup in updateDeviceReadiness() 67 deviceProvisionedController.removeCallback(deviceProvisionedListener) in updateDeviceReadiness()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/domain/interactor/ |
D | FooterActionsInteractorTest.kt | 104 val deviceProvisionedController = mock<DeviceProvisionedController>() in showSettings_userSetUp() constant 108 whenever(deviceProvisionedController.isCurrentUserSetup).thenReturn(true) in showSettings_userSetUp() 113 deviceProvisionedController = deviceProvisionedController, in showSettings_userSetUp() 138 val deviceProvisionedController = mock<DeviceProvisionedController>() in showSettings_userNotSetUp() constant 141 whenever(deviceProvisionedController.isCurrentUserSetup).thenReturn(false) in showSettings_userNotSetUp() 146 deviceProvisionedController = deviceProvisionedController, in showSettings_userNotSetUp()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/data/repository/ |
D | UserSetupRepositoryTest.kt | 30 import com.android.systemui.statusbar.policy.deviceProvisionedController 54 private val deviceProvisionedController : DeviceProvisionedController = mock() constant in com.android.systemui.statusbar.policy.data.repository.UserSetupRepositoryTest 57 deviceProvisionedController, 76 whenever(deviceProvisionedController.isCurrentUserSetup).thenReturn(true) in userSetup_updatesOnChange() 85 verify(deviceProvisionedController).addCallback(captor.capture()) in getDeviceProvisionedListener()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/domain/interactor/ |
D | PrivacyChipInteractorKosmos.kt | 24 import com.android.systemui.statusbar.policy.deviceProvisionedController 33 deviceProvisionedController = deviceProvisionedController, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/user/domain/interactor/ |
D | GuestUserInteractorKosmos.kt | 28 import com.android.systemui.statusbar.policy.deviceProvisionedController 40 deviceProvisionedController = deviceProvisionedController, in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | QSSettingsRestoredBroadcastRepositoryTest.kt | 32 private val deviceProvisionedController = FakeDeviceProvisionedController() constant in com.android.systemui.qs.pipeline.data.repository.QSSettingsRestoredBroadcastRepositoryTest 43 deviceProvisionedController, in setup() 198 deviceProvisionedController.setUserSetup(user) in restoreAfterUserSetup_singleTilesRestoredBroadcast() 223 deviceProvisionedController.setUserSetup(user) in restoreAfterUserSetup_singleAutoAddRestoredBroadcast_noRestore() 244 deviceProvisionedController.setUserSetup(user + 1) in restoreAfterUserSetup_otherUserFinishedSetup_noRestore() 265 deviceProvisionedController.setUserSetup(user + 1) in restoreAfterUserSetup_otherUserFinishedSetup_thenCorrectUser_restored() 267 deviceProvisionedController.setUserSetup(user) in restoreAfterUserSetup_otherUserFinishedSetup_thenCorrectUser_restored()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | VisualInterruptionDecisionProviderTestUtil.kt | 42 deviceProvisionedController: DeviceProvisionedController, in createProviderByFlag() 66 deviceProvisionedController, in createProviderByFlag() 99 deviceProvisionedController, in createProviderByFlag()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/ |
D | QuickSettingsKosmos.kt | 41 import com.android.systemui.statusbar.policy.deviceProvisionedController 80 deviceProvisionedController = deviceProvisionedController, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
D | GuestUserInteractorTest.kt | 54 @Mock private lateinit var deviceProvisionedController: DeviceProvisionedController variable in com.android.systemui.user.domain.interactor.GuestUserInteractorTest 90 deviceProvisionedController = deviceProvisionedController, in initGuestUserInteractor() 127 verify(deviceProvisionedController, never()).addCallback(any()) in onDeviceBootCompleted_allowedToAdd_createGuest() 137 verify(deviceProvisionedController).addCallback(captor.capture()) in onDeviceBootCompleted_awaitProvisioning_andCreateGuest() 143 verify(deviceProvisionedController).removeCallback(captor.value) in onDeviceBootCompleted_awaitProvisioning_andCreateGuest() 378 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(isAllowed) in setAllowedToAdd()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/phone/ |
D | DozeServiceHostKosmos.kt | 31 import com.android.systemui.statusbar.policy.deviceProvisionedController 44 deviceProvisionedController, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicyTest.kt | 105 @Mock private lateinit var deviceProvisionedController: DeviceProvisionedController variable in com.android.systemui.statusbar.phone.PhoneStatusBarPolicyTest 155 whenever(deviceProvisionedController.isCurrentUserSetup).thenReturn(false) in testDeviceNotProvisioned_alarmIconNotShown() 169 whenever(deviceProvisionedController.isCurrentUserSetup).thenReturn(true) in testDeviceProvisioned_alarmIconShown() 183 whenever(deviceProvisionedController.isCurrentUserSetup).thenReturn(false) in testDeviceProvisionedChanged_alarmIconShownAfterCurrentUserSetup() 192 whenever(deviceProvisionedController.isCurrentUserSetup).thenReturn(true) in testDeviceProvisionedChanged_alarmIconShownAfterCurrentUserSetup() 295 deviceProvisionedController, in createStatusBarPolicy()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | LegacyActivityStarterInternalImplTest.kt | 95 @Mock private lateinit var deviceProvisionedController: DeviceProvisionedController variable in com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImplTest 128 deviceProvisionedController = deviceProvisionedController, in setUp() 142 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in startPendingIntentDismissingKeyguard_keyguardShowing_dismissWithAction() 163 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in startPendingIntentMaybeDismissingKeyguard_keyguardShowing_showOverLs_launchAnimator() 196 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in startPendingIntentDismissingKeyguard_fillInIntentAndExtraOptions_sendAndReturnResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | DeviceProvisionedCoordinator.java | 45 public DeviceProvisionedCoordinator(DeviceProvisionedController deviceProvisionedController, in DeviceProvisionedCoordinator() argument 47 mDeviceProvisionedController = deviceProvisionedController; in DeviceProvisionedCoordinator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/ |
D | QSSettingsRestoredRepository.kt | 59 private val deviceProvisionedController: DeviceProvisionedController, constant 73 deviceProvisionedController.addCallback(callback) in <lambda>() 74 awaitClose { deviceProvisionedController.removeCallback(callback) } in <lambda>() 109 deviceProvisionedController.isUserSetup(userId) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsImpl.java | 44 DeviceProvisionedController deviceProvisionedController, in GlobalActionsImpl() argument 49 mDeviceProvisionedController = deviceProvisionedController; in GlobalActionsImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | GuestUserInteractor.kt | 59 private val deviceProvisionedController: DeviceProvisionedController, in <lambda>() constant in com.android.systemui.user.domain.interactor.GuestUserInteractor 92 deviceProvisionedController.removeCallback(this) in <lambda>() 96 deviceProvisionedController.addCallback(callback) in <lambda>() 343 return deviceProvisionedController.isDeviceProvisioned && in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/ |
D | PrivacyChipInteractor.kt | 43 private val deviceProvisionedController: DeviceProvisionedController, in <lambda>() constant 80 if (!deviceProvisionedController.isDeviceProvisioned) return in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/ |
D | ShadeControllerKosmos.kt | 39 import com.android.systemui.statusbar.policy.deviceProvisionedController 71 deviceProvisionedController, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceControllerTest.kt | 130 private lateinit var deviceProvisionedController: DeviceProvisionedController in <lambda>() variable in com.android.systemui.statusbar.lockscreen.LockscreenSmartspaceControllerTest 228 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in <lambda>() 229 `when`(deviceProvisionedController.isCurrentUserSetup).thenReturn(true) in <lambda>() 258 deviceProvisionedController, in <lambda>() 274 verify(deviceProvisionedController).addCallback(capture(deviceProvisionedCaptor)) in <lambda>() 281 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(false) in <lambda>() 282 `when`(deviceProvisionedController.isCurrentUserSetup).thenReturn(false) in <lambda>() 292 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in <lambda>() 293 `when`(deviceProvisionedController.isCurrentUserSetup).thenReturn(true) in <lambda>() 788 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | FullScreenIntentDecisionProvider.kt | 50 private val deviceProvisionedController: DeviceProvisionedController, constant in com.android.systemui.statusbar.notification.interruption.FullScreenIntentDecisionProvider 190 if (!deviceProvisionedController.isDeviceProvisioned) { in makeDecisionWithoutDnd() 194 if (!deviceProvisionedController.isCurrentUserSetup) { in makeDecisionWithoutDnd()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbAccessoryUriActivity.java | 55 UsbAccessoryUriActivity(DeviceProvisionedController deviceProvisionedController) { in UsbAccessoryUriActivity() argument 56 mDeviceProvisionedController = deviceProvisionedController; in UsbAccessoryUriActivity()
|