Home
last modified time | relevance | path

Searched refs:platformCompat (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/app/compat/
DCompatChanges.java72 IPlatformCompat platformCompat = IPlatformCompat.Stub.asInterface( in isChangeEnabled() local
76 return platformCompat.isChangeEnabledByPackageName(changeId, packageName, in isChangeEnabled()
103 IPlatformCompat platformCompat = IPlatformCompat.Stub.asInterface( in isChangeEnabled() local
107 return platformCompat.isChangeEnabledByUid(changeId, uid); in isChangeEnabled()
/frameworks/base/tests/PlatformCompatGating/test-rules/src/android/compat/testing/
DPlatformCompatChangeRule.java92 IPlatformCompat platformCompat = IPlatformCompat.Stub in evaluate() local
94 if (platformCompat == null) { in evaluate()
103 platformCompat.setOverridesForTest(new CompatibilityChangeConfig(mConfig), in evaluate()
108 platformCompat.clearOverridesForTest(packageName); in evaluate()
/frameworks/base/tests/PlatformCompatGating/src/com/android/compat/testing/
DDummyApi.java74 IPlatformCompat platformCompat = IPlatformCompat.Stub in dummySystemServer() local
76 if (platformCompat == null) { in dummySystemServer()
81 return platformCompat.isChangeEnabledByPackageName(CHANGE_SYSTEM_SERVER, packageName, in dummySystemServer()
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompatNative.java29 public PlatformCompatNative(PlatformCompat platformCompat) { in PlatformCompatNative() argument
30 mPlatformCompat = platformCompat; in PlatformCompatNative()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2933 final PlatformCompat platformCompat = (PlatformCompat)
2956 changeId = platformCompat.lookupChangeId(changeIdString);
2964 if (!toggleAll && !platformCompat.isKnownChangeId(changeId)) {
2974 int numChanges = platformCompat.enableTargetSdkChanges(packageName,
2987 platformCompat.setOverrides(overrides, packageName);
2993 int numChanges = platformCompat.disableTargetSdkChanges(packageName,
3006 platformCompat.setOverrides(overrides, packageName);
3012 platformCompat.clearOverrides(packageName);
3016 if (platformCompat.clearOverride(changeId, packageName)) {
DProcessList.java645 PlatformCompat platformCompat) { in init() argument
648 mPlatformCompat = platformCompat; in init()
/frameworks/base/services/java/com/android/server/
DSystemServer.java664 PlatformCompat platformCompat = new PlatformCompat(mSystemContext); in startBootstrapServices() local
665 ServiceManager.addService(Context.PLATFORM_COMPAT_SERVICE, platformCompat); in startBootstrapServices()
667 new PlatformCompatNative(platformCompat)); in startBootstrapServices()