/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 37 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/base/services/core/java/com/android/server/notification/ |
D | PermissionHelper.java | 146 Set<Pair<Integer, String>> granted = new HashSet<>(); in getAppsGrantedPermission() local 155 return granted; in getAppsGrantedPermission() 158 granted.add(new Pair<>(pi.applicationInfo.uid, pi.packageName)); in getAppsGrantedPermission() 160 return granted; in getAppsGrantedPermission() 229 setNotificationPermission(pkgPerm.packageName, pkgPerm.userId, pkgPerm.granted, in setNotificationPermission() 302 public final boolean granted; field in PermissionHelper.PackagePermission 305 public PackagePermission(String pkg, int userId, boolean granted, boolean userSet) { in PackagePermission() argument 308 this.granted = granted; in PackagePermission() 317 return userId == that.userId && granted == that.granted && userModifiedSettings in equals() 324 return Objects.hash(packageName, userId, granted, userModifiedSettings); in hashCode() [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | ChipsUtil.java | 32 void onPermissionCheck(String permission, boolean granted); in onPermissionCheck() argument 81 final boolean granted = in hasPermissions() 84 permissionsCheckListener.onPermissionCheck(permission, granted); in hasPermissions() 86 if (!granted) { in hasPermissions()
|
/frameworks/native/libs/binder/include/binder/ |
D | PermissionCache.h | 46 bool granted; member 61 status_t check(bool* granted, 64 void cache(const String16& permission, uid_t uid, bool granted);
|
/frameworks/native/include/binder/ |
D | PermissionCache.h | 46 bool granted; member 61 status_t check(bool* granted, 64 void cache(const String16& permission, uid_t uid, bool granted);
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | FakePermissionEnforcer.java | 50 private boolean granted(String permission) { in granted() method in FakePermissionEnforcer 57 return granted(permission) ? PERMISSION_GRANTED : PERMISSION_HARD_DENIED; in checkPermission() 62 return granted(permission) ? PERMISSION_GRANTED : PERMISSION_HARD_DENIED; in checkPermission()
|
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/ |
D | AppWidget.java | 86 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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | TestableNotificationManagerService.java | 104 ComponentName assistant, int userId, boolean granted, boolean userSet) { in setNotificationAssistantAccessGrantedForUserInternal() argument 106 mNotificationAssistantAccessGrantedCallback.onGranted(assistant, userId, granted, in setNotificationAssistantAccessGrantedForUserInternal() 110 super.setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted, in setNotificationAssistantAccessGrantedForUserInternal() 129 void onGranted(ComponentName assistant, int userId, boolean granted, boolean userSet); in onGranted() argument
|
/frameworks/base/core/java/android/content/pm/permission/ |
D | RuntimePermissionPresentationInfo.java | 53 boolean granted, boolean standard) { in RuntimePermissionPresentationInfo() argument 56 if (granted) { in RuntimePermissionPresentationInfo()
|
/frameworks/base/core/java/android/permission/ |
D | RuntimePermissionPresentationInfo.java | 51 boolean granted, boolean standard) { in RuntimePermissionPresentationInfo() argument 56 if (granted) { in RuntimePermissionPresentationInfo()
|
/frameworks/rs/driver/runtime/ |
D | NOTICE | 6 software is freely granted, provided that this notice
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | Tuner.java | 1359 boolean granted = false; in requestFrontend() 1367 granted = mTunerResourceManager.requestFrontend(request, feHandle); in requestFrontend() 1371 if (granted) { in requestFrontend() 1390 return granted; in requestFrontend() 2361 boolean granted = mTunerResourceManager.requestLnb(request, lnbHandle); in requestLnb() 2362 if (granted) { in requestLnb() 2366 return granted; in requestLnb() 2642 boolean granted = mTunerResourceManager.requestDemux(request, demuxHandle); in requestDemux() 2643 if (granted) { in requestDemux() 2647 return granted; in requestDemux() [all …]
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1646 public void setNotificationPolicyAccessGranted(String pkg, boolean granted) { in setNotificationPolicyAccessGranted() argument 1649 service.setNotificationPolicyAccessGranted(pkg, granted); in setNotificationPolicyAccessGranted() 1657 @NonNull ComponentName listener, boolean granted) { in setNotificationListenerAccessGranted() argument 1658 setNotificationListenerAccessGranted(listener, granted, true); in setNotificationListenerAccessGranted() 1675 @NonNull ComponentName listener, boolean granted, boolean userSet) { in setNotificationListenerAccessGranted() argument 1678 service.setNotificationListenerAccessGranted(listener, granted, userSet); in setNotificationListenerAccessGranted() 1686 boolean granted) { in setNotificationListenerAccessGrantedForUser() argument 1689 service.setNotificationListenerAccessGrantedForUser(listener, userId, granted, true); in setNotificationListenerAccessGrantedForUser() 1707 boolean granted) { in setNotificationAssistantAccessGranted() argument 1710 service.setNotificationAssistantAccessGranted(assistant, granted); in setNotificationAssistantAccessGranted()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | LegacyPermissionState.java | 272 public PermissionState(@NonNull String name, boolean runtime, boolean granted, int flags) { in PermissionState() argument 275 mGranted = granted; in PermissionState()
|
D | UidPermissionState.java | 161 public void putPermissionState(@NonNull Permission permission, boolean granted, int flags) { in putPermissionState() argument 169 if (granted) { in putPermissionState()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | mediaprojection.md | 26 * indicating the user has granted consent to reuse the consent token
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 1915 // ACTION: app requested access to a scoped directory, user granted it. 1927 // ACTION: app requested access to a scoped directory, user granted it. 1939 // ACTION: app requested access to a directory user has already been granted 1946 // ACTION: app requested access to a directory user has already been granted 2683 // OPEN: Settings > Zen mode > Dialog warning about the zen access privileges being granted. 2926 // ACTION: An app was granted an unknown permission 2927 // PACKAGE: The package name of the app that was granted the permission 2946 // ACTION: An app was granted the permission READ_CALENDAR 2947 // PACKAGE: The package name of the app that was granted the permission 2966 // ACTION: An app was granted the permission WRITE_CALENDAR [all …]
|
/frameworks/wilhelm/include/OMXAL/ |
D | NOTICE | 3 Permission is hereby granted, free of charge, to any person obtaining
|
/frameworks/wilhelm/include/SLES/ |
D | NOTICE | 3 Permission is hereby granted, free of charge, to any person obtaining a copy of
|
/frameworks/native/opengl/include/KHR/ |
D | NOTICE | 3 Permission is hereby granted, free of charge, to any person obtaining a
|
/frameworks/native/opengl/include/EGL/ |
D | NOTICE | 3 Permission is hereby granted, free of charge, to any person obtaining a
|
/frameworks/base/core/proto/android/service/ |
D | package.proto | 138 // Runtime permission state that are granted for users. 143 // Pre-granted Android permissions.
|
/frameworks/base/core/java/android/net/ |
D | network-policy-restrictions.md | 20 * **ok**: network access granted while app on background (NetworkInfo's state/detailed state should…
|
/frameworks/native/opengl/include/GLES2/ |
D | NOTICE | 17 Permission is hereby granted, free of charge, to any person obtaining a
|
/frameworks/native/opengl/include/GLES/ |
D | NOTICE | 17 Permission is hereby granted, free of charge, to any person obtaining a
|