Searched refs:setLockTaskFeatures (Results 1 – 6 of 6) sorted by relevance
311 sDeviceState.dpc().devicePolicyManager().setLockTaskFeatures(flag); in setLockTaskFeatures_overviewFeature_setsFeature()317 sDeviceState.dpc().devicePolicyManager().setLockTaskFeatures(originalLockTaskFeatures); in setLockTaskFeatures_overviewFeature_setsFeature()333 .setLockTaskFeatures(LOCK_TASK_FEATURE_OVERVIEW); in setLockTaskFeatures_overviewFeature_throwsException()336 sDeviceState.dpc().devicePolicyManager().setLockTaskFeatures(originalLockTaskFeatures); in setLockTaskFeatures_overviewFeature_throwsException()351 .setLockTaskFeatures(LOCK_TASK_FEATURE_NOTIFICATIONS); in setLockTaskFeatures_notificationsFeature_throwsException()354 sDeviceState.dpc().devicePolicyManager().setLockTaskFeatures(originalLockTaskFeatures); in setLockTaskFeatures_notificationsFeature_throwsException()368 sDeviceState.dpc().devicePolicyManager().setLockTaskFeatures( in setLockTaskFeatures_multipleFeatures_setsFeatures()375 sDeviceState.dpc().devicePolicyManager().setLockTaskFeatures(originalLockTaskFeatures); in setLockTaskFeatures_multipleFeatures_setsFeatures()384 … sDeviceState.dpc().devicePolicyManager().setLockTaskFeatures(LOCK_TASK_FEATURE_NONE)); in setLockTaskFeatures_policyIsNotAllowedToBeSet_throwsException()648 sDeviceState.dpc().devicePolicyManager().setLockTaskFeatures( in startActivity_withinSameTask_blockStartInTask_doesNotStart()[all …]
71 void setLockTaskFeatures( in setLockTaskFeatures() method74 @RemoteDpcAutomaticAdmin void setLockTaskFeatures(int flags); in setLockTaskFeatures() method
251 mDpm.setLockTaskFeatures(ADMIN_RECEIVER, LOCK_TASK_FEATURE_NONE); in startLockTaskMode()298 mDpm.setLockTaskFeatures(ADMIN_RECEIVER, LOCK_TASK_FEATURE_NONE); in stopLockTaskMode()
259 mDpm.setLockTaskFeatures(mAdmin, flags); in onCreate()
182 dpm.setLockTaskFeatures(admin, NO_FLAGS);
133 doAnswer(answer).when(spy).setLockTaskFeatures(any(), anyInt()); in getWrapper()