Home
last modified time | relevance | path

Searched refs:setDelegatedScopes (Results 1 – 11 of 11) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDelegationScopesTest.java87 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in getDelegatedScopes_returnsFromSetDelegatedScopes()
106 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in getDelegatedScopes_fromApp_returnsFromSetDelegatedScopes()
124 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in getDelegatedScopes_fromApp_passComponentName_throwsException()
143 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in getDelegatedScopes_fromApp_differentPackage_throwsException()
147 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in getDelegatedScopes_fromApp_differentPackage_throwsException()
166 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in setDelegatedScopes_invalidAdmin_throwsSecurityException()
187 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in getDelegatedScopes_returnsLatestFromSetDelegatedScopes()
191 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in getDelegatedScopes_returnsLatestFromSetDelegatedScopes()
214 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in setDelegatedScopes_uninstalledPackage_throwsExceptionWithoutChangingState()
228 sDeviceState.dpc().devicePolicyManager().setDelegatedScopes( in getDelegatePackages_oneApp_twoScopes_returnsFromSetDelegatedScopes()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerHelper.java41 setDelegatedScopes(CERT_INSTALLER_PACKAGE, CERT_INSTALL_SCOPES); in testManualSetCertInstallerDelegate()
49 setDelegatedScopes(CERT_INSTALLER_PACKAGE, Arrays.asList()); in testManualClearCertInstallerDelegate()
DNetworkLoggingTest.java180 setDelegatedScopes(DELEGATE_APP_PKG, Arrays.asList(DELEGATION_NETWORK_LOGGING)); in testSetDelegateScope_delegationNetworkLogging()
188 setDelegatedScopes(DELEGATE_APP_PKG, Arrays.asList()); in testSetDelegateScope_noDelegation()
211 protected void setDelegatedScopes(String delegatePackage, List<String> scopes) { in setDelegatedScopes() method in NetworkLoggingTest
214 mDpm.setDelegatedScopes(ADMIN_RECEIVER_COMPONENT, delegatePackage, scopes); in setDelegatedScopes()
DDelegatedCertInstallerTest.java238 setDelegatedScopes(CERT_INSTALLER_PACKAGE, CERT_INSTALL_SCOPES); in testSettingDelegatedCertInstallerAPICompatibility_newSetOldGet()
246 setDelegatedScopes(CERT_INSTALLER_PACKAGE, Arrays.asList()); in testSettingDelegatedCertInstallerAPICompatibility_newSetOldGet()
258 setDelegatedScopes(CERT_INSTALLER_PACKAGE, CERT_INSTALL_SCOPES); in testCanReadEnrollmentSpecificId()
DBaseDeviceAdminTest.java231 protected void setDelegatedScopes(String delegatePackage, List<String> scopes) { in setDelegatedScopes() method in BaseDeviceAdminTest
234 mDevicePolicyManager.setDelegatedScopes(ADMIN_RECEIVER_COMPONENT, delegatePackage, scopes); in setDelegatedScopes()
DSetPolicyActivity.java111 dpm.setDelegatedScopes(BaseDeviceAdminTest.ADMIN_RECEIVER_COMPONENT, in handleIntent()
DSecurityLoggingTest.java633 setDelegatedScopes(DELEGATE_APP_PKG, Arrays.asList(DELEGATION_SECURITY_LOGGING)); in testSetDelegateScope_delegationSecurityLogging()
640 setDelegatedScopes(DELEGATE_APP_PKG, Arrays.asList()); in testSetDelegateScope_noDelegation()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DEnterpriseComponent.kt72 dpc.devicePolicyManager().setDelegatedScopes( in ensureHasDelegate()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java217 setDelegatedScopes(CERT_INSTALLER_PKG, Arrays.asList( in testDelegationCertSelection()
1147 protected void setDelegatedScopes(String packageName, List<String> scopes) in setDelegatedScopes() method in DeviceAndProfileOwnerTest
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java191 doAnswer(answer).when(spy).setDelegatedScopes(any(), any(), any()); in getWrapper()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt8180 …method public void setDelegatedScopes(@NonNull android.content.ComponentName, @NonNull String, @No…