Home
last modified time | relevance | path

Searched defs:changeId (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/native/android/aidl/com/android/internal/compat/
DIPlatformCompatNative.aidl39 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/
DIPlatformCompat.aidl48 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()
DChangeReporter.java50 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()
DIOverrideValidator.aidl37 OverrideAllowedState getOverrideAllowedState(long changeId, String packageName); in getOverrideAllowedState()
DCompatibilityChangeConfig.java55 public boolean isChangeEnabled(long changeId) { in isChangeEnabled()
DOverrideAllowedState.java110 public void enforce(long changeId, String packageName) in enforce()
DCompatibilityChangeInfo.java67 Long changeId, String name, int enableAfterTargetSdk, int enableSinceTargetSdk, in CompatibilityChangeInfo()
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompat.java94 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 …]
DPlatformCompatNative.java34 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()
DCompatConfig.java190 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 …]
DOverrideValidatorImpl.java84 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()
DCompatChange.java88 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/
DChangeIdStateQuery.java47 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()
DCompatChanges.java57 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/
DAppCompatCallbacks.java51 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/
DParseInput.java91 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/
DDomainVerificationUtils.java93 long changeId) { in isChangeEnabled()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerShellCommand.java90 final long changeId = GameManagerService.getCompatChangeId(ratio); in onCommand() local
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DOomAdjusterTests.java81 boolean isChangeEnabled(long changeId, ApplicationInfo app, boolean defaultValue) { in isChangeEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DPackageParsingDeferErrorTest.kt57 private val inputCallback = ParseInput.Callback { changeId, _, targetSdk -> in <lambda>() method
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java507 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/
DOomAdjuster.java287 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/
DCompatConfigTest.java245 final long changeId = 1234L; in testPreventAddOverride() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java2052 private void mockChangeEnabled(long changeId, boolean enabled) { in mockChangeEnabled()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1693 public boolean isChangeEnabled(long changeId, String packageName, int userId) { in isChangeEnabled()