/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/ |
D | PlatformCompatCommandNotInstalledTest.kt | 76 Params(enableDisable = null, targetSdk = 29, result = false), in <lambda>() 77 Params(enableDisable = null, targetSdk = 30, result = true), in <lambda>() 79 Params(enableDisable = true, targetSdk = 29, result = false), in <lambda>() 80 Params(enableDisable = true, targetSdk = 30, result = true), in <lambda>() 82 Params(enableDisable = false, targetSdk = 29, result = false), in <lambda>() 83 Params(enableDisable = false, targetSdk = 30, result = true) in <lambda>() 87 data class Params(val enableDisable: Boolean?, val targetSdk: Int, val result: Boolean) in <lambda>() constant in com.android.tests.gating.PlatformCompatCommandNotInstalledTest.Params 128 this.targetSdkVersion = params.targetSdk in <lambda>()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SplashScreenExceptionListTest.java | 170 private void assertIsNotException(String packageName, int targetSdk) { in assertIsNotException() argument 171 assertIsNotException(packageName, targetSdk, null); in assertIsNotException() 174 private void assertIsNotException(String packageName, int targetSdk, in assertIsNotException() argument 177 packageName, targetSdk), in assertIsNotException() 178 mList.isException(packageName, targetSdk, () -> activityInfo)); in assertIsNotException() 181 private void assertIsException(String packageName, int targetSdk) { in assertIsException() argument 182 assertIsException(packageName, targetSdk, null); in assertIsException() 186 int targetSdk, ApplicationInfo activityInfo) { in assertIsException() argument 188 packageName, targetSdk), in assertIsException() 189 mList.isException(packageName, targetSdk, () -> activityInfo)); in assertIsException()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/ |
D | ApexSharedLibraryUpdater.java | 73 private static boolean isTargetSdkAtMost(int targetSdk, String onBcpBefore) { in isTargetSdkAtMost() argument 75 return targetSdk < 10000; in isTargetSdkAtMost() 77 return targetSdk < Integer.parseInt(onBcpBefore); in isTargetSdkAtMost()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioRecordClient.cpp | 43 int targetSdk = -1; in getTargetSdkForPackageName() local 48 String16{packageName.data(), packageName.size()}, &targetSdk); in getTargetSdkForPackageName() 49 return status.isOk() ? targetSdk : -1; in getTargetSdkForPackageName() 52 return targetSdk; in getTargetSdkForPackageName()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | ApplicationInfoBuilder.java | 35 ApplicationInfoBuilder withTargetSdk(int targetSdk) { in withTargetSdk() argument 36 mTargetSdk = targetSdk; in withTargetSdk()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SplashScreenExceptionList.java | 83 public boolean isException(@NonNull String packageName, int targetSdk, in isException() argument 85 if (targetSdk > Build.VERSION_CODES.UPSIDE_DOWN_CAKE + 1) { in isException() 93 packageName, targetSdk, in isException()
|
/frameworks/base/core/java/android/content/pm/permission/ |
D | SplitPermissionInfoParcelable.java | 89 @IntRange(from = 0) int targetSdk) { in SplitPermissionInfoParcelable() 96 this.mTargetSdk = targetSdk; in SplitPermissionInfoParcelable() 184 int targetSdk = in.readInt(); in SplitPermissionInfoParcelable() local 192 this.mTargetSdk = targetSdk; in SplitPermissionInfoParcelable()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 78 int targetSdk = 0; field in NotificationListenerServiceTest 82 targetSdk = mContext.getApplicationInfo().targetSdkVersion; in setUp() 87 mContext.getApplicationInfo().targetSdkVersion = targetSdk; in tearDown() 121 service.targetSdk = Build.VERSION_CODES.O_MR1; in testGetActiveNotifications_preP_mapsExtraPeople() 177 service.targetSdk = Build.VERSION_CODES.LOLLIPOP_MR1; in testLegacyIcons_preM() 199 service.targetSdk = Build.VERSION_CODES.M; in testLegacyIcons_mPlus() 402 public int targetSdk = 0; field in NotificationListenerServiceTest.TestListenerService 433 if (targetSdk != 0) { in getApplicationInfo() 434 info.targetSdkVersion = targetSdk; in getApplicationInfo()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | HardeningEnforcer.java | 139 int durationHint, @NonNull String packageName, String attributionTag, int targetSdk) { in blockFocusMethod() argument 149 } else if (targetSdk < Build.VERSION_CODES.VANILLA_ICE_CREAM) { in blockFocusMethod() 152 + targetSdk); in blockFocusMethod()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | TargetSdkResolverTest.kt | 82 assertEquals(SDK_VERSION, entry.targetSdk) in resolveFromNotificationExtras() 95 assertEquals(SDK_VERSION, entry.targetSdk) in resolveFromPackageManager() 108 assertEquals(0, entry.targetSdk) in resolveFromPackageManager_andPackageManagerCrashes()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationRowContentBinderImplTest.kt | 408 targetSdk = Build.VERSION_CODES.R, in <lambda>() 419 targetSdk = Build.VERSION_CODES.S, in <lambda>() 430 targetSdk = Build.VERSION_CODES.R, in <lambda>() 441 targetSdk = Build.VERSION_CODES.R, in <lambda>() 449 targetSdk: Int, in <lambda>() 462 mRow.entry.targetSdk = targetSdk in <lambda>()
|
/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/services/core/java/com/android/server/pm/ |
D | PackageManagerNative.java | 111 int targetSdk = mPm.snapshotComputer().getTargetSdkVersion(packageName); in getTargetSdkVersionForPackage() local 112 if (targetSdk != -1) { in getTargetSdkVersionForPackage() 113 return targetSdk; in getTargetSdkVersionForPackage()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 360 int targetSdk = android_get_application_target_sdk_version(); in disableLegacyBufferDropPostQ() local 364 targetSdk < __ANDROID_API_Q__ || in disableLegacyBufferDropPostQ() 365 targetSdk == __ANDROID_API_FUTURE__; in disableLegacyBufferDropPostQ() 370 targetSdk); in disableLegacyBufferDropPostQ()
|
/frameworks/libs/systemui/toruslib/ |
D | build.gradle | 19 'targetSdk' : 34, 63 targetSdkVersion versions.targetSdk
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 648 static void addImpliedFeaturesForPermission(const int targetSdk, const String8& name, in addImpliedFeaturesForPermission() argument 656 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission() 668 if (targetSdk < SDK_LOLLIPOP) { in addImpliedFeaturesForPermission() 687 if (targetSdk > SDK_DONUT) { in addImpliedFeaturesForPermission() 1074 int targetSdk = 0; in doDump() local 1507 if (name == "Donut") targetSdk = SDK_DONUT; in doDump() 1511 targetSdk = code; in doDump() 1529 if (name == "Donut" && targetSdk < SDK_DONUT) { in doDump() 1530 targetSdk = SDK_DONUT; in doDump() 1531 } else if (name != "" && targetSdk == 0) { in doDump() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 304 private void prepareAdmin1AsPo(int profileUserId, int targetSdk) throws Exception { in prepareAdmin1AsPo() argument 306 R.raw.comp_policies_profile_same_package, COPE_ADMIN1_APP_ID, targetSdk); in prepareAdmin1AsPo() 316 int policyXmlResId, int adminAppId, int targetSdk) throws Exception { in preparePo() argument 320 /* enabledSetting =*/ null, targetSdk, admin1); in preparePo()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 125 … (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTarg… 126 … (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTarg… 127 … (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTarg… 128 … (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTarg…
|
/frameworks/libs/systemui/weathereffects/ |
D | build.gradle | 18 'targetSdk' : 34, 65 targetSdk versions.targetSdk
|
/frameworks/base/packages/SystemUI/animation/ |
D | build.gradle | 17 targetSdk 33
|
/frameworks/base/packages/SettingsLib/Spa/ |
D | build.gradle.kts | 44 targetSdk = 35 in <lambda>()
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/ |
D | SessionParamsBuilder.java | 126 public SessionParamsBuilder setTargetSdk(int targetSdk) { in setTargetSdk() argument 127 mTargetSdk = targetSdk; in setTargetSdk()
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 522 final int targetSdk = VMRuntime.getRuntime().getTargetSdkVersion(); in detectAll() local 523 if (targetSdk >= Build.VERSION_CODES.HONEYCOMB) { in detectAll() 526 if (targetSdk >= Build.VERSION_CODES.M) { in detectAll() 529 if (targetSdk >= Build.VERSION_CODES.O) { in detectAll() 876 final int targetSdk = VMRuntime.getRuntime().getTargetSdkVersion(); in detectAll() local 877 if (targetSdk >= Build.VERSION_CODES.HONEYCOMB) { in detectAll() 881 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN) { in detectAll() 884 if (targetSdk >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in detectAll() 887 if (targetSdk >= Build.VERSION_CODES.M) { in detectAll() 894 if (targetSdk >= Build.VERSION_CODES.O) { in detectAll() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | TargetSdkResolver.kt | 38 entry.targetSdk = resolveNotificationSdk(sbn) in initialize()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 108 public static void traceSetNotificationPolicy(String pkg, int targetSdk, in traceSetNotificationPolicy() argument 110 String policyLog = "pkg=" + pkg + " targetSdk=" + targetSdk in traceSetNotificationPolicy()
|