/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/library/ |
D | PackageSharedLibraryUpdaterTest.java | 41 after.getTargetSdkVersion(), in check() 42 before.getTargetSdkVersion()); in check()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeContextTest.java | 78 params.getTargetSdkVersion(), params.isRtlSupported()); in basic() 125 params.getTargetSdkVersion(), params.isRtlSupported()); in checkNoErrorWhenUsingDefaults() 158 params.getTargetSdkVersion(), params.isRtlSupported()); in noExceptionForCustomService() 179 params.getTargetSdkVersion(), params.isRtlSupported()); in dynamicTheming() 210 params.getTargetSdkVersion(), params.isRtlSupported()); in noCrashInPowerManager() 239 params.getTargetSdkVersion(), params.isRtlSupported()); in testTypedValue() 293 params.getTargetSdkVersion(), params.isRtlSupported()); in testWindowMetrics()
|
D | BitmapTest.java | 98 params.getTargetSdkVersion(), params.isRtlSupported()); in testImageDecoder()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Compatibility.java | 44 public static int getTargetSdkVersion() { in getTargetSdkVersion() method in Compatibility
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/ |
D | OrgApacheHttpLegacyUpdater.java | 36 return pkg.getTargetSdkVersion() < Build.VERSION_CODES.P; in apkTargetsApiLevelLessThanOrEqualToOMR1()
|
D | AndroidHidlUpdater.java | 41 boolean isLegacy = parsedPackage.getTargetSdkVersion() <= Build.VERSION_CODES.P; in updatePackage()
|
D | ApexSharedLibraryUpdater.java | 58 parsedPackage.getTargetSdkVersion(), in updateSharedLibraryForPackage()
|
D | AndroidTestBaseUpdater.java | 74 return pkg.getTargetSdkVersion() > Build.VERSION_CODES.Q; in isChangeEnabled()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedUserSetting.java | 208 seInfoTargetSdkVersion = packageSetting.getPkg().getTargetSdkVersion(); 276 if (ps.getPkg().getTargetSdkVersion() < seInfoTargetSdkVersion) { 277 seInfoTargetSdkVersion = ps.getPkg().getTargetSdkVersion();
|
D | SharedLibrariesImpl.java | 928 pkg.getPackageName(), "shared", true, pkg.getTargetSdkVersion(), null, 935 pkg.getTargetSdkVersion(), usesLibraryInfos, availablePackages, newLibraries); 939 null, pkg.getPackageName(), "shared", false, pkg.getTargetSdkVersion(), 943 pkg.getPackageName(), pkg.getTargetSdkVersion())) { 947 pkg.getTargetSdkVersion(), usesLibraryInfos, availablePackages, 953 pkg.getTargetSdkVersion(), usesLibraryInfos, availablePackages, 963 pkg.getPackageName(), LIBRARY_TYPE_SDK, required, pkg.getTargetSdkVersion(),
|
D | SELinuxMMAC.java | 370 android.os.Build.VERSION_CODES.CUR_DEVELOPMENT, pkg.getTargetSdkVersion()); in getTargetSdkVersionForSeInfo() 372 return Math.max(android.os.Build.VERSION_CODES.R, pkg.getTargetSdkVersion()); in getTargetSdkVersionForSeInfo() 375 return pkg.getTargetSdkVersion(); in getTargetSdkVersionForSeInfo()
|
D | PackageManagerNative.java | 111 int targetSdk = mPm.snapshotComputer().getTargetSdkVersion(packageName); in getTargetSdkVersionForPackage()
|
D | ScanPackageUtils.java | 230 parsedPackage.getTargetSdkVersion(), parsedPackage.getRestrictUpdateHash()); in scanPackageOnlyLI() 258 parsedPackage.getTargetSdkVersion(), parsedPackage.getRestrictUpdateHash(), in scanPackageOnlyLI() 604 if (pkg.getTargetSdkVersion() < Build.VERSION_CODES.O) { in assertStaticSharedLibraryIsValid() 744 pkg.getTargetSdkVersion()); in assertMinSignatureSchemeIsValid()
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | PendingTransactionActions.java | 147 if (mActivity.packageInfo.getTargetSdkVersion() < Build.VERSION_CODES.N) { in run()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | PackageState.java | 466 int getTargetSdkVersion(); in getTargetSdkVersion() method
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationUtils.java | 111 appInfo.targetSdkVersion = pkg.getTargetSdkVersion(); in buildMockAppInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 606 return pkg.getTargetSdkVersion(); in getPermissionInfoCallingTargetSdkVersion() 1433 if (pkg.getTargetSdkVersion() < Build.VERSION_CODES.M && bp.isRuntime()) { in grantRuntimePermissionInternal() 1476 if (pkg.getTargetSdkVersion() < Build.VERSION_CODES.M) { in grantRuntimePermissionInternal() 1620 if (pkg.getTargetSdkVersion() < Build.VERSION_CODES.M && bp.isRuntime()) { in revokeRuntimePermissionInternal() 2073 boolean downgradedSdk = oldPackage.getTargetSdkVersion() >= Build.VERSION_CODES.Q in revokeStoragePermissionsIfScopeExpandedInternal() 2074 && newPackage.getTargetSdkVersion() < Build.VERSION_CODES.Q; in revokeStoragePermissionsIfScopeExpandedInternal() 2075 boolean upgradedSdk = oldPackage.getTargetSdkVersion() < Build.VERSION_CODES.Q in revokeStoragePermissionsIfScopeExpandedInternal() 2076 && newPackage.getTargetSdkVersion() >= Build.VERSION_CODES.Q; in revokeStoragePermissionsIfScopeExpandedInternal() 2134 if (oldPackage.getTargetSdkVersion() >= Build.VERSION_CODES.M 2135 || newPackage.getTargetSdkVersion() < Build.VERSION_CODES.M [all …]
|
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayScanner.java | 206 apkLite.getTargetSdkVersion(), apkLite.isOverlayIsStatic(), in parseOverlayManifest()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedMainComponentUtils.java | 74 if (pkg.getTargetSdkVersion() >= Build.VERSION_CODES.FROYO) { in parseMainComponent()
|
/frameworks/base/core/java/android/telephony/ |
D | PhoneStateListener.java | 558 if (subId != null && VMRuntime.getRuntime().getTargetSdkVersion() in PhoneStateListener() 572 if (subId != null && VMRuntime.getRuntime().getTargetSdkVersion() in PhoneStateListener() 1390 && VMRuntime.getRuntime().getTargetSdkVersion() < Build.VERSION_CODES.R) { in onDataConnectionStateChanged()
|
/frameworks/base/core/java/android/content/pm/ |
D | ArchivedPackageInfo.java | 189 public int getTargetSdkVersion() { in getTargetSdkVersion() method in ArchivedPackageInfo
|
/frameworks/base/media/java/android/mtp/ |
D | MtpObjectInfo.java | 444 if (VMRuntime.getRuntime().getTargetSdkVersion() > Build.VERSION_CODES.N_MR1) { in setKeywords()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapManager.java | 182 if (overlayPackage.getTargetSdkVersion() >= VERSION_CODES.Q) { in enforceOverlayable()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/ |
D | OverlayConfigIterationRule.java | 190 when(a.getTargetSdkVersion()).thenReturn(info.targetSdkVersion); in apply()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ApkLiteParseUtils.java | 132 null /* splitRevisionCodes */, baseApk.getTargetSdkVersion(), in parseMonolithicPackageLite() 158 null /* splitRevisionCodes */, baseApk.getTargetSdkVersion(), in parseMonolithicPackageLite() 309 baseApk.getTargetSdkVersion(), requiredSplitTypes, splitTypes)); in composePackageLiteFromApks()
|