Searched refs:setLockTaskFeatures (Results 1 – 2 of 2) sorted by relevance
2140 NullPointerException.class, () -> devicePolicyManager.setLockTaskFeatures(null, 0)); in setLockTaskFeatures_nullAdmin_throwsNullPointerException()2147 SecurityException.class, () -> devicePolicyManager.setLockTaskFeatures(testComponent, 0)); in setLockTaskFeatures_notOwner_throwsSecurityException()2157 () -> devicePolicyManager.setLockTaskFeatures(testComponent, LOCK_TASK_FEATURE_OVERVIEW)); in setLockTaskFeatures_overviewWithoutHome_throwsIllegalArgumentException()2168 devicePolicyManager.setLockTaskFeatures( in setLockTaskFeatures_notificationsWithoutHome_throwsIllegalArgumentException()2179 devicePolicyManager.setLockTaskFeatures(testComponent, flags); in setLockTaskFeatures_homeOverviewNotifications_success()2188 devicePolicyManager.setLockTaskFeatures(testComponent, LOCK_TASK_FEATURE_HOME); in setLockTaskFeatures_setFeaturesTwice_keepsLatestFeatures()2192 devicePolicyManager.setLockTaskFeatures(testComponent, flags); in setLockTaskFeatures_setFeaturesTwice_keepsLatestFeatures()
1389 protected void setLockTaskFeatures(ComponentName admin, int flags) { in setLockTaskFeatures() method in ShadowDevicePolicyManager