Searched refs:lockNow (Results 1 – 5 of 5) sorted by relevance
191 verify(mWindowManagerService).lockNow(null); in onHandleShow_noUserRefactor_setsWMState()203 verify(mWindowManagerService, never()).lockNow(null); in onHandleShow_userRefactor_setsWMState()214 verify(mWindowManagerService, never()).lockNow(null); in handleSwitching_noUserRefactor_doNothing()225 verify(mWindowManagerService, never()).lockNow(null); in handleSwitching_userRefactor_userNotSecure_doNothing()237 verify(mWindowManagerService).lockNow(null); in handleSwitching_userRefactor_userSecure_setsWMState()
142 mWindowManagerService.lockNow(null); in handleShow()176 mWindowManagerService.lockNow(null); in handleSwitching()
154 mLockNowButton.setOnClickListener((v) -> lockNow()); in onViewCreated()284 private void lockNow() { in lockNow() method in DevicePolicyFragment286 run(() -> mDevicePolicyManager.lockNow(), "Locked!"); in lockNow()
245 mDpm.lockNow(); in lockNowTest()
1156 WindowManagerGlobal.getWindowManagerService().lockNow(/* options= */ null);