Home
last modified time | relevance | path

Searched refs:buildClassifier (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigBuilder.java32 private CompatConfigBuilder(AndroidBuildClassifier buildClassifier, Context context) { in CompatConfigBuilder() argument
34 mBuildClassifier = buildClassifier; in CompatConfigBuilder()
38 static CompatConfigBuilder create(AndroidBuildClassifier buildClassifier, Context context) { in create() argument
39 return new CompatConfigBuilder(buildClassifier, context); in create()
DOverrideValidatorImplTest.java64 AndroidBuildClassifier buildClassifier = mock(AndroidBuildClassifier.class); in debuggableBuild() local
65 when(buildClassifier.isDebuggableBuild()).thenReturn(true); in debuggableBuild()
66 when(buildClassifier.platformTargetSdk()).thenReturn(PLATFORM_SDK_VERSION); in debuggableBuild()
67 return buildClassifier; in debuggableBuild()
71 AndroidBuildClassifier buildClassifier = mock(AndroidBuildClassifier.class); in betaBuild() local
72 when(buildClassifier.isDebuggableBuild()).thenReturn(false); in betaBuild()
73 when(buildClassifier.isFinalBuild()).thenReturn(false); in betaBuild()
74 when(buildClassifier.platformTargetSdk()).thenReturn(PLATFORM_SDK_VERSION); in betaBuild()
75 return buildClassifier; in betaBuild()
79 AndroidBuildClassifier buildClassifier = mock(AndroidBuildClassifier.class); in finalBuild() local
[all …]
/frameworks/base/services/core/java/com/android/server/compat/
DCompatChange.java243 boolean isEnabled(ApplicationInfo app, AndroidBuildClassifier buildClassifier) { in isEnabled() argument
256 int compareSdk = Math.min(app.targetSdkVersion, buildClassifier.platformTargetSdk()); in isEnabled()
DPlatformCompat.java84 AndroidBuildClassifier buildClassifier) { in PlatformCompat() argument
88 mBuildClassifier = buildClassifier; in PlatformCompat()