Home
last modified time | relevance | path

Searched refs:ERROR_CODE_USER_RESTRICTED (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java498 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
505 AccountManager.ERROR_CODE_USER_RESTRICTED); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
531 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
1015 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
1022 AccountManager.ERROR_CODE_USER_RESTRICTED); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
1047 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
1487 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testRemoveAccountAsUserUserCannotModifyAccount()
1993 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
2000 AccountManager.ERROR_CODE_USER_RESTRICTED); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
2027 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountWithDPM()
/aosp14/frameworks/base/core/java/android/accounts/
H A DAccountManager.java184 public static final int ERROR_CODE_USER_RESTRICTED = 100; field in AccountManager
2460 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
2525 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
/aosp14/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java2317 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in removeAccountAsUser()
3340 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccount()
3344 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccount()
3391 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccountAsUser()
3395 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccountAsUser()
3498 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in startAddAccountSession()
3502 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in startAddAccountSession()
3703 AccountManager.ERROR_CODE_USER_RESTRICTED, in finishSessionAsUser()
3705 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in finishSessionAsUser()
3806 } else if (errorCode == AccountManager.ERROR_CODE_USER_RESTRICTED) { in showCantAddAccount()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt372 Landroid/accounts/AccountManager;->ERROR_CODE_USER_RESTRICTED:I