Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java179 private void setHasAppOpsPermission(int appOpsMode, boolean hasPermission) { in setHasAppOpsPermission()
187 private void setHasReadHistoryPermission(boolean hasPermission) { in setHasReadHistoryPermission()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPermissionManager.java134 boolean hasPermission(@NonNull UsbDevice device, int uid) { in hasPermission() method in UsbPermissionManager
154 boolean hasPermission(@NonNull UsbAccessory accessory, int uid) { in hasPermission() method in UsbPermissionManager
DUsbUserSettingsManager.java162 public boolean hasPermission(UsbDevice device, String packageName, int pid, int uid) { in hasPermission() method in UsbUserSettingsManager
172 public boolean hasPermission(UsbAccessory accessory, int uid) { in hasPermission() method in UsbUserSettingsManager
/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
255 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/libs/usb/src/com/android/future/usb/
DUsbManager.java150 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() method in UsbManager
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java355 boolean hasPermission, boolean requiresBindPermission, boolean hasPriority) { in prepareEuiccApp()
DEuiccControllerTest.java1139 private void setHasWriteEmbeddedPermission(boolean hasPermission) { in setHasWriteEmbeddedPermission()
1146 private void setHasMasterClearPermission(boolean hasPermission) { in setHasMasterClearPermission()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java561 public boolean hasPermission(UsbDevice device) { in hasPermission() method in UsbManager
582 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() method in UsbManager
/frameworks/base/services/core/java/com/android/server/location/
DRemoteListenerHelper.java176 protected boolean hasPermission(Context context, CallerIdentity callerIdentity) { in hasPermission() method in RemoteListenerHelper
/frameworks/base/services/net/java/android/net/
DConnectivityModuleConnector.java288 final int hasPermission = in checkModuleServicePermission() local
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java288 private void assertBackgroundPermission(boolean hasPermission, String name, int uid, in assertBackgroundPermission()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java223 boolean hasPermission(@NonNull final String permission, final int uid) { in hasPermission() method in PermissionMonitor
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java277 public boolean hasPermission(String name, int userId) { in hasPermission() method in PermissionsState
DPermissionManagerService.java3006 private static boolean hasPermission(PackageParser.Package pkgInfo, String permName) { in hasPermission() method in PermissionManagerService
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricServiceBase.java1172 protected boolean hasPermission(String permission) { in hasPermission() method in BiometricServiceBase
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java711 private boolean hasPermission(String permission) { in hasPermission() method in VibratorService
/frameworks/native/services/sensorservice/
DSensorService.cpp1690 bool hasPermission = false; in hasPermissionForSensor() local
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java920 private boolean hasPermission(String callingPackage) { in hasPermission() method in UsageStatsService.BinderService
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3827 private boolean hasPermission(String permission) { in hasPermission() method in AccessibilityManagerService.SecurityPolicy