Home
last modified time | relevance | path

Searched refs:targetSdkVersion (Results 1 – 25 of 52) sorted by relevance

123

/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java74 ident.targetSdkVersion = Build.VERSION_CODES.CUR_DEVELOPMENT; in fromSelf()
119 private int targetSdkVersion; field in LocalCallingIdentity
124 targetSdkVersion = getTargetSdkVersionInternal(); in getTargetSdkVersion()
127 return targetSdkVersion; in getTargetSdkVersion()
135 return ai.targetSdkVersion; in getTargetSdkVersionInternal()
DMediaProvider.java1701 final int targetSdkVersion = getCallingPackageTargetSdkVersion(); in queryInternal() local
1735 return e.translateForQuery(targetSdkVersion); in queryInternal()
2192 final int targetSdkVersion = getCallingPackageTargetSdkVersion(); in bulkInsert() local
2206 return e.translateForUpdateDelete(targetSdkVersion); in bulkInsert()
2913 final int targetSdkVersion = getCallingPackageTargetSdkVersion(); in insertInternal() local
2925 return e.translateForInsert(targetSdkVersion); in insertInternal()
2941 return e.translateForInsert(targetSdkVersion); in insertInternal()
3005 return e.translateForInsert(targetSdkVersion); in insertInternal()
3037 return e.translateForInsert(targetSdkVersion); in insertInternal()
3062 return e.translateForInsert(targetSdkVersion); in insertInternal()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DApplicationTestUtils.java36 int targetSdkVersion) { in buildInfo() argument
41 info.targetSdkVersion = targetSdkVersion; in buildInfo()
/packages/services/Telecomm/src/com/android/server/telecom/
DVideoProviderProxy.java324 int callingPid, int targetSdkVersion) { in onSetCamera() argument
335 callingPackage, callingUid, callingPid, targetSdkVersion); in onSetCamera()
339 if (targetSdkVersion > Build.VERSION_CODES.N_MR1) { in onSetCamera()
351 targetSdkVersion); in onSetCamera()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DAppWorkaroundsUtils.java43 return mPackageInfo.applicationInfo.targetSdkVersion < VERSION_CODES.JELLY_BEAN; in isBeforeJellyBean()
57 .append(mPackageInfo.applicationInfo.targetSdkVersion); in toString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryUtils.java317 return info.targetSdkVersion; in getTargetSdkVersion()
328 public boolean isBackgroundRestrictionEnabled(final int targetSdkVersion, final int uid, in isBackgroundRestrictionEnabled() argument
330 if (targetSdkVersion >= Build.VERSION_CODES.O) { in isBackgroundRestrictionEnabled()
517 return info.targetSdkVersion < Build.VERSION_CODES.O; in isPreOApp()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java344 return info.targetSdkVersion; in getTargetSdkVersion()
355 public boolean isBackgroundRestrictionEnabled(final int targetSdkVersion, final int uid, in isBackgroundRestrictionEnabled() argument
357 if (targetSdkVersion >= Build.VERSION_CODES.O) { in isBackgroundRestrictionEnabled()
556 return info.targetSdkVersion < Build.VERSION_CODES.O; in isPreOApp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java413 private void setLauncherMock(int targetSdkVersion) throws Exception { in setLauncherMock() argument
415 appInfo.targetSdkVersion = targetSdkVersion; in setLauncherMock()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBackgroundActivityPreferenceControllerTest.java107 mHighApplicationInfo.targetSdkVersion = Build.VERSION_CODES.O; in setUp()
108 mLowApplicationInfo.targetSdkVersion = Build.VERSION_CODES.L; in setUp()
DBatteryUtilsTest.java196 mHighApplicationInfo.targetSdkVersion = Build.VERSION_CODES.O; in setUp()
197 mLowApplicationInfo.targetSdkVersion = Build.VERSION_CODES.L; in setUp()
471 mApplicationInfo.targetSdkVersion = SDK_VERSION; in testGetTargetSdkVersion_packageExist_returnSdk()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java410 return context.getPackageManager().getApplicationInfo(pkgName, 0).targetSdkVersion in isMApp()
420 return context.getPackageManager().getApplicationInfo(pkgName, 0).targetSdkVersion in isQApp()
/packages/apps/WallpaperPicker/
Dbuild.gradle18 targetSdkVersion 23
/packages/apps/Launcher3/iconloaderlib/
Dbuild.gradle10 targetSdkVersion 28
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DSoftRestrictedPermissionPolicy.java58 int targetSDK = pkg.applicationInfo.targetSdkVersion; in shouldShow()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherActivtiyCachingLogic.java53 object.getUser(), object.getApplicationInfo().targetSdkVersion).applyTo(target); in loadIcon()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DAppWorkaroundsTests.java38 if (ai.targetSdkVersion < VERSION_CODES.JELLY_BEAN) { in setUp()
/packages/apps/Settings/src/com/android/settings/applications/
DAppWithAdminGrantedPermissionsCounter.java54 if (info.targetSdkVersion >= Build.VERSION_CODES.M) { in includeInCount()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionGroup.java265 if (packageInfo.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.LOLLIPOP_MR1 in create()
393 int targetSDK = packageInfo.applicationInfo.targetSdkVersion; in AppPermissionGroup()
1336 if (mPackageInfo.applicationInfo.targetSdkVersion < spi.getTargetSdk()) { in hasInstallToRuntimeSplit()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppWithAdminGrantedPermissionsCounter.java54 if (info.targetSdkVersion >= Build.VERSION_CODES.M) { in includeInCount()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DAppOp.java110 return applicationInfo.targetSdkVersion <= mMaxTargetSdkVersion; in checkTargetSdkVersion()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppInfo.java113 && appInfo.targetSdkVersion >= Build.VERSION_CODES.O in updateRuntimeFlagsForActivityTarget()
/packages/apps/UniversalMediaPlayer/
Dbuild.gradle34 targetSdkVersion 28
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DPermissionControllerServiceImpl.java233 int callerTargetSdk = callerPkgInfo.applicationInfo.targetSdkVersion; in onRevokeRuntimePermissions()
529 callerPkgInfo.applicationInfo.targetSdkVersion); in onSetRuntimePermissionGrantStateByDeviceAdmin()
/packages/apps/WallpaperPicker2/
Dbuild.gradle20 targetSdkVersion 28
/packages/apps/TV/tuner/SampleNetworkTuner/
Dbuild.gradle51 targetSdkVersion 26

123