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.java504 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
511 AccountManager.ERROR_CODE_USER_RESTRICTED); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
537 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
1021 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
1028 AccountManager.ERROR_CODE_USER_RESTRICTED); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
1053 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
1493 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testRemoveAccountAsUserUserCannotModifyAccount()
1999 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
2006 AccountManager.ERROR_CODE_USER_RESTRICTED); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
2033 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountWithDPM()
/frameworks/base/core/java/android/accounts/
DAccountManager.java184 public static final int ERROR_CODE_USER_RESTRICTED = 100; field in AccountManager
2455 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
2520 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2355 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in removeAccountAsUser()
3395 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccount()
3399 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccount()
3446 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccountAsUser()
3450 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccountAsUser()
3553 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in startAddAccountSession()
3557 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in startAddAccountSession()
3763 AccountManager.ERROR_CODE_USER_RESTRICTED, in finishSessionAsUser()
3765 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in finishSessionAsUser()
3866 } else if (errorCode == AccountManager.ERROR_CODE_USER_RESTRICTED) { in showCantAddAccount()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt372 Landroid/accounts/AccountManager;->ERROR_CODE_USER_RESTRICTED:I