Searched refs:UMethod (Results 1 – 10 of 10) sorted by relevance
/aosp14/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/ |
H A D | EnforcePermissionUtils.kt | 24 import org.jetbrains.uast.UMethod 31 fun getContainingAidlInterface(context: JavaContext, node: UMethod): String? { 44 fun isContainedInSubclassOfStub(context: JavaContext, node: UMethod?): Boolean { 75 fun getHelperMethodCallSourceString(node: UMethod) = "${node.name}$AIDL_PERMISSION_HELPER_SUFFIX()" 78 node: UMethod,
|
H A D | AidlImplementationDetector.kt | 25 import org.jetbrains.uast.UMethod 33 listOf(UMethod::class.java) 38 override fun visitMethod(node: UMethod) { 48 node: UMethod,
|
H A D | EnforcePermissionHelperDetector.kt | 34 import org.jetbrains.uast.UMethod 39 listOf(UMethod::class.java) 44 override fun visitMethod(node: UMethod) {
|
H A D | SimpleManualPermissionEnforcementDetector.kt | 27 import org.jetbrains.uast.UMethod 38 node: UMethod,
|
H A D | EnforcePermissionDetector.kt | 40 import org.jetbrains.uast.UMethod 126 if (!isContainedInSubclassOfStub(context, overridingMethod.toUElement() as? UMethod)) { 176 val method = node.uastParent as? UMethod ?: return
|
H A D | EnforcePermissionFix.kt | 39 import org.jetbrains.uast.UMethod 55 fun toLintFix(context: JavaContext, node: UMethod): LintFix {
|
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/ |
H A D | PermissionMethodDetector.kt | 36 import org.jetbrains.uast.UMethod 48 listOf(UAnnotation::class.java, UMethod::class.java) 54 override fun visitMethod(node: UMethod) { 152 private fun isPermissionMethodReturnType(method: UMethod): Boolean = 160 private fun onlyCallsPermissionMethod(method: UMethod): Boolean { 196 private fun hasPermissionMethodAnnotation(method: UMethod): Boolean = method.annotations
|
H A D | PackageVisibilityDetector.kt | 36 import org.jetbrains.uast.UMethod 214 private fun CallGraph.Node.getUMethod(): UMethod? = this.target.element as? UMethod 291 uMethod: UMethod, 304 private fun UMethod.isInClearCallingIdentityScope(call: UCallExpression): Boolean { regex 478 method: UMethod,
|
/aosp14/frameworks/base/tools/lint/common/src/main/java/com/google/android/lint/ |
H A D | PermissionMethodUtils.kt | 23 import org.jetbrains.uast.UMethod 32 fun hasPermissionMethodAnnotation(method: UMethod): Boolean = 35 fun getPermissionMethodAnnotation(method: UMethod?): UAnnotation? = method?.uAnnotations
|
/aosp14/frameworks/base/packages/SystemUI/checks/src/com/android/internal/systemui/lint/ |
H A D | BindServiceOnMainThreadDetector.kt | 32 import org.jetbrains.uast.UMethod 58 !hasWorkerThreadAnnotation(context, node.getParentOfType(UMethod::class.java)) &&
|