Home
last modified time | relevance | path

Searched refs:affiliationIds (Results 1 – 16 of 16) sorted by relevance

/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferIncomingTest.java95 Set<String> affiliationIds = dpm.getAffiliationIds(admin); in getAffiliationId() local
96 assertNotNull(affiliationIds); in getAffiliationId()
97 assertEquals(1, affiliationIds.size()); in getAffiliationId()
98 return affiliationIds.iterator().next(); in getAffiliationId()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/
DIncludeRunOnUnaffiliatedProfileOwnerAdditionalUser.java41 @EnsureHasDeviceOwner(affiliationIds = "affiliated", key = "dpc")
42 @EnsureHasProfileOwner(affiliationIds = "not-affiliated", isPrimary = true, key = "dpc")
DIncludeRunOnAffiliatedDeviceOwnerSecondaryUser.java42 @EnsureHasDeviceOwner(isPrimary = true, affiliationIds = "affiliated", key = "dpc")
43 @EnsureHasProfileOwner(affiliationIds = "affiliated", key = "dpc")
DIncludeRunOnAffiliatedProfileOwnerAdditionalUser.java42 @EnsureHasDeviceOwner(affiliationIds = "affiliated", key = "dpc")
43 @EnsureHasProfileOwner(affiliationIds = "affiliated", isPrimary = true, key = "dpc")
DIncludeRunOnUnaffiliatedDeviceOwnerSecondaryUser.java43 affiliationIds = {},
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DDeviceOwnerComponent.kt90 affiliationIds: MutableSet<String>, in ensureHasDeviceOwner()
108 affiliationIds.add("DEFAULT_AFFILIATED") // To ensure headless PO + DO are affiliated in ensureHasDeviceOwner()
203 affiliationIds in ensureHasDeviceOwner()
214 affiliationIds = affiliationIds, in ensureHasDeviceOwner()
DProfileOwnersComponent.kt73 affiliationIds.toSet(), in <lambda>()
88 affiliationIds: Set<String>?, in <lambda>()
162 if (affiliationIds != null) { in <lambda>()
165 .setAffiliationIds(profileOwner.componentName(), affiliationIds) in <lambda>()
DEnterpriseAnnotationExecutor.kt56 annotation.affiliationIds.toHashSet(), in applyAnnotation()
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/meta/
DRequireRunOnProfile.java46 String[] affiliationIds() default {}; in affiliationIds() method
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DBugReportTest.kt128 @EnsureHasProfileOwner(onUser = UserType.ADDITIONAL_USER, affiliationIds = ["affiliated"]) in <lambda>()
142 val affiliationIds = HashSet( in <lambda>() constant
146 affiliationIds.add("affiliated") in <lambda>()
149 affiliationIds in <lambda>()
DSecurityLoggingTest.kt244 @EnsureHasProfileOwner(onUser = UserType.ADDITIONAL_USER, affiliationIds = ["affiliated"]) in <lambda>()
257 val affiliationIds: MutableSet<String> = HashSet( in <lambda>() constant
261 affiliationIds.add("affiliated") in <lambda>()
264 affiliationIds in <lambda>()
329 @EnsureHasProfileOwner(onUser = UserType.ADDITIONAL_USER, affiliationIds = ["affiliated"]) in <lambda>()
341 val affiliationIds: MutableSet<String> = HashSet( in <lambda>() constant
345 affiliationIds.add("affiliated") in <lambda>()
348 affiliationIds in <lambda>()
DNetworkLoggingTest.kt309 @EnsureHasProfileOwner(onUser = ADDITIONAL_USER, affiliationIds = ["affiliated"]) in <lambda>()
322 val affiliationIds: MutableSet<String> = HashSet( in <lambda>() constant
326 affiliationIds.add("affiliated") in <lambda>()
329 affiliationIds in <lambda>()
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DRequireRunOnWorkProfile.java83 String[] affiliationIds() default {}; in affiliationIds() method
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasProfileOwner.kt69 val affiliationIds: Array<String> = [], constant in com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner
DEnsureHasDeviceOwner.java117 String[] affiliationIds() default {}; in affiliationIds() method
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDeviceState.java553 Set<String> affiliationIds = null;
559 affiliationIds = new HashSet<>(Arrays.asList((String[])
569 switchedToParentUser, affiliationIds,
1106 … OptionalBoolean switchedToParentUser, Set<String> affiliationIds,
1130 instrumentedUser, dpcIsPrimary, useParentInstance, affiliationIds, dpcKey,