/frameworks/base/services/core/java/com/android/server/ |
D | UpdateLockService.java | 42 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()
|
D | ConnectivityService.java | 2203 mContext.enforceCallingOrSelfPermission(KeepaliveTracker.PERMISSION, "ConnectivityService"); in enforceKeepalivePermission()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardService.java | 42 static final String PERMISSION = android.Manifest.permission.CONTROL_KEYGUARD; field in KeyguardService 70 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission() 71 Log.w(TAG, "Caller needs permission '" + PERMISSION + "' to call " + Debug.getCaller()); in checkPermission() 73 + ", must have permission " + PERMISSION); in checkPermission()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | SigningDetailsTest.java | 20 import static android.content.pm.PackageParser.SigningDetails.CertCapabilities.PERMISSION; 42 INSTALLED_DATA | SHARED_USER_ID | PERMISSION | AUTH; 392 new int[]{INSTALLED_DATA | AUTH, INSTALLED_DATA | SHARED_USER_ID | PERMISSION}; in mergeLineageWith_overlappingLineageDiffCaps_returnsFullLineageWithModifiedCaps() 421 int[] subCapabilities = new int[]{INSTALLED_DATA | SHARED_USER_ID | PERMISSION, in mergeLineageWith_subLineageModifiedCaps_returnsFullLineageWithModifiedCaps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicyTest.java | 79 private static final String PERMISSION = "test-permission"; field in AccessibilitySecurityPolicyTest 575 mA11ySecurityPolicy.enforceCallerIsRecentsOrHasPermission(PERMISSION, FUNCTION); in testEnforceCallerIsRecentsOrHasPermission() 577 PERMISSION, FUNCTION); in testEnforceCallerIsRecentsOrHasPermission()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustAgentWrapper.java | 57 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/connectivity/ |
D | KeepaliveTracker.java | 86 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/ |
D | PackageSignaturesTest.java | 110 PackageParser.SigningDetails.CertCapabilities.PERMISSION,
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 178 private static final String PERMISSION = ACCESS_KEYGUARD_SECURE_STORAGE; field in LockSettingsService 813 if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in systemReady() 1036 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsWrite"); in checkWritePermission() 1040 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsRead"); in checkPasswordReadPermission() 1044 if (mContext.checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPasswordHavePermission() 1047 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsHave"); in checkPasswordHavePermission() 1065 if (key.equals(requestedKey) && mContext.checkCallingOrSelfPermission(PERMISSION) in checkReadPermission() 1068 + " needs permission " + PERMISSION + " to read " in checkReadPermission()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiControlService.java | 163 static final String PERMISSION = "android.permission.HDMI_CEC"; field in HdmiControlService 1578 getContext().enforceCallingOrSelfPermission(PERMISSION, TAG); in enforceAccessPermission() 3354 HdmiControlService.PERMISSION); in displayOsd() 3364 HdmiControlService.PERMISSION); in displayOsd()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 142 private static final String PERMISSION = android.Manifest.permission.ACCESS_DRM_CERTIFICATES; field in MediaDrm
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 1483 proto.write(ApplicationInfoProto.PERMISSION, permission); in dumpDebug()
|
D | PackageParser.java | 5934 CertCapabilities.PERMISSION, 5945 int PERMISSION = 4; field
|
/frameworks/av/ |
D | NOTICE | 292 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/base/ |
D | NOTICE | 303 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/native/ |
D | NOTICE | 292 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/av/camera/ndk/ |
D | NOTICE | 292 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 270 proto.write(ServiceRecordProto.PERMISSION, permission); in dumpDebug()
|
/frameworks/av/media/ndk/ |
D | NOTICE | 292 COPYRIGHT AND PERMISSION NOTICE
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 3499 PackageParser.SigningDetails.CertCapabilities.PERMISSION) in grantSignaturePermission() 3503 PackageParser.SigningDetails.CertCapabilities.PERMISSION); in grantSignaturePermission()
|