OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:grantPermissions
(Results
1 - 14
of
14
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowContextWrapper.java
89
public void
grantPermissions
(String... permissionNames) {
90
getShadowInstrumentation().
grantPermissions
(permissionNames);
94
public void
grantPermissions
(int pid, int uid, String... permissions) {
95
getShadowInstrumentation().
grantPermissions
(pid, uid, permissions);
ShadowInstrumentation.java
696
void
grantPermissions
(String... permissionNames) {
697
grantPermissions
(Process.myPid(), Process.myUid(), permissionNames);
700
void
grantPermissions
(int pid, int uid, String... permissions) {
ShadowDevicePolicyManager.java
618
ShadowApplication.getInstance().
grantPermissions
(permission);
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
LocalPermissionGranter.java
27
shadowApplication.
grantPermissions
(permissions);
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
BaseTestCase.java
99
* @param
grantPermissions
whether to give runtime permissions.
101
protected void installPackage(String appFileName, boolean
grantPermissions
)
106
buildHelper.getTestFile(appFileName), true,
grantPermissions
);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowContextWrapperTest.java
387
shadowContextWrapper.
grantPermissions
("MY_PERMISSON");
400
shadowContextWrapper.
grantPermissions
(1, 1, "MY_PERMISSON");
412
shadowContextWrapper.
grantPermissions
("MY_PERMISSON");
418
shadowContextWrapper.
grantPermissions
("ANOTHER_PERMISSON");
426
shadowContextWrapper.
grantPermissions
("MY_PERMISSON");
438
shadowContextWrapper.
grantPermissions
(1, 1, "MY_PERMISSON");
508
shadowOf(contextWrapper).
grantPermissions
("foo", "bar");
516
shadowOf(contextWrapper).
grantPermissions
("foo", "bar");
524
shadowOf(contextWrapper).
grantPermissions
("foo", "bar");
534
shadowOf(contextWrapper).
grantPermissions
("foo", "bar")
[
all
...]
ShadowBackupManagerTest.java
44
.
grantPermissions
(android.Manifest.permission.BACKUP);
/cts/hostsidetests/atrace/src/android/atrace/cts/
AtraceHostTestBase.java
68
* @param
grantPermissions
whether to give runtime permissions.
70
private void installPackage(String appFileName, boolean
grantPermissions
)
75
buildHelper.getTestFile(appFileName), true,
grantPermissions
);
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
BaseDumpsysTest.java
142
* @param
grantPermissions
whether to give runtime permissions.
144
protected void installPackage(String appFileName, boolean
grantPermissions
)
149
buildHelper.getTestFile(appFileName), true,
grantPermissions
);
/cts/hostsidetests/incident/src/com/android/server/cts/
ProtoDumpTestCase.java
109
* @param
grantPermissions
whether to give runtime permissions.
111
protected void installPackage(String appFileName, boolean
grantPermissions
)
116
buildHelper.getTestFile(appFileName), true,
grantPermissions
);
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
AppBindingHostTest.java
64
private void installAppAsUser(String appFileName, boolean
grantPermissions
, int userId)
69
buildHelper.getTestFile(appFileName), true,
grantPermissions
, userId, "-t");
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
BasePermissionsTest.java
343
grantPermissions
(new String[]{permission});
346
protected void
grantPermissions
(String[] permissions) throws Exception {
UsePermissionTest23.java
506
grantPermissions
(perms.toArray(new String[perms.size()]));
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseDevicePolicyTest.java
212
protected void installAppAsUser(String appFileName, boolean
grantPermissions
, int userId)
217
buildHelper.getTestFile(appFileName), true,
grantPermissions
, userId, "-t");
[
all
...]
Completed in 404 milliseconds