/frameworks/base/core/java/android/content/pm/permission/ |
RuntimePermissionPresenter.java | 13 * See the License for the specific language governing permissions and 42 * This class provides information about runtime permissions for a specific 44 * and does not necessarily reflect the individual permissions requested/ 45 * granted to an app as the platform may be grouping permissions to improve 47 * runtime permissions in the same permission group may be presented as a 69 * @param permissions The permissions list. 72 List<RuntimePermissionPresentationInfo> permissions) { 104 * Gets the runtime permissions for an app. 216 List<RuntimePermissionPresentationInfo> permissions = null [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientEntry.java | 13 * See the License for the specific language governing permissions and 44 * Entry of this type represents the item in auto-complete that asks user to grant permissions 104 String lookupKey, String[] permissions) { 107 true /* shouldDisplayIcon */, isFirstLevel, isValid, lookupKey, permissions); 113 boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) { 130 mPermissions = permissions; 165 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */); 175 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */); 187 isValid, null /* lookupKey */, null /* permissions */); 197 null /* permissions */); [all...] |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
CameraComposerFragment.java | 13 * See the License for the specific language governing permissions and 77 private String[] permissions = new String[] {Manifest.permission.CAMERA}; field in class:CameraComposerFragment 197 if (PermissionsUtil.isFirstRequest(getContext(), permissions[0]) 198 || shouldShowRequestPermissionRationale(permissions[0])) { 201 requestPermissions(permissions, CAMERA_PERMISSION); 386 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { 387 if (permissions.length > 0 && permissions[0].equals(this.permissions[0])) { 388 PermissionsUtil.permissionRequested(getContext(), permissions[0]) local [all...] |
/build/make/target/product/ |
emulator.mk | 13 # See the License for the specific language governing permissions and 145 device/generic/goldfish/data/etc/permissions/privapp-permissions-goldfish.xml:system/etc/permissions/privapp-permissions-goldfish.xml \ 147 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
|
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/dndtargetapp/src/android/wm/cts/dndtargetapp/ |
DropTarget.java | 13 * See the License for the specific language governing permissions and 124 // Try accessing the Uri without the permissions grant. 130 // Try accessing the Uri after the permissions have been released. 173 DragAndDropPermissions permissions = null; local 175 permissions = requestDragAndDropPermissions(event); 176 if (permissions == null) { 184 if (permissions != null) { 185 permissions.release();
|
/development/tools/privapp_permissions/ |
privapp_permissions.py | 15 # See the License for the specific language governing permissions and 20 privapp_permission.py: Generates privapp-permissions.xml file for 42 BASE_XML_FNAME = "privapp-permissions-platform.xml" 45 # Parse base XML files in /etc dir, permissions listed there don't have to be re-added 50 # Extract signature|privileged permissions available in the platform 60 priv_perms = get_priv_permissions(pkg_info['permissions'], platform_priv_permissions) 61 # Compute diff against permissions defined in base file 78 <permissions>""" 81 print ' <!-- Additional permissions on top of %s -->' % BASE_XML_FNAME 82 print ' <privapp-permissions package="%s">' % package_nam [all...] |
/bionic/libc/malloc_debug/ |
MapData.cpp | 47 char permissions[5]; local 50 &end, permissions, &offset, &name_pos) < 2) { 61 if (permissions[0] != 'r') {
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
BasePermissionsTest.java | 13 * See the License for the specific language governing permissions and 143 int requestCode, String[] permissions, boolean[] granted) { 145 for (int i = 0; i < permissions.length; i++) { 146 assertEquals(permissions[i], result.permissions[i]); 190 String[] permissions, int requestCode, Class<?> clazz, Runnable postRequestAction) 198 // Request the permissions 199 activity.requestPermissions(permissions, requestCode); 242 protected void grantPermissions(String[] permissions) throws Exception { 243 setPermissionGrantState(permissions, true, false) [all...] |
/external/ims/rcs/rcsmanager/ |
Android.mk | 44 # We need to put the permissions XML file into /system/etc/permissions/ so the 50 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageParserTest.java | 13 * See the License for the specific language governing permissions and 378 assertEquals(1, p.permissions.size()); 381 packageName, PermissionInfo.PROTECTION_NORMAL, p.permissions.get(0)); 425 assertEquals(1, parent.permissions.size()); 427 PermissionInfo.PROTECTION_NORMAL, parent.permissions.get(0)); 435 assertEquals(0, firstChild.permissions.size()); // Child APKs cannot declare permissions. 443 assertEquals(0, secondChild.permissions.size()); // Child APKs cannot declare permissions.
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStateAppOpsBridge.java | 13 * See the License for the specific language governing permissions and 58 int appOpsOpCode, String[] permissions) { 59 this(context, appState, callback, appOpsOpCode, permissions, 65 int appOpsOpCode, String[] permissions, IPackageManagerWrapper packageManager) { 73 mPermissions = permissions; 88 private boolean doesAnyPermissionMatch(String permissionToMatch, String[] permissions) { 89 for (String permission : permissions) {
|
/art/test/071-dexfile-map-clean/src/ |
Main.java | 13 * See the License for the specific language governing permissions and 49 String permissions = split[1]; local 51 if (!permissions.startsWith("r--p")) {
|
/art/tools/jfuzz/ |
Android.mk | 12 # See the License for the specific language governing permissions and
|
/bootable/recovery/tools/dumpkey/ |
Android.mk | 12 # See the License for the specific language governing permissions and
|
/build/blueprint/gotestmain/ |
testmain_test.go | 12 // See the License for the specific language governing permissions and
|
/build/blueprint/ |
mangle.go | 12 // See the License for the specific language governing permissions and
|
/build/kati/ |
doc.go | 12 // See the License for the specific language governing permissions and
|
flags.go | 12 // See the License for the specific language governing permissions and
|
version.go | 12 // See the License for the specific language governing permissions and
|
/build/make/tools/droiddoc/ |
Android.mk | 12 # See the License for the specific language governing permissions and
|
/build/make/tools/droiddoc/templates-pdk/ |
trailer.cs | 17 See the License for the specific language governing permissions and
|
/build/soong/java/config/ |
config.go | 12 // See the License for the specific language governing permissions and
|
makevars.go | 12 // See the License for the specific language governing permissions and
|
/build/soong/ui/build/ |
sandbox_linux.go | 12 // See the License for the specific language governing permissions and
|
util_darwin.go | 12 // See the License for the specific language governing permissions and
|