Home
last modified time | relevance | path

Searched refs:mDeviceLockManager (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/devicelock/
DDeviceLockPreferenceController.java34 private final DeviceLockManager mDeviceLockManager; field in DeviceLockPreferenceController
38 mDeviceLockManager = mContext.getSystemService(DeviceLockManager.class); in DeviceLockPreferenceController()
50 if (mDeviceLockManager == null) { in updateState()
55 mDeviceLockManager.getKioskApps(mContext.getMainExecutor(), in updateState()
/packages/modules/DeviceLock/tests/cts/src/com/android/cts/devicelock/
DDeviceLockManagerTest.java61 private final DeviceLockManager mDeviceLockManager = field in DeviceLockManagerTest
87 mDeviceLockManager.isDeviceLocked(mExecutorService, in getIsDeviceLockedFuture()
107 mDeviceLockManager.lockDevice(mExecutorService,
127 mDeviceLockManager.unlockDevice(mExecutorService,
147 mDeviceLockManager.getDeviceId(mExecutorService,
167 mDeviceLockManager.getKioskApps(mExecutorService,
/packages/apps/Settings/tests/robotests/src/com/android/settings/devicelock/
DDeviceLockPreferenceControllerTest.java51 private DeviceLockManager mDeviceLockManager; field in DeviceLockPreferenceControllerTest
63 when(context.getSystemService(DeviceLockManager.class)).thenReturn(mDeviceLockManager); in setUp()
74 verify(mDeviceLockManager).getKioskApps(any(), mOutcomeReceiverArgumentCaptor.capture()); in testUpdateState_preferenceBecomesInvisibleIfNoKioskAppsPresent()
89 verify(mDeviceLockManager).getKioskApps(any(), mOutcomeReceiverArgumentCaptor.capture()); in testUpdateState_preferenceBecomesVisibleIfKioskAppsPresent()