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.java487 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
494 AccountManager.ERROR_CODE_USER_RESTRICTED); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
520 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
1004 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
1011 AccountManager.ERROR_CODE_USER_RESTRICTED); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
1036 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
1471 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testRemoveAccountAsUserUserCannotModifyAccount()
1977 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
1984 AccountManager.ERROR_CODE_USER_RESTRICTED); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
2011 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountWithDPM()
/frameworks/base/core/java/android/accounts/
DAccountManager.java182 public static final int ERROR_CODE_USER_RESTRICTED = 100; field in AccountManager
2472 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
2537 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2258 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in removeAccountAsUser()
3275 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccount()
3279 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccount()
3326 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccountAsUser()
3330 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccountAsUser()
3433 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in startAddAccountSession()
3437 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in startAddAccountSession()
3638 AccountManager.ERROR_CODE_USER_RESTRICTED, in finishSessionAsUser()
3640 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in finishSessionAsUser()
3741 } 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