Home
last modified time | relevance | path

Searched refs:EnsureHasProfileOwner (Results 1 – 19 of 19) sorted by relevance

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/
DProfileOwnerTest.java35 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
76 @EnsureHasProfileOwner
82 @EnsureHasProfileOwner
88 @EnsureHasProfileOwner
95 @EnsureHasProfileOwner
136 @EnsureHasProfileOwner(onUser = SECONDARY_USER)
DDevicePolicyTest.java41 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
440 @EnsureHasProfileOwner(isPrimary = true)
459 @EnsureHasProfileOwner(isPrimary = true)
480 @EnsureHasProfileOwner(isPrimary = true, onUser = ADDITIONAL_USER)
501 @EnsureHasProfileOwner(isPrimary = true, onUser = ADDITIONAL_USER)
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasProfileOwner.kt63 annotation class EnsureHasProfileOwner( class
79 fun ensureHasProfileOwner(): EnsureHasProfileOwner { in ensureHasProfileOwner()
84 private fun ensureHasProfileOwner(dpc: Query): EnsureHasProfileOwner { in ensureHasProfileOwner()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/
DIncludeRunOnUnaffiliatedProfileOwnerAdditionalUser.java25 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
42 @EnsureHasProfileOwner(affiliationIds = "not-affiliated", isPrimary = true, key = "dpc")
DIncludeRunOnProfileOwnerPrimaryUser.java26 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
43 @EnsureHasProfileOwner(isPrimary = true, key = "dpc")
DIncludeRunOnAffiliatedDeviceOwnerSecondaryUser.java26 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
43 @EnsureHasProfileOwner(affiliationIds = "affiliated", key = "dpc")
DIncludeRunOnAffiliatedProfileOwnerAdditionalUser.java26 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
43 @EnsureHasProfileOwner(affiliationIds = "affiliated", isPrimary = true, key = "dpc")
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DEnterpriseAnnotationExecutor.kt24 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner
68 is EnsureHasProfileOwner -> in applyAnnotation()
DProfileOwnersComponent.kt19 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner in <lambda>()
64 fun ensureHasProfileOwner(annotation: EnsureHasProfileOwner) { in <lambda>()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DWipeDataTest.java41 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
96 @EnsureHasProfileOwner(onUser = INITIAL_USER, isPrimary = true)
126 @EnsureHasProfileOwner(onUser = INITIAL_USER)
DTransferOwnershipTest.kt28 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner in <lambda>()
170 @EnsureHasProfileOwner in <lambda>()
191 @EnsureHasProfileOwner in <lambda>()
DProfileOwnerTest.kt26 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner in <lambda>()
267 @EnsureHasProfileOwner in <lambda>()
284 @EnsureHasProfileOwner in <lambda>()
DBugReportTest.kt30 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner in <lambda>()
128 @EnsureHasProfileOwner(onUser = UserType.ADDITIONAL_USER, affiliationIds = ["affiliated"]) in <lambda>()
DNetworkLoggingTest.kt27 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner in <lambda>()
309 @EnsureHasProfileOwner(onUser = ADDITIONAL_USER, affiliationIds = ["affiliated"]) in <lambda>()
DSecurityLoggingTest.kt38 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner in <lambda>()
244 @EnsureHasProfileOwner(onUser = UserType.ADDITIONAL_USER, affiliationIds = ["affiliated"]) in <lambda>()
329 @EnsureHasProfileOwner(onUser = UserType.ADDITIONAL_USER, affiliationIds = ["affiliated"]) in <lambda>()
DApplicationRestrictionsTest.java43 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
511 @EnsureHasProfileOwner(isPrimary = true)
DProvisioningTest.kt60 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner in <lambda>()
127 @EnsureHasProfileOwner in <lambda>()
887 @EnsureHasProfileOwner in <lambda>()
1402 @EnsureHasProfileOwner in <lambda>()
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
DEnterpriseAnnotationExecutorTest.kt29 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner
227 @EnsureHasProfileOwner
239 @EnsureHasProfileOwner(dpc = Query(targetSdkVersion = IntegerQuery(isEqualTo = 28)))
254 @EnsureHasProfileOwner
266 @EnsureHasProfileOwner(onUser = UserType.SECONDARY_USER)
287 @EnsureHasProfileOwner
294 @EnsureHasProfileOwner(onUser = UserType.SECONDARY_USER)
323 @EnsureHasProfileOwner(key = DEFAULT_KEY, isPrimary = true)
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/
DRemoteDpcTest.java41 import com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner;
136 @EnsureHasProfileOwner
304 @EnsureHasProfileOwner