Home
last modified time | relevance | path

Searched defs:hasPermission (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/service/credentials/
DPermissionUtils.java31 public static boolean hasPermission(Context context, String packageName, String permission) { in hasPermission() method in PermissionUtils
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemLocationPermissionsHelper.java56 protected boolean hasPermission(String permission, CallerIdentity callerIdentity) { in hasPermission() method in SystemLocationPermissionsHelper
DLocationPermissionsHelper.java108 protected abstract boolean hasPermission(String permission, CallerIdentity callerIdentity); in hasPermission() method in LocationPermissionsHelper
/frameworks/av/services/camera/virtualcamera/util/
DPermissions.cc39 const bool hasPermission = PermissionCache::checkCallingPermission( in checkCallingPermission() local
/frameworks/base/services/core/java/com/android/server/slice/
DPinnedSliceState.java214 private boolean hasPermission; field in PinnedSliceState.ListenerInfo
218 public ListenerInfo(IBinder token, String pkg, boolean hasPermission, in ListenerInfo()
DSliceClientPermissions.java102 public synchronized boolean hasPermission(Uri uri, int userId) { in hasPermission() method in SliceClientPermissions
261 public boolean hasPermission(List<String> path) { in hasPermission() method in SliceClientPermissions.SliceAuthority
DSlicePermissionManager.java151 public boolean hasPermission(String pkg, int userId, Uri uri) { in hasPermission() method in SlicePermissionManager
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeLocationPermissionsHelper.java49 protected boolean hasPermission(String permission, CallerIdentity identity) { in hasPermission() method in FakeLocationPermissionsHelper
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUtils.kt116 val hasPermission = in isSystem() constant
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbManager.java150 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() method in UsbManager
/frameworks/base/services/core/java/com/android/server/pm/
DNoFilteringResolver.java142 private static boolean hasPermission(Context context, String permission) { in hasPermission() method in NoFilteringResolver
/frameworks/base/services/credentials/java/com/android/server/credentials/
DPrepareGetRequestSession.java120 private void constructPendingResponseAndInvokeCallback(boolean hasPermission, in constructPendingResponseAndInvokeCallback()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java580 boolean hasPermission, boolean requiresBindPermission, boolean hasPriority) { in prepareEuiccApp()
DEuiccControllerTest.java1906 private void setHasWriteEmbeddedPermission(boolean hasPermission) { in setHasWriteEmbeddedPermission()
1913 private void setHasManageDevicePolicyManagedSubscriptionsPermission(boolean hasPermission) { in setHasManageDevicePolicyManagedSubscriptionsPermission()
1922 private void setHasMasterClearPermission(boolean hasPermission) { in setHasMasterClearPermission()
/frameworks/base/services/core/java/com/android/server/tracing/
DTracingServiceProxy.java260 private boolean hasPermission(@NonNull ComponentName componentName, in hasPermission() method in TracingServiceProxy
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java199 boolean hasPermission(@NonNull UsbDevice device, @NonNull String packageName, int pid, in hasPermission() method in UsbUserPermissionManager
249 boolean hasPermission(@NonNull UsbAccessory accessory, int pid, int uid) { in hasPermission() method in UsbUserPermissionManager
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManagerInternal.java311 public abstract boolean hasPermission(String callerPackage, String permission, in hasPermission() method in DevicePolicyManagerInternal
/frameworks/base/services/net/java/android/net/
DConnectivityModuleConnector.java288 final int hasPermission = in checkModuleServicePermission() local
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java71 public boolean hasPermission(int uid) { in hasPermission() method in PermissionHelper
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DAuthServiceTest.java541 Context context, boolean hasPermission) { in setInternalAndTestBiometricPermissions()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java590 public boolean hasPermission(@NonNull String permission) { in hasPermission() method in AccessibilitySecurityPolicy
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkScanRequestTrackerTest.java902 private void setHasLocationPermissions(boolean hasPermission) { in setHasLocationPermissions()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java78 boolean setInTouchMode(boolean inTouchMode, int pid, int uid, boolean hasPermission, in setInTouchMode()
335 boolean hasPermission, int displayId); in setInTouchMode()
/frameworks/base/core/java/android/app/
DKeyguardManager.java948 private boolean hasPermission(String permission) { in hasPermission() method in KeyguardManager
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayActorEnforcerTests.kt363 var hasPermission: Boolean = false, in <lambda>() variable in com.android.server.om.OverlayActorEnforcerTests.TestState

12