Home
last modified time | relevance | path

Searched refs:ANNOTATION_ENFORCE_PERMISSION (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/lint/common/src/main/java/com/google/android/lint/aidl/
DConstants.kt19 const val ANNOTATION_ENFORCE_PERMISSION = "android.annotation.EnforcePermission" constant
24 ANNOTATION_ENFORCE_PERMISSION,
/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/
DEnforcePermissionDetector.kt65 return listOf(ANNOTATION_ENFORCE_PERMISSION) in applicableAnnotations()
134 val overridingAnnotation = overridingMethod.getAnnotation(ANNOTATION_ENFORCE_PERMISSION) in isOneShortPermissionOfOther()
135 val overriddenAnnotation = overriddenMethod.getAnnotation(ANNOTATION_ENFORCE_PERMISSION) in isOneShortPermissionOfOther()
185 if (!node.hasAnnotation(ANNOTATION_ENFORCE_PERMISSION)) return in createUastHandler()
/frameworks/base/tools/lint/utils/checks/src/main/java/com/google/android/lint/aidl/
DAnnotatedAidlCounter.kt56 node.hasAnnotation(ANNOTATION_ENFORCE_PERMISSION) -> packageStat.enforced += 1 in visitAidlMethod()