/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 70 int targetSdk = 0; field in NotificationListenerServiceTest 74 targetSdk = mContext.getApplicationInfo().targetSdkVersion; in setUp() 79 mContext.getApplicationInfo().targetSdkVersion = targetSdk; in tearDown() 194 service.targetSdk = Build.VERSION_CODES.LOLLIPOP_MR1; in testLegacyIcons_preM() 216 service.targetSdk = Build.VERSION_CODES.M; in testLegacyIcons_mPlus() 415 public int targetSdk = 0; field in NotificationListenerServiceTest.TestListenerService 446 if (targetSdk != 0) { in getApplicationInfo() 447 info.targetSdkVersion = targetSdk; in getApplicationInfo()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 302 int targetSdk = android_get_application_target_sdk_version(); in disableLegacyBufferDropPostQ() local 306 targetSdk < __ANDROID_API_Q__ || in disableLegacyBufferDropPostQ() 307 targetSdk == __ANDROID_API_FUTURE__; in disableLegacyBufferDropPostQ() 312 targetSdk); in disableLegacyBufferDropPostQ()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 82 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion; in hasEmbeddedTabs() local 83 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN) { in hasEmbeddedTabs()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionManager.java | 184 int targetSdk) { in SplitPermissionInfo() argument 187 mTargetSdk = targetSdk; in SplitPermissionInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationRowBinderImpl.java | 227 entry.targetSdk = info.targetSdkVersion; in updateNotification() 231 row.setLegacy(entry.targetSdk >= Build.VERSION_CODES.GINGERBREAD in updateNotification() 232 && entry.targetSdk < Build.VERSION_CODES.LOLLIPOP); in updateNotification() 235 entry.setIconTag(R.id.icon_is_pre_L, entry.targetSdk < Build.VERSION_CODES.LOLLIPOP); in updateNotification()
|
D | NotificationEntry.java | 101 public int targetSdk; field in NotificationEntry
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 647 static void addImpliedFeaturesForPermission(const int targetSdk, const String8& name, in addImpliedFeaturesForPermission() argument 655 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission() 667 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission() 686 if (targetSdk > SDK_DONUT) { in addImpliedFeaturesForPermission() 1070 int targetSdk = 0; in doDump() local 1436 if (name == "Donut") targetSdk = 4; in doDump() 1440 targetSdk = code; in doDump() 1458 if (name == "Donut" && targetSdk < 4) targetSdk = 4; in doDump() 1462 if (targetSdk < code) { in doDump() 1463 targetSdk = code; in doDump() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | SessionParamsBuilder.java | 121 public SessionParamsBuilder setTargetSdk(int targetSdk) { in setTargetSdk() argument 122 mTargetSdk = targetSdk; in setTargetSdk()
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 492 final int targetSdk = VMRuntime.getRuntime().getTargetSdkVersion(); in detectAll() local 493 if (targetSdk >= Build.VERSION_CODES.HONEYCOMB) { in detectAll() 496 if (targetSdk >= Build.VERSION_CODES.M) { in detectAll() 499 if (targetSdk >= Build.VERSION_CODES.O) { in detectAll() 849 final int targetSdk = VMRuntime.getRuntime().getTargetSdkVersion(); in detectAll() local 850 if (targetSdk >= Build.VERSION_CODES.HONEYCOMB) { in detectAll() 854 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN) { in detectAll() 857 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in detectAll() 860 if (targetSdk >= Build.VERSION_CODES.M) { in detectAll() 867 if (targetSdk >= Build.VERSION_CODES.O) { in detectAll() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 123 public static void traceSetNotificationPolicy(String pkg, int targetSdk, in traceSetNotificationPolicy() argument 125 append(TYPE_SET_NOTIFICATION_POLICY, "pkg=" + pkg + " targetSdk=" + targetSdk in traceSetNotificationPolicy()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 359 int targetSdk) { in doTestFocusedWindowMultipleDisplays() argument 365 window1.mAppToken.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays() 378 window2.mAppToken.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays() 381 assertEquals(perDisplayFocusEnabled && targetSdk >= Q, window1.isFocused()); in doTestFocusedWindowMultipleDisplays() 388 assertEquals(perDisplayFocusEnabled && targetSdk >= Q, window2.isFocused()); in doTestFocusedWindowMultipleDisplays()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 1402 int targetSdk; in getTargetSdkVersion() local 1404 targetSdk = context.getPackageManager().getApplicationInfo( in getTargetSdkVersion() 1408 targetSdk = -1; in getTargetSdkVersion() 1410 return targetSdk; in getTargetSdkVersion()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 115 if (mRow.getEntry().targetSdk >= Build.VERSION_CODES.Q) { in needsInversion()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartReplies.java | 187 || entry.targetSdk >= Build.VERSION_CODES.P); in chooseSmartRepliesAndActions()
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 1126 int targetSdk = Build.VERSION_CODES.CUR_DEVELOPMENT + 1; in readSplitPermission() local 1129 targetSdk = Integer.parseInt(targetSdkStr); in readSplitPermission() 1154 mSplitPermissions.add(new SplitPermissionInfo(splitPerm, newPermissions, targetSdk)); in readSplitPermission()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Session.java | 858 final int targetSdk = mService.getTargedSdkLocked(); in onFillRequestFailureOrTimeout() local 859 if (targetSdk >= Build.VERSION_CODES.Q) { in onFillRequestFailureOrTimeout() 862 + "' because service's targetting API " + targetSdk); in onFillRequestFailureOrTimeout() 917 final int targetSdk = mService.getTargedSdkLocked(); in onSaveRequestFailure() local 918 if (targetSdk >= Build.VERSION_CODES.Q) { in onSaveRequestFailure() 921 + "' because service's targetting API " + targetSdk); in onSaveRequestFailure()
|
/frameworks/base/tools/aapt2/dump/ |
D | DumpManifest.cpp | 917 void addImpliedFeaturesForPermission(int32_t targetSdk, const std::string& name, bool sdk23) { in addImpliedFeaturesForPermission() argument 924 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission() 937 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission() 958 if (targetSdk > SDK_DONUT) { in addImpliedFeaturesForPermission()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 2444 final int targetSdk = context.getApplicationInfo().targetSdkVersion; in generateLayout() local 2445 final boolean targetPreHoneycomb = targetSdk < android.os.Build.VERSION_CODES.HONEYCOMB; in generateLayout() 2446 final boolean targetPreIcs = targetSdk < android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH; in generateLayout() 2447 final boolean targetPreL = targetSdk < android.os.Build.VERSION_CODES.LOLLIPOP; in generateLayout() 2448 final boolean targetPreQ = targetSdk < Build.VERSION_CODES.Q; in generateLayout()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWindowToken.java | 341 int targetSdk, int orientation, int rotationAnimationHint, in AppWindowToken() argument 350 mTargetSdk = targetSdk; in AppWindowToken()
|
D | ActivityRecord.java | 1174 boolean fullscreen, boolean showForAllUsers, int targetSdk, int orientation, in createAppWindow() argument 1178 inputDispatchingTimeoutNanos, fullscreen, showForAllUsers, targetSdk, orientation, in createAppWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 667 boolean beforeN = mEntry.targetSdk < Build.VERSION_CODES.N; in updateLimitsForView() 668 boolean beforeP = mEntry.targetSdk < Build.VERSION_CODES.P; in updateLimitsForView()
|
D | NotificationContentView.java | 1192 mBeforeN = entry.targetSdk < Build.VERSION_CODES.N; in onNotificationUpdated()
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 4995 final int targetSdk = getApplicationInfo().targetSdkVersion; in onApplyThemeResource() local 4996 final boolean targetPreQ = targetSdk < Build.VERSION_CODES.Q; in onApplyThemeResource()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 6025 int targetSdk, List<String> scopes) { in shouldCheckIfDelegatePackageIsInstalled() argument 6027 if (targetSdk >= Build.VERSION_CODES.N) { in shouldCheckIfDelegatePackageIsInstalled()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 10534 @NonNull String packageName, boolean required, int targetSdk, 10575 final String[] libCertDigests = (targetSdk >= Build.VERSION_CODES.O_MR1)
|