Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/
DAndroidManifestTest.java386 assertThat(config.getUsedPermissions()).hasSize(3); in shouldReadPermissions()
387 assertThat(config.getUsedPermissions().get(0)).isEqualTo(Manifest.permission.INTERNET); in shouldReadPermissions()
388 … assertThat(config.getUsedPermissions().get(1)).isEqualTo(Manifest.permission.SYSTEM_ALERT_WINDOW); in shouldReadPermissions()
389 assertThat(config.getUsedPermissions().get(2)).isEqualTo(Manifest.permission.GET_TASKS); in shouldReadPermissions()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DAndroidManifest.java770 public List<String> getUsedPermissions() { in getUsedPermissions() method in AndroidManifest
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DLegacyManifestParser.java128 pkg.requestedPermissions.addAll(androidManifest.getUsedPermissions()); in createPackage()