Searched refs:mCompatConfig (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/compat/ |
D | PlatformCompat.java | 59 private final CompatConfig mCompatConfig; field in PlatformCompat 68 mCompatConfig = CompatConfig.create(new AndroidBuildClassifier(), mContext); in PlatformCompat() 76 mCompatConfig = compatConfig; in PlatformCompat() 105 if (mCompatConfig.isChangeEnabled(changeId, appInfo)) { in isChangeEnabled() 155 return mCompatConfig.registerListener(changeId, listener); in registerListener() 162 mCompatConfig.addOverrides(overrides, packageName); in setOverrides() 170 mCompatConfig.addOverrides(overrides, packageName); in setOverridesForTest() 177 int numChanges = mCompatConfig.enableTargetSdkChangesForPackage(packageName, in enableTargetSdkChanges() 187 int numChanges = mCompatConfig.disableTargetSdkChangesForPackage(packageName, in disableTargetSdkChanges() 196 mCompatConfig.removePackageOverrides(packageName); in clearOverrides() [all …]
|
D | OverrideValidatorImpl.java | 43 private CompatConfig mCompatConfig; field in OverrideValidatorImpl 50 mCompatConfig = config; in OverrideValidatorImpl() 55 if (mCompatConfig.isLoggingOnly(changeId)) { in getOverrideAllowedState() 61 int minTargetSdk = mCompatConfig.minTargetSdkForChangeId(changeId); in getOverrideAllowedState() 62 boolean disabled = mCompatConfig.isDisabled(changeId); in getOverrideAllowedState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | PlatformCompatTest.java | 55 CompatConfig mCompatConfig; field in PlatformCompatTest 65 mCompatConfig = new CompatConfig(mBuildClassifier, mContext); in setUp() 66 mPlatformCompat = new PlatformCompat(mContext, mCompatConfig); in setUp() 74 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListAllChanges() 83 mPlatformCompat = new PlatformCompat(mContext, mCompatConfig); in testListAllChanges() 97 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListUIChanges() 106 mPlatformCompat = new PlatformCompat(mContext, mCompatConfig); in testListUIChanges()
|