public void addAccount(int userId, IAccountManagerResponse response, String accountType, String authTokenType, String[] requiredFeatures, boolean expectActivityLaunch, Bundle optionsIn) { try { getService().addAccount(userId, response, accountType, authTokenType, requiredFeatures, expectActivityLaunch, optionsIn); } catch (RemoteException e) { e.printStackTrace(); } }
public Account[] getAccounts(int userId, String type) { try { return getService().getAccounts(userId, type); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public void getAuthTokenLabel(IAccountManagerResponse response, String accountType, String authTokenType) { try { getService().getAuthTokenLabel(VUserHandle.myUserId(), response, accountType, authTokenType); } catch (RemoteException e) { e.printStackTrace(); } }
public boolean accountAuthenticated(Account account) { try { return getService().accountAuthenticated(VUserHandle.myUserId(), account); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public void getAuthToken(IAccountManagerResponse response, Account account, String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch, Bundle loginOptions) { try { getService().getAuthToken(VUserHandle.myUserId(), response, account, authTokenType, notifyOnAuthFailure, expectActivityLaunch, loginOptions); } catch (RemoteException e) { e.printStackTrace(); } }
public void editProperties(IAccountManagerResponse response, String accountType, boolean expectActivityLaunch) { try { getService().editProperties(VUserHandle.myUserId(), response, accountType, expectActivityLaunch); } catch (RemoteException e) { e.printStackTrace(); } }
public boolean addAccountExplicitly(Account account, String password, Bundle extras) { try { return getService().addAccountExplicitly(VUserHandle.myUserId(), account, password, extras); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }
public void clearPassword(Account account) { try { getService().clearPassword(VUserHandle.myUserId(), account); } catch (RemoteException e) { e.printStackTrace(); } }
public void getAccountsByFeatures(IAccountManagerResponse response, String type, String[] features) { try { getService().getAccountsByFeatures(VUserHandle.myUserId(), response, type, features); } catch (RemoteException e) { e.printStackTrace(); } }
public void confirmCredentials(IAccountManagerResponse response, Account account, Bundle options, boolean expectActivityLaunch) { try { getService().confirmCredentials(VUserHandle.myUserId(), response, account, options, expectActivityLaunch); } catch (RemoteException e) { e.printStackTrace(); } }
public void addAccount(IAccountManagerResponse response, String accountType, String authTokenType, String[] requiredFeatures, boolean expectActivityLaunch, Bundle optionsIn) { try { getService().addAccount(VUserHandle.myUserId(), response, accountType, authTokenType, requiredFeatures, expectActivityLaunch, optionsIn); } catch (RemoteException e) { e.printStackTrace(); } }
public Account[] getAccounts(String type) { try { return getService().getAccounts(VUserHandle.myUserId(), type); } catch (RemoteException e) { return VirtualRuntime.crash(e); } }