Home
last modified time | relevance | path

Searched refs:canRequestPackageInstalls (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPackageManager.java132 static boolean canRequestPackageInstalls = false; field in ShadowPackageManager
637 public void setCanRequestPackageInstalls(boolean canRequestPackageInstalls) { in setCanRequestPackageInstalls() argument
638 ShadowPackageManager.canRequestPackageInstalls = canRequestPackageInstalls; in setCanRequestPackageInstalls()
DShadowApplicationPackageManager.java1754 protected boolean canRequestPackageInstalls() { in canRequestPackageInstalls() method in ShadowApplicationPackageManager
1755 return canRequestPackageInstalls; in canRequestPackageInstalls()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java2764 assertThat(packageManager.canRequestPackageInstalls()).isFalse();
2771 assertThat(packageManager.canRequestPackageInstalls()).isTrue();
2778 assertThat(packageManager.canRequestPackageInstalls()).isFalse();