Home
last modified time | relevance | path

Searched refs:getLockTaskModeState (Results 1 – 7 of 7) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DStartLockTaskModeWorkerTest.java130 when(mAm.getLockTaskModeState()) in doWork_launchesActivityInLockedTaskMode()
154 when(mAm.getLockTaskModeState()) in doWork_hitsException_failsAndEnforcesCriticalFailure()
170 when(mAm.getLockTaskModeState()) in doWork_alreadyLockedDoesNothing()
185 when(mAm.getLockTaskModeState()) in doWork_failsWhenNoLaunchIntent()
199 when(mAm.getLockTaskModeState()) in doWork_failsLaunchIntentNotPermitted()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/element/
DCarSystemBarElementStatusBarDisableControllerTest.java120 when(mActivityManager.getLockTaskModeState()).thenReturn( in onStatusBarDisableChanged_doesNotAffectListener_listenerNotNotified()
134 when(mActivityManager.getLockTaskModeState()).thenReturn( in onStatusBarDisableChanged_disablesListener_listenerNotified()
149 when(mActivityManager.getLockTaskModeState()).thenReturn( in onStatusBarDisableChanged_enablesListener_listenerNotified()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarController.java250 int lockTaskMode = getLockTaskModeState(); in setSystemBarStates()
320 private int getLockTaskModeState() { in getLockTaskModeState() method in CarSystemBarController
321 return mContext.getSystemService(ActivityManager.class).getLockTaskModeState(); in getLockTaskModeState()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/
DCarSystemBarElementStatusBarDisableController.java103 mActivityManager.getLockTaskModeState() == ActivityManager.LOCK_TASK_MODE_LOCKED; in refreshSystemBarDisabledStates()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DStartLockTaskModeWorker.java93 () -> mAm.getLockTaskModeState() == ActivityManager.LOCK_TASK_MODE_LOCKED, in startWork()
/packages/apps/Settings/src/com/android/settings/core/
DSettingsBaseActivity.java240 return activityManager.getLockTaskModeState() == ActivityManager.LOCK_TASK_MODE_PINNED; in isLockTaskModePinned()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarControllerTest.java776 when(mActivityManager.getLockTaskModeState()).thenReturn(locked in setLockTaskModeLocked()