/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AndroidHidlUpdaterTest.java | 43 .targetSdkVersion(Build.VERSION_CODES.P); in targeted_at_P() 52 .targetSdkVersion(Build.VERSION_CODES.P); in targeted_at_P_system() 56 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_system() 65 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_not_empty_usesLibraries() 75 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_not_empty_usesLibraries_system() 81 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_not_empty_usesLibraries_system() 90 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_in_usesLibraries() 94 .targetSdkVersion(Build.VERSION_CODES.P); in targeted_at_P_in_usesLibraries() 103 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_in_usesLibraries_system()
|
D | AndroidTestBaseUpdaterTest.java | 42 .targetSdkVersion(Build.VERSION_CODES.P); in targeted_at_P() 46 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P() 55 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_not_empty_usesLibraries() 61 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_not_empty_usesLibraries() 70 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_in_usesLibraries() 81 .targetSdkVersion(Build.VERSION_CODES.P) in targeted_at_P_in_usesOptionalLibraries()
|
D | OrgApacheHttpLegacyUpdaterTest.java | 42 .targetSdkVersion(Build.VERSION_CODES.O); in targeted_at_O() 46 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O() 55 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_not_empty_usesLibraries() 61 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_not_empty_usesLibraries() 70 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_in_usesLibraries() 81 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_in_usesOptionalLibraries()
|
D | RemoveUnnecessaryAndroidTestBaseLibraryTest.java | 44 .targetSdkVersion(Build.VERSION_CODES.O); in targeted_at_O() 53 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_not_empty_usesLibraries() 63 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_in_usesLibraries() 69 .targetSdkVersion(Build.VERSION_CODES.O); in targeted_at_O_in_usesLibraries() 77 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_in_usesOptionalLibraries() 83 .targetSdkVersion(Build.VERSION_CODES.O); in targeted_at_O_in_usesOptionalLibraries()
|
D | RemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java | 44 .targetSdkVersion(Build.VERSION_CODES.O); in targeted_at_O() 53 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_not_empty_usesLibraries() 63 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_in_usesLibraries() 69 .targetSdkVersion(Build.VERSION_CODES.O); in targeted_at_O_in_usesLibraries() 77 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O_in_usesOptionalLibraries() 83 .targetSdkVersion(Build.VERSION_CODES.O); in targeted_at_O_in_usesOptionalLibraries()
|
D | PackageBuilder.java | 46 pkg.applicationInfo.targetSdkVersion = mTargetSdkVersion; in build() 53 PackageBuilder targetSdkVersion(int version) { in targetSdkVersion() method in PackageBuilder 86 pkg.applicationInfo.targetSdkVersion); in check()
|
D | PackageBackwardCompatibilityTest.java | 72 .targetSdkVersion(Build.VERSION_CODES.O); in targeted_at_O() 81 .targetSdkVersion(Build.VERSION_CODES.O) in targeted_at_O()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WrapperInit.java | 67 int targetSdkVersion = Integer.parseInt(args[1], 10); in main() local 91 Runnable r = wrapperInit(targetSdkVersion, runtimeArgs); in main() 107 int targetSdkVersion, String instructionSet, FileDescriptor pipeFd, in execApplication() argument 135 command.append(targetSdkVersion); in execApplication() 152 private static Runnable wrapperInit(int targetSdkVersion, String[] argv) { in wrapperInit() argument 161 classLoader = ZygoteInit.createPathClassLoader(argv[1], targetSdkVersion); in wrapperInit() 173 return RuntimeInit.applicationInit(targetSdkVersion, /*disabledCompatChanges*/ null, in wrapperInit()
|
D | ClassLoaderFactory.java | 102 int targetSdkVersion, boolean isNamespaceShared, String classLoaderName) { in createClassLoader() argument 104 parent, targetSdkVersion, isNamespaceShared, classLoaderName, null); in createClassLoader() 113 int targetSdkVersion, boolean isNamespaceShared, String classLoaderName, in createClassLoader() argument 124 targetSdkVersion, in createClassLoader() 142 int targetSdkVersion, in createClassloaderNamespace() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 46 ClassLoader getClassLoader(String zip, int targetSdkVersion, boolean isBundled, in getClassLoader() argument 49 return getClassLoaderWithSharedLibraries(zip, targetSdkVersion, isBundled, in getClassLoader() 55 String zip, int targetSdkVersion, boolean isBundled, in getClassLoaderWithSharedLibraries() argument 60 return getClassLoader(zip, targetSdkVersion, isBundled, librarySearchPath, in getClassLoaderWithSharedLibraries() 71 ClassLoader getSharedLibraryClassLoaderWithSharedLibraries(String zip, int targetSdkVersion, in getSharedLibraryClassLoaderWithSharedLibraries() argument 80 return getClassLoaderWithSharedLibraries(zip, targetSdkVersion, isBundled, in getSharedLibraryClassLoaderWithSharedLibraries() 84 private ClassLoader getClassLoader(String zip, int targetSdkVersion, boolean isBundled, in getClassLoader() argument 116 targetSdkVersion, isBundled, classLoaderName, sharedLibraries); in getClassLoader()
|
/frameworks/base/core/java/android/content/pm/ |
D | OrgApacheHttpLegacyUpdater.java | 35 int targetSdkVersion = pkg.applicationInfo.targetSdkVersion; in apkTargetsApiLevelLessThanOrEqualToOMR1() local 36 return targetSdkVersion < Build.VERSION_CODES.P; in apkTargetsApiLevelLessThanOrEqualToOMR1()
|
D | AndroidTestBaseUpdater.java | 42 int targetSdkVersion = pkg.applicationInfo.targetSdkVersion; in apkTargetsApiLevelLessThanOrEqualToP() local 43 return targetSdkVersion <= Build.VERSION_CODES.P; in apkTargetsApiLevelLessThanOrEqualToP()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 177 int targetSdkVersion = -1; in getMaxTargetSdkVersionForUid() local 182 targetSdkVersion = Math.max(targetSdkVersion, info.targetSdkVersion); in getMaxTargetSdkVersionForUid() 188 return targetSdkVersion; in getMaxTargetSdkVersionForUid()
|
D | InstallStart.java | 80 final int targetSdkVersion = getMaxTargetSdkVersionForUid(this, originatingUid); in onCreate() local 81 if (targetSdkVersion < 0) { in onCreate() 85 } else if (targetSdkVersion >= Build.VERSION_CODES.O && !declaresAppOpPermission( in onCreate()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestUtils.java | 85 info.targetSdkVersion = Build.VERSION_CODES.CUR_DEVELOPMENT; in makeApplicationInfo() 90 public static ApplicationInfo makeApplicationInfo(int targetSdkVersion) { in makeApplicationInfo() argument 92 info.targetSdkVersion = targetSdkVersion; in makeApplicationInfo()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_ClassLoaderFactory.cpp | 27 jint targetSdkVersion, in createClassloaderNamespace_native() argument 33 return android::CreateClassLoaderNamespace(env, targetSdkVersion, in createClassloaderNamespace_native()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | CompatConfig.java | 314 int targetSdkVersion) in getAllowedChangesAfterTargetSdkForPackage() argument 321 if (change.getEnableAfterTargetSdk() != targetSdkVersion) { in getAllowedChangesAfterTargetSdkForPackage() 345 int enableTargetSdkChangesForPackage(String packageName, int targetSdkVersion) in enableTargetSdkChangesForPackage() argument 347 long[] changes = getAllowedChangesAfterTargetSdkForPackage(packageName, targetSdkVersion); in enableTargetSdkChangesForPackage() 361 int disableTargetSdkChangesForPackage(String packageName, int targetSdkVersion) in disableTargetSdkChangesForPackage() argument 363 long[] changes = getAllowedChangesAfterTargetSdkForPackage(packageName, targetSdkVersion); in disableTargetSdkChangesForPackage()
|
D | PlatformCompat.java | 174 public int enableTargetSdkChanges(String packageName, int targetSdkVersion) in enableTargetSdkChanges() argument 178 targetSdkVersion); in enableTargetSdkChanges() 184 public int disableTargetSdkChanges(String packageName, int targetSdkVersion) in disableTargetSdkChanges() argument 188 targetSdkVersion); in disableTargetSdkChanges()
|
D | OverrideValidatorImpl.java | 78 int appTargetSdk = applicationInfo.targetSdkVersion; in getOverrideAllowedState() 92 if (disabled || applicationInfo.targetSdkVersion < minTargetSdk) { in getOverrideAllowedState()
|
/frameworks/base/core/java/com/android/internal/compat/ |
D | IPlatformCompat.aidl | 176 int enableTargetSdkChanges(in String packageName, int targetSdkVersion); in enableTargetSdkChanges() argument 188 int disableTargetSdkChanges(in String packageName, int targetSdkVersion); in disableTargetSdkChanges() argument
|
/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer_test.cpp | 122 <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="21" /> in TEST_F() 137 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion"); in TEST_F() 144 <uses-sdk android:targetSdkVersion="21" /> in TEST_F() 156 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion"); in TEST_F() 175 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion"); in TEST_F() 192 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion"); in TEST_F()
|
/frameworks/base/core/java/android/view/ |
D | ScaleGestureDetector.java | 207 final int targetSdkVersion = context.getApplicationInfo().targetSdkVersion; in ScaleGestureDetector() local 208 if (targetSdkVersion > Build.VERSION_CODES.JELLY_BEAN_MR2) { in ScaleGestureDetector() 212 if (targetSdkVersion > Build.VERSION_CODES.LOLLIPOP_MR1) { in ScaleGestureDetector()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedUserSetting.java | 101 seInfoTargetSdkVersion = packageSetting.pkg.applicationInfo.targetSdkVersion; in addPackage() 140 if (pkg.applicationInfo.targetSdkVersion < seInfoTargetSdkVersion) { in fixSeInfoLocked() 141 seInfoTargetSdkVersion = pkg.applicationInfo.targetSdkVersion; in fixSeInfoLocked()
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 584 int targetSdkVersion, in start() argument 596 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in start() 607 int targetSdkVersion, in startWebView() argument 617 runtimeFlags, mountExternal, targetSdkVersion, seInfo, in startWebView()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 82 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs() 114 return mContext.getApplicationInfo().targetSdkVersion < in enableHomeButtonByDefault()
|