Home
last modified time | relevance | path

Searched refs:ISSUE (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/tools/lint/checks/tests/com/android/bluetooth/lint/test/
DLogEnforcementVariableCreationDetectorTest.kt34 override fun getIssues(): List<Issue> = listOf(LogEnforcementVariableCreationDetector.ISSUE) in getDetector()
61 .issues(LogEnforcementVariableCreationDetector.ISSUE) in getDetector()
93 .issues(LogEnforcementVariableCreationDetector.ISSUE) in testClassWithVVar_issueFound()
125 .issues(LogEnforcementVariableCreationDetector.ISSUE) in testClassWithDbgVar_issueFound()
157 .issues(LogEnforcementVariableCreationDetector.ISSUE) in testClassWithVdbgVar_issueFound()
189 .issues(LogEnforcementVariableCreationDetector.ISSUE) in testClassWithDebugVar_issueFound()
221 .issues(LogEnforcementVariableCreationDetector.ISSUE) in testClassWithVerboseVar_issueFound()
253 .issues(LogEnforcementVariableCreationDetector.ISSUE) in testClassWithDbgEndingVar_issueFound()
285 .issues(LogEnforcementVariableCreationDetector.ISSUE) in testClassWithVdbgEndingVar_issueFound()
319 .issues(LogEnforcementVariableCreationDetector.ISSUE) in testClassWithMemberDbgVar_issueFound()
[all …]
DGuardedLogLineDetectorTest.kt34 override fun getIssues(): List<Issue> = listOf(GuardedLogLineDetector.ISSUE) in getDetector()
171 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogWithDbgVariable_issueFound()
205 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogWithUnaryDbgVariable_issueFound()
239 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogWithBinaryDbgVariable_issueFound()
273 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogWithPolyadicDbgVariable_issueFound()
307 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogWithParenthesizedDbgVariable_issueFound()
343 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogInNestedIfWithDbgVariable_issueFound()
379 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogInIfElseWithDbgVariableInElseIf_issueFound()
415 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogInIfElseWithDbgVariableInIf_issueFound()
451 .issues(GuardedLogLineDetector.ISSUE) in testGuardedLogInNestedIfWithDbgVariableOuterIfAndLogInInner_issueFound()
/packages/modules/AdServices/adservices/linter/tests/java/android/adservices/lint/test/
DDeviceConfigUsageDetectorTest.kt33 override fun getIssues(): List<Issue> = listOf(DeviceConfigUsageDetector.ISSUE) in getDetector()
51 .issues(DeviceConfigUsageDetector.ISSUE) in getDetector()
76 .issues(DeviceConfigUsageDetector.ISSUE) in applicableMethodCalls_getBoolean_throws()
101 .issues(DeviceConfigUsageDetector.ISSUE) in applicableMethodCalls_getInt_throws()
126 .issues(DeviceConfigUsageDetector.ISSUE) in applicableMethodCalls_getLong_throws()
152 .issues(DeviceConfigUsageDetector.ISSUE) in applicableMethodCalls_getFloat_throws()
177 .issues(DeviceConfigUsageDetector.ISSUE) in applicableMethodCalls_getProperty_throws()
202 .issues(DeviceConfigUsageDetector.ISSUE) in applicableMethodCalls_getProperties_throws()
227 .issues(DeviceConfigUsageDetector.ISSUE) in applicableMethodCalls_getString_pass()
246 .issues(DeviceConfigUsageDetector.ISSUE) in applicableMethodCalls_getBoolean_pass()
[all …]
DBackCompatNewFileDetectorTest.kt33 override fun getIssues(): List<Issue> = listOf(BackCompatNewFileDetector.ISSUE) in getDetector()
52 .issues(BackCompatNewFileDetector.ISSUE) in getDetector()
85 .issues(BackCompatNewFileDetector.ISSUE) in otherFileMethods_doesNotThrow()
107 .issues(BackCompatNewFileDetector.ISSUE) in applicableMethodCalls_throws()
142 .issues(BackCompatNewFileDetector.ISSUE) in sameMethodNames_differentClasses_doesNotThrow()
DPreconditionsCheckStateDetectorTest.kt33 override fun getIssues(): List<Issue> = listOf(PreconditionsCheckStateDetector.ISSUE) in getDetector()
60 .issues(PreconditionsCheckStateDetector.ISSUE) in applicableMethodCalls_throws()
88 .issues(PreconditionsCheckStateDetector.ISSUE) in applicableMethodCalls_noPreconditionsCheckState_pass()
110 .issues(PreconditionsCheckStateDetector.ISSUE) in applicableMethodCalls_usingSharedUtilClass_pass()
DBackCompatJobServiceDetectorTest.kt33 override fun getIssues(): List<Issue> = listOf(BackCompatJobServiceDetector.ISSUE) in getDetector()
169 .issues(BackCompatJobServiceDetector.ISSUE) in invalidJobService_throws()
210 .issues(BackCompatJobServiceDetector.ISSUE) in invalidJobService_getLogger_throws()
DBackCompatAndroidProcessDetectorTest.kt32 override fun getIssues(): List<Issue> = listOf(BackCompatAndroidProcessDetector.ISSUE) in getDetector()
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/prod/
DAdServicesProdLintCheckerIssueRegistry.kt32 BackCompatAndroidProcessDetector.ISSUE,
33 BackCompatJobServiceDetector.ISSUE,
34 BackCompatNewFileDetector.ISSUE,
35 DeviceConfigUsageDetector.ISSUE,
36 PreconditionsCheckStateDetector.ISSUE,
DBackCompatNewFileDetector.kt34 issue = ISSUE, in visitConstructor()
53 issue = ISSUE, in visitMethodCall()
64 val ISSUE = constant
DBackCompatAndroidProcessDetector.kt25 val ISSUE = Issue.create( in <lambda>() constant
52 ISSUE, in <lambda>()
DBackCompatJobServiceDetector.kt57 val ISSUE = Issue.create( constant
99 ISSUE, in checkJobServiceAttributes()
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/
DConfigSchemaDetector.kt40 val ISSUE = constant
76 ISSUE, in run()
98 ISSUE, in testSchema()
104 ISSUE, in testSchema()
DConfigLintCheckerIssueRegistry.kt27 override val issues = listOf(ConfigSchemaDetector.ISSUE, ParserExceptionDetector.ISSUE)
DParserExceptionDetector.kt46 val ISSUE = constant
150 ISSUE, in run()
/packages/modules/Bluetooth/tools/lint/checks/src/com/android/bluetooth/lint/
DBluetoothLintCheckerRegistry.kt29 LogEnforcementVariableCreationDetector.ISSUE,
30 GuardedLogLineDetector.ISSUE,
DLogEnforcementVariableCreationDetector.kt72 val ISSUE = constant
105 issue = ISSUE, in createUastHandler()
DGuardedLogLineDetector.kt84 val ISSUE = constant
148 issue = ISSUE, in createUastHandler()
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/test/
DAdServicesTestLintCheckerIssueRegistry.kt32 DeviceConfigUsageDetector.ISSUE,
33 PreconditionsCheckStateDetector.ISSUE,
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/common/
DDeviceConfigUsageDetector.kt40 context.report(issue = ISSUE, location = context.getNameLocation(node), in visitMethodCall()
48 val ISSUE = Issue.create( constant
DPreconditionsCheckStateDetector.kt38 context.report(issue = ISSUE, location = context.getNameLocation(node), in visitMethodCall()
46 val ISSUE = Issue.create( constant
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DStatusUiDataTest.kt271 val ISSUE = SafetyCenterIssue.Builder("iSsUe_Id", "issue title", "issue summary").build() constant
273 val DATA_WITH_ISSUES = SafetyCenterData(STATUS, listOf(ISSUE), listOf(), listOf())
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/tests/java/android/safetycenter/lint/test/
DConfigSchemaDetectorTest.kt36 override fun getIssues(): List<Issue> = listOf(ConfigSchemaDetector.ISSUE) in getDetector()
DParserExceptionDetectorTest.kt38 override fun getIssues(): List<Issue> = listOf(ParserExceptionDetector.ISSUE) in getDetector()