Home
last modified time | relevance | path

Searched refs:targetSdk (Results 1 – 16 of 16) sorted by relevance

/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DDynamicUtilWriter.kt4 public fun write(targetSdk : kotlin.Int) : KCode = kcode("package android.databinding;") { in <lambda>()
12 if (targetSdk >= 23) { in <lambda>()
22 if (targetSdk >= 23) { in <lambda>()
32 if (targetSdk >= 21) { in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowTestUtils.java105 boolean fullscreen, boolean showForAllUsers, int targetSdk, int orientation, in TestAppWindowToken() argument
110 showForAllUsers, targetSdk, orientation, rotationAnimationHint, configChanges, in TestAppWindowToken()
271 boolean fullscreen, boolean showForAllUsers, int targetSdk, int orientation, in createAppWindow() argument
276 inputDispatchingTimeoutNanos, fullscreen, showForAllUsers, targetSdk, in createAppWindow()
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java74 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs() local
75 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN) { in hasEmbeddedTabs()
/frameworks/base/tools/aapt/
DCommand.cpp663 static void addImpliedFeaturesForPermission(const int targetSdk, const String8& name, in addImpliedFeaturesForPermission() argument
671 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission()
683 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission()
702 if (targetSdk > SDK_DONUT) { in addImpliedFeaturesForPermission()
1086 int targetSdk = 0; in doDump() local
1424 if (name == "Donut") targetSdk = 4; in doDump()
1428 targetSdk = code; in doDump()
1446 if (name == "Donut" && targetSdk < 4) targetSdk = 4; in doDump()
1450 if (targetSdk < code) { in doDump()
1451 targetSdk = code; in doDump()
[all …]
/frameworks/base/core/java/android/os/
DStrictMode.java443 final int targetSdk = VMRuntime.getRuntime().getTargetSdkVersion(); in detectAll() local
444 if (targetSdk >= Build.VERSION_CODES.HONEYCOMB) { in detectAll()
447 if (targetSdk >= Build.VERSION_CODES.M) { in detectAll()
450 if (targetSdk >= Build.VERSION_CODES.O) { in detectAll()
754 final int targetSdk = VMRuntime.getRuntime().getTargetSdkVersion(); in detectAll() local
755 if (targetSdk >= Build.VERSION_CODES.HONEYCOMB) { in detectAll()
759 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN) { in detectAll()
762 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in detectAll()
765 if (targetSdk >= Build.VERSION_CODES.M) { in detectAll()
772 if (targetSdk >= Build.VERSION_CODES.O) { in detectAll()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java533 @SuppressWarnings("SameParameterValue") int targetSdk) { in getSessionParams() argument
542 targetSdk, getLayoutLog()); in getSessionParams()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowContainerController.java228 boolean fullscreen, boolean showForAllUsers, int targetSdk, int orientation, in createAppWindow() argument
233 inputDispatchingTimeoutNanos, fullscreen, showForAllUsers, targetSdk, orientation, in createAppWindow()
DAppWindowToken.java202 boolean showForAllUsers, int targetSdk, int orientation, int rotationAnimationHint, in AppWindowToken() argument
209 mTargetSdk = targetSdk; in AppWindowToken()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java80 public int targetSdk; field in NotificationData.Entry
DNotificationContentView.java1085 mBeforeN = entry.targetSdk < Build.VERSION_CODES.N; in onNotificationUpdated()
DExpandableNotificationRow.java430 boolean beforeN = mEntry.targetSdk < Build.VERSION_CODES.N; in updateLimitsForView()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java2417 final int targetSdk = context.getApplicationInfo().targetSdkVersion; in generateLayout() local
2418 final boolean targetPreHoneycomb = targetSdk < android.os.Build.VERSION_CODES.HONEYCOMB; in generateLayout()
2419 final boolean targetPreIcs = targetSdk < android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH; in generateLayout()
2420 final boolean targetPreL = targetSdk < android.os.Build.VERSION_CODES.LOLLIPOP; in generateLayout()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java269 public final int targetSdk; field in PackageParser.SplitPermissionInfo
271 public SplitPermissionInfo(String rootPerm, String[] newPerms, int targetSdk) { in SplitPermissionInfo() argument
274 this.targetSdk = targetSdk; in SplitPermissionInfo()
2590 if (pkg.applicationInfo.targetSdkVersion >= spi.targetSdk in parseBaseApkCommon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java6906 entry.targetSdk = info.targetSdkVersion;
6910 row.setLegacy(entry.targetSdk >= Build.VERSION_CODES.GINGERBREAD
6911 && entry.targetSdk < Build.VERSION_CODES.LOLLIPOP);
6912 entry.setIconTag(R.id.icon_is_pre_L, entry.targetSdk < Build.VERSION_CODES.LOLLIPOP);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4288 final int targetSdk = getTargetSdk(admin.info.getPackageName(), userHandle); in resetPassword() local
4289 if (targetSdk >= Build.VERSION_CODES.O) { in resetPassword()
4293 preN = targetSdk <= android.os.Build.VERSION_CODES.M; in resetPassword()
4988 int targetSdk, List<String> scopes) { in shouldCheckIfDelegatePackageIsInstalled() argument
4990 if (targetSdk >= Build.VERSION_CODES.N) { in shouldCheckIfDelegatePackageIsInstalled()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java10583 boolean required, int targetSdk, @Nullable ArraySet<String> outUsedLibraries) in addSharedLibrariesLPw() argument
10619 final String[] libCertDigests = (targetSdk > Build.VERSION_CODES.O) in addSharedLibrariesLPw()