Home
last modified time | relevance | path

Searched refs:CompatChange (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigBuilder.java28 private ArrayList<CompatChange> mChanges;
43 mChanges.add(new CompatChange(id, "", sdk, false, false, "")); in addTargetSdkChangeWithId()
48 mChanges.add(new CompatChange(id, "", sdk, true, false, "")); in addTargetSdkDisabledChangeWithId()
53 mChanges.add(new CompatChange(id, name, sdk, false, false, "")); in addTargetSdkChangeWithIdAndName()
59 mChanges.add(new CompatChange(id, "", sdk, false, false, description)); in addTargetSdkChangeWithIdAndDescription()
64 mChanges.add(new CompatChange(id, "", -1, false, false, "")); in addEnabledChangeWithId()
69 mChanges.add(new CompatChange(id, name, -1, false, false, "")); in addEnabledChangeWithIdAndName()
73 mChanges.add(new CompatChange(id, "", -1, false, false, description)); in addEnabledChangeWithIdAndDescription()
78 mChanges.add(new CompatChange(id, "", -1, true, false, "")); in addDisabledChangeWithId()
83 mChanges.add(new CompatChange(id, name, -1, true, false, "")); in addDisabledChangeWithIdAndName()
[all …]
DPlatformCompatTest.java53 CompatChange.ChangeListener mListener1, mListener2;
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java63 private final LongSparseArray<CompatChange> mChanges = new LongSparseArray<>();
78 void addChange(CompatChange change) { in addChange()
97 CompatChange c = mChanges.valueAt(i); in getDisabledChanges()
135 CompatChange c = mChanges.get(changeId); in isChangeEnabled()
166 CompatChange c = mChanges.get(changeId); in addOverride()
169 c = new CompatChange(changeId); in addOverride()
184 CompatChange c = mChanges.get(changeId); in isKnownChangeId()
195 CompatChange c = mChanges.get(changeId); in minTargetSdkForChangeId()
208 CompatChange c = mChanges.get(changeId); in isLoggingOnly()
221 CompatChange c = mChanges.get(changeId); in isDisabled()
[all …]
DCompatChange.java40 public final class CompatChange extends CompatibilityChangeInfo { class
65 public CompatChange(long changeId) { in CompatChange() method in CompatChange
76 public CompatChange(long changeId, @Nullable String name, int enableAfterTargetSdk, in CompatChange() method in CompatChange
84 public CompatChange(Change change) { in CompatChange() method in CompatChange
DPlatformCompat.java154 public boolean registerListener(long changeId, CompatChange.ChangeListener listener) { in registerListener()