Home
last modified time | relevance | path

Searched refs:PERMISSION (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DUpdateLockService.java42 static final String PERMISSION = "android.permission.UPDATE_LOCK"; field in UpdateLockService
95 mContext.enforceCallingOrSelfPermission(PERMISSION, "acquireUpdateLock"); in acquireUpdateLock()
105 mContext.enforceCallingOrSelfPermission(PERMISSION, "releaseUpdateLock"); in releaseUpdateLock()
DConnectivityService.java1709 mContext.enforceCallingOrSelfPermission(KeepaliveTracker.PERMISSION, "ConnectivityService"); in enforceKeepalivePermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java41 static final String PERMISSION = android.Manifest.permission.CONTROL_KEYGUARD; field in KeyguardService
67 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
68 Log.w(TAG, "Caller needs permission '" + PERMISSION + "' to call " + Debug.getCaller()); in checkPermission()
70 + ", must have permission " + PERMISSION); in checkPermission()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java59 private static final String PERMISSION = android.Manifest.permission.PROVIDE_TRUST_AGENT; field in TrustAgentWrapper
430 mContext.registerReceiver(mBroadcastReceiver, alarmFilter, PERMISSION, null); in TrustAgentWrapper()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java157 private static final String PERMISSION = ACCESS_KEYGUARD_SECURE_STORAGE; field in LockSettingsService
651 if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in systemReady()
899 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsWrite"); in checkWritePermission()
903 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsRead"); in checkPasswordReadPermission()
907 if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPasswordHavePermission()
910 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsHave"); in checkPasswordHavePermission()
928 if (key.equals(requestedKey) && mContext.checkCallingOrSelfPermission(PERMISSION) in checkReadPermission()
931 + " needs permission " + PERMISSION + " to read " in checkReadPermission()
/frameworks/support/core/ktx/src/androidTest/
Dfont_licenses.txt47 PERMISSION & CONDITIONS
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java65 public static final String PERMISSION = android.Manifest.permission.PACKET_KEEPALIVE_OFFLOAD; field in KeepaliveTracker
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java96 static final String PERMISSION = "android.permission.HDMI_CEC"; field in HdmiControlService
1213 getContext().enforceCallingOrSelfPermission(PERMISSION, TAG); in enforceAccessPermission()
2400 HdmiControlService.PERMISSION); in displayOsd()
2410 HdmiControlService.PERMISSION); in displayOsd()
/frameworks/base/media/java/android/media/
DMediaDrm.java131 private static final String PERMISSION = android.Manifest.permission.ACCESS_DRM_CERTIFICATES; field in MediaDrm
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java247 proto.write(ServiceRecordProto.PERMISSION, permission); in writeToProto()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java1273 proto.write(ApplicationInfoProto.PERMISSION, permission); in writeToProto()
DPackageParser.java5694 CertCapabilities.PERMISSION,
5705 int PERMISSION = 4; field
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1101 PackageParser.SigningDetails.CertCapabilities.PERMISSION) in grantSignaturePermission()
1105 PackageParser.SigningDetails.CertCapabilities.PERMISSION); in grantSignaturePermission()
DDefaultPermissionGrantPolicy.java1306 PackageParser.SigningDetails.CertCapabilities.PERMISSION); in isSysComponentOrPersistentPlatformSignedPrivApp()
/frameworks/base/
DNOTICE303 COPYRIGHT AND PERMISSION NOTICE
/frameworks/av/media/ndk/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/native/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/av/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/av/camera/ndk/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17345 PackageParser.SigningDetails.CertCapabilities.PERMISSION)) {
17349 PackageParser.SigningDetails.CertCapabilities.PERMISSION)) {