Home
last modified time | relevance | path

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

1234567

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
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()
DAuthUtils.java52 public AccountManagerFuture<Bundle> getAuthToken(final Account account, in getAuthToken()
62 public String blockingGetAuthToken(final Account account, final String authTokenType, in blockingGetAuthToken()
/packages/apps/Contacts/src/com/android/contacts/util/
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()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
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
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
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
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncActivity.java39 Account account = null; in createSettingsFragment() local
53 private Bundle getArguments(Account account) { in getArguments()
DAccountSyncFragment.java87 public static AccountSyncFragment newInstance(Account account) { in newInstance()
95 public static void prepareArgs(Bundle b, Account account) { in prepareArgs()
156 Account account = syncPref.getAccount(); in onPreferenceTreeClick() local
228 private void requestOrCancelSync(Account account, String authority, boolean flag) { in requestOrCancelSync()
239 private boolean isSyncing(List<SyncInfo> currentSyncs, Account account, String authority) { in isSyncing()
248 private boolean accountExists(Account account) { in accountExists()
294 Account account = syncPref.getAccount(); in onSyncStateUpdated() local
390 private Preference createSyncStateSwitch(Account account, String authority) { in createSyncStateSwitch()
/packages/apps/Settings/tests/unit/src/com/android/settings/accounts/
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()
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
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
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
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()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncDetailsFragment.java61 public static AccountSyncDetailsFragment newInstance(Account account, UserHandle userHandle) { in newInstance()
93 Account account = getArguments().getParcelable(EXTRA_ACCOUNT); in onAttach() local
150 Account account = getArguments().getParcelable(EXTRA_ACCOUNT); in requestSyncForEnabledProviders() local
162 Account account = getArguments().getParcelable(EXTRA_ACCOUNT); in cancelSyncForEnabledProviders() local
DAccountSyncHelper.java45 static Set<SyncAdapterType> getVisibleSyncAdaptersForAccount(Context context, Account account, in getVisibleSyncAdaptersForAccount()
57 static Set<SyncAdapterType> getSyncableSyncAdaptersForAccount(Account account, in getSyncableSyncAdaptersForAccount()
91 static void requestSyncIfAllowed(Account account, String authority, int userId) { in requestSyncIfAllowed()
118 static boolean isSyncing(Account account, List<SyncInfo> currentSyncs, String authority) { in isSyncing()
145 private static boolean syncIsAllowed(Account account, String authority, int userId) { in syncIsAllowed()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
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()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountDisplayInfoFactory.java62 public AccountDisplayInfo getAccountDisplayInfo(AccountWithDataSet account) { in getAccountDisplayInfo()
78 final AccountWithDataSet account = new AccountWithDataSet(delta.getAccountName(), in getAccountDisplayInfoFor() local
92 private boolean shouldUseTypeLabelForName(AccountWithDataSet account) { in shouldUseTypeLabelForName()
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()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportRequest.java38 public final Account account; field in ImportRequest
99 public ImportRequest(AccountWithDataSet account, in ImportRequest()
/packages/apps/TV/src/com/android/tv/util/account/
DAccountHelperImpl.java81 Account account = getFirstEligibleAccount(); in selectFirstAccount() local
101 private void selectAccount(Account account) { in selectAccount()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnableAccountPreferenceFragment.java46 public AccountSwitchPreference(Context context, PhoneAccount account) { in AccountSwitchPreference()
96 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in onResume() local
/packages/apps/Dialer/java/com/android/dialer/util/
DCallUtil.java77 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in getVideoCallingAvailability() local
138 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isCallWithSubjectSupported() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowContentResolver.java59 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser()
64 protected static boolean getSyncAutomaticallyAsUser(Account account, String authority, in getSyncAutomaticallyAsUser()
70 protected static void setSyncAutomaticallyAsUser(Account account, String authority, in setSyncAutomaticallyAsUser()
/packages/apps/Dialer/java/com/android/voicemail/stub/
DStubVoicemailClient.java80 public boolean isVoicemailTranscriptionEnabled(Context context, PhoneAccountHandle account) { in isVoicemailTranscriptionEnabled()
85 public boolean isVoicemailDonationAvailable(Context context, PhoneAccountHandle account) { in isVoicemailDonationAvailable()
90 public boolean isVoicemailDonationEnabled(Context context, PhoneAccountHandle account) { in isVoicemailDonationEnabled()
143 public void onTosAccepted(Context context, PhoneAccountHandle account) {} in onTosAccepted()
152 public String getCarrierConfigString(Context context, PhoneAccountHandle account, String key) { in getCarrierConfigString()
/packages/apps/Contacts/src/com/android/contacts/
DCallUtil.java166 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in getVideoCallingAvailability() local
213 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isCallWithSubjectSupported() local
249 PhoneAccount account = telecommMgr.getPhoneAccount(accountHandle); in isTachyonEnabled() local

1234567