Home
last modified time | relevance | path

Searched refs:FileSdk (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/SafetyCenter/ConfigLintChecker/tests/java/android/safetycenter/lint/test/
DParserExceptionDetectorTest.kt21 import android.safetycenter.lint.FileSdk
44 FileSdk.maxVersionOverride = null in getDetector()
71 FileSdk.maxVersionOverride = UPSIDE_DOWN_CAKE in invalidConfigWithSingleSchema_throwsOneError()
84 FileSdk.maxVersionOverride = UPSIDE_DOWN_CAKE in invalidConfigWithMultipleSchemas_throwsMultipleErrors()
100 FileSdk.maxVersionOverride = UPSIDE_DOWN_CAKE in validUConfigWithUFields_throwsInT()
116 FileSdk.maxVersionOverride = TIRAMISU in validTConfigWithUReference_throwsInT()
133 FileSdk.maxVersionOverride = TIRAMISU in validTConfigWithOtherLanguageReference_throwsInT()
DConfigSchemaDetectorTest.kt21 import android.safetycenter.lint.FileSdk
42 FileSdk.maxVersionOverride = null in getDetector()
105 FileSdk.maxVersionOverride = UPSIDE_DOWN_CAKE in invalidConfigWithSingleSchema_throwsOneError()
118 FileSdk.maxVersionOverride = UPSIDE_DOWN_CAKE in invalidConfigWithMultipleSchemas_throwsMultipleErrors()
134 FileSdk.maxVersionOverride = UPSIDE_DOWN_CAKE in validUConfigWithUFields_throwsInT()
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/
DParserExceptionDetector.kt90 !FileSdk.belongsToABasicConfiguration(context.file) in visitElement()
94 val minSdk = FileSdk.getSdkQualifier(context.file) in visitElement()
123 val minSdk = FileSdk.getSdkQualifier(context.file) in run()
124 val maxSdk = maxOf(minSdk, FileSdk.getMaxSdkVersion()) in run()
DConfigSchemaDetector.kt64 val fileSdk = FileSdk.getSdkQualifier(context.file) in run()
82 for (sdk in fileSdk + 1..FileSdk.getMaxSdkVersion()) { in run()
88 val xsdInputStream = FileSdk.getSchemaAsStream(sdk) ?: return false in testSchema()
DFileSdk.kt29 object FileSdk { object
77 FileSdk::class.java.getResourceAsStream("/safety_center_config${toQualifier(sdk)}.xsd") in getSchemaAsStream()