Move accountname and typeName length check from Account.java to AccountManagerService. Bug: 169762606 Test: atest AccountManagerServiceTest Change-Id: I80fabf3a64c55837db98ff316e7e5420129c001b (cherry picked from commit 0adcadb0b28310bac568def4da2cbaf16843bcea) (cherry picked from commit cf62c760d4c002f562ddd5f372abe5bccda8a6ad) Merged-In: I80fabf3a64c55837db98ff316e7e5420129c001b