Home
last modified time | relevance | path

Searched refs:sdkVersion (Results 1 – 12 of 12) sorted by relevance

/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/
DPermissionContextImpl.java81 public PermissionContextImpl withPermissionOnVersion(int sdkVersion, String... permissions) { in withPermissionOnVersion() argument
82 return withPermissionOnVersionBetween(sdkVersion, sdkVersion, permissions); in withPermissionOnVersion()
90 int sdkVersion, String... permissions) { in withPermissionOnVersionAtLeast() argument
91 return withPermissionOnVersionBetween(sdkVersion, Versions.ANY, permissions); in withPermissionOnVersionAtLeast()
99 int sdkVersion, String... permissions) { in withPermissionOnVersionAtMost() argument
100 return withPermissionOnVersionBetween(Versions.ANY, sdkVersion, permissions); in withPermissionOnVersionAtMost()
166 public PermissionContextImpl withAppOpOnVersion(int sdkVersion, String... appOps) { in withAppOpOnVersion() argument
167 return withAppOpOnVersionBetween(sdkVersion, sdkVersion, appOps); in withAppOpOnVersion()
174 public PermissionContextImpl withAppOpOnVersionAtMost(int sdkVersion, String... appOps) { in withAppOpOnVersionAtMost() argument
175 return withAppOpOnVersionBetween(Versions.ANY, sdkVersion, appOps); in withAppOpOnVersionAtMost()
[all …]
DPermissionsController.java24 PermissionContext withPermissionOnVersion(int sdkVersion, String... permissions); in withPermissionOnVersion() argument
38 PermissionContext withAppOpOnVersion(int sdkVersion, String... appOps); in withAppOpOnVersion() argument
DPermissions.java211 public PermissionContextImpl withPermissionOnVersion(int sdkVersion, String... permissions) {
216 permissionContext.withPermissionOnVersion(sdkVersion, permissions);
260 public PermissionContextImpl withAppOpOnVersion(int sdkVersion, String... appOps) {
264 PermissionContextImpl unused = permissionContext.withAppOpOnVersion(sdkVersion, appOps);
285 public PermissionContextImpl withAppOpOnVersionAtLeast(int sdkVersion, String... appOps) {
289 PermissionContextImpl unused = permissionContext.withAppOpOnVersionAtLeast(sdkVersion,
311 public PermissionContextImpl withAppOpOnVersionAtMost(int sdkVersion, String... appOps) {
315 PermissionContextImpl unused = permissionContext.withAppOpOnVersionAtMost(sdkVersion,
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DAdbUserParser.java36 static AdbUserParser get(int sdkVersion) { in get() argument
37 if (sdkVersion >= 31) { in get()
40 if (sdkVersion >= 30) { in get()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppPermissionContext.java73 public TestAppPermissionContext withPermissionOnVersion(int sdkVersion, String... permissions) { in withPermissionOnVersion() argument
74 return withPermissionOnVersionBetween(sdkVersion, sdkVersion, permissions); in withPermissionOnVersion()
155 public PermissionContext withAppOpOnVersion(int sdkVersion, String... appOps) { in withAppOpOnVersion() argument
156 return withAppOpOnVersionBetween(sdkVersion, sdkVersion, appOps); in withAppOpOnVersion()
DTestAppInstancePermissions.java93 public TestAppPermissionContext withPermissionOnVersion(int sdkVersion, String... permissions) { in withPermissionOnVersion() argument
94 return withPermissionOnVersionBetween(sdkVersion, sdkVersion, permissions); in withPermissionOnVersion()
257 public TestAppPermissionContext withAppOpOnVersion(int sdkVersion, String... appOps) { in withAppOpOnVersion() argument
258 return withAppOpOnVersionBetween(sdkVersion, sdkVersion, appOps); in withAppOpOnVersion()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/broadcasts/
DAdbActivitiesParser.kt26 operator fun get(sdkVersion: Int): AdbActivitiesParser { in get()
27 if (sdkVersion >= Versions.T) { in get()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DThunkerCreateTest.java29 int sdkVersion = mCtx.getApplicationInfo().targetSdkVersion; in testCreateReflection() local
34 Object[] args = {mCtx, new Integer(sdkVersion)}; in testCreateReflection()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DAdbPackageParser.java31 static AdbPackageParser get(int sdkVersion) { in get() argument
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DAdbDevicePolicyParser.java34 static AdbDevicePolicyParser get(int sdkVersion) { in get() argument
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityManagerGetConfigTests.java241 Build.VERSION.RESOURCES_SDK_INT, resConfig.sdkVersion); in checkResourceConfig()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt448 field public static final int sdkVersion = 16844304; // 0x1010610