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 mDpm.setDelegatedScopes(ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG, in testSetDelegateScope_delegationNetworkLogging()
182 assertThat(mDpm.getDelegatedScopes(ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG)) in testSetDelegateScope_delegationNetworkLogging()
188 mDpm.setDelegatedScopes(ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG, in testSetDelegateScope_noDelegation()
191 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 mDevicePolicyManager.setDelegatedScopes(ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG, in testSetDelegateScope_delegationSecurityLogging()
565 ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG)).contains(DELEGATION_SECURITY_LOGGING); in testSetDelegateScope_delegationSecurityLogging()
569 mDevicePolicyManager.setDelegatedScopes(ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG, in testSetDelegateScope_noDelegation()
573 ADMIN_RECEIVER_COMPONENT, DELEGATE_APP_PKG)) in testSetDelegateScope_noDelegation()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DMixedDeviceOwnerTest.java190 .setAdminPackageName(DELEGATE_APP_PKG) in getAdditionalDelegationTests()
196 .setAdminPackageName(DELEGATE_APP_PKG) in getAdditionalDelegationTests()
201 .setAdminPackageName(DELEGATE_APP_PKG) in getAdditionalDelegationTests()
374 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".SecurityLoggingDelegateTest", in testSecurityLoggingDelegate()
381 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()
DDeviceAndProfileOwnerTest.java91 protected static final String DELEGATE_APP_PKG = "com.android.cts.delegate"; field in DeviceAndProfileOwnerTest
203 getDevice().uninstallPackage(DELEGATE_APP_PKG); in tearDown()
247 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".AppRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted()
251 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".AppRestrictionsIsCallerDelegateHelper", in testApplicationRestrictionIsRestricted()
266 changeApplicationRestrictionsManagingPackage(DELEGATE_APP_PKG); in testApplicationRestrictions()
268 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".GeneralDelegateTest", in testApplicationRestrictions()
279 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".AppRestrictionsDelegateTest", in testApplicationRestrictions()
389 setDelegatedScopes(DELEGATE_APP_PKG, scopes); in testDelegation()
390 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".GeneralDelegateTest", null, mUserId, in testDelegation()
395 setDelegatedScopes(DELEGATE_APP_PKG, null); in testDelegation()
[all …]
DMixedManagedProfileOwnerTest.java393 runDeviceTestsAsUser(DELEGATE_APP_PKG, ".WorkProfileNetworkLoggingDelegateTest", in testNetworkLoggingDelegate()
399 testNetworkLoggingOnWorkProfile(DELEGATE_APP_PKG, in testNetworkLoggingDelegate()