Searched refs:getLockTaskModeState (Results 1 – 10 of 10) sorted by relevance
55 assertThat(mAm.getLockTaskModeState()).isEqualTo(LOCK_TASK_MODE_NONE); in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()64 return mAm.getLockTaskModeState() == LOCK_TASK_MODE_PINNED; in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()78 return mAm.getLockTaskModeState() == LOCK_TASK_MODE_LOCKED; in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()87 return mAm.getLockTaskModeState() == LOCK_TASK_MODE_NONE; in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()
1362 return mAm.getLockTaskModeState() != LOCK_TASK_MODE_NONE; in testDisallowEnterPipActivityLocked()
65 Poll.forValue("Lock task mode state", () -> TestApis.activities().getLockTaskModeState()) in startLockTask()82 Poll.forValue("Lock task mode state", () -> TestApis.activities().getLockTaskModeState()) in stopLockTask()
164 public int getLockTaskModeState() { in getLockTaskModeState() method169 return activityManager.getLockTaskModeState(); in getLockTaskModeState()
121 activityManager.getLockTaskModeState() in testPocCVE_2021_0472()141 activityManager.getLockTaskModeState() in testPocCVE_2021_0472()155 if (context.getSystemService(ActivityManager.class).getLockTaskModeState() in testPocCVE_2021_0472()
463 mAm.getLockTaskModeState() != LOCK_TASK_MODE_NONE); in testDisallowUpdateWindowingModeWhenInLockedTask()499 mAm.getLockTaskModeState() != LOCK_TASK_MODE_NONE); in testDisallowReparentOperationWhenInLockedTask()597 mAm.getLockTaskModeState() != LOCK_TASK_MODE_NONE); in testDisallowReOrderOperationWhenInLockedTask()
254 if (mAm.getLockTaskModeState() == ActivityManager.LOCK_TASK_MODE_LOCKED) { in startLockTaskMode()292 if (mAm.getLockTaskModeState() == ActivityManager.LOCK_TASK_MODE_NONE) { in stopLockTaskMode()
123 () -> (mActivityManager.getLockTaskModeState() in checkLockedActivityIsRunning()
993 return mAm.getLockTaskModeState() == LOCK_TASK_MODE_PINNED; in testApplyHierarchyOpsInLockTaskMode()
4781 method public int getLockTaskModeState();