Searched refs:ERROR_CODE_USER_RESTRICTED (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 443 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountNoDPM() 450 AccountManager.ERROR_CODE_USER_RESTRICTED); in testStartAddAccountSessionUserCannotModifyAccountNoDPM() 476 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountWithDPM() 921 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountNoDPM() 928 AccountManager.ERROR_CODE_USER_RESTRICTED); in testFinishSessionAsUserUserCannotModifyAccountNoDPM() 953 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountWithDPM() 1384 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testRemoveAccountAsUserUserCannotModifyAccount() 1819 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountNoDPM() 1826 AccountManager.ERROR_CODE_USER_RESTRICTED); in testAddAccountAsUserUserCannotModifyAccountNoDPM() 1853 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountWithDPM()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManager.java | 180 public static final int ERROR_CODE_USER_RESTRICTED = 100; field in AccountManager 2352 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED 2417 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 2150 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in removeAccountAsUser() 3137 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccount() 3141 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccount() 3218 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccountAsUser() 3222 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccountAsUser() 3298 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in startAddAccountSession() 3302 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in startAddAccountSession() 3503 AccountManager.ERROR_CODE_USER_RESTRICTED, in finishSessionAsUser() 3505 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in finishSessionAsUser() 3606 } else if (errorCode == AccountManager.ERROR_CODE_USER_RESTRICTED) { in showCantAddAccount()
|