Home
last modified time | relevance | path

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

12

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java165 Permission permission = new Permission(requestedPermission, granted, in create() local
230 Permission permission = mPermissions.valueAt(i); in isReviewRequired() local
241 Permission permission = mPermissions.valueAt(i); in resetReviewRequired() local
255 Permission permission = mPermissions.valueAt(i); in hasGrantedByDefaultPermission() local
295 public boolean hasPermission(String permission) { in hasPermission()
309 Permission permission = mPermissions.valueAt(i); in areRuntimePermissionsGranted() local
531 Permission permission = mPermissions.valueAt(i); in setPolicyFixed() local
549 Permission permission = mPermissions.valueAt(i); in getFlags() local
558 Permission permission = mPermissions.valueAt(i); in isUserFixed() local
569 Permission permission = mPermissions.valueAt(i); in isPolicyFixed() local
[all …]
DAppPermissions.java138 private void addPermissionGroupIfNeeded(String permission) { in addPermissionGroupIfNeeded()
152 private boolean hasGroupForPermission(String permission) { in hasGroupForPermission()
/packages/apps/Dialer/java/com/android/dialer/util/
DPermissionsUtil.java79 public static boolean hasPermission(Context context, String permission) { in hasPermission()
91 public static boolean isFirstRequest(Context context, String permission) { in isFirstRequest()
104 public static void permissionRequested(Context context, String permission) { in permissionRequested()
134 Context context, BroadcastReceiver receiver, String permission) { in registerPermissionReceiver()
145 public static void notifyPermissionGranted(Context context, String permission) { in notifyPermissionGranted()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DContactsPermissions.java38 public static boolean hasCallerOrSelfPermission(Context context, String permission) { in hasCallerOrSelfPermission()
57 public static void enforceCallingOrSelfPermission(Context context, String permission) { in enforceCallingOrSelfPermission()
65 public static boolean hasPackagePermission(Context context, String permission, String pkg) { in hasPackagePermission()
/packages/apps/Contacts/src/com/android/contacts/util/
DPermissionsUtil.java55 public static boolean hasPermission(Context context, String permission) { in hasPermission()
95 String permission) { in registerPermissionReceiver()
104 public static void notifyPermissionGranted(Context context, String permission) { in notifyPermissionGranted()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DMockTvProviderContext.java72 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
82 public void grantOrRejectPermission(String permission, boolean granted) { in grantOrRejectPermission()
/packages/apps/Settings/src/com/android/settings/applications/
DAppPermissions.java114 Permission permission = new Permission(runtime, granted); in loadPermissionGroups() local
140 Permission permission = mPermissions.valueAt(i); in areRuntimePermissionsGranted() local
152 void addPermission(Permission permission, String permName) { in addPermission()
DAppStateInstallAppsBridge.java69 private boolean hasRequestedAppOpPermission(String permission, String packageName) { in hasRequestedAppOpPermission()
79 private boolean hasPermission(String permission, int uid) { in hasPermission()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java220 String permission = mRequestedPermissions[permissionNum]; in onCreate() local
318 String permission = mRequestedPermissions[i]; in onPermissionGrantResult() local
363 String permission, int permissionPolicy) { in computePermissionGrantState()
423 String permission = mRequestedPermissions[i]; in updateDefaultResults() local
461 String permission) { in computeAffectedPermissions()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailPermissions.java108 private boolean packageHasPermission(String packageName, String permission) { in packageHasPermission()
113 private boolean callerHasPermission(String permission) { in callerHasPermission()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/service/
DRuntimePermissionPresenterServiceImpl.java57 RuntimePermissionPresentationInfo permission = in onGetAppPermissions() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java308 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
313 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
319 String permission, int pid, int uid, String message) { in enforcePermission()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DSafetyNetLogger.java67 Permission permission = group.getPermissions().get(permissionNum); in buildChangedPermissionForPackageMessage() local
DUtils.java162 public static boolean isPermissionIndividuallyControlled(Context context, String permission) { in isPermissionIndividuallyControlled()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java525 private void checkForPermissionAndPrimaryUser(String permission) { in checkForPermissionAndPrimaryUser()
532 private void checkForPermission(String permission) { in checkForPermission()
548 private void enforceSystemPermissionAndUser(String permission) { in enforceSystemPermissionAndUser()
558 private boolean passesSystemPermissionCheck(String permission) { in passesSystemPermissionCheck()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DAllAppPermissionsFragment.java276 String permission) { in getPermissionGroup()
300 MyMultiTargetSwitchPreference(Context context, String permission, in MyMultiTargetSwitchPreference()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java504 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
509 public int checkCallingPermission(String permission) { in checkCallingPermission()
532 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
537 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission()
542 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
549 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
/packages/apps/Settings/src/com/android/settings/enterprise/
DDevicePolicyManagerWrapper.java74 String permission); in getPermissionGrantState()
DDevicePolicyManagerWrapperImpl.java61 String permission) { in getPermissionGrantState()
/packages/apps/Car/Stream/src/com/android/car/stream/
DPermissionsActivity.java93 String permission = permissions[i]; in onRequestPermissionsResult() local
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DMyMockContext.java102 public int checkCallingPermission(String permission) { in checkCallingPermission()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java1482 private void enforcePermissionOrPrivilegedDialer(String permission, String packageName) { in enforcePermissionOrPrivilegedDialer()
1510 private void enforcePermission(String permission) { in enforcePermission()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java131 private boolean declaresAppOpPermission(int uid, String permission) { in declaresAppOpPermission()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java348 int permission = checkAccessPermission(remoteDevice); in handleCpbrCommand() local
601 int permission = remoteDevice.getPhonebookAccessPermission(); in checkAccessPermission() local
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java119 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()

12