Home
last modified time | relevance | path

Searched refs:CompatConfig (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigTest.java81 CompatConfig compatConfig = new CompatConfig(mBuildClassifier, mContext); in testUnknownChangeEnabled()
88 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testDisabledChangeDisabled()
98 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testTargetSdkChangeDisabled()
109 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testTargetSdkChangeEnabled()
119 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testDisabledOverrideTargetSdkChange()
129 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testGetDisabledChanges()
140 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testGetDisabledChangesSorted()
152 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testPackageOverrideEnabled()
166 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testPackageOverrideDisabled()
180 CompatConfig compatConfig = new CompatConfig(mBuildClassifier, mContext); in testPackageOverrideUnknownPackage()
[all …]
DOverrideValidatorImplTest.java88 CompatConfig config = CompatConfigBuilder.create(debuggableBuild(), mContext) in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride()
132 CompatConfig config = CompatConfigBuilder.create(debuggableBuild(), mContext) in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride()
175 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildTargetSdkChangeDebugApp_allowOverride()
209 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildEnabledChangeDebugApp_allowOverride()
228 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildDisabledChangeDebugApp_allowOverride()
246 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildAnyChangeReleaseApp_rejectOverride()
289 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildTargetSdkChangeDebugAppOptin_allowOverride()
308 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildTargetSdkChangeDebugAppOptout_rejectOverride()
334 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildEnabledChangeDebugApp_rejectOverride()
352 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildDisabledChangeDebugApp_allowOverride()
[all …]
DCompatConfigBuilder.java97 CompatConfig build() { in build()
98 CompatConfig config = new CompatConfig(mBuildClassifier, mContext); in build()
DPlatformCompatTest.java55 CompatConfig mCompatConfig;
65 mCompatConfig = new CompatConfig(mBuildClassifier, mContext); in setUp()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java58 final class CompatConfig { class
68 CompatConfig(AndroidBuildClassifier androidBuildClassifier, Context context) { in CompatConfig() method in CompatConfig
454 static CompatConfig create(AndroidBuildClassifier androidBuildClassifier, Context context) { in create()
455 CompatConfig config = new CompatConfig(androidBuildClassifier, context); in create()
DOverrideValidatorImpl.java43 private CompatConfig mCompatConfig;
47 Context context, CompatConfig config) { in OverrideValidatorImpl()
DPlatformCompat.java59 private final CompatConfig mCompatConfig;
68 mCompatConfig = CompatConfig.create(new AndroidBuildClassifier(), mContext); in PlatformCompat()
72 PlatformCompat(Context context, CompatConfig compatConfig) { in PlatformCompat()