Searched refs:scopes (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | DelegatedScopesReceiverActivity.java | 96 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/ |
D | SetPolicyActivity.java | 108 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()
|
D | NetworkLoggingTest.java | 211 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()
|
D | BaseDeviceAdminTest.java | 231 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/ |
D | EnsureHasDelegate.java | 75 String[] scopes(); in scopes() method
|
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/ |
D | EnterpriseAnnotationExecutorTest.kt | 80 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/ |
D | DeviceAndProfileOwnerTest.java | 1147 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/ |
D | EnterpriseComponent.kt | 75 annotation.scopes.toList() in ensureHasDelegate()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | Policy.java | 373 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);
|