Home
last modified time | relevance | path

Searched refs:getTargetSdk (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DBaseUsePermissionTest.kt347 val targetSdk = getTargetSdk() in <lambda>()
828 if (SdkLevel.isAtLeastT() && getTargetSdk() < Build.VERSION_CODES.TIRAMISU) { in <lambda>()
1077 private fun getTargetSdk(packageName: String = APP_PACKAGE_NAME): Int { in <lambda>() method in android.permissionui.cts.BaseUsePermissionTest
1271 getTargetSdk() <= Build.VERSION_CODES.S_V2 && in <lambda>()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DSplitPermissionsSystemTest.java168 assertThat(split.getTargetSdk()).isEqualTo(targetSdk); in assertSplit()
/packages/services/Telephony/src/com/android/phone/
DServiceStateProvider.java416 final boolean targetingAtLeastS = TelephonyPermissions.getTargetSdk(getContext(), in query()
DPhoneInterfaceManager.java2862 final int targetSdk = TelephonyPermissions.getTargetSdk(mApp, callingPackage); in updateServiceLocationWithPackageName()
3493 final int targetSdk = TelephonyPermissions.getTargetSdk(mApp, callingPackage); in getNeighboringCellInfo()
3555 final int targetSdk = TelephonyPermissions.getTargetSdk(mApp, callingPackage); in getAllCellInfo()
3612 .getTargetSdk(mApp, callingPackage) < Build.VERSION_CODES.Q) { in requestCellInfoUpdateInternal()
3619 .getTargetSdk(mApp, callingPackage) < Build.VERSION_CODES.Q) { in requestCellInfoUpdateInternal()
5734 final int targetSdk = TelephonyPermissions.getTargetSdk(mApp, callingPackage); in getNetworkTypeForSubscriber()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DBackupHelper.java500 if (backupPlatformVersion < splitPerm.getTargetSdk() in parseFromXml()
DPermissionControllerServiceImpl.java172 if (targetSDK < splitPerm.getTargetSdk() in addSplitPermissions()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DPermissions.java131 if (packageInfo.applicationInfo.targetSdkVersion < splitPermission.getTargetSdk() in grantAsUser()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java1721 if (mPackageInfo.applicationInfo.targetSdkVersion < spi.getTargetSdk()) {