Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java40 static final String PERMISSION = android.Manifest.permission.CONTROL_KEYGUARD; field in KeyguardService
61 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
62 Log.w(TAG, "Caller needs permission '" + PERMISSION + "' to call " + Debug.getCaller()); in checkPermission()
64 + ", 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()
DLockSettingsService.java131 private static final String PERMISSION = ACCESS_KEYGUARD_SECURE_STORAGE; field in LockSettingsService
711 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsWrite"); in checkWritePermission()
715 mContext.enforceCallingOrSelfPermission(PERMISSION, "LockSettingsRead"); in checkPasswordReadPermission()
733 if (key.equals(requestedKey) && mContext.checkCallingOrSelfPermission(PERMISSION) in checkReadPermission()
736 + " needs permission " + PERMISSION + " to read " in checkReadPermission()
DConnectivityService.java1527 mContext.enforceCallingOrSelfPermission(KeepaliveTracker.PERMISSION, "ConnectivityService"); in enforceKeepalivePermission()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java56 private static final String PERMISSION = android.Manifest.permission.PROVIDE_TRUST_AGENT; field in TrustAgentWrapper
412 mContext.registerReceiver(mBroadcastReceiver, alarmFilter, PERMISSION, null); in TrustAgentWrapper()
/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
1208 getContext().enforceCallingOrSelfPermission(PERMISSION, TAG); in enforceAccessPermission()
2395 HdmiControlService.PERMISSION); in displayOsd()
2405 HdmiControlService.PERMISSION); in displayOsd()
/frameworks/base/media/java/android/media/
DMediaDrm.java124 private static final String PERMISSION = android.Manifest.permission.ACCESS_DRM_CERTIFICATES; field in MediaDrm
/frameworks/base/
DNOTICE303 COPYRIGHT AND PERMISSION NOTICE
/frameworks/native/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE
/frameworks/av/
DNOTICE292 COPYRIGHT AND PERMISSION NOTICE