Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java460 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
467 AccountManager.ERROR_CODE_USER_RESTRICTED); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
493 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
942 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
949 AccountManager.ERROR_CODE_USER_RESTRICTED); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
974 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
1409 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testRemoveAccountAsUserUserCannotModifyAccount()
1862 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
1869 AccountManager.ERROR_CODE_USER_RESTRICTED); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
1896 eq(AccountManager.ERROR_CODE_USER_RESTRICTED), anyString()); in testAddAccountAsUserUserCannotModifyAccountWithDPM()
/aosp12/frameworks/base/core/java/android/accounts/
H A DAccountManager.java181 public static final int ERROR_CODE_USER_RESTRICTED = 100; field in AccountManager
2465 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
2530 if (code == ERROR_CODE_CANCELED || code == ERROR_CODE_USER_RESTRICTED
/aosp12/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java2244 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in removeAccountAsUser()
3259 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccount()
3263 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccount()
3310 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in addAccountAsUser()
3314 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in addAccountAsUser()
3417 response.onError(AccountManager.ERROR_CODE_USER_RESTRICTED, in startAddAccountSession()
3421 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in startAddAccountSession()
3623 AccountManager.ERROR_CODE_USER_RESTRICTED, in finishSessionAsUser()
3625 showCantAddAccount(AccountManager.ERROR_CODE_USER_RESTRICTED, userId); in finishSessionAsUser()
3726 } else if (errorCode == AccountManager.ERROR_CODE_USER_RESTRICTED) { in showCantAddAccount()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt372 Landroid/accounts/AccountManager;->ERROR_CODE_USER_RESTRICTED:I