Home
last modified time | relevance | path

Searched defs:account (Results 1 – 25 of 221) sorted by relevance

123456789

/aosp12/frameworks/base/core/java/android/accounts/
H A DIAccountManager.aidl34 String getPassword(in Account account); in getPassword()
35 String getUserData(in Account account, String key); in getUserData()
49 boolean removeAccountExplicitly(in Account account); in removeAccountExplicitly()
53 String peekAuthToken(in Account account, String authTokenType); in peekAuthToken()
55 void setPassword(in Account account, String password); in setPassword()
56 void clearPassword(in Account account); in clearPassword()
57 void setUserData(in Account account, String key, String value); in setUserData()
75 boolean accountAuthenticated(in Account account); in accountAuthenticated()
84 String getPreviousName(in Account account); in getPreviousName()
101 boolean someUserHasAccount(in Account account); in someUserHasAccount()
[all …]
H A DAbstractAccountAuthenticator.java324 Account account) throws RemoteException { in getAccountRemovalAllowed()
339 Account account) throws RemoteException { in getAccountCredentialsForCloning()
355 Account account, in addAccountFromCredentials()
404 Account account, in startUpdateCredentialsSession()
470 Account account, in isCredentialsUpdateSuggested()
587 Account account, Bundle options) in confirmCredentials()
701 Account account) throws NetworkErrorException { in getAccountRemovalAllowed()
719 final Account account) throws NetworkErrorException { in getAccountCredentialsForCloning()
744 Account account, in addAccountFromCredentials()
850 final Account account, in startUpdateCredentialsSession()
[all …]
H A DIAccountAuthenticator.aidl39 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account, in confirmCredentials()
46 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account, in getAuthToken()
59 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account, in updateCredentials()
73 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account, in hasFeatures()
80 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account); in getAccountRemovalAllowed()
86 in Account account); in getAccountCredentialsForCloning()
92 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account, in addAccountFromCredentials()
105 … void startUpdateCredentialsSession(in IAccountAuthenticatorResponse response, in Account account, in startUpdateCredentialsSession()
119 void isCredentialsUpdateSuggested(in IAccountAuthenticatorResponse response, in Account account, in isCredentialsUpdateSuggested()
H A DAccountManagerInternal.java42 public void onAppPermissionChanged(Account account, int uid); in onAppPermissionChanged()
56 public abstract void requestAccountAccess(@NonNull Account account, in requestAccountAccess()
67 public abstract boolean hasAccountAccess(@NonNull Account account, @IntRange(from = 0) int uid); in hasAccountAccess()
/aosp12/frameworks/base/core/java/android/content/
H A DIContentService.aidl65 void cancelSync(in Account account, String authority, in ComponentName cname); in cancelSync()
76 boolean getSyncAutomatically(in Account account, String providerName); in getSyncAutomatically()
85 void setSyncAutomatically(in Account account, String providerName, boolean sync); in setSyncAutomatically()
86 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser()
96 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName, in getPeriodicSyncs()
106 void addPeriodicSync(in Account account, String providerName, in Bundle extras, in addPeriodicSync()
116 void removePeriodicSync(in Account account, String providerName, in Bundle extras); in removePeriodicSync()
123 int getIsSyncable(in Account account, String providerName); in getIsSyncable()
124 int getIsSyncableAsUser(in Account account, String providerName, int userId); in getIsSyncableAsUser()
130 void setIsSyncable(in Account account, String providerName, int syncable); in setIsSyncable()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountsDbTest.java108 Account account = new Account("name", "example.com"); in testCeNotAvailableInitially() local
115 Account account = new Account("name", "example.com"); in testDeAccountInsertFindDelete() local
129 Account account = new Account("name", "example.com"); in testCeAccountInsertFindDelete() local
142 Account account = new Account("name", "example.com"); in testAuthTokenInsertFindDelete() local
164 Account account = new Account("name", "example.com"); in testAuthTokenDeletes() local
194 Account account = new Account("name", "example.com"); in testExtrasInsertFindDelete() local
221 Account account = new Account("name", "example.com"); in testGrantsInsertFindDelete() local
254 Account account = new Account("name", "example.com"); in testSharedAccountsInsertFindDelete() local
288 Account account = new Account("name", "example.com"); in testUpdateDeAccountLastAuthenticatedTime() local
300 Account account = new Account("name", "example.com"); in testRenameAccount() local
[all …]
H A DTestAccountType2Authenticator.java66 Account account, in confirmCredentials()
75 Account account, in getAuthToken()
91 Account account, in updateCredentials()
101 Account account, in hasFeatures()
121 Account account, in startUpdateCredentialsSession()
141 Account account, in isCredentialsUpdateSuggested()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
H A DShadowContentResolver.java63 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser()
68 protected static boolean getSyncAutomaticallyAsUser(Account account, String authority, in getSyncAutomaticallyAsUser()
84 protected static SyncStatusInfo getSyncStatusAsUser(Account account, String authority, in getSyncStatusAsUser()
94 public static void setIsSyncable(Account account, String authority, int syncable) { in setIsSyncable()
99 protected static void setSyncAutomaticallyAsUser(Account account, String authority, in setSyncAutomaticallyAsUser()
113 public static void setSyncStatus(Account account, String authority, SyncStatusInfo status) { in setSyncStatus()
118 public static void cancelSyncAsUser(Account account, String authority, @UserIdInt int userId) { in cancelSyncAsUser()
125 public static void requestSyncAsUser(Account account, String authority, @UserIdInt int userId, in requestSyncAsUser()
169 void onSyncCanceled(Account account, String authority, @UserIdInt int userId); in onSyncCanceled()
171 void onSyncRequested(Account account, String authority, @UserIdInt int userId, in onSyncRequested()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DSyncUtil.java44 public static final boolean isSyncStatusPendingOrActive(Account account) { in isSyncStatusPendingOrActive()
68 public static final boolean isUnsyncableGoogleAccount(Account account) { in isUnsyncableGoogleAccount()
79 public static boolean isAlertVisible(Context context, Account account, int reason) { in isAlertVisible()
89 public static int calculateReasonSyncOff(Context context, Account account) { in calculateReasonSyncOff()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
H A DAccountStateChangedListener.java55 public static void onSyncPreferenceChanged(@Nullable String account, boolean syncEnabled) { in onSyncPreferenceChanged()
64 public static void forceSync(@Nullable String account) { in forceSync()
73 public static void forceDelete(@Nullable String account) { in forceDelete()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
H A DTestAuthenticator.java69 final Account account = new Account(newUniqueUserName(), accountType); in addAccount() local
84 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken()
99 AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials()
125 AccountAuthenticatorResponse response, Account account, String[] features) { in hasFeatures()
138 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials()
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllogutils/
H A DPhoneAccountUtils.java32 PhoneAccount account = getAccountOrNull(context, accountHandle); in getAccountLabel() local
41 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); in getAccountColor() local
55 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle); in getAccountSupportsCallSubject() local
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
H A DAccountSyncFragment.java90 public static AccountSyncFragment newInstance(Account account) { in newInstance()
98 public static void prepareArgs(Bundle b, Account account) { in prepareArgs()
164 Account account = syncPref.getAccount(); in onPreferenceTreeClick() local
244 private void requestOrCancelSync(Account account, String authority, boolean flag) { in requestOrCancelSync()
255 private boolean isSyncing(List<SyncInfo> currentSyncs, Account account, String authority) { in isSyncing()
264 private boolean accountExists(Account account) { in accountExists()
310 Account account = syncPref.getAccount(); in onSyncStateUpdated() local
406 private Preference createSyncStateSwitch(Account account, String authority) { in createSyncStateSwitch()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DEditorUiUtilsTest.java79 final AccountInfo account = new AccountInfo(new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME, in testGetProfileAccountInfo_NonLocalAccount() local
94 final AccountInfo account = new AccountInfo(new AccountDisplayInfo(ACCOUNT, "Device", in testGetProfileAccountInfo_DeviceLocalAccount() local
106 final AccountDisplayInfo account = new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME, in testGetAccountInfo_AccountType_NonGoogle() local
117 final AccountDisplayInfo account = new AccountDisplayInfo(GOOGLE_ACCOUNT, ACCOUNT_NAME, in testGetAccountInfo_AccountType_Google() local
130 final AccountDisplayInfo account = new AccountDisplayInfo(deviceAccount, "Device", in testGetAccountInfo_AccountType_DeviceAccount() local
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
H A DTranscriptionBackfillService.java43 public static boolean scheduleTask(Context context, PhoneAccountHandle account) { in scheduleTask()
59 private static JobWorkItem makeWorkItem(PhoneAccountHandle account) { in makeWorkItem()
71 final PhoneAccountHandle account = in onHandleWork() local
/aosp12/frameworks/base/core/java/android/provider/
H A DSyncStateContract.java74 Account account) throws RemoteException { in get()
104 Account account, byte[] data) throws RemoteException { in set()
113 Account account, byte[] data) throws RemoteException { in insert()
129 Account account) throws RemoteException { in getWithUri()
159 Account account, byte[] data) { in newSetOperation()
/aosp12/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/accounts/
H A DAuthenticator.java47 public Bundle confirmCredentials(AccountAuthenticatorResponse r, Account account, Bundle bundle) in confirmCredentials()
53 public Bundle getAuthToken(AccountAuthenticatorResponse r, Account account, String s, in getAuthToken()
64 public Bundle updateCredentials(AccountAuthenticatorResponse r, Account account, String s, in updateCredentials()
70 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] strings) in hasFeatures()
/aosp12/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
H A DStatsdAuthenticator.java59 final Account account = getTestAccount(); in ensureTestAccount() local
107 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials()
113 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, in confirmCredentials()
119 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken()
130 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, in hasFeatures()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
H A DAccountSyncHelper.java47 static Set<SyncAdapterType> getVisibleSyncAdaptersForAccount(Context context, Account account, in getVisibleSyncAdaptersForAccount()
59 static Set<SyncAdapterType> getSyncableSyncAdaptersForAccount(Account account, in getSyncableSyncAdaptersForAccount()
95 static boolean requestSyncIfAllowed(Account account, String authority, int userId) { in requestSyncIfAllowed()
123 static boolean isSyncing(Account account, List<SyncInfo> currentSyncs, String authority) { in isSyncing()
151 static boolean syncIsAllowed(Account account, String authority, int userId) { in syncIsAllowed()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionary.java48 @Nullable final String account) { in UserHistoryDictionary()
60 @Nullable final File dictFile, @Nullable final String account) { in getUserHistoryDictName()
71 @Nullable final File dictFile, @Nullable final String account) { in getUserHistoryDictNamePerAccount()
86 final File dictFile, final String dictNamePrefix, @Nullable final String account) { in getDictionary()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DAuthenticator.java53 public Bundle confirmCredentials(AccountAuthenticatorResponse r, Account account, Bundle bundle) in confirmCredentials()
61 public Bundle getAuthToken(AccountAuthenticatorResponse r, Account account, String s, in getAuthToken()
76 public Bundle updateCredentials(AccountAuthenticatorResponse r, Account account, String s, in updateCredentials()
84 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] strings) in hasFeatures()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/tests/
H A DAccountsTestHelper.java62 public void addTestAccount(AccountWithDataSet account) { in addTestAccount()
75 final AccountWithDataSet account = new AccountWithDataSet(name, TEST_ACCOUNT_TYPE, null); in addTestAccount() local
89 public void removeTestAccount(AccountWithDataSet account) { in removeTestAccount()
106 public void removeContactsForAccount(AccountWithDataSet account) { in removeContactsForAccount()
/aosp12/frameworks/base/telecomm/java/android/telecom/
H A DAuthenticatorService.java70 Account account, Bundle bundle) in confirmCredentials()
77 Account account, String s, Bundle bundle) in getAuthToken()
89 Account account, String s, Bundle bundle) in updateCredentials()
96 Account account, String[] strings) in hasFeatures()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DAccountInfo.java97 public static boolean contains(List<AccountInfo> accounts, AccountInfo account) { in contains()
107 public static boolean contains(List<AccountInfo> accounts, AccountWithDataSet account) { in contains()
114 public static AccountInfo getAccount(List<AccountInfo> accounts, AccountWithDataSet account) { in getAccount()
/aosp12/frameworks/base/services/core/java/com/android/server/accounts/
H A DTokenCache.java49 public final Account account; field in TokenCache.Key
54 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { in Key()
165 public void evict(Account account) { in evict()
190 Account account, in put()
213 public void remove(Account account) { in remove()
220 public String get(Account account, String tokenType, String packageName, byte[] sigDigest) { in get()

123456789