/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/ |
D | AccessibilityValidatorTests.java | 64 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 …]
|
D | LayoutValidatorTests.java | 94 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/ |
D | CellularNetworkSecuritySafetySourceTest.java | 130 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/ |
D | TestFunctionNameViolationDetectorTest.kt | 29 override fun getIssues(): List<Issue> = listOf(TestFunctionNameViolationDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.TestFunctionNameViolationDetectorTest
|
D | StaticSettingsProviderDetectorTest.kt | 27 override fun getIssues(): List<Issue> = listOf(StaticSettingsProviderDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.StaticSettingsProviderDetectorTest
|
D | MissingApacheLicenseDetectorTest.kt | 30 override fun getIssues(): List<Issue> { in getIssues() method in com.android.internal.systemui.lint.MissingApacheLicenseDetectorTest
|
D | SoftwareBitmapDetectorTest.kt | 28 override fun getIssues(): List<Issue> = listOf(SoftwareBitmapDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.SoftwareBitmapDetectorTest
|
D | CollectAsStateDetectorTest.kt | 30 override fun getIssues(): List<Issue> { in getIssues() method in com.android.internal.systemui.lint.CollectAsStateDetectorTest
|
D | NonInjectedServiceDetectorTest.kt | 27 override fun getIssues(): List<Issue> = listOf(NonInjectedServiceDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.NonInjectedServiceDetectorTest
|
D | RegisterReceiverViaContextDetectorTest.kt | 28 override fun getIssues(): List<Issue> = listOf(RegisterReceiverViaContextDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.RegisterReceiverViaContextDetectorTest
|
D | NonInjectedMainThreadDetectorTest.kt | 28 override fun getIssues(): List<Issue> = listOf(NonInjectedMainThreadDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.NonInjectedMainThreadDetectorTest
|
D | FlowDetectorTest.kt | 28 override fun getIssues(): List<Issue> = listOf(FlowDetector.SHARED_FLOW_CREATION) in getDetector() method in com.android.internal.systemui.lint.FlowDetectorTest
|
D | SingletonAndroidComponentDetectorTest.kt | 28 override fun getIssues(): List<Issue> = listOf(SingletonAndroidComponentDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.SingletonAndroidComponentDetectorTest
|
D | BroadcastSentViaContextDetectorTest.kt | 28 override fun getIssues(): List<Issue> = listOf(BroadcastSentViaContextDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.BroadcastSentViaContextDetectorTest
|
D | BindServiceOnMainThreadDetectorTest.kt | 28 override fun getIssues(): List<Issue> = listOf(BindServiceOnMainThreadDetector.ISSUE) in getDetector() method in com.android.internal.systemui.lint.BindServiceOnMainThreadDetectorTest
|
D | SlowUserQueryDetectorTest.kt | 28 override fun getIssues(): List<Issue> = in getDetector() method in com.android.internal.systemui.lint.SlowUserQueryDetectorTest
|
D | CleanArchitectureDependencyViolationDetectorTest.kt | 31 override fun getIssues(): List<Issue> { in getIssues() method in com.android.internal.systemui.lint.CleanArchitectureDependencyViolationDetectorTest
|
D | DumpableNotRegisteredDetectorTest.kt | 27 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/ |
D | EnforcePermissionDetectorCodegenTest.kt | 29 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.aidl.EnforcePermissionDetectorCodegenTest
|
D | EnforcePermissionHelperDetectorCodegenTest.kt | 30 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.aidl.EnforcePermissionHelperDetectorCodegenTest
|
D | EnforcePermissionHelperDetectorTest.kt | 24 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/ |
D | AnnotatedAidlCounterTest.kt | 29 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/ |
D | PermissionAnnotationDetectorTest.kt | 29 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.aidl.PermissionAnnotationDetectorTest
|
D | CallingSettingsNonUserGetterMethodsIssueDetectorTest.kt | 29 override fun getIssues(): List<Issue> = listOf( in getDetector() method in com.google.android.lint.CallingSettingsNonUserGetterMethodsIssueDetectorTest
|
D | PackageVisibilityDetectorTest.kt | 29 override fun getIssues(): MutableList<Issue> = mutableListOf( in getDetector() method in com.google.android.lint.PackageVisibilityDetectorTest
|