Home
last modified time | relevance | path

Searched refs:mDeviceProvisionedController (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDeviceProvisionedCoordinatorTest.java66 @Mock private DeviceProvisionedController mDeviceProvisionedController; field in DeviceProvisionedCoordinatorTest
77 mDeviceProvisionedController, mIPackageManager); in setup()
94 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(true); in deviceProvisioned()
103 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(false); in deviceUnprovisioned()
112 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(false); in deviceUnprovisionedCanBypass()
126 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(false); in deviceUnprovisionedTryBypassWithoutPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDeviceProvisionedCoordinator.java41 private final DeviceProvisionedController mDeviceProvisionedController; field in DeviceProvisionedCoordinator
47 mDeviceProvisionedController = deviceProvisionedController; in DeviceProvisionedCoordinator()
53 mDeviceProvisionedController.addCallback(mDeviceProvisionedListener); in attach()
61 return !mDeviceProvisionedController.isDeviceProvisioned()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java33 private final DeviceProvisionedController mDeviceProvisionedController; field in GlobalActionsImpl
49 mDeviceProvisionedController = deviceProvisionedController; in GlobalActionsImpl()
66 mDeviceProvisionedController.isDeviceProvisioned(), null /* view */); in showGlobalActions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java52 private final DeviceProvisionedController mDeviceProvisionedController; field in UsbAccessoryUriActivity
56 mDeviceProvisionedController = deviceProvisionedController; in UsbAccessoryUriActivity()
66 if (!mDeviceProvisionedController.isDeviceProvisioned()) { in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java125 private DeviceProvisionedController mDeviceProvisionedController; field in ThemeOverlayControllerTest
155 when(mDeviceProvisionedController.isCurrentUserSetup()).thenReturn(true); in setup()
169 mSecureSettings, mWallpaperManager, mUserManager, mDeviceProvisionedController, in setup()
204 verify(mDeviceProvisionedController).addCallback(mDeviceProvisionedListener.capture()); in setup()
434 when(mDeviceProvisionedController.isUserSetup(anyInt())).thenReturn(true); in onSettingChanged_honorThemeStyle()
455 when(mDeviceProvisionedController.isUserSetup(anyInt())).thenReturn(true); in onSettingChanged_invalidStyle()
700 reset(mDeviceProvisionedController); in onUserAdded_appliesTheme_ifNotManagedProfile()
711 reset(mDeviceProvisionedController); in onProfileAdded_ignoresUntilSetupComplete()
724 reset(mDeviceProvisionedController); in onPrivateProfileAdded_ignoresUntilStartComplete()
738 reset(mDeviceProvisionedController); in onWallpaperColorsChanged_firstEventBeforeUserSetup_shouldBeAccepted()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java133 private final DeviceProvisionedController mDeviceProvisionedController; field in ThemeOverlayController
178 if (!mDeviceProvisionedController.isCurrentUserSetup()) {
232 if (!mDeviceProvisionedController.isCurrentUserSetup() && isManagedProfile) {
292 if (mDeviceProvisionedController != null in handleWallpaperColors()
293 && !mDeviceProvisionedController.isCurrentUserSetup()) { in handleWallpaperColors()
369 if (!mDeviceProvisionedController.isUserSetup(newUserHandle.getIdentifier())
420 mDeviceProvisionedController = deviceProvisionedController; in ThemeOverlayController()
458 if (!mDeviceProvisionedController.isUserSetup(userId)) { in start()
485 mDeviceProvisionedController.addCallback(mDeviceProvisionedListener); in start()
496 if (mDeviceProvisionedController.isCurrentUserSetup()) { in start()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacksTest.java93 @Mock private DeviceProvisionedController mDeviceProvisionedController; field in CentralSurfacesCommandQueueCallbacksTest
130 mDeviceProvisionedController, in setup()
147 when(mDeviceProvisionedController.isCurrentUserSetup()).thenReturn(true); in setup()
DStatusBarRemoteInputCallbackTest.java58 @Mock private DeviceProvisionedController mDeviceProvisionedController; field in StatusBarRemoteInputCallbackTest
74 mDeviceProvisionedController); in setUp()
DCentralSurfacesImplTest.java268 @Mock private DeviceProvisionedController mDeviceProvisionedController; field in CentralSurfacesImplTest
384 mDeviceProvisionedController, in setup()
460 mDeviceProvisionedController, in setup()
540 mDeviceProvisionedController, in createCentralSurfaces()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeControllerImpl.java66 private final DeviceProvisionedController mDeviceProvisionedController; field in ShadeControllerImpl
105 mDeviceProvisionedController = deviceProvisionedController; in ShadeControllerImpl()
116 return mCommandQueue.panelsEnabled() && mDeviceProvisionedController.isCurrentUserSetup(); in isShadeEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeServiceHost.java92 private final DeviceProvisionedController mDeviceProvisionedController; field in DozeServiceHost
136 mDeviceProvisionedController = deviceProvisionedController; in DozeServiceHost()
362 return mDeviceProvisionedController.isDeviceProvisioned() in isProvisioned()
363 && mDeviceProvisionedController.isCurrentUserSetup(); in isProvisioned()
DCentralSurfacesCommandQueueCallbacks.java96 private final DeviceProvisionedController mDeviceProvisionedController; field in CentralSurfacesCommandQueueCallbacks
167 mDeviceProvisionedController = deviceProvisionedController; in CentralSurfacesCommandQueueCallbacks()
313 if (!mDeviceProvisionedController.isCurrentUserSetup()) return; in handleSystemKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java84 private final DeviceProvisionedController mDeviceProvisionedController; field in NotificationInterruptStateProviderImpl
151 mDeviceProvisionedController = deviceProvisionedController; in NotificationInterruptStateProviderImpl()
360 if (!mDeviceProvisionedController.isDeviceProvisioned()) { in getFullScreenIntentDecision()
366 if (!mDeviceProvisionedController.isCurrentUserSetup()) { in getFullScreenIntentDecision()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java104 private final DeviceProvisionedController mDeviceProvisionedController; field in NotificationGutsManager
184 mDeviceProvisionedController = deviceProvisionedController; in NotificationGutsManager()
415 mDeviceProvisionedController.isDeviceProvisioned(), in initializeNotificationInfo()
458 mDeviceProvisionedController.isDeviceProvisioned(), in initializePartialConversationNotificationInfo()
522 mDeviceProvisionedController.isDeviceProvisioned(), in initializeConversationNotificationInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java155 private final DeviceProvisionedController mDeviceProvisionedController; field in AssistManager
200 mDeviceProvisionedController = controller; in AssistManager()
396 if (!mDeviceProvisionedController.isDeviceProvisioned()) { in startAssistActivity()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java81 @Mock private DeviceProvisionedController mDeviceProvisionedController; field in DozeServiceHostTest
105 mStatusBarStateController, mDeviceProvisionedController, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java123 @Inject Lazy<DeviceProvisionedController> mDeviceProvisionedController; field in Dependency
172 mProviders.put(DeviceProvisionedController.class, mDeviceProvisionedController::get); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java141 @Mock private DeviceProvisionedController mDeviceProvisionedController; field in NotificationGutsManagerTest
209 mDeviceProvisionedController, in setUp()
499 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(true); in testInitializeNotificationInfoView_PassesAlongProvisionedState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java101 private final DeviceProvisionedController mDeviceProvisionedController; field in NotificationLockscreenUserManagerImpl
324 mDeviceProvisionedController = deviceProvisionedController; in NotificationLockscreenUserManagerImpl()
388 if (mDeviceProvisionedController.isDeviceProvisioned()) { in init()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainerController.java434 private final DeviceProvisionedController mDeviceProvisionedController; field in KeyguardSecurityContainerController
500 mDeviceProvisionedController = deviceProvisionedController; in KeyguardSecurityContainerController()
879 || !mDeviceProvisionedController.isUserSetup(targetUserId); in showNextSecurityScreenOrFinish()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java130 DeviceProvisionedController mDeviceProvisionedController; field in NotificationInterruptStateProviderImplTest
165 mDeviceProvisionedController, in setup()
745 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(false); in testShouldFullscreen_suppressedInterruptionsWhenNotProvisioned()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java136 DeviceProvisionedController mDeviceProvisionedController; field in VolumeDialogImplTest
206 mDeviceProvisionedController, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java174 private final DeviceProvisionedController mDeviceProvisionedController; field in NotificationStackScrollLayoutController
298 mView.setCurrentUserSetup(mDeviceProvisionedController.isCurrentUserSetup());
764 mDeviceProvisionedController = deviceProvisionedController; in NotificationStackScrollLayoutController()
908 mDeviceProvisionedController.addCallback(mDeviceProvisionedListener); in setUpView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutControllerTest.java140 @Mock private DeviceProvisionedController mDeviceProvisionedController; field in NotificationStackScrollLayoutControllerTest
986 mDeviceProvisionedController, in initController()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java148 private DeviceProvisionedController mDeviceProvisionedController; field in NotificationLockscreenUserManagerTest
970 mDeviceProvisionedController, in TestNotificationLockscreenUserManager()

12