/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | SplashScreenExceptionListTest.java | 164 private void assertIsNotException(String packageName, int targetSdk) { in assertIsNotException() argument 165 assertIsNotException(packageName, targetSdk, null); in assertIsNotException() 168 private void assertIsNotException(String packageName, int targetSdk, in assertIsNotException() argument 171 packageName, targetSdk), in assertIsNotException() 172 mList.isException(packageName, targetSdk, () -> activityInfo)); in assertIsNotException() 175 private void assertIsException(String packageName, int targetSdk) { in assertIsException() argument 176 assertIsException(packageName, targetSdk, null); in assertIsException() 180 int targetSdk, ApplicationInfo activityInfo) { in assertIsException() argument 182 packageName, targetSdk), in assertIsException() 183 mList.isException(packageName, targetSdk, () -> activityInfo)); in assertIsException()
|
/aosp14/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/ |
H A D | PlatformCompatCommandNotInstalledTest.kt | 76 Params(enableDisable = null, targetSdk = 29, result = false), 77 Params(enableDisable = null, targetSdk = 30, result = true), 79 Params(enableDisable = true, targetSdk = 29, result = false), 80 Params(enableDisable = true, targetSdk = 30, result = true), 82 Params(enableDisable = false, targetSdk = 29, result = false), 83 Params(enableDisable = false, targetSdk = 30, result = true) 87 data class Params(val enableDisable: Boolean?, val targetSdk: Int, val result: Boolean) 128 this.targetSdkVersion = params.targetSdk
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/library/ |
H A D | ApexSharedLibraryUpdater.java | 73 private static boolean isTargetSdkAtMost(int targetSdk, String onBcpBefore) { in isTargetSdkAtMost() argument 75 return targetSdk < 10000; in isTargetSdkAtMost() 77 return targetSdk < Integer.parseInt(onBcpBefore); in isTargetSdkAtMost()
|
/aosp14/frameworks/base/core/java/android/content/pm/permission/ |
H A D | SplitPermissionInfoParcelable.java | 89 @IntRange(from = 0) int targetSdk) { in SplitPermissionInfoParcelable() 96 this.mTargetSdk = targetSdk; in SplitPermissionInfoParcelable() 184 int targetSdk = in.readInt(); in SplitPermissionInfoParcelable() local 192 this.mTargetSdk = targetSdk; in SplitPermissionInfoParcelable()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | SplashScreenExceptionList.java | 83 public boolean isException(@NonNull String packageName, int targetSdk, in isException() argument 85 if (targetSdk > Build.VERSION_CODES.UPSIDE_DOWN_CAKE + 1) { in isException() 93 packageName, targetSdk, in isException()
|
H A D | StartingSurfaceController.java | 98 boolean isExceptionApp(@NonNull String packageName, int targetSdk, in isExceptionApp() argument 100 return mSplashScreenExceptionsList.isException(packageName, targetSdk, infoProvider); in isExceptionApp()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
H A D | ApplicationInfoBuilder.java | 35 ApplicationInfoBuilder withTargetSdk(int targetSdk) { in withTargetSdk() argument 36 mTargetSdk = targetSdk; in withTargetSdk()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationListenerServiceTest.java | 80 int targetSdk = 0; field in NotificationListenerServiceTest 84 targetSdk = mContext.getApplicationInfo().targetSdkVersion; in setUp() 89 mContext.getApplicationInfo().targetSdkVersion = targetSdk; in tearDown() 109 service.targetSdk = Build.VERSION_CODES.O_MR1; in testGetActiveNotifications_preP_mapsExtraPeople() 240 service.targetSdk = Build.VERSION_CODES.LOLLIPOP_MR1; in testLegacyIcons_preM() 262 service.targetSdk = Build.VERSION_CODES.M; in testLegacyIcons_mPlus() 508 public int targetSdk = 0; field in NotificationListenerServiceTest.TestListenerService 539 if (targetSdk != 0) { in getApplicationInfo() 540 info.targetSdkVersion = targetSdk; in getApplicationInfo()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
H A D | TargetSdkResolverTest.kt | 82 assertEquals(SDK_VERSION, entry.targetSdk) 95 assertEquals(SDK_VERSION, entry.targetSdk) 108 assertEquals(0, entry.targetSdk)
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerNative.java | 106 int targetSdk = mPm.snapshotComputer().getTargetSdkVersion(packageName); in getTargetSdkVersionForPackage() local 107 if (targetSdk != -1) { in getTargetSdkVersionForPackage() 108 return targetSdk; in getTargetSdkVersionForPackage()
|
/aosp14/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 82 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs() local 83 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN) { in hasEmbeddedTabs()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | EventLogTags.logtags | 125 … (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTarg… 126 … (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTarg… 127 … (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTarg… 128 … (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTarg…
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 655 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission() 667 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission() 686 if (targetSdk > SDK_DONUT) { in addImpliedFeaturesForPermission() 1073 int targetSdk = 0; in doDump() local 1510 targetSdk = code; in doDump() 1529 targetSdk = SDK_DONUT; in doDump() 1537 if (targetSdk < code) { in doDump() 1538 targetSdk = code; in doDump() 2140 if (targetSdk < SDK_DONUT) { in doDump() 2167 if (targetSdk < SDK_JELLY_BEAN) { in doDump() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerServiceMigrationTest.java | 302 private void prepareAdmin1AsPo(int profileUserId, int targetSdk) throws Exception { in prepareAdmin1AsPo() argument 304 R.raw.comp_policies_profile_same_package, COPE_ADMIN1_APP_ID, targetSdk); in prepareAdmin1AsPo() 314 int policyXmlResId, int adminAppId, int targetSdk) throws Exception { in preparePo() argument 318 /* enabledSetting =*/ null, targetSdk, admin1); in preparePo()
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/ |
H A D | build.gradle.kts | 38 targetSdk = 34
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | StrictMode.java | 517 if (targetSdk >= Build.VERSION_CODES.HONEYCOMB) { in detectAll() 520 if (targetSdk >= Build.VERSION_CODES.M) { in detectAll() 523 if (targetSdk >= Build.VERSION_CODES.O) { in detectAll() 871 if (targetSdk >= Build.VERSION_CODES.HONEYCOMB) { in detectAll() 875 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN) { in detectAll() 878 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in detectAll() 881 if (targetSdk >= Build.VERSION_CODES.M) { in detectAll() 888 if (targetSdk >= Build.VERSION_CODES.O) { in detectAll() 892 if (targetSdk >= Build.VERSION_CODES.Q) { in detectAll() 895 if (targetSdk >= Build.VERSION_CODES.R) { in detectAll() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/animation/ |
H A D | build.gradle | 17 targetSdk 33
|
/aosp14/frameworks/base/core/java/android/content/pm/parsing/ |
H A D | PackageLite.java | 116 int targetSdk, Set<String>[] requiredSplitTypes, Set<String>[] splitTypes) { in PackageLite() argument 146 mTargetSdk = targetSdk; in PackageLite()
|
H A D | FrameworkParsingPackageUtils.java | 228 @NonNull SigningDetails existingSigningDetails, int targetSdk) { in getSigningDetails() argument 230 targetSdk); in getSigningDetails()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | TargetSdkResolver.kt | 38 entry.targetSdk = resolveNotificationSdk(sbn)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
H A D | NotificationRowBinderImpl.java | 197 row.setLegacy(entry.targetSdk >= Build.VERSION_CODES.GINGERBREAD in updateRow() 198 && entry.targetSdk < Build.VERSION_CODES.LOLLIPOP); in updateRow()
|
/aosp14/frameworks/base/core/java/com/android/internal/accessibility/util/ |
H A D | AccessibilityUtils.java | 172 final int targetSdk = accessibilityServiceInfo.getResolveInfo() in getAccessibilityServiceFragmentType() local 177 if (targetSdk <= Build.VERSION_CODES.Q) { in getAccessibilityServiceFragmentType()
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenLog.java | 131 public static void traceSetNotificationPolicy(String pkg, int targetSdk, in traceSetNotificationPolicy() argument 133 String policyLog = "pkg=" + pkg + " targetSdk=" + targetSdk in traceSetNotificationPolicy()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/ |
H A D | ParseInputAndResultTest.kt | 65 override fun isChangeEnabled(changeId: Long, pkgName: String, targetSdk: Int): Boolean { 67 ENABLED_ERROR -> targetSdk > Build.VERSION_CODES.Q
|
/aosp14/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
H A D | AccessibilityTargetHelper.java | 169 final int targetSdk = in getAccessibilityServiceTargets() local 173 if ((targetSdk <= Build.VERSION_CODES.Q) && !hasRequestAccessibilityButtonFlag in getAccessibilityServiceTargets()
|