/frameworks/base/native/android/aidl/com/android/internal/compat/ |
D | IPlatformCompatNative.aidl | 39 void reportChangeByPackageName(long changeId, @utf8InCpp String packageName, int userId); in reportChangeByPackageName() 50 void reportChangeByUid(long changeId, int uid); in reportChangeByUid() 71 boolean isChangeEnabledByPackageName(long changeId, @utf8InCpp String packageName, int userId); in isChangeEnabledByPackageName() 92 boolean isChangeEnabledByUid(long changeId, int uid); in isChangeEnabledByUid()
|
/frameworks/base/core/java/com/android/internal/compat/ |
D | IPlatformCompat.aidl | 46 void reportChange(long changeId, in ApplicationInfo appInfo); in reportChange() 58 void reportChangeByPackageName(long changeId, in String packageName, int userId); in reportChangeByPackageName() 69 void reportChangeByUid(long changeId, int uid); in reportChangeByUid() 86 boolean isChangeEnabled(long changeId, in ApplicationInfo appInfo); in isChangeEnabled() 110 boolean isChangeEnabledByPackageName(long changeId, in String packageName, int userId); in isChangeEnabledByPackageName() 134 boolean isChangeEnabledByUid(long changeId, int uid); in isChangeEnabledByUid() 164 boolean clearOverride(long changeId, String packageName); in clearOverride()
|
D | ChangeReporter.java | 48 ChangeReport(long changeId, @State int state) { in ChangeReport() 89 public void reportChange(int uid, long changeId, int state) { in reportChange() 124 public boolean shouldWriteToStatsLog(int uid, long changeId, int state) { in shouldWriteToStatsLog() 137 public boolean shouldWriteToDebug(int uid, long changeId, int state) { in shouldWriteToDebug() 177 private void debugLog(int uid, long changeId, int state) { in debugLog()
|
D | IOverrideValidator.aidl | 37 OverrideAllowedState getOverrideAllowedState(long changeId, String packageName); in getOverrideAllowedState()
|
D | CompatibilityChangeConfig.java | 55 public boolean isChangeEnabled(long changeId) { in isChangeEnabled()
|
D | OverrideAllowedState.java | 105 public void enforce(long changeId, String packageName) in enforce()
|
D | CompatibilityChangeInfo.java | 62 Long changeId, String name, int enableAfterTargetSdk, boolean disabled, in CompatibilityChangeInfo()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | PlatformCompatNative.java | 34 public void reportChangeByPackageName(long changeId, String packageName, int userId) { in reportChangeByPackageName() 39 public void reportChangeByUid(long changeId, int uid) { in reportChangeByUid() 44 public boolean isChangeEnabledByPackageName(long changeId, String packageName, in isChangeEnabledByPackageName() 50 public boolean isChangeEnabledByUid(long changeId, int uid) { in isChangeEnabledByUid()
|
D | PlatformCompat.java | 80 public void reportChange(long changeId, ApplicationInfo appInfo) { in reportChange() 87 public void reportChangeByPackageName(long changeId, String packageName, int userId) { in reportChangeByPackageName() 97 public void reportChangeByUid(long changeId, int uid) { in reportChangeByUid() 103 public boolean isChangeEnabled(long changeId, ApplicationInfo appInfo) { in isChangeEnabled() 116 public boolean isChangeEnabledByPackageName(long changeId, String packageName, in isChangeEnabledByPackageName() 127 public boolean isChangeEnabledByUid(long changeId, int uid) { in isChangeEnabledByUid() 154 public boolean registerListener(long changeId, CompatChange.ChangeListener listener) { in registerListener() 208 public boolean clearOverride(long changeId, String packageName) in clearOverride() 239 public boolean isKnownChangeId(long changeId) { in isKnownChangeId() 298 private void reportChange(long changeId, int uid, int state) { in reportChange()
|
D | CompatConfig.java | 133 boolean isChangeEnabled(long changeId, ApplicationInfo app) { in isChangeEnabled() 159 boolean addOverride(long changeId, String packageName, boolean enabled) in addOverride() 182 boolean isKnownChangeId(long changeId) { in isKnownChangeId() 193 int minTargetSdkForChangeId(long changeId) { in minTargetSdkForChangeId() 206 boolean isLoggingOnly(long changeId) { in isLoggingOnly() 219 boolean isDisabled(long changeId) { in isDisabled() 238 boolean removeOverride(long changeId, String packageName) in removeOverride() 370 boolean registerListener(long changeId, CompatChange.ChangeListener listener) { in registerListener()
|
D | CompatChange.java | 65 public CompatChange(long changeId) { in CompatChange() 76 public CompatChange(long changeId, @Nullable String name, int enableAfterTargetSdk, in CompatChange()
|
D | OverrideValidatorImpl.java | 54 public OverrideAllowedState getOverrideAllowedState(long changeId, String packageName) { in getOverrideAllowedState()
|
/frameworks/base/core/java/android/app/compat/ |
D | CompatChanges.java | 52 public static boolean isChangeEnabled(long changeId) { in isChangeEnabled() 70 public static boolean isChangeEnabled(long changeId, @NonNull String packageName, in isChangeEnabled() 102 public static boolean isChangeEnabled(long changeId, int uid) { in isChangeEnabled()
|
/frameworks/base/core/java/android/app/ |
D | AppCompatCallbacks.java | 51 protected void reportChange(long changeId) { in reportChange() 55 protected boolean isChangeEnabled(long changeId) { in isChangeEnabled() 65 private void reportChange(long changeId, int state) { in reportChange()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | CompatConfigTest.java | 192 final long changeId = 1234L; in testPreventAddOverride() local
|