Home
last modified time | relevance | path

Searched refs:getTargetSdkVersion (Results 1 – 6 of 6) sorted by relevance

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/
DSoftRestrictedPermissionPolicy.java79 return isWhiteListed || pkg.getTargetSdkVersion() >= Build.VERSION_CODES.Q; in shouldShow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java474 assertThat(mBatteryUtils.getTargetSdkVersion(PACKAGE_NAME)).isEqualTo(SDK_VERSION); in testGetTargetSdkVersion_packageExist_returnSdk()
483 assertThat(mBatteryUtils.getTargetSdkVersion(PACKAGE_NAME)).isEqualTo( in testGetTargetSdkVersion_packageNotExist_returnSdkNull()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java179 public int getTargetSdkVersion() { in getTargetSdkVersion() method in LocalCallingIdentity
DMediaProvider.java7664 return mCallingIdentity.get().getTargetSdkVersion();
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryUtils.java312 public int getTargetSdkVersion(final String packageName) { in getTargetSdkVersion() method in BatteryUtils
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java339 public int getTargetSdkVersion(final String packageName) { in getTargetSdkVersion() method in BatteryUtils