Home
last modified time | relevance | path

Searched defs:account (Results 1 – 25 of 174) 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/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DContentResolverCompat.java28 Account account, String authority, @UserIdInt int userId) { in getSyncAutomaticallyAsUser()
36 public static SyncStatusInfoCompat getSyncStatusAsUser(Account account, String authority, in getSyncStatusAsUser()
46 Account account, String authority, @UserIdInt int userId) { in getIsSyncableAsUser()
51 Account account, String authority, boolean sync, @UserIdInt int userId) { in setSyncAutomaticallyAsUser()
66 Account account, String authority, @UserIdInt int userId, Bundle extras) { in requestSyncAsUser()
70 public static void cancelSyncAsUser(Account account, String authority, @UserIdInt int userId) { in cancelSyncAsUser()
/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/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/
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()
DAccountSyncActivity.java39 Account account = null; in createSettingsFragment() local
54 private Bundle getArguments(Account account) { in getArguments()
/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()
/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/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DFastPairDataProvider.java112 public void optIn(Account account) { in optIn()
129 public void upload(Account account, FastPairUploadInfo uploadInfo) { in upload()
149 Account account) { in loadFastPairDeviceWithAccountKey()
164 Account account, List<byte[]> deviceAccountKeys) { in loadFastPairDeviceWithAccountKey()
/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/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
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()
DStatsdSyncAdapter.java53 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync()
72 public static void requestSync(Account account) throws Exception { in requestSync()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
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()
DAccountSyncDetailsFragment.java41 public static AccountSyncDetailsFragment newInstance(Account account, UserHandle userHandle) { in newInstance()
60 Account account = getArguments().getParcelable(EXTRA_ACCOUNT); in onAttach() local
/packages/apps/Settings/tests/legacy_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/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/modules/Bluetooth/android/app/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/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/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/tests/src/com/android/contacts/database/
DSimContactDaoTests.java355 final AccountWithDataSet account = mAccountHelper.addTestAccount( in hasAccountWithMatchingContactsWhenSingleMatchingContactExists() local
373 ), account); in hasAccountWithMatchingContactsWhenSingleMatchingContactExists() local
434 final AccountWithDataSet account = mAccountHelper.addTestAccount( in matchesByNameIfSimContactHasNoPhone() local
452 ), account); in matchesByNameIfSimContactHasNoPhone() local
479 final AccountWithDataSet account = mAccountHelper.addTestAccount( in largeNumberOfSimContacts() local
484 account); in largeNumberOfSimContacts() local
524 private static void appendCreateContact(String name, AccountWithDataSet account, in appendCreateContact()
542 … List<String> emails, AccountWithDataSet account, List<ContentProviderOperation> ops) { in appendCreateContact()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java223 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); in getSubscriptionIdForPhoneAccount() local
286 PhoneAccount account = getPhoneAccount(defaultPhoneAccountHandle.phoneAccountHandle, in getUserSelectedOutgoingPhoneAccount() local
368 PhoneAccount account = getPhoneAccount(accountHandle, userHandle); in setUserSelectedOutgoingPhoneAccount() local
629 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); in enablePhoneAccount() local
663 private boolean isVisibleForUser(PhoneAccount account, UserHandle userHandle, in isVisibleForUser()
853 PhoneAccount account = getPhoneAccountUnchecked(handle); in isSelfManagedPhoneAccount() local
871 public void registerPhoneAccount(PhoneAccount account) { in registerPhoneAccount()
899 private void enforceMaxPhoneAccountLimit(@NonNull PhoneAccount account) { in enforceMaxPhoneAccountLimit()
923 public void enforceIconSizeLimit(PhoneAccount account) { in enforceIconSizeLimit()
959 public void enforceCharacterLimit(PhoneAccount account) { in enforceCharacterLimit()
[all …]
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/
DDataUtils.java41 @NonNull String bleAddress, @NonNull String modelId, @Nullable String account) { in toScanFastPairStoreItem()
90 String deviceName, @Nullable String account) { in getFastPairStrings()

1234567