Searched refs:mDeviceLockManager (Results 1 – 3 of 3) sorted by relevance
34 private final DeviceLockManager mDeviceLockManager; field in DeviceLockPreferenceController38 mDeviceLockManager = mContext.getSystemService(DeviceLockManager.class); in DeviceLockPreferenceController()50 if (mDeviceLockManager == null) { in updateState()55 mDeviceLockManager.getKioskApps(mContext.getMainExecutor(), in updateState()
61 private final DeviceLockManager mDeviceLockManager = field in DeviceLockManagerTest87 mDeviceLockManager.isDeviceLocked(mExecutorService, in getIsDeviceLockedFuture()107 mDeviceLockManager.lockDevice(mExecutorService,127 mDeviceLockManager.unlockDevice(mExecutorService,147 mDeviceLockManager.getDeviceId(mExecutorService,167 mDeviceLockManager.getKioskApps(mExecutorService,
51 private DeviceLockManager mDeviceLockManager; field in DeviceLockPreferenceControllerTest63 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()