Home
last modified time | relevance | path

Searched refs:DELEGATE_APP_PKG (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DNetworkLoggingTest.java65 private static final String DELEGATE_APP_PKG = "com.android.cts.delegate"; field in NetworkLoggingTest
179 setDelegatedScopes(DELEGATE_APP_PKG, Arrays.asList(DELEGATION_NETWORK_LOGGING)); in testSetDelegateScope_delegationNetworkLogging()
181 assertThat(mDpm.getDelegatedScopes(ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG)) in testSetDelegateScope_delegationNetworkLogging()
187 setDelegatedScopes(DELEGATE_APP_PKG, Arrays.asList()); in testSetDelegateScope_noDelegation()
189 assertThat(mDpm.getDelegatedScopes(ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG)) in testSetDelegateScope_noDelegation()
DSecurityLoggingTest.java110 private static final String DELEGATE_APP_PKG = "com.android.cts.delegate"; field in SecurityLoggingTest
561 setDelegatedScopes(DELEGATE_APP_PKG, Arrays.asList(DELEGATION_SECURITY_LOGGING)); in testSetDelegateScope_delegationSecurityLogging()
564 ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG)).contains(DELEGATION_SECURITY_LOGGING); in testSetDelegateScope_delegationSecurityLogging()
568 setDelegatedScopes(DELEGATE_APP_PKG, Arrays.asList()); in testSetDelegateScope_noDelegation()
571 ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG)) in testSetDelegateScope_noDelegation()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DMixedDeviceOwnerTest.java185 .setAdminPackageName(DELEGATE_APP_PKG) in getAdditionalDelegationTests()
191 .setAdminPackageName(DELEGATE_APP_PKG) in getAdditionalDelegationTests()
196 .setAdminPackageName(DELEGATE_APP_PKG) in getAdditionalDelegationTests()
369 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".SecurityLoggingDelegateTest", in testSecurityLoggingDelegate()
376 runSecurityLoggingTests(DELEGATE_APP_PKG, ".SecurityLoggingDelegateTest"); in testSecurityLoggingDelegate()
DOrgOwnedProfileOwnerTest.java48 private static final String DELEGATE_APP_PKG = DeviceAndProfileOwnerTest.DELEGATE_APP_PKG; field in OrgOwnedProfileOwnerTest
238 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".SecurityLoggingDelegateTest", in testSecurityLoggingDelegate()
244 testSecurityLoggingOnWorkProfile(DELEGATE_APP_PKG, in testSecurityLoggingDelegate()
689 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".WorkProfileNetworkLoggingDelegateTest", in testNetworkLoggingDelegate()
695 testNetworkLoggingOnWorkProfile(DELEGATE_APP_PKG, in testNetworkLoggingDelegate()
DMixedManagedProfileOwnerTest.java363 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".WorkProfileNetworkLoggingDelegateTest", in testNetworkLoggingDelegate()
369 testNetworkLoggingOnWorkProfile(DELEGATE_APP_PKG, in testNetworkLoggingDelegate()
DDeviceAndProfileOwnerTest.java92 protected static final String DELEGATE_APP_PKG = "com.android.cts.delegate"; field in DeviceAndProfileOwnerTest
204 getDevice().uninstallPackage(DELEGATE_APP_PKG); in tearDown()
229 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".AppRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted()
233 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".AppRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted()
316 setDelegatedScopes(DELEGATE_APP_PKG, scopes); in testDelegation()
317 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".GeneralDelegateTest", null, mUserId, in testDelegation()
322 setDelegatedScopes(DELEGATE_APP_PKG, null); in testDelegation()
327 setDelegatedScopes(DELEGATE_APP_PKG, null); in testDelegation()
1790 runDeviceTestsAsUser(DELEGATE_APP_PKG, in executeAppRestrictionsManagingPackageTest()
1803 runDeviceTestsAsUser(DELEGATE_APP_PKG, delegationTestClass, in executeDelegationTests()