Home
last modified time | relevance | path

Searched defs:dpc (Results 1 – 23 of 23) sorted by relevance

/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/
DEnterprisePolicyWrapper.java33 public EnterprisePolicyWrapper(String policyClass, int[] dpc, in EnterprisePolicyWrapper()
47 public int[] dpc() { in dpc() method in EnterprisePolicyWrapper
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/
DDeviceOwnerTest.java99 try (TestAppInstance dpc = sNonTestOnlyDpc.install()) { in remove_nonTestOnlyDpc_removesDeviceOwner()
113 try (TestAppInstance dpc = sNonTestOnlyDpc.install()) { in setAndRemoveDeviceOwnerRepeatedly_doesNotThrowError()
DProfileOwnerTest.java108 try (TestAppInstance dpc = sNonTestOnlyDpc.install()) { in remove_nonTestOnlyDpc_removesProfileOwner()
123 try (TestAppInstance dpc = sNonTestOnlyDpc.install()) { in setAndRemoveProfileOwnerRepeatedly_doesNotThrowError()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DEnterpriseComponent.kt55 val dpc: RemotePolicyManager = getDeviceAdmin(annotation.admin) in ensureHasDelegate() constant
148 fun dpc(): RemotePolicyManager? { in dpc() method
179 val dpc: RemotePolicyManager = when (adminType) { in ensureHasNoDelegate() constant
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DAffiliationIdsTest.java50 RemotePolicyManager dpc = sDeviceState.dpc(); in setUp() local
DWifiMinimumSecurityTest.java58 RemotePolicyManager dpc = sDeviceState.dpc(); in setUp() local
DSecurityLoggingTest.kt162 val dpc = deviceState.dpc() in <lambda>() constant
548 val dpc = deviceState.dpc() in <lambda>() constant
645 val dpc = deviceState.dpc() in <lambda>() constant
686 val dpc = deviceState.dpc() in <lambda>() constant
729 val dpc = deviceState.dpc() in <lambda>() constant
DManagedProfileTest.java65 try (RemoteDpc dpc = RemoteDpc.createWorkProfile(); in startActivityInManagedProfile_activityStarts()
DWifiSsidRestrictionTest.java57 RemotePolicyManager dpc = sDeviceState.dpc(); in setUp() local
DManagedSubscriptionsPolicyTest.java154 try (RemoteDpc dpc = RemoteDpc.createWorkProfile()) { in setManagedSubscriptionsPolicy_policySet_oemDialerAndSmsAppInstalledInWorkProfile()
DDefaultDialerApplicationTest.java81 RemotePolicyManager dpc = sDeviceState.dpc(); in setUp() local
DDefaultSmsApplicationTest.java87 RemotePolicyManager dpc = sDeviceState.dpc(); in setUp() local
DSupportMessageTest.java67 RemotePolicyManager dpc = sDeviceState.dpc(); in setUp() local
DBluetoothTest.java284 try (RemoteDpc dpc = RemoteDpc.createWorkProfile()) { in newManagedProfile_disallowBluetoothSharingIsSet()
295 try (RemoteDpc dpc = RemoteDpc.createWorkProfile()) { in clearDisallowBluetoothSharing_newManagedProfile_disallowBluetoothSharingIsNotSet()
DProvisioningTest.kt1296 val dpc = RemoteDpc.setAsProfileOwner(deviceState.secondaryUser()) in <lambda>() constant
1314 val dpc = deviceState.profileOwner(deviceState.workProfile()) in <lambda>() constant
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DRequireRunOnWorkProfile.java68 Query dpc() default @Query(); in dpc() method
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasDeviceOwner.java105 Query dpc() default @Query(); in dpc() method
DEnsureHasProfileOwner.kt66 val dpc: Query = Query(), constant in com.android.bedstead.enterprise.annotations.EnsureHasProfileOwner
DEnsureHasWorkProfile.kt74 val dpc: Query = Query(), constant in com.android.bedstead.enterprise.annotations.EnsureHasWorkProfile
DEnterprisePolicy.java193 int[] dpc() default {}; in dpc() method
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DEphemeralTest.java181 final DpcCommander dpc = DpcCommander.forCurrentUser(getDevice()); in testRemoveUserWhenPossible_devicePolicyIsSet() local
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DBedsteadJUnit4.java140 private static RequireRunOnWorkProfile requireRunOnWorkProfile(Query dpc) { in requireRunOnWorkProfile()
179 private static EnsureHasWorkProfile ensureHasWorkProfile(Query dpc) { in ensureHasWorkProfile()
891 Set<Integer> dpc = new HashSet<>(); in mergePolicies() local
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
DRemoteDpc.java438 RemoteDpc dpc = forDevicePolicyController(TestApis.devicePolicy().getProfileOwner( in createWorkProfile() local