Home
last modified time | relevance | path

Searched refs:granted (Results 1 – 25 of 160) sorted by relevance

1234567

/frameworks/native/libs/binder/
DPermissionCache.cpp37 status_t PermissionCache::check(bool* granted, in check() argument
45 *granted = mCache.itemAt(index).granted; in check()
52 uid_t uid, bool granted) { in cache() argument
65 e.granted = granted; in cache()
99 bool granted = false; in checkPermission() local
100 if (pc.check(&granted, permission, uid) != NO_ERROR) { in checkPermission()
102 granted = android::checkPermission(permission, pid, uid); in checkPermission()
106 granted?"granted":"denied", (int)ns2us(t)); in checkPermission()
107 pc.cache(permission, uid, granted); in checkPermission()
109 return granted; in checkPermission()
/frameworks/native/include/binder/
DPermissionCache.h45 bool granted; member
60 status_t check(bool* granted,
63 void cache(const String16& permission, uid_t uid, bool granted);
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java86 boolean granted) { in parseSetGrantBindAppWidgetPermissionCommand() argument
107 return new SetBindAppWidgetPermissionCommand(packageName, granted, userId); in parseSetGrantBindAppWidgetPermissionCommand()
141 public SetBindAppWidgetPermissionCommand(String packageName, boolean granted, in SetBindAppWidgetPermissionCommand() argument
144 mGranted = granted; in SetBindAppWidgetPermissionCommand()
/frameworks/base/docs/html/guide/topics/manifest/
Dgrant-uri-permission-element.jd17 can be granted for. Data subsets are indicated by the path part of a
26 attribute is "{@code true}", permission can be granted for any the data under
28 can be granted only to data subsets that are specified by this element.
34 For information on how permission is granted, see the
45 granted for. The {@code path} attribute specifies a complete path;
46 permission can be granted only to the particular data subset identified
49 permission can be granted to all data subsets with paths that share that
Duses-permission-element.jd45 <dd itemprop="description">Requests a permission that the application must be granted in
46 order for it to operate correctly. Permissions are granted by the user when the
68 <dd>The highest API level at which this permission should be granted to your app.
Dpath-permission-element.jd37 Permission can be granted only to the particular data identified by this path.
44 Permission can be granted to all data subsets with paths that share this initial part.
Dprovider-element.jd144 access the content provider's data can be granted permission to do so,
150 "{@code true}" if permission can be granted, and "{@code false}" if not.
151 If "{@code true}", permission can be granted to any of the content
152 provider's data. If "{@code false}", permission can be granted only
166 In such cases, permission is granted by
/frameworks/base/core/java/android/app/
DINotificationManager.aidl94 void setNotificationPolicyAccessGranted(String pkg, boolean granted); in setNotificationPolicyAccessGranted() argument
DNotificationManager.java490 public void setNotificationPolicyAccessGranted(String pkg, boolean granted) { in setNotificationPolicyAccessGranted() argument
493 service.setNotificationPolicyAccessGranted(pkg, granted); in setNotificationPolicyAccessGranted()
/frameworks/base/docs/html/guide/topics/security/
Dpermissions.jd133 granted to it by the package installer, based on checks against the
136 are done while an application is running; the app is either granted a particular
138 permission is not granted and any attempt to use the feature fails
153 means that your app has been granted its desired permissions.</p>
247 can happen if an application is granted the permission.</p>
383 permission has been granted to the current calling process. Note that this can
395 to find out whether that particular package has been granted a specific permission.</p>
/frameworks/native/
DNOTICE67 additional legal rights not granted by this license.
120 exercising permissions granted by this License.
182 granted to You under this License for that Work shall terminate
297 Permission is hereby granted, free of charge, to any person obtaining
/frameworks/base/
DNOTICE78 additional legal rights not granted by this license.
131 exercising permissions granted by this License.
193 granted to You under this License for that Work shall terminate
308 Permission is hereby granted, free of charge, to any person obtaining
/frameworks/compile/slang/
DNOTICE40 exercising permissions granted by this License.
102 granted to You under this License for that Work shall terminate
218 Permission is hereby granted, free of charge, to any person obtaining a copy of
288 Permission is hereby granted, free of charge, to any person obtaining a copy of
/frameworks/av/
DNOTICE67 additional legal rights not granted by this license.
120 exercising permissions granted by this License.
182 granted to You under this License for that Work shall terminate
297 Permission is hereby granted, free of charge, to any person obtaining
/frameworks/compile/mclinker/
DLICENSE.TXT16 Permission is hereby granted, free of charge, to any person obtaining a copy of
/frameworks/base/docs/html/preview/features/
Druntime-permissions.jd100 they are automatically granted at install time. For more information about
114 callback function to notify it whether the user granted the permission.
131 granted that permission. You do not need to check for permissions that
138 granted an appropriate permission, it should handle the failure cleanly.
190 method just as if the user had granted permission through the dialog box.
431 the user has already granted that permission, since the user can revoke an
693 // permission was granted, yay! do the
1035 permissions in the manifest, you can be sure your app was granted those
/frameworks/base/docs/html/preview/testing/
Dguide.jd55 can grant or revoke the permissions granted to an app individually at any time. This feature of
78 <li>Test with various combinations of granted/revoked permission.</li>
/frameworks/compile/libbcc/
DNOTICE42 exercising permissions granted by this License.
104 granted to You under this License for that Work shall terminate
218 Permission is hereby granted, free of charge, to any person obtaining a copy of
/frameworks/av/media/libeffects/lvm/wrapper/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/frameworks/av/media/libeffects/preprocessing/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/frameworks/av/drm/common/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/frameworks/av/drm/drmserver/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/frameworks/base/libs/storage/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/frameworks/base/tools/aidl/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DNOTICE37 exercising permissions granted by this License.
99 granted to You under this License for that Work shall terminate

1234567