Home
last modified time | relevance | path

Searched refs:scopes (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DDelegatedScopesReceiverActivity.java96 final List<String> scopes = intent.getStringArrayListExtra(EXTRA_DELEGATION_SCOPES); in handleIntent() local
97 sendScopeReportBroadcast(scopes); in handleIntent()
102 private void sendScopeReportBroadcast(List<String> scopes) { in sendScopeReportBroadcast() argument
105 intent.putExtra(EXTRA_DELEGATION_SCOPES, scopes.toArray(new String[scopes.size()])); in sendScopeReportBroadcast()
106 Log.d(TAG, "Broadcasting " + ACTION_REPORT_SCOPES + " with scopes " + scopes); in sendScopeReportBroadcast()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSetPolicyActivity.java108 List<String> scopes = scopeArray == null ? new ArrayList<>() in handleIntent() local
110 Log.i(TAG, "Setting delegated scopes for package: " + packageName + " " + scopes); in handleIntent()
112 packageName, scopes); in handleIntent()
DNetworkLoggingTest.java211 protected void setDelegatedScopes(String delegatePackage, List<String> scopes) { in setDelegatedScopes() argument
213 + ", " + delegatePackage + ", " + scopes + ") using " + mDpm); in setDelegatedScopes()
214 mDpm.setDelegatedScopes(ADMIN_RECEIVER_COMPONENT, delegatePackage, scopes); in setDelegatedScopes()
DBaseDeviceAdminTest.java231 protected void setDelegatedScopes(String delegatePackage, List<String> scopes) { in setDelegatedScopes() argument
233 + ", " + delegatePackage + ", " + scopes + ") using " + mDevicePolicyManager); in setDelegatedScopes()
234 mDevicePolicyManager.setDelegatedScopes(ADMIN_RECEIVER_COMPONENT, delegatePackage, scopes); in setDelegatedScopes()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasDelegate.java75 String[] scopes(); in scopes() method
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
DEnterpriseAnnotationExecutorTest.kt80 scopes = [DevicePolicyManager.DELEGATION_CERT_INSTALL],
91 scopes = [DevicePolicyManager.DELEGATION_CERT_INSTALL],
102 scopes = [DevicePolicyManager.DELEGATION_CERT_INSTALL],
115 scopes = [
167 @EnsureHasDelegate(admin = EnsureHasDelegate.AdminType.PRIMARY, scopes = [])
174 @EnsureHasDelegate(admin = EnsureHasDelegate.AdminType.PRIMARY, scopes = [], isPrimary = true)
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java1147 protected void setDelegatedScopes(String packageName, List<String> scopes) in setDelegatedScopes() argument
1151 if (scopes != null && scopes.size() > 0) { in setDelegatedScopes()
1152 scopesExtra = "--esa extra-scopes-list " + scopes.get(0); in setDelegatedScopes()
1153 for (int i = 1; i < scopes.size(); ++i) { in setDelegatedScopes()
1154 scopesExtra += "," + scopes.get(i); in setDelegatedScopes()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DEnterpriseComponent.kt75 annotation.scopes.toList() in ensureHasDelegate()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DPolicy.java373 String[] scopes, boolean isPrimary) {
374 return new AutoAnnotation_Policy_ensureHasDelegate(admin, scopes, isPrimary);
760 String[] scopes = ALL_DELEGATE_SCOPES.stream()
781 for (String scope : scopes) {
795 EnsureHasDelegate.AdminType.PRIMARY, scopes, /* isPrimary= */ true);