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
2360 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
2425 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2175 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in removeAccountAsUser()
3163 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccount()
3167 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccount()
3244 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccountAsUser()
3248 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccountAsUser()
3324 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in startAddAccountSession()
3328 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in startAddAccountSession()
3529 AccountManager.ERROR_CODE_USER_RESTRICTED, in finishSessionAsUser()
3531 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in finishSessionAsUser()
3632 } else if (errorCode == AccountManager.ERROR_CODE_USER_RESTRICTED) { in showCantAddAccount()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt372 Landroid/accounts/AccountManager;->ERROR_CODE_USER_RESTRICTED:I