Home
last modified time | relevance | path

Searched refs:checks (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java260 String[] checks = mChecker.getChecks(cfunc.getName()); in isNullAllowed() local
262 if (checks != null) { in isNullAllowed()
263 while (index < checks.length) { in isNullAllowed()
264 if (checks[index].equals("nullAllowed") && in isNullAllowed()
265 checks[index + 1].equals(cname)) { in isNullAllowed()
268 index = skipOneCheck(checks, index); in isNullAllowed()
276 String[] checks = mChecker.getChecks(cfunc.getName()); in hasCheckTest() local
278 if (checks != null) { in hasCheckTest()
279 while (index < checks.length) { in hasCheckTest()
280 if (checks[index].startsWith("check")) { in hasCheckTest()
[all …]
DParameterChecker.java46 String[] checks = map.get(functionName); in getChecks() local
47 if (checks == null && in getChecks()
52 checks = map.get(functionName); in getChecks()
54 return checks; in getChecks()
/frameworks/base/tools/lint/global/checks/src/test/java/com/google/android/lint/aidl/
DEnforcePermissionHelperDetectorCodegenTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestLintTask
22 import com.android.tools.lint.checks.infrastructure.TestMode
DEnforcePermissionDetectorCodegenTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestLintTask
DStubs.kt3 import com.android.tools.lint.checks.infrastructure.LintDetectorTest.java
4 import com.android.tools.lint.checks.infrastructure.TestFile
DEnforcePermissionDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestLintTask
DEnforcePermissionHelperDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestLintTask
/frameworks/base/tools/lint/utils/checks/src/test/java/com/google/android/lint/aidl/
DAnnotatedAidlCounterTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestLintTask
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/
DPermissionAnnotationDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestLintTask
DCallingSettingsNonUserGetterMethodsIssueDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestLintTask
DPackageVisibilityDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestLintTask
DCallingIdentityTokenDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestLintTask
/frameworks/base/tools/lint/
DREADME.md3 Custom Android Lint checks are written here to be executed against java modules
4 in AOSP. These checks are broken down into two subdirectories:
15 ## How to add new global lint checks
17 `global/checks/src/main/java/com/google/android/lint`.
21 `global/checks/test/java/com/google/android/lint`.
35 ## How to add new framework lint checks
38 `framework/checks/src/main/java/com/google/android/lint`.
41 `framework/checks/test/java/com/google/android/lint`.
42 4. Done! Your lint checks should be applied in lint report builds for modules that include
/frameworks/base/packages/SystemUI/tools/lint/
DREADME4 lint.xml contains checks that are turned on or off, or whitelisted /
17 about for any file, or checks that are not actionable by the
26 - http://tools.android.com/tips/lint-checks
/frameworks/base/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/
DTestFunctionNameViolationDetectorTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
21 import com.android.tools.lint.checks.infrastructure.TestFiles
DSystemUILintDetectorTest.kt3 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
4 import com.android.tools.lint.checks.infrastructure.TestLintTask
DSingletonAndroidComponentDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.TestFile
20 import com.android.tools.lint.checks.infrastructure.TestFiles
DCleanArchitectureDependencyViolationDetectorTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFiles
21 import com.android.tools.lint.checks.infrastructure.TestMode
/frameworks/compile/slang/tests/F_reduce_general_bad_halter/
Dreduce_general_bad_halter.rscript5 // Various ways halter can fail semantic checks.
6 // Also see reduce_general_bad_function.rs for other constituent function semantic checks.
7 // Also see reduce_general_bad_accumulator.rs for accumulator data type checks.
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/parcel/
DSaferParcelCheckerTest.kt19 import com.android.tools.lint.checks.infrastructure.LintDetectorTest
20 import com.android.tools.lint.checks.infrastructure.TestLintTask
21 import com.android.tools.lint.checks.infrastructure.TestMode
/frameworks/wilhelm/tools/hashgen/
DREADME.txt20 checks all GUIDs, and the target test checks a subset of GUIDs.
/frameworks/base/tools/lint/global/
DAndroid.bp26 srcs: ["checks/src/main/java/**/*.kt"],
42 srcs: ["checks/src/test/java/**/*.kt"],
/frameworks/base/tools/lint/framework/
DAndroid.bp26 srcs: ["checks/src/main/java/**/*.kt"],
41 srcs: ["checks/src/test/java/**/*.kt"],
/frameworks/base/tools/lint/utils/
DAndroid.bp26 srcs: ["checks/src/main/java/**/*.kt"],
41 srcs: ["checks/src/test/java/**/*.kt"],
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DValidatorUtil.java51 import com.google.android.apps.common.testing.accessibility.framework.checks.EditableContentDescChe…
52 import com.google.android.apps.common.testing.accessibility.framework.checks.SpeakableTextPresentCh…
53 import com.google.android.apps.common.testing.accessibility.framework.checks.TextContrastCheck;
54 import com.google.android.apps.common.testing.accessibility.framework.checks.TouchTargetSizeCheck;
201 @NotNull Set<AccessibilityHierarchyCheck> checks = policyChecks.isEmpty() ? in generateResults() local
205 for (AccessibilityHierarchyCheck check : checks) { in generateResults()

1234