Home
last modified time | relevance | path

Searched refs:compatConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigTest.java81 CompatConfig compatConfig = new CompatConfig(mBuildClassifier, mContext); in testUnknownChangeEnabled() local
82 assertThat(compatConfig.isChangeEnabled(1234L, ApplicationInfoBuilder.create().build())) in testUnknownChangeEnabled()
88 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testDisabledChangeDisabled() local
92 assertThat(compatConfig.isChangeEnabled(1234L, ApplicationInfoBuilder.create().build())) in testDisabledChangeDisabled()
98 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testTargetSdkChangeDisabled() local
102 assertThat(compatConfig.isChangeEnabled(1234L, in testTargetSdkChangeDisabled()
109 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testTargetSdkChangeEnabled() local
113 assertThat(compatConfig.isChangeEnabled(1234L, in testTargetSdkChangeEnabled()
119 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testDisabledOverrideTargetSdkChange() local
123 assertThat(compatConfig.isChangeEnabled(1234L, in testDisabledOverrideTargetSdkChange()
[all …]
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompat.java72 PlatformCompat(Context context, CompatConfig compatConfig) { in PlatformCompat() argument
76 mCompatConfig = compatConfig; in PlatformCompat()