/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 | 48 void reportChange(long changeId, in ApplicationInfo appInfo); in reportChange() 61 void reportChangeByPackageName(long changeId, in String packageName, int userId); in reportChangeByPackageName() 73 void reportChangeByUid(long changeId, int uid); in reportChangeByUid() 91 boolean isChangeEnabled(long changeId, in ApplicationInfo appInfo); in isChangeEnabled() 116 boolean isChangeEnabledByPackageName(long changeId, in String packageName, int userId); in isChangeEnabledByPackageName() 141 boolean isChangeEnabledByUid(long changeId, int uid); in isChangeEnabledByUid() 194 boolean clearOverride(long changeId, String packageName); in clearOverride() 206 boolean clearOverrideForTest(long changeId, String packageName); in clearOverrideForTest()
|
D | ChangeReporter.java | 50 ChangeReport(long changeId, @State int state) { in ChangeReport() 91 public void reportChange(int uid, long changeId, int state) { in reportChange() 126 public boolean shouldWriteToStatsLog(int uid, long changeId, int state) { in shouldWriteToStatsLog() 139 public boolean shouldWriteToDebug(int uid, long changeId, int state) { in shouldWriteToDebug() 179 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 | 110 public void enforce(long changeId, String packageName) in enforce()
|
D | CompatibilityChangeInfo.java | 67 Long changeId, String name, int enableAfterTargetSdk, int enableSinceTargetSdk, in CompatibilityChangeInfo()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | PlatformCompat.java | 94 public void reportChange(long changeId, ApplicationInfo appInfo) { in reportChange() 100 public void reportChangeByPackageName(long changeId, String packageName, in reportChangeByPackageName() 110 public void reportChangeByUid(long changeId, int uid) { in reportChangeByUid() 115 private void reportChangeInternal(long changeId, int uid, int state) { in reportChangeInternal() 120 public boolean isChangeEnabled(long changeId, ApplicationInfo appInfo) { in isChangeEnabled() 126 public boolean isChangeEnabledByPackageName(long changeId, String packageName, in isChangeEnabledByPackageName() 137 public boolean isChangeEnabledByUid(long changeId, int uid) { in isChangeEnabledByUid() 157 public boolean isChangeEnabledInternalNoLogging(long changeId, ApplicationInfo appInfo) { in isChangeEnabledInternalNoLogging() 166 public boolean isChangeEnabledInternal(long changeId, ApplicationInfo appInfo) { in isChangeEnabledInternal() 186 public boolean isChangeEnabledInternal(long changeId, String packageName, in isChangeEnabledInternal() [all …]
|
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 | CompatConfig.java | 190 boolean isChangeEnabled(long changeId, ApplicationInfo app) { in isChangeEnabled() 212 boolean willChangeBeEnabled(long changeId, String packageName) { in willChangeBeEnabled() 242 boolean addOverride(long changeId, String packageName, boolean enabled) { in addOverride() 266 private boolean addOverrideUnsafe(long changeId, String packageName, in addOverrideUnsafe() 290 boolean isKnownChangeId(long changeId) { in isKnownChangeId() 304 int maxTargetSdkForChangeIdOptIn(long changeId) { in maxTargetSdkForChangeIdOptIn() 320 boolean isLoggingOnly(long changeId) { in isLoggingOnly() 333 boolean isDisabled(long changeId) { in isDisabled() 346 boolean isOverridable(long changeId) { in isOverridable() 366 boolean removeOverride(long changeId, String packageName) { in removeOverride() [all …]
|
D | OverrideValidatorImpl.java | 84 OverrideAllowedState getOverrideAllowedStateForRecheck(long changeId, in getOverrideAllowedStateForRecheck() 90 public OverrideAllowedState getOverrideAllowedState(long changeId, String packageName) { in getOverrideAllowedState() 94 private OverrideAllowedState getOverrideAllowedStateInternal(long changeId, String packageName, in getOverrideAllowedStateInternal()
|
D | CompatChange.java | 88 public CompatChange(long changeId) { in CompatChange() 110 public CompatChange(long changeId, @Nullable String name, int enableAfterTargetSdk, in CompatChange()
|
/frameworks/base/core/java/android/app/compat/ |
D | ChangeIdStateQuery.java | 47 public long changeId; field in ChangeIdStateQuery 52 private ChangeIdStateQuery(@QueryType int type, long changeId, String packageName, in ChangeIdStateQuery() 61 static ChangeIdStateQuery byPackageName(long changeId, @NonNull String packageName, in byPackageName() 66 static ChangeIdStateQuery byUid(long changeId, int uid) { in byUid()
|
D | CompatChanges.java | 57 public static boolean isChangeEnabled(long changeId) { in isChangeEnabled() 75 public static boolean isChangeEnabled(long changeId, @NonNull String packageName, in isChangeEnabled() 98 public static boolean isChangeEnabled(long changeId, int uid) { in isChangeEnabled()
|
/frameworks/base/core/java/android/app/ |
D | AppCompatCallbacks.java | 51 public void onChangeReported(long changeId) { in onChangeReported() 55 public boolean isChangeEnabled(long changeId) { in isChangeEnabled() 65 private void reportChange(long changeId, int state) { in reportChange()
|
/frameworks/base/core/java/android/content/pm/parsing/result/ |
D | ParseInput.java | 91 public static int getTargetSdkForChange(long changeId) { in getTargetSdkForChange() 173 boolean isChangeEnabled(long changeId, @NonNull String packageName, int targetSdkVersion); in isChangeEnabled()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationUtils.java | 93 long changeId) { in isChangeEnabled()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerShellCommand.java | 90 final long changeId = GameManagerService.getCompatChangeId(ratio); in onCommand() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | OomAdjusterTests.java | 81 boolean isChangeEnabled(long changeId, ApplicationInfo app, boolean defaultValue) { in isChangeEnabled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/ |
D | PackageParsingDeferErrorTest.kt | 57 private val inputCallback = ParseInput.Callback { changeId, _, targetSdk -> in <lambda>() method
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 507 long changeId, boolean enabled, String packageName, int userId) { in setChangeEnabledForPackage() 520 public boolean isChangeEnabled(long changeId, String packageName, int userId) { in isChangeEnabled()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 287 boolean isChangeEnabled(long changeId, ApplicationInfo app) throws RemoteException { in isChangeEnabled() 296 boolean isChangeEnabled(long changeId, ApplicationInfo app, boolean defaultValue) { in isChangeEnabled() 320 CacheItem(PlatformCompat platformCompat, long changeId) { in CacheItem()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | CompatConfigTest.java | 245 final long changeId = 1234L; in testPreventAddOverride() local
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 2052 private void mockChangeEnabled(long changeId, boolean enabled) { in mockChangeEnabled()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1693 public boolean isChangeEnabled(long changeId, String packageName, int userId) { in isChangeEnabled()
|