Home
last modified time | relevance | path

Searched refs:isDeviceProvisioned (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/smartspace/
DLockscreenPreconditionTest.kt61 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in testFullyEnabled()
75 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(false) in testProvisioning()
89 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in testProvisioning()
101 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in testUserSetup()
/frameworks/base/core/java/android/app/admin/
DDeviceStateCache.java43 public abstract boolean isDeviceProvisioned(); in isDeviceProvisioned() method in DeviceStateCache
52 public boolean isDeviceProvisioned() { in isDeviceProvisioned() method in DeviceStateCache.EmptyDeviceStateCache
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDeviceProvisionedCoordinatorTest.java95 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(true); in deviceProvisioned()
104 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(false); in deviceUnprovisioned()
113 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(false); in deviceUnprovisionedCanBypass()
131 when(mDeviceProvisionedController.isDeviceProvisioned()).thenReturn(false); in deviceUnprovisionedTryBypassWithoutPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedController.java33 boolean isDeviceProvisioned(); in isDeviceProvisioned() method
DZenModeControllerImpl.java184 return mSetupObserver.isDeviceProvisioned() && mSetupObserver.isUserSetup(); in isZenAvailable()
340 public boolean isDeviceProvisioned() { in isDeviceProvisioned() method in ZenModeControllerImpl.SetupObserver
DDeviceProvisionedControllerImpl.kt185 override fun isDeviceProvisioned(): Boolean { in isDeviceProvisioned() method in com.android.systemui.statusbar.policy.DeviceProvisionedControllerImpl
/frameworks/base/services/java/com/android/server/
DBootUserInitializer.java105 if (isDeviceProvisioned()) { in provisionHeadlessSystemUser()
116 private boolean isDeviceProvisioned() { in isDeviceProvisioned() method in BootUserInitializer
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceStateCacheImpl.java39 public boolean isDeviceProvisioned() { in isDeviceProvisioned() method in DeviceStateCacheImpl
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java342 assertThat(WizardManagerHelper.isDeviceProvisioned(application)).isTrue(); in testIsDeviceProvisioned()
344 assertThat(WizardManagerHelper.isDeviceProvisioned(application)).isFalse(); in testIsDeviceProvisioned()
351 assertThat(WizardManagerHelper.isDeviceProvisioned(application)).isTrue(); in testIsDeviceProvisionedCompat()
353 assertThat(WizardManagerHelper.isDeviceProvisioned(application)).isFalse(); in testIsDeviceProvisionedCompat()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImplTest.kt89 assertThat(controller.isDeviceProvisioned).isFalse() in testNotProvisionedByDefault()
109 assertThat(controller.isDeviceProvisioned).isTrue() in testProvisionedWhenCreated()
135 assertThat(controller.isDeviceProvisioned).isTrue() in testDeviceProvisionedChange()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/
DCarWizardManagerHelperTest.java190 assertThat(CarWizardManagerHelper.isDeviceProvisioned(context)).isTrue(); in testIsDeviceProvisionedTrue()
201 assertThat(CarWizardManagerHelper.isDeviceProvisioned(context)).isFalse(); in testIsDeviceProvisionedFalse()
/frameworks/base/services/core/java/com/android/server/
DDockObserver.java262 if (!mDeviceProvisionedObserver.isDeviceProvisioned()) { in handleDockStateChange()
440 if (isDeviceProvisioned()) { in onChange()
452 boolean register = !isDeviceProvisioned(); in updateRegistration()
467 boolean isDeviceProvisioned() { in isDeviceProvisioned() method in DockObserver.DeviceProvisionedObserver
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/preconditions/
DLockscreenPrecondition.kt60 deviceReady = deviceProvisionedController.isDeviceProvisioned && in updateDeviceReadiness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDeviceProvisionedCoordinator.java63 return !mDeviceProvisionedController.isDeviceProvisioned()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarWizardManagerHelper.java138 public static boolean isDeviceProvisioned(Context context) { in isDeviceProvisioned() method in CarWizardManagerHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DPartialConversationInfo.java89 boolean isDeviceProvisioned, in bindNotification() argument
100 mIsDeviceProvisioned = isDeviceProvisioned; in bindNotification()
DNotificationGutsManager.java374 mDeviceProvisionedController.isDeviceProvisioned(), in initializeNotificationInfo()
418 mDeviceProvisionedController.isDeviceProvisioned(), in initializePartialConversationNotificationInfo()
481 mDeviceProvisionedController.isDeviceProvisioned(), in initializeConversationNotificationInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DHeaderPrivacyIconsControllerTest.kt86 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in eq()
209 whenever(deviceProvisionedController.isDeviceProvisioned).thenReturn(false) in eq()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java66 if (!mDeviceProvisionedController.isDeviceProvisioned()) { in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java267 if (!isDeviceProvisioned()) { in shouldShowDisclosure()
280 private boolean isDeviceProvisioned() { in isDeviceProvisioned() method in IntentForwarderActivity
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt224 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in <lambda>()
277 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(false) in <lambda>()
288 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in <lambda>()
845 `when`(deviceProvisionedController.isDeviceProvisioned).thenReturn(true) in <lambda>()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DWizardManagerHelper.java202 public static boolean isDeviceProvisioned(Context context) { in isDeviceProvisioned() method in WizardManagerHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DHeaderPrivacyIconsController.kt140 if (!deviceProvisionedController.isDeviceProvisioned) return@setOnClickListener in onChipVisibilityRefreshed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java249 when(mUpdateMonitor.isDeviceProvisioned()).thenReturn(true); in restoreBouncerWhenSimLockedAndKeyguardIsGoingAway()
274 when(mUpdateMonitor.isDeviceProvisioned()).thenReturn(true); in restoreBouncerWhenSimLockedAndKeyguardIsGoingAway_initiallyNotShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java78 mDeviceProvisionedController.isDeviceProvisioned(), null /* view */); in showGlobalActions()

123