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.java131 static boolean canRequestPackageInstalls = false; field in ShadowPackageManager
629 public void setCanRequestPackageInstalls(boolean canRequestPackageInstalls) { in setCanRequestPackageInstalls() argument
630 ShadowPackageManager.canRequestPackageInstalls = canRequestPackageInstalls; in setCanRequestPackageInstalls()
DShadowApplicationPackageManager.java1721 protected boolean canRequestPackageInstalls() { in canRequestPackageInstalls() method in ShadowApplicationPackageManager
1722 return canRequestPackageInstalls; in canRequestPackageInstalls()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java2724 assertThat(packageManager.canRequestPackageInstalls()).isFalse();
2731 assertThat(packageManager.canRequestPackageInstalls()).isTrue();
2738 assertThat(packageManager.canRequestPackageInstalls()).isFalse();