/packages/modules/AdServices/adservices/linter/tests/java/android/adservices/lint/test/ |
D | DeviceConfigUsageDetectorTest.kt | 17 package android.adservices.lint.test 19 import android.adservices.lint.common.DeviceConfigUsageDetector 20 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 21 import com.android.tools.lint.checks.infrastructure.TestFile 22 import com.android.tools.lint.checks.infrastructure.TestLintTask 23 import com.android.tools.lint.detector.api.Detector 24 import com.android.tools.lint.detector.api.Issue 35 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in android.adservices.lint.test.DeviceConfigUsageDetectorTest 39 lint().files(java(""" in getDetector() 64 lint().files(java(""" in applicableMethodCalls_getBoolean_throws() [all …]
|
D | RoomDatabaseMigrationDetectorTest.kt | 17 package android.adservices.lint.test 19 import android.adservices.lint.prod.RoomDatabaseMigrationDetector 20 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 21 import com.android.tools.lint.checks.infrastructure.TestFile 22 import com.android.tools.lint.checks.infrastructure.TestLintTask 23 import com.android.tools.lint.detector.api.Detector 24 import com.android.tools.lint.detector.api.Issue 39 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in android.adservices.lint.test.RoomDatabaseMigrationDetectorTest 43 lint() in getDetector() 87 lint() in testMigrationPath_missingDatabaseAnnotationError() [all …]
|
D | BackCompatJobServiceDetectorTest.kt | 17 package android.adservices.lint.test 19 import android.adservices.lint.prod.BackCompatJobServiceDetector 20 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 21 import com.android.tools.lint.checks.infrastructure.TestFile 22 import com.android.tools.lint.checks.infrastructure.TestLintTask 23 import com.android.tools.lint.detector.api.Detector 24 import com.android.tools.lint.detector.api.Issue 35 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in android.adservices.lint.test.BackCompatJobServiceDetectorTest 39 lint().files( in getDetector() 70 lint().files( in validJobService_literalExpression_doesNotThrow() [all …]
|
D | BackCompatNewFileDetectorTest.kt | 17 package android.adservices.lint.test 19 import android.adservices.lint.prod.BackCompatNewFileDetector 20 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 21 import com.android.tools.lint.checks.infrastructure.TestFile 22 import com.android.tools.lint.checks.infrastructure.TestLintTask 23 import com.android.tools.lint.detector.api.Detector 24 import com.android.tools.lint.detector.api.Issue 35 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in android.adservices.lint.test.BackCompatNewFileDetectorTest 39 lint().files( in getDetector() 69 lint().files( in otherFileMethods_doesNotThrow() [all …]
|
D | PreconditionsCheckStateDetectorTest.kt | 17 package android.adservices.lint.test 19 import android.adservices.lint.common.PreconditionsCheckStateDetector 20 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 21 import com.android.tools.lint.checks.infrastructure.TestFile 22 import com.android.tools.lint.checks.infrastructure.TestLintTask 23 import com.android.tools.lint.detector.api.Detector 24 import com.android.tools.lint.detector.api.Issue 35 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in android.adservices.lint.test.PreconditionsCheckStateDetectorTest 45 lint().files(java(""" in applicableMethodCalls_throws() 73 lint().files(java(""" in applicableMethodCalls_noPreconditionsCheckState_pass() [all …]
|
D | BackCompatAndroidProcessDetectorTest.kt | 17 package android.adservices.lint.test 19 import android.adservices.lint.prod.BackCompatAndroidProcessDetector 20 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 21 import com.android.tools.lint.checks.infrastructure.TestLintTask 22 import com.android.tools.lint.detector.api.Detector 23 import com.android.tools.lint.detector.api.Issue 34 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in android.adservices.lint.test.BackCompatAndroidProcessDetectorTest 38 lint().files(( in getDetector() 111 lint().files(( in invalidConfig_fourMissingProcesses_throws() 177 lint().files(( in validConfig_missingProcessesInNonAdExtServicesManifest_doesNotThrow()
|
/packages/modules/Bluetooth/tools/lint/checks/tests/com/android/bluetooth/lint/test/ |
D | LogEnforcementVariableCreationDetectorTest.kt | 17 package com.android.bluetooth.lint.test 19 import com.android.bluetooth.lint.LogEnforcementVariableCreationDetector 20 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 21 import com.android.tools.lint.checks.infrastructure.TestFile 22 import com.android.tools.lint.checks.infrastructure.TestLintTask 23 import com.android.tools.lint.detector.api.Detector 24 import com.android.tools.lint.detector.api.Issue 36 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in com.android.bluetooth.lint.test.LogEnforcementVariableCreationDetectorTest 40 lint() in getDetector() 72 lint() in testClassWithVVar_issueFound() [all …]
|
D | GuardedLogLineDetectorTest.kt | 17 package com.android.bluetooth.lint.test 19 import com.android.bluetooth.lint.GuardedLogLineDetector 20 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 21 import com.android.tools.lint.checks.infrastructure.TestFile 22 import com.android.tools.lint.checks.infrastructure.TestLintTask 23 import com.android.tools.lint.detector.api.Detector 24 import com.android.tools.lint.detector.api.Issue 36 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in com.android.bluetooth.lint.test.GuardedLogLineDetectorTest 40 lint() in getDetector() 75 lint() in testUnguardedLogStatements_inSafeIfStatement_noIssuesFound() [all …]
|
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/tests/java/android/safetycenter/lint/test/ |
D | ParserExceptionDetectorTest.kt | 17 package android.safetycenter.lint.test 21 import android.safetycenter.lint.FileSdk 22 import android.safetycenter.lint.ParserExceptionDetector 23 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 24 import com.android.tools.lint.checks.infrastructure.TestFile 25 import com.android.tools.lint.checks.infrastructure.TestLintTask 26 import com.android.tools.lint.detector.api.Detector 27 import com.android.tools.lint.detector.api.Issue 40 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in android.safetycenter.lint.test.ParserExceptionDetectorTest 49 lint() in validMinimumConfig_doesNotThrow() [all …]
|
D | ConfigSchemaDetectorTest.kt | 17 package android.safetycenter.lint.test 20 import android.safetycenter.lint.ConfigSchemaDetector 21 import android.safetycenter.lint.FileSdk 22 import com.android.tools.lint.checks.infrastructure.LintDetectorTest 23 import com.android.tools.lint.checks.infrastructure.TestLintTask 24 import com.android.tools.lint.detector.api.Detector 25 import com.android.tools.lint.detector.api.Issue 38 override fun lint(): TestLintTask = super.lint().allowMissingSdk(true) in getDetector() method in android.safetycenter.lint.test.ConfigSchemaDetectorTest 47 lint() in validMinimumConfig_doesNotThrow() 76 lint() in validFutureConfig_doesNotThrow() [all …]
|
/packages/modules/Bluetooth/tools/lint/ |
D | README.md | 7 ## How to run Bluetooth lint checks against the code base 9 While lint checks should be automatically run by Gerrit, you may want to run it manually on the 12 Step 1: Build the lint report: 14 m Bluetooth-lint 17 Step 2: Find your lint output: 20 find out/soong/.intermediates/packages/modules/Bluetooth/ -type f -name "*lint-report*" -print; 25 aninja -t query Bluetooth-lint 28 Step 3: Identify the lint report you want to view the results of, typically in the following format: 30 …kages/modules/Bluetooth/android/app/Bluetooth/android_common/<run-identifier>/lint/lint-report.html 35 ## How to run Bluetooth lint unit tests [all …]
|
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/common/ |
D | DeviceConfigUsageDetector.kt | 17 package android.adservices.lint.common 19 import com.android.tools.lint.detector.api.Category 20 import com.android.tools.lint.detector.api.Detector 21 import com.android.tools.lint.detector.api.Implementation 22 import com.android.tools.lint.detector.api.Issue 23 import com.android.tools.lint.detector.api.JavaContext 24 import com.android.tools.lint.detector.api.Scope 25 import com.android.tools.lint.detector.api.Severity 26 import com.android.tools.lint.detector.api.SourceCodeScanner
|
D | PreconditionsCheckStateDetector.kt | 17 package android.adservices.lint.common 19 import com.android.tools.lint.detector.api.Category 20 import com.android.tools.lint.detector.api.Detector 21 import com.android.tools.lint.detector.api.Implementation 22 import com.android.tools.lint.detector.api.Issue 23 import com.android.tools.lint.detector.api.JavaContext 24 import com.android.tools.lint.detector.api.Scope 25 import com.android.tools.lint.detector.api.Severity 26 import com.android.tools.lint.detector.api.SourceCodeScanner
|
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/ |
D | ConfigSchemaDetector.kt | 17 package android.safetycenter.lint 21 import com.android.tools.lint.detector.api.Category 22 import com.android.tools.lint.detector.api.Context 23 import com.android.tools.lint.detector.api.Detector 24 import com.android.tools.lint.detector.api.Implementation 25 import com.android.tools.lint.detector.api.Issue 26 import com.android.tools.lint.detector.api.Location 27 import com.android.tools.lint.detector.api.OtherFileScanner 28 import com.android.tools.lint.detector.api.Scope 29 import com.android.tools.lint.detector.api.Severity
|
D | ParserExceptionDetector.kt | 17 package android.safetycenter.lint 26 import com.android.tools.lint.detector.api.Category 27 import com.android.tools.lint.detector.api.Context 28 import com.android.tools.lint.detector.api.Detector 29 import com.android.tools.lint.detector.api.Implementation 30 import com.android.tools.lint.detector.api.Issue 31 import com.android.tools.lint.detector.api.Location 32 import com.android.tools.lint.detector.api.OtherFileScanner 33 import com.android.tools.lint.detector.api.Scope 34 import com.android.tools.lint.detector.api.Severity [all …]
|
D | ConfigLintCheckerIssueRegistry.kt | 17 package android.safetycenter.lint 19 import com.android.tools.lint.client.api.IssueRegistry 20 import com.android.tools.lint.client.api.Vendor 21 import com.android.tools.lint.detector.api.CURRENT_API
|
/packages/modules/Bluetooth/tools/lint/checks/src/com/android/bluetooth/lint/ |
D | LogEnforcementVariableCreationDetector.kt | 17 package com.android.bluetooth.lint 19 import com.android.tools.lint.client.api.UElementHandler 20 import com.android.tools.lint.detector.api.Category 21 import com.android.tools.lint.detector.api.Detector 22 import com.android.tools.lint.detector.api.Implementation 23 import com.android.tools.lint.detector.api.Issue 24 import com.android.tools.lint.detector.api.JavaContext 25 import com.android.tools.lint.detector.api.LintFix 26 import com.android.tools.lint.detector.api.Scope 27 import com.android.tools.lint.detector.api.Severity [all …]
|
D | GuardedLogLineDetector.kt | 17 package com.android.bluetooth.lint 19 import com.android.tools.lint.client.api.UElementHandler 20 import com.android.tools.lint.detector.api.Category 21 import com.android.tools.lint.detector.api.Detector 22 import com.android.tools.lint.detector.api.Implementation 23 import com.android.tools.lint.detector.api.Issue 24 import com.android.tools.lint.detector.api.JavaContext 25 import com.android.tools.lint.detector.api.Scope 26 import com.android.tools.lint.detector.api.Severity 27 import com.android.tools.lint.detector.api.SourceCodeScanner
|
D | BluetoothLintCheckerRegistry.kt | 17 package com.android.bluetooth.lint 19 import com.android.tools.lint.client.api.IssueRegistry 20 import com.android.tools.lint.client.api.Vendor 21 import com.android.tools.lint.detector.api.CURRENT_API
|
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/test/ |
D | AdServicesTestLintCheckerIssueRegistry.kt | 17 package android.adservices.lint.test 19 import android.adservices.lint.* 20 import android.adservices.lint.common.DeviceConfigUsageDetector 21 import android.adservices.lint.common.PreconditionsCheckStateDetector 22 import com.android.tools.lint.client.api.IssueRegistry 23 import com.android.tools.lint.client.api.Vendor 24 import com.android.tools.lint.detector.api.CURRENT_API
|
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/prod/ |
D | BackCompatJobServiceDetector.kt | 16 package android.adservices.lint.prod 18 import com.android.tools.lint.client.api.UElementHandler 19 import com.android.tools.lint.detector.api.Category 20 import com.android.tools.lint.detector.api.Detector 21 import com.android.tools.lint.detector.api.Implementation 22 import com.android.tools.lint.detector.api.Issue 23 import com.android.tools.lint.detector.api.SourceCodeScanner 24 import com.android.tools.lint.detector.api.Scope 25 import com.android.tools.lint.detector.api.Severity 26 import com.android.tools.lint.detector.api.JavaContext
|
D | AdServicesProdLintCheckerIssueRegistry.kt | 17 package android.adservices.lint.prod 19 import android.adservices.lint.* 20 import android.adservices.lint.common.DeviceConfigUsageDetector 21 import android.adservices.lint.common.PreconditionsCheckStateDetector 22 import com.android.tools.lint.client.api.IssueRegistry 23 import com.android.tools.lint.client.api.Vendor 24 import com.android.tools.lint.detector.api.CURRENT_API
|
D | RoomDatabaseMigrationDetector.kt | 17 package android.adservices.lint.prod in <lambda>() 19 import com.android.tools.lint.detector.api.Category in <lambda>() 20 import com.android.tools.lint.detector.api.ConstantEvaluator in <lambda>() 21 import com.android.tools.lint.detector.api.Context in <lambda>() 22 import com.android.tools.lint.detector.api.Detector in <lambda>() 23 import com.android.tools.lint.detector.api.Implementation in <lambda>() 24 import com.android.tools.lint.detector.api.Issue in <lambda>() 25 import com.android.tools.lint.detector.api.JavaContext in <lambda>() 26 import com.android.tools.lint.detector.api.Scope in <lambda>() 27 import com.android.tools.lint.detector.api.Severity in <lambda>() [all …]
|
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/ |
D | gradle.properties | 22 gradle=build -x lint -x lintVitalRelease 42 # See: https://googlesamples.github.io/android-custom-lint-rules/usage/newer-lint.md.html 44 # To query the current lint version used by soong, run: 45 # ./prebuilts/cmdline-tools/tools/bin/lint --version 53 #android.experimental.lint.version = 8.3.0-alpha07 55 # For explanation, see: http://go/android-lint-api-guide#example:samplelintcheckgithubproject/lintv… 56 # For versions, see: https://maven.google.com/web/index.html?q=lint#com.android.tools.lint:lint
|
/packages/modules/AdServices/adservices/tests/cts/ |
D | Android.bp | 60 lint: { 110 lint: { 160 lint: { 162 baseline_filename: "lint-baseline-adextservices-devicetestcases.xml", 212 lint: { 262 lint: { 264 baseline_filename: "lint-baseline-adextservices-debuggabletestcases.xml", 292 lint: { 294 baseline_filename: "lint-baseline-testutility.xml",
|