Home
last modified time | relevance | path

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

/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/
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.java2195 mContext.enforceCallingOrSelfPermission(KeepaliveTracker.PERMISSION, "ConnectivityService"); in enforceKeepalivePermission()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java57 private static final String PERMISSION = android.Manifest.permission.PROVIDE_TRUST_AGENT; field in TrustAgentWrapper
428 mContext.registerReceiver(mBroadcastReceiver, alarmFilter, PERMISSION, null); in TrustAgentWrapper()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java165 private static final String PERMISSION = ACCESS_KEYGUARD_SECURE_STORAGE; field in LockSettingsService
695 if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in systemReady()
942 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsWrite"); in checkWritePermission()
946 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsRead"); in checkPasswordReadPermission()
950 if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPasswordHavePermission()
953 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsHave"); in checkPasswordHavePermission()
971 if (key.equals(requestedKey) && mContext.checkCallingOrSelfPermission(PERMISSION) in checkReadPermission()
974 + " needs permission " + PERMISSION + " to read " in checkReadPermission()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java86 public static final String PERMISSION = android.Manifest.permission.PACKET_KEEPALIVE_OFFLOAD; field in KeepaliveTracker
165 mPrivileged = (PERMISSION_GRANTED == mContext.checkPermission(PERMISSION, mPid, mUid)); in KeepaliveInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSignaturesTest.java110 PackageParser.SigningDetails.CertCapabilities.PERMISSION,
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java134 static final String PERMISSION = "android.permission.HDMI_CEC"; field in HdmiControlService
1448 getContext().enforceCallingOrSelfPermission(PERMISSION, TAG); in enforceAccessPermission()
3055 HdmiControlService.PERMISSION); in displayOsd()
3065 HdmiControlService.PERMISSION); in displayOsd()
/frameworks/base/media/java/android/media/
DMediaDrm.java139 private static final String PERMISSION = android.Manifest.permission.ACCESS_DRM_CERTIFICATES; field in MediaDrm
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java1405 proto.write(ApplicationInfoProto.PERMISSION, permission); in writeToProto()
DPackageParser.java6011 CertCapabilities.PERMISSION,
6022 int PERMISSION = 4; field
/frameworks/av/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java266 proto.write(ServiceRecordProto.PERMISSION, permission); in writeToProto()
/frameworks/base/
DNOTICE303 COPYRIGHT AND PERMISSION NOTICE
/frameworks/av/camera/ndk/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/av/media/ndk/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/native/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1732 PackageParser.SigningDetails.CertCapabilities.PERMISSION) in grantSignaturePermission()
1736 PackageParser.SigningDetails.CertCapabilities.PERMISSION); in grantSignaturePermission()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17047 PackageParser.SigningDetails.CertCapabilities.PERMISSION)) {
17051 PackageParser.SigningDetails.CertCapabilities.PERMISSION)) {
23724 PackageParser.SigningDetails.CertCapabilities.PERMISSION);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt13950 Landroid/content/pm/ApplicationInfoProto;->PERMISSION:J
15698 Landroid/content/pm/PackageParser$SigningDetails$CertCapabilities;->PERMISSION:I
37307 Landroid/media/MediaDrm;->PERMISSION:Ljava/lang/String;