Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java70 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/
DSurfaceUtils.cpp302 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/
DActionBarPolicy.java82 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/
DPermissionManager.java184 int targetSdk) { in SplitPermissionInfo() argument
187 mTargetSdk = targetSdk; in SplitPermissionInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRowBinderImpl.java227 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()
DNotificationEntry.java101 public int targetSdk; field in NotificationEntry
/frameworks/base/tools/aapt/
DCommand.cpp647 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/
DSessionParamsBuilder.java121 public SessionParamsBuilder setTargetSdk(int targetSdk) { in setTargetSdk() argument
122 mTargetSdk = targetSdk; in setTargetSdk()
/frameworks/base/core/java/android/os/
DStrictMode.java492 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/
DZenLog.java123 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/
DDisplayContentTests.java359 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/
DSmsManager.java1402 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/
DNotificationViewWrapper.java115 if (mRow.getEntry().targetSdk >= Build.VERSION_CODES.Q) { in needsInversion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DInflatedSmartReplies.java187 || entry.targetSdk >= Build.VERSION_CODES.P); in chooseSmartRepliesAndActions()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java1126 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/
DSession.java858 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/
DDumpManifest.cpp917 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/
DPhoneWindow.java2444 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/
DAppWindowToken.java341 int targetSdk, int orientation, int rotationAnimationHint, in AppWindowToken() argument
350 mTargetSdk = targetSdk; in AppWindowToken()
DActivityRecord.java1174 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/
DExpandableNotificationRow.java667 boolean beforeN = mEntry.targetSdk < Build.VERSION_CODES.N; in updateLimitsForView()
668 boolean beforeP = mEntry.targetSdk < Build.VERSION_CODES.P; in updateLimitsForView()
DNotificationContentView.java1192 mBeforeN = entry.targetSdk < Build.VERSION_CODES.N; in onNotificationUpdated()
/frameworks/base/core/java/android/app/
DActivity.java4995 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/
DDevicePolicyManagerService.java6025 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/
DPackageManagerService.java10534 @NonNull String packageName, boolean required, int targetSdk,
10575 final String[] libCertDigests = (targetSdk >= Build.VERSION_CODES.O_MR1)

12