Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigTest.java70 private AndroidBuildClassifier mBuildClassifier; field in CompatConfigTest
94 when(mBuildClassifier.isDebuggableBuild()).thenReturn(true); in setUp()
95 when(mBuildClassifier.isFinalBuild()).thenReturn(false); in setUp()
96 when(mBuildClassifier.platformTargetSdk()).thenReturn(30); in setUp()
104 CompatConfig compatConfig = new CompatConfig(mBuildClassifier, mContext); in testUnknownChangeEnabled()
113 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testDisabledChangeDisabled()
123 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testTargetSdkChangeDisabled()
134 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testTargetSdkChangeEnabled()
144 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testDisabledOverrideTargetSdkChange()
154 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testGetDisabledChanges()
[all …]
DPlatformCompatTest.java67 private AndroidBuildClassifier mBuildClassifier; field in PlatformCompatTest
80 mCompatConfig = new CompatConfig(mBuildClassifier, mContext); in setUp()
81 mPlatformCompat = new PlatformCompat(mContext, mCompatConfig, mBuildClassifier); in setUp()
84 when(mBuildClassifier.isDebuggableBuild()).thenReturn(true); in setUp()
85 when(mBuildClassifier.isFinalBuild()).thenReturn(false); in setUp()
86 when(mBuildClassifier.platformTargetSdk()).thenReturn(30); in setUp()
93 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListAllChanges()
103 mPlatformCompat = new PlatformCompat(mContext, mCompatConfig, mBuildClassifier); in testListAllChanges()
121 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListUIChanges()
131 mPlatformCompat = new PlatformCompat(mContext, mCompatConfig, mBuildClassifier); in testListUIChanges()
[all …]
DCompatConfigBuilder.java29 private AndroidBuildClassifier mBuildClassifier; field in CompatConfigBuilder
34 mBuildClassifier = buildClassifier; in CompatConfigBuilder()
134 CompatConfig config = new CompatConfig(mBuildClassifier, mContext); in build()
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompat.java75 private final AndroidBuildClassifier mBuildClassifier; field in PlatformCompat
80 mBuildClassifier = new AndroidBuildClassifier(); in PlatformCompat()
81 mCompatConfig = CompatConfig.create(mBuildClassifier, mContext); in PlatformCompat()
90 mBuildClassifier = buildClassifier; in PlatformCompat()
540 && change.getEnableSinceTargetSdk() <= mBuildClassifier.platformTargetSdk(); in isShownInUI()