Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigBuilder.java27 class CompatConfigBuilder { class
32 private CompatConfigBuilder(AndroidBuildClassifier buildClassifier, Context context) { in CompatConfigBuilder() method in CompatConfigBuilder
38 static CompatConfigBuilder create(AndroidBuildClassifier buildClassifier, Context context) { in create()
39 return new CompatConfigBuilder(buildClassifier, context); in create()
42 CompatConfigBuilder addEnableAfterSdkChangeWithId(int sdk, long id) { in addEnableAfterSdkChangeWithId()
47 CompatConfigBuilder addEnableAfterSdkChangeWithIdAndName(int sdk, long id, String name) { in addEnableAfterSdkChangeWithIdAndName()
52 CompatConfigBuilder addEnableAfterSdkChangeWithIdDefaultDisabled(int sdk, long id) { in addEnableAfterSdkChangeWithIdDefaultDisabled()
57 CompatConfigBuilder addEnableAfterSdkChangeWithIdAndDescription(int sdk, long id, in addEnableAfterSdkChangeWithIdAndDescription()
63 CompatConfigBuilder addEnableSinceSdkChangeWithId(int sdk, long id) { in addEnableSinceSdkChangeWithId()
68 CompatConfigBuilder addEnableSinceSdkChangeWithIdAndName(int sdk, long id, String name) { in addEnableSinceSdkChangeWithIdAndName()
[all …]
DCompatConfigTest.java113 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()
165 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testGetDisabledChangesSorted()
180 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testGetLoggableChanges()
196 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testPackageOverrideEnabled()
214 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testPackageOverrideDisabled()
253 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testIsChangeEnabledForInvalidApp()
[all …]
DOverrideValidatorImplTest.java96 CompatConfig config = CompatConfigBuilder.create(debuggableBuild(), mContext) in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride()
140 CompatConfig config = CompatConfigBuilder.create(debuggableBuild(), mContext) in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride()
183 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildTargetSdkChangeDebugApp_allowOverride()
217 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildEnabledChangeDebugApp_allowOverride()
236 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildDisabledChangeDebugApp_allowOverride()
254 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildAnyChangeReleaseApp_rejectOverride()
297 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildTargetSdkChangeDebugAppOptin_allowOverride()
322 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildTargetSdkChangeDebugAppOptout_rejectOverride()
344 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_targetSdkChangeGreaterThanOsVersion_rejectOverride()
363 CompatConfig config = CompatConfigBuilder.create(finalBuild(), mContext) in getOverrideAllowedState_finalBuildEnabledChangeDebugApp_rejectOverride()
[all …]
DPlatformCompatTest.java93 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListAllChanges()
121 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListUIChanges()
143 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testOverrideAtInstallTime()