Home
last modified time | relevance | path

Searched refs:setLockTaskFeatures (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java2140 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()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDevicePolicyManager.java1389 protected void setLockTaskFeatures(ComponentName admin, int flags) { in setLockTaskFeatures() method in ShadowDevicePolicyManager