Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java446 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
453 AccountManager.ERROR_CODE_USER_RESTRICTED); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
479 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
928 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
935 AccountManager.ERROR_CODE_USER_RESTRICTED); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
960 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
1395 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testRemoveAccountAsUserUserCannotModifyAccount()
1832 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
1839 AccountManager.ERROR_CODE_USER_RESTRICTED); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
1866 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountWithDPM()
/frameworks/base/core/java/android/accounts/
DAccountManager.java176 public static final int ERROR_CODE_USER_RESTRICTED = 100; field in AccountManager
2356 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
2421 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2148 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in removeAccountAsUser()
3136 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccount()
3140 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccount()
3217 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccountAsUser()
3221 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccountAsUser()
3297 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in startAddAccountSession()
3301 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in startAddAccountSession()
3502 AccountManager.ERROR_CODE_USER_RESTRICTED, in finishSessionAsUser()
3504 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in finishSessionAsUser()
3605 } else if (errorCode == AccountManager.ERROR_CODE_USER_RESTRICTED) { in showCantAddAccount()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt403 Landroid/accounts/AccountManager;->ERROR_CODE_USER_RESTRICTED:I