Searched refs:appTargetSdk (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/compat/ |
D | OverrideAllowedState.java | 76 public final int appTargetSdk; field in OverrideAllowedState 81 appTargetSdk = parcel.readInt(); in OverrideAllowedState() 85 public OverrideAllowedState(@State int state, int appTargetSdk, int changeIdTargetSdk) { in OverrideAllowedState() argument 87 this.appTargetSdk = appTargetSdk; in OverrideAllowedState() 99 out.writeInt(appTargetSdk); in writeToParcel() 126 changeId, packageName, appTargetSdk, changeIdTargetSdk)); in enforce() 165 && appTargetSdk == otherState.appTargetSdk in equals() 191 return "OverrideAllowedState(state=" + stateName() + "; appTargetSdk=" + appTargetSdk in toString()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | OverrideValidatorImpl.java | 134 int appTargetSdk = applicationInfo.targetSdkVersion; in getOverrideAllowedStateInternal() local 141 return new OverrideAllowedState(ALLOWED, appTargetSdk, maxTargetSdk); in getOverrideAllowedStateInternal() 145 return new OverrideAllowedState(DISABLED_NON_TARGET_SDK, appTargetSdk, maxTargetSdk); in getOverrideAllowedStateInternal() 148 if (disabled || appTargetSdk <= maxTargetSdk) { in getOverrideAllowedStateInternal() 149 return new OverrideAllowedState(ALLOWED, appTargetSdk, maxTargetSdk); in getOverrideAllowedStateInternal() 151 return new OverrideAllowedState(DISABLED_TARGET_SDK_TOO_HIGH, appTargetSdk, maxTargetSdk); in getOverrideAllowedStateInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 183 Integer enabledSetting, Integer appTargetSdk) throws Exception { in setUpPackageManagerForAdmin() argument 184 setUpPackageManagerForFakeAdmin(admin, packageUid, enabledSetting, appTargetSdk, in setUpPackageManagerForAdmin() 203 Integer enabledSetting, Integer appTargetSdk, ComponentName copyFromAdmin) in setUpPackageManagerForFakeAdmin() argument 215 if (appTargetSdk != null) { in setUpPackageManagerForFakeAdmin() 216 ai.targetSdkVersion = appTargetSdk; in setUpPackageManagerForFakeAdmin()
|
D | DevicePolicyManagerTest.java | 7965 ComponentName admin, int adminUid, ComponentName copyFromAdmin, int appTargetSdk) 7972 appTargetSdk, copyFromAdmin);
|