Home
last modified time | relevance | path

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

12345678

/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/base/services/core/java/com/android/server/notification/
DPermissionHelper.java146 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/
DChipsUtil.java32 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/
DPermissionCache.h46 bool granted; member
61 status_t check(bool* granted,
64 void cache(const String16& permission, uid_t uid, bool granted);
/frameworks/native/include/binder/
DPermissionCache.h46 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/
DFakePermissionEnforcer.java50 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/
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/services/tests/uiservicestests/src/com/android/server/notification/
DTestableNotificationManagerService.java104 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/
DRuntimePermissionPresentationInfo.java53 boolean granted, boolean standard) { in RuntimePermissionPresentationInfo() argument
56 if (granted) { in RuntimePermissionPresentationInfo()
/frameworks/base/core/java/android/permission/
DRuntimePermissionPresentationInfo.java51 boolean granted, boolean standard) { in RuntimePermissionPresentationInfo() argument
56 if (granted) { in RuntimePermissionPresentationInfo()
/frameworks/rs/driver/runtime/
DNOTICE6 software is freely granted, provided that this notice
/frameworks/base/media/java/android/media/tv/tuner/
DTuner.java1359 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/
DNotificationManager.java1646 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/
DLegacyPermissionState.java272 public PermissionState(@NonNull String name, boolean runtime, boolean granted, int flags) { in PermissionState() argument
275 mGranted = granted; in PermissionState()
DUidPermissionState.java161 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/
Dmediaprojection.md26 * indicating the user has granted consent to reuse the consent token
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto1915 // 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/
DNOTICE3 Permission is hereby granted, free of charge, to any person obtaining
/frameworks/wilhelm/include/SLES/
DNOTICE3 Permission is hereby granted, free of charge, to any person obtaining a copy of
/frameworks/native/opengl/include/KHR/
DNOTICE3 Permission is hereby granted, free of charge, to any person obtaining a
/frameworks/native/opengl/include/EGL/
DNOTICE3 Permission is hereby granted, free of charge, to any person obtaining a
/frameworks/base/core/proto/android/service/
Dpackage.proto138 // Runtime permission state that are granted for users.
143 // Pre-granted Android permissions.
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md20 * **ok**: network access granted while app on background (NetworkInfo's state/detailed state should…
/frameworks/native/opengl/include/GLES2/
DNOTICE17 Permission is hereby granted, free of charge, to any person obtaining a
/frameworks/native/opengl/include/GLES/
DNOTICE17 Permission is hereby granted, free of charge, to any person obtaining a

12345678