Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java326 devicePolicyManager.setApplicationHidden(testComponent, hiddenApp, true); in isApplicationHiddenShouldReturnTrueForHiddenApps()
342 devicePolicyManager.setApplicationHidden(testComponent, nonHiddenApp, false); in isApplicationHiddenShouldReturnFalseForNonHiddenApps()
358 devicePolicyManager.setApplicationHidden(testComponent, app, true); in setApplicationHiddenShouldBeAbleToUnhideHiddenApps()
361 devicePolicyManager.setApplicationHidden(testComponent, app, false); in setApplicationHiddenShouldBeAbleToUnhideHiddenApps()
377 assertThat(devicePolicyManager.setApplicationHidden(testComponent, app, true)).isFalse(); in setApplicationHiddenShouldReturnFalseForNotExistingApps()
404 devicePolicyManager.setApplicationHidden(testComponent, hiddenApp, true); in wasPackageEverHiddenShouldReturnTrueForPackageWhichIsHidden()
420 devicePolicyManager.setApplicationHidden(testComponent, app, true); in wasPackageEverHiddenShouldReturnTrueForPackageWhichWasHidden()
421 devicePolicyManager.setApplicationHidden(testComponent, app, false); in wasPackageEverHiddenShouldReturnTrueForPackageWhichWasHidden()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDevicePolicyManager.java192 protected boolean setApplicationHidden(ComponentName admin, String packageName, boolean hidden) { in setApplicationHidden() method in ShadowDevicePolicyManager