/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() 105 granted ? "granted" : "denied", (int)ns2us(t)); in checkPermission() 106 pc.cache(permission, uid, granted); in checkPermission() 108 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() 231 setNotificationPermission(pkgPerm.packageName, pkgPerm.userId, pkgPerm.granted, in setNotificationPermission() 304 public final boolean granted; field in PermissionHelper.PackagePermission 307 public PackagePermission(String pkg, int userId, boolean granted, boolean userSet) { in PackagePermission() argument 310 this.granted = granted; in PackagePermission() 319 return userId == that.userId && granted == that.granted && userModifiedSettings in equals() 326 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 | 47 bool granted; member 62 status_t check(bool* granted, 65 void cache(const String16& permission, uid_t uid, bool granted);
|
/frameworks/native/include/binder/ |
D | PermissionCache.h | 47 bool granted; member 62 status_t check(bool* granted, 65 void cache(const String16& permission, uid_t uid, bool granted);
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | FakePermissionEnforcer.java | 54 private boolean granted(String permission) { in granted() method in FakePermissionEnforcer 61 return granted(permission) ? PERMISSION_GRANTED : PERMISSION_HARD_DENIED; in checkPermission() 66 return granted(permission) ? PERMISSION_GRANTED : PERMISSION_HARD_DENIED; in checkPermission()
|
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | SelinuxAuditLogsCollectorTest.java | 545 String granted, String permissions, String sType, String tType, String tClass) { in writeTestLog() argument 550 granted, permissions, sType, tType, tClass)); in writeTestLog() 554 String granted, in writeTestLog() argument 565 granted, permissions, path, sType, tType, tClass)); in writeTestLog() 569 String granted, in writeTestLog() argument 580 granted, in writeTestLog() 590 String granted, in writeTestLog() argument 603 granted, in writeTestLog() 614 String granted, in writeTestLog() argument 625 granted, permissions, sType, tType, tClass, permissive ? "1" : "0")); in writeTestLog()
|
D | SelinuxAuditLogsBuilderTest.java | 257 boolean granted, in assertAuditLog() argument 263 auditLog, granted, permissions, sType, null, tType, null, tClass, null, false); in assertAuditLog() 268 boolean granted, in assertAuditLog() argument 278 assertThat(auditLog.mGranted).isEqualTo(granted); in assertAuditLog()
|
/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 | 120 ComponentName assistant, int userId, boolean granted, boolean userSet) { in setNotificationAssistantAccessGrantedForUserInternal() argument 122 mNotificationAssistantAccessGrantedCallback.onGranted(assistant, userId, granted, in setNotificationAssistantAccessGrantedForUserInternal() 126 super.setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted, in setNotificationAssistantAccessGrantedForUserInternal() 145 void onGranted(ComponentName assistant, int userId, boolean granted, boolean userSet); in onGranted() argument
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionMigrationHelper.java | 92 LegacyPermissionState(boolean granted, int flags) { in LegacyPermissionState() argument 93 mGranted = granted; in LegacyPermissionState()
|
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/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 | 1373 boolean granted = false; in requestFrontend() 1381 granted = mTunerResourceManager.requestFrontend(request, feHandle); in requestFrontend() 1385 if (granted) { in requestFrontend() 1404 return granted; in requestFrontend() 2385 boolean granted = mTunerResourceManager.requestLnb(request, lnbHandle); in requestLnb() 2386 if (granted) { in requestLnb() 2390 return granted; in requestLnb() 2669 boolean granted = mTunerResourceManager.requestDemux(request, demuxHandle); in requestDemux() 2670 if (granted) { in requestDemux() 2674 return granted; in requestDemux() [all …]
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1804 public void setNotificationPolicyAccessGranted(String pkg, boolean granted) { in setNotificationPolicyAccessGranted() argument 1807 service.setNotificationPolicyAccessGranted(pkg, granted); in setNotificationPolicyAccessGranted() 1815 @NonNull ComponentName listener, boolean granted) { in setNotificationListenerAccessGranted() argument 1816 setNotificationListenerAccessGranted(listener, granted, true); in setNotificationListenerAccessGranted() 1873 @NonNull ComponentName listener, boolean granted, boolean userSet) { in setNotificationListenerAccessGranted() argument 1878 granted, userSet); in setNotificationListenerAccessGranted() 1880 service.setNotificationListenerAccessGranted(listener, granted, userSet); in setNotificationListenerAccessGranted() 1889 boolean granted) { in setNotificationListenerAccessGrantedForUser() argument 1892 service.setNotificationListenerAccessGrantedForUser(listener, userId, granted, true); in setNotificationListenerAccessGrantedForUser() 1910 boolean granted) { in setNotificationAssistantAccessGranted() argument [all …]
|
/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 | 1921 // ACTION: app requested access to a scoped directory, user granted it. 1933 // ACTION: app requested access to a scoped directory, user granted it. 1945 // ACTION: app requested access to a directory user has already been granted 1952 // ACTION: app requested access to a directory user has already been granted 2689 // OPEN: Settings > Zen mode > Dialog warning about the zen access privileges being granted. 2932 // ACTION: An app was granted an unknown permission 2933 // PACKAGE: The package name of the app that was granted the permission 2952 // ACTION: An app was granted the permission READ_CALENDAR 2953 // PACKAGE: The package name of the app that was granted the permission 2972 // ACTION: An app was granted the permission WRITE_CALENDAR [all …]
|
/frameworks/native/opengl/include/KHR/ |
D | NOTICE | 3 Permission is hereby granted, free of charge, to any person obtaining a
|
/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/EGL/ |
D | NOTICE | 3 Permission is hereby granted, free of charge, to any person obtaining a
|
/frameworks/wilhelm/include/OMXAL/ |
D | NOTICE | 3 Permission is hereby granted, free of charge, to any person obtaining
|
/frameworks/proto_logging/stats/atoms/selinux/ |
D | selinux_extension_atoms.proto | 35 optional bool granted = 1 [default = false]; field
|