Home
last modified time | relevance | path

Searched refs:JavaContext (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tools/lint/common/src/main/java/com/google/android/lint/aidl/
DAidlImplementationDetector.kt21 import com.android.tools.lint.detector.api.JavaContext
35 override fun createUastHandler(context: JavaContext): UElementHandler = AidlStubHandler(context) in getApplicableUastTypes()
37 private inner class AidlStubHandler(val context: JavaContext) : UElementHandler() { in getApplicableUastTypes()
47 context: JavaContext,
DEnforcePermissionUtils.kt19 import com.android.tools.lint.detector.api.JavaContext
31 fun getContainingAidlInterface(context: JavaContext, node: UMethod): String? { in getContainingAidlInterface()
42 fun containingStub(context: JavaContext, node: UMethod?): PsiClass? { in containingStub()
51 private fun isStub(context: JavaContext, psiClass: PsiClass?): Boolean { in isStub()
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/
DCallMigrators.kt19 import com.android.tools.lint.detector.api.JavaContext in <lambda>()
44 open fun report(context: JavaContext, call: UCallExpression, method: PsiMethod) { in <lambda>()
58 context: JavaContext, in <lambda>()
143 context: JavaContext, call: UCallExpression, method: PsiMethod in getBoundingClass()
174 context: JavaContext, call: UCallExpression, method: PsiMethod in getBoundingClass()
189 context: JavaContext, call: UCallExpression, method: PsiMethod in getBoundingClass()
204 context: JavaContext, call: UCallExpression, method: PsiMethod in getBoundingClass()
224 context: JavaContext, call: UCallExpression, method: PsiMethod in getArgumentSuffix()
/frameworks/base/packages/SystemUI/checks/src/com/android/internal/systemui/lint/
DCollectAsStateDetector.kt24 import com.android.tools.lint.detector.api.JavaContext in <lambda>()
38 override fun createUastHandler(context: JavaContext): UElementHandler { in <lambda>()
49 context: JavaContext, in <lambda>()
DBindServiceOnMainThreadDetector.kt24 import com.android.tools.lint.detector.api.JavaContext in <lambda>()
47 context: JavaContext, in <lambda>()
55 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in <lambda>()
DDumpableNotRegisteredDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
59 override fun visitClass(context: JavaContext, declaration: UClass) { in visitClass()
74 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in visitMethodCall()
DCleanArchitectureDependencyViolationDetector.kt25 import com.android.tools.lint.detector.api.JavaContext in <lambda>()
51 override fun createUastHandler(context: JavaContext): UElementHandler { in <lambda>()
67 context: JavaContext, in <lambda>()
DSoftwareBitmapDetector.kt23 import com.android.tools.lint.detector.api.JavaContext
40 context: JavaContext, in visitReference()
DNonInjectedMainThreadDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
38 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in visitMethodCall()
DRegisterReceiverViaContextDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
38 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in visitMethodCall()
DStaticSettingsProviderDetector.kt23 import com.android.tools.lint.detector.api.JavaContext
52 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in visitMethodCall()
DBroadcastSentViaContextDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
44 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in visitMethodCall()
DNonInjectedServiceDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
39 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in visitMethodCall()
DTestFunctionNameViolationDetector.kt26 import com.android.tools.lint.detector.api.JavaContext in <lambda>()
46 context: JavaContext, in <lambda>()
DSlowUserQueryDetector.kt23 import com.android.tools.lint.detector.api.JavaContext
41 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in visitMethodCall()
DMissingApacheLicenseDetector.kt25 import com.android.tools.lint.detector.api.JavaContext
40 override fun createUastHandler(context: JavaContext): UElementHandler? { in getApplicableUastTypes()
DFlowDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
43 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in getApplicableMethodNames()
DDemotingTestWithoutBugDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
39 override fun createUastHandler(context: JavaContext): UElementHandler { in createUastHandler()
/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/
DEnforcePermissionDetector.kt29 import com.android.tools.lint.detector.api.JavaContext
78 context: JavaContext, in areAnnotationsEquivalent()
128 context: JavaContext, in isOneShortPermissionOfOther()
162 context: JavaContext, in visitAnnotationUsage()
180 override fun createUastHandler(context: JavaContext): UElementHandler = AidlStubHandler(context) in createUastHandler()
182 private inner class AidlStubHandler(val context: JavaContext) : UElementHandler() { in createUastHandler()
DSimpleManualPermissionEnforcementDetector.kt23 import com.android.tools.lint.detector.api.JavaContext
37 context: JavaContext, in visitAidlMethod()
/frameworks/base/packages/SettingsLib/LintChecker/src/com/android/settingslib/tools/lint/
DNullabilityAnnotationsDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
38 override fun createUastHandler(context: JavaContext): UElementHandler? { in getApplicableUastTypes()
109 private fun JavaContext.isJavaFile() = psiFile?.fileElementType.toString().startsWith("java") in JavaContext() method
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
DPermissionAnnotationDetector.kt22 import com.android.tools.lint.detector.api.JavaContext
41 context: JavaContext, in visitAidlMethod()
DCallingSettingsNonUserGetterMethodsDetector.kt23 import com.android.tools.lint.detector.api.JavaContext
42 override fun visitMethodCall(context: JavaContext, node: UCallExpression, method: PsiMethod) { in getApplicableMethodNames()
DPermissionMethodDetector.kt24 import com.android.tools.lint.detector.api.JavaContext
50 override fun createUastHandler(context: JavaContext): UElementHandler = in getApplicableUastTypes()
53 private inner class PermissionMethodHandler(val context: JavaContext) : UElementHandler() { in getApplicableUastTypes()
/frameworks/base/tools/lint/utils/checks/src/main/java/com/google/android/lint/aidl/
DAnnotatedAidlCounter.kt23 import com.android.tools.lint.detector.api.JavaContext
48 context: JavaContext, in visitAidlMethod()

12