Home
last modified time | relevance | path

Searched refs:getTargetSdkVersion (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/library/
DPackageSharedLibraryUpdaterTest.java41 after.getTargetSdkVersion(), in check()
42 before.getTargetSdkVersion()); in check()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java78 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()
DBitmapTest.java98 params.getTargetSdkVersion(), params.isRtlSupported()); in testImageDecoder()
/frameworks/base/graphics/java/android/graphics/
DCompatibility.java44 public static int getTargetSdkVersion() { in getTargetSdkVersion() method in Compatibility
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/
DOrgApacheHttpLegacyUpdater.java36 return pkg.getTargetSdkVersion() < Build.VERSION_CODES.P; in apkTargetsApiLevelLessThanOrEqualToOMR1()
DAndroidHidlUpdater.java41 boolean isLegacy = parsedPackage.getTargetSdkVersion() <= Build.VERSION_CODES.P; in updatePackage()
DApexSharedLibraryUpdater.java58 parsedPackage.getTargetSdkVersion(), in updateSharedLibraryForPackage()
DAndroidTestBaseUpdater.java74 return pkg.getTargetSdkVersion() > Build.VERSION_CODES.Q; in isChangeEnabled()
/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java208 seInfoTargetSdkVersion = packageSetting.getPkg().getTargetSdkVersion();
276 if (ps.getPkg().getTargetSdkVersion() < seInfoTargetSdkVersion) {
277 seInfoTargetSdkVersion = ps.getPkg().getTargetSdkVersion();
DSharedLibrariesImpl.java928 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(),
DSELinuxMMAC.java370 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()
DPackageManagerNative.java111 int targetSdk = mPm.snapshotComputer().getTargetSdkVersion(packageName); in getTargetSdkVersionForPackage()
DScanPackageUtils.java230 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/
DPendingTransactionActions.java147 if (mActivity.packageInfo.getTargetSdkVersion() < Build.VERSION_CODES.N) { in run()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageState.java466 int getTargetSdkVersion(); in getTargetSdkVersion() method
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationUtils.java111 appInfo.targetSdkVersion = pkg.getTargetSdkVersion(); in buildMockAppInfo()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java606 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/
DOverlayScanner.java206 apkLite.getTargetSdkVersion(), apkLite.isOverlayIsStatic(), in parseOverlayManifest()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedMainComponentUtils.java74 if (pkg.getTargetSdkVersion() >= Build.VERSION_CODES.FROYO) { in parseMainComponent()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java558 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/
DArchivedPackageInfo.java189 public int getTargetSdkVersion() { in getTargetSdkVersion() method in ArchivedPackageInfo
/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java444 if (VMRuntime.getRuntime().getTargetSdkVersion() > Build.VERSION_CODES.N_MR1) { in setKeywords()
/frameworks/base/services/core/java/com/android/server/om/
DIdmapManager.java182 if (overlayPackage.getTargetSdkVersion() >= VERSION_CODES.Q) { in enforceOverlayable()
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigIterationRule.java190 when(a.getTargetSdkVersion()).thenReturn(info.targetSdkVersion); in apply()
/frameworks/base/core/java/android/content/pm/parsing/
DApkLiteParseUtils.java132 null /* splitRevisionCodes */, baseApk.getTargetSdkVersion(), in parseMonolithicPackageLite()
158 null /* splitRevisionCodes */, baseApk.getTargetSdkVersion(), in parseMonolithicPackageLite()
309 baseApk.getTargetSdkVersion(), requiredSplitTypes, splitTypes)); in composePackageLiteFromApks()

1234