Home
last modified time | relevance | path

Searched refs:getIssues (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/
DAccessibilityValidatorTests.java64 List<Issue> dupBounds = filter(result.getIssues(), "DuplicateClickableBoundsCheck"); in testPaused()
82 List<Issue> dupBounds = filter(result.getIssues(), "DuplicateClickableBoundsCheck"); in testDuplicateClickableBoundsCheck()
94 List<Issue> duplicateSpeakableTexts = filter(result.getIssues(), in testDuplicateSpeakableTextsCheck()
108 List<Issue> redundant = filter(result.getIssues(), "RedundantDescriptionCheck"); in testRedundantDescriptionCheck()
122 List<Issue> speakableCheck = filter(result.getIssues(), "SpeakableTextPresentCheck"); in testLabelFor()
137 List<Issue> speakableCheck = filter(result.getIssues(), "SpeakableTextPresentCheck"); in testImportantForAccessibility()
151 List<Issue> speakableCheck = filter(result.getIssues(), "SpeakableTextPresentCheck"); in testSpeakableTextPresentCheck()
163 result.getIssues(), EnumSet.of(Level.ERROR, Level.WARNING, Level.INFO)); in testSpeakableTextPresentCheck()
172 List<Issue> textContrast = filter(result.getIssues(), "TextContrastCheck"); in testTextContrastCheck()
183 List<Issue> filtered = filter(result.getIssues(), EnumSet.of(Level.ERROR)); in testTextContrastCheck()
[all …]
DLayoutValidatorTests.java94 assertEquals(31, result.getIssues().size()); in testValidation()
96 for (Issue issue : result.getIssues()) { in testValidation()
159 assertEquals(1, result.getIssues().size()); in testValidationPolicyType()
161 result.getIssues().get(0).mMsg); in testValidationPolicyType()
182 assertEquals(26, result.getIssues().size()); in testValidationPolicyLevel()
183 result.getIssues().forEach(issue ->assertEquals(Level.VERBOSE, issue.mLevel)); in testValidationPolicyLevel()
212 assertEquals(1, result.getIssues().size()); in testValidationPolicyChecks()
213 Issue textCheck = result.getIssues().get(0); in testValidationPolicyChecks()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/security/
DCellularNetworkSecuritySafetySourceTest.java130 assertThat(data.getValue().getIssues()).isEmpty(); in enableNullCipherIssue_statusWithoutIssues()
142 assertThat(data.getAllValues().get(1).getIssues()).isEmpty(); in setNullCipherState_encrypted_statusWithoutIssue()
154 assertThat(data.getAllValues().get(1).getIssues()).hasSize(1); in setNullCipherState_notifyEncrypted_statusWithIssue()
166 assertThat(data.getAllValues().get(1).getIssues()).hasSize(1); in setNullCipherState_notifyNonEncrypted_statusWithIssue()
179 assertThat(data.getAllValues().get(2).getIssues()).hasSize(2); in setNullCipherState_multipleNonEncrypted_statusWithTwoIssues()
195 assertThat(data.getAllValues().get(1).getIssues()).hasSize(1); in clearNullCipherState()
199 assertThat(data.getAllValues().get(2).getIssues()).isEmpty(); in clearNullCipherState()
224 assertThat(data.getAllValues().get(1).getIssues()).hasSize(1); in enableIdentifierDisclosureIssue_enableTwice()
235 assertThat(data.getValue().getIssues()).isEmpty(); in enableIdentifierDisclosueIssue_statusWithoutIssues()
247 assertThat(data.getAllValues().get(1).getIssues()).hasSize(1); in setIdentifierDisclosure_singleDisclosure_statusWithIssue()
[all …]
/frameworks/base/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/
DTestFunctionNameViolationDetectorTest.kt29 override fun getIssues(): List<Issue> = listOf(TestFunctionNameViolationDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.TestFunctionNameViolationDetectorTest
DStaticSettingsProviderDetectorTest.kt27 override fun getIssues(): List<Issue> = listOf(StaticSettingsProviderDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.StaticSettingsProviderDetectorTest
DMissingApacheLicenseDetectorTest.kt30 override fun getIssues(): List<Issue> { in getIssues() method in com.android.internal.systemui.lint.MissingApacheLicenseDetectorTest
DSoftwareBitmapDetectorTest.kt28 override fun getIssues(): List<Issue> = listOf(SoftwareBitmapDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.SoftwareBitmapDetectorTest
DCollectAsStateDetectorTest.kt30 override fun getIssues(): List<Issue> { in getIssues() method in com.android.internal.systemui.lint.CollectAsStateDetectorTest
DNonInjectedServiceDetectorTest.kt27 override fun getIssues(): List<Issue> = listOf(NonInjectedServiceDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.NonInjectedServiceDetectorTest
DRegisterReceiverViaContextDetectorTest.kt28 override fun getIssues(): List<Issue> = listOf(RegisterReceiverViaContextDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.RegisterReceiverViaContextDetectorTest
DNonInjectedMainThreadDetectorTest.kt28 override fun getIssues(): List<Issue> = listOf(NonInjectedMainThreadDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.NonInjectedMainThreadDetectorTest
DFlowDetectorTest.kt28 override fun getIssues(): List<Issue> = listOf(FlowDetector.SHARED_FLOW_CREATION) in getDetector() method in com.android.internal.systemui.lint.FlowDetectorTest
DSingletonAndroidComponentDetectorTest.kt28 override fun getIssues(): List<Issue> = listOf(SingletonAndroidComponentDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.SingletonAndroidComponentDetectorTest
DBroadcastSentViaContextDetectorTest.kt28 override fun getIssues(): List<Issue> = listOf(BroadcastSentViaContextDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.BroadcastSentViaContextDetectorTest
DBindServiceOnMainThreadDetectorTest.kt28 override fun getIssues(): List<Issue> = listOf(BindServiceOnMainThreadDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.BindServiceOnMainThreadDetectorTest
DSlowUserQueryDetectorTest.kt28 override fun getIssues(): List<Issue> = in getDetector() method in com.android.internal.systemui.lint.SlowUserQueryDetectorTest
DCleanArchitectureDependencyViolationDetectorTest.kt31 override fun getIssues(): List<Issue> { in getIssues() method in com.android.internal.systemui.lint.CleanArchitectureDependencyViolationDetectorTest
DDumpableNotRegisteredDetectorTest.kt27 override fun getIssues(): List<Issue> = listOf(DumpableNotRegisteredDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.DumpableNotRegisteredDetectorTest
/frameworks/base/tools/lint/global/checks/src/test/java/com/google/android/lint/aidl/
DEnforcePermissionDetectorCodegenTest.kt29 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.aidl.EnforcePermissionDetectorCodegenTest
DEnforcePermissionHelperDetectorCodegenTest.kt30 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.aidl.EnforcePermissionHelperDetectorCodegenTest
DEnforcePermissionHelperDetectorTest.kt24 override fun getIssues() = listOf( in getDetector() method in com.google.android.lint.aidl.EnforcePermissionHelperDetectorTest
/frameworks/base/tools/lint/utils/checks/src/test/java/com/google/android/lint/aidl/
DAnnotatedAidlCounterTest.kt29 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.aidl.AnnotatedAidlCounterTest
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/
DPermissionAnnotationDetectorTest.kt29 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.aidl.PermissionAnnotationDetectorTest
DCallingSettingsNonUserGetterMethodsIssueDetectorTest.kt29 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.CallingSettingsNonUserGetterMethodsIssueDetectorTest
DPackageVisibilityDetectorTest.kt29 override fun getIssues(): MutableList<Issue> = mutableListOf( in getDetector() method in com.google.android.lint.PackageVisibilityDetectorTest

12