Home
last modified time | relevance | path

Searched refs:account (Results 1 – 25 of 644) sorted by relevance

12345678910>>...26

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccountManagerTest.java113 Account account = new Account("name", "type"); in addAuthToken() local
114 shadowOf(am).addAccount(account); in addAuthToken()
116 am.setAuthToken(account, "token_type_1", "token1"); in addAuthToken()
117 am.setAuthToken(account, "token_type_2", "token2"); in addAuthToken()
119 assertThat(am.peekAuthToken(account, "token_type_1")).isEqualTo("token1"); in addAuthToken()
120 assertThat(am.peekAuthToken(account, "token_type_2")).isEqualTo("token2"); in addAuthToken()
125 Account account = new Account("name", "type"); in setAuthToken_shouldNotAddTokenIfAccountNotPresent() local
126 am.setAuthToken(account, "token_type_1", "token1"); in setAuthToken_shouldNotAddTokenIfAccountNotPresent()
127 assertThat(am.peekAuthToken(account, "token_type_1")).isNull(); in setAuthToken_shouldNotAddTokenIfAccountNotPresent()
132 Account account = new Account("name", "type"); in testAddAccountExplicitly_noPasswordNoExtras() local
[all …]
DShadowAccountTest.java16 Account account = new Account("name", "type"); in shouldHaveStringsConstructor() local
18 assertThat(account.name).isEqualTo("name"); in shouldHaveStringsConstructor()
19 assertThat(account.type).isEqualTo("type"); in shouldHaveStringsConstructor()
55 Account account = new Account("name", "type"); in shouldHaveToString() local
56 assertThat(account.toString()).isEqualTo("Account {name=name, type=type}"); in shouldHaveToString()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccountManager.java90 public synchronized void setAuthToken(Account account, String tokenType, String authToken) { in setAuthToken() argument
91 if(accounts.contains(account)) { in setAuthToken()
92 Map<String, String> tokenMap = authTokens.get(account); in setAuthToken()
95 authTokens.put(account, tokenMap); in setAuthToken()
102 public String peekAuthToken(Account account, String tokenType) { in peekAuthToken() argument
103 Map<String, String> tokenMap = authTokens.get(account); in peekAuthToken()
111 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) { in addAccountExplicitly() argument
112 if (account == null) { in addAccountExplicitly()
115 for (Account a: getAccountsByType(account.type)) { in addAccountExplicitly()
116 if (a.name.equals(account.name)) { in addAccountExplicitly()
[all …]
DShadowContentResolver.java433 public static void requestSync(Account account, String authority, Bundle extras) {
435 Status status = getStatus(account, authority, true);
441 public static void cancelSync(Account account, String authority) {
442 Status status = getStatus(account, authority);
456 public static boolean isSyncActive(Account account, String authority) {
457 ShadowContentResolver.Status status = getStatus(account, authority);
463 public static void setIsSyncable(Account account, String authority, int syncable) {
464 getStatus(account, authority, true).state = syncable;
468 public static int getIsSyncable(Account account, String authority) {
469 return getStatus(account, authority, true).state;
[all …]
DShadowTelecomManager.java112 public PhoneAccount getPhoneAccount(PhoneAccountHandle account) { in getPhoneAccount() argument
113 return accounts.get(account); in getPhoneAccount()
132 public void registerPhoneAccount(PhoneAccount account) { in registerPhoneAccount() argument
133 accounts.put(account.getAccountHandle(), account); in registerPhoneAccount() local
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContentResolver.java174 public static void requestSync(Account account, String authority, Bundle extras) {
176 Status status = getStatus(account, authority, true);
182 public static void setIsSyncable(Account account, String authority, int syncable) {
183 getStatus(account, authority, true).state = syncable;
187 public static int getIsSyncable(Account account, String authority) {
188 return getStatus(account, authority, true).state;
192 public static boolean getSyncAutomatically(Account account, String authority) {
193 return getStatus(account, authority, true).syncAutomatically;
197 public static void setSyncAutomatically(Account account, String authority, boolean sync) {
198 getStatus(account, authority, true).syncAutomatically = sync;
[all …]
DShadowAccountManager.java50 …public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle opt… in getAuthToken() argument
52 final Account finalAccount = account; in getAuthToken()
99 private void addBundleResults(Bundle bundle, final Account account) { in getAuthToken() argument
101 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); in getAuthToken()
102 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken()
181 for (Account account : accounts) {
182 if (accountType.equals(account.type)) {
183 accountList.add(account);
191 public String peekAuthToken(Account account, String authTokenType) {
192 HashMap<String, String> tokens = cachedAuthTokenValues.get(account);
[all …]
DShadowPeriodicSync.java17 …public void __constructor__(Account account, String authority, Bundle extras, long period) throws … in __constructor__() argument
18 setField("account", account); in __constructor__()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAccountTest.java18 Account account = new Account("name", "type"); in shouldHaveStringsConstructor() local
20 assertThat(account.name, equalTo("name")); in shouldHaveStringsConstructor()
21 assertThat(account.type, equalTo("type")); in shouldHaveStringsConstructor()
32 Account account = new Account(p); in shouldHaveParcelConstructor() local
33 assertThat(account.name, equalTo("name")); in shouldHaveParcelConstructor()
34 assertThat(account.type, equalTo("type")); in shouldHaveParcelConstructor()
61 Account account = new Account("name", "type"); in shouldHaveToString() local
62 assertThat(account.toString(), equalTo("Account {name=name, type=type}")); in shouldHaveToString()
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
DShadowGoogleAuthUtil.java65 public static synchronized String getToken(Context context, Account account, String scope) in getToken() argument
67 return googleAuthUtilImpl.getToken(context, account, scope); in getToken()
71 public static synchronized String getToken(Context context, Account account, String scope, in getToken() argument
73 return googleAuthUtilImpl.getToken(context, account, scope, extras); in getToken()
89 public static synchronized String getTokenWithNotification(Context context, Account account, in getTokenWithNotification() argument
92 return googleAuthUtilImpl.getTokenWithNotification(context, account, scope, extras); in getTokenWithNotification()
96 public static synchronized String getTokenWithNotification(Context context, Account account, in getTokenWithNotification() argument
100 .getTokenWithNotification(context, account, scope, extras, callback); in getTokenWithNotification()
104 public static synchronized String getTokenWithNotification(Context context, Account account, in getTokenWithNotification() argument
108 .getTokenWithNotification(context, account, scope, extras, authority, syncBundle); in getTokenWithNotification()
[all …]
/external/skqp/infra/project-config/
Dcr-buildbucket.cfg21 group: "service-account-cq"
25 group: "service-account-skia-master"
41 group: "service-account-cq"
45 group: "service-account-skia-master"
61 group: "service-account-cq"
65 group: "service-account-skia-master"
81 group: "service-account-cq"
85 group: "service-account-skia-master"
/external/skia/infra/project-config/
Dcr-buildbucket.cfg21 group: "service-account-cq"
25 group: "service-account-skia-master"
41 group: "service-account-cq"
45 group: "service-account-skia-master"
61 group: "service-account-cq"
65 group: "service-account-skia-master"
81 group: "service-account-cq"
85 group: "service-account-skia-master"
/external/llvm/test/tools/llvm-profdata/
Dgeneral.proftext74 # DETAILED-SUMMARY: 3 blocks with count >= 576460752303423488 account for 80 percentage of the tota…
75 # DETAILED-SUMMARY: 4 blocks with count >= 288230376151711744 account for 90 percentage of the tota…
76 # DETAILED-SUMMARY: 4 blocks with count >= 288230376151711744 account for 95 percentage of the tota…
77 # DETAILED-SUMMARY: 6 blocks with count >= 72057594037927936 account for 99 percentage of the total…
78 # DETAILED-SUMMARY: 6 blocks with count >= 72057594037927936 account for 99.9 percentage of the tot…
79 # DETAILED-SUMMARY: 6 blocks with count >= 72057594037927936 account for 99.99 percentage of the to…
80 # DETAILED-SUMMARY: 6 blocks with count >= 72057594037927936 account for 99.999 percentage of the t…
83 # DETAILED-SUMMARY-2: 2 blocks with count >= 1152921504606846976 account for 60 percentage of the t…
86 # DETAILED-SUMMARY-3: 2 blocks with count >= 1152921504606846976 account for 60 percentage of the t…
87 # DETAILED-SUMMARY-3: 4 blocks with count >= 288230376151711744 account for 90 percentage of the to…
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DAndroidAuthenticator.java47 public AndroidAuthenticator(Context context, Account account, String authTokenType) { in AndroidAuthenticator() argument
48 this(context, account, authTokenType, false); in AndroidAuthenticator()
58 public AndroidAuthenticator(Context context, Account account, String authTokenType, in AndroidAuthenticator() argument
60 this(AccountManager.get(context), account, authTokenType, notifyAuthFailure); in AndroidAuthenticator()
64 AndroidAuthenticator(AccountManager accountManager, Account account, in AndroidAuthenticator() argument
67 mAccount = account; in AndroidAuthenticator()
/external/cros/system_api/dbus/login_manager/
Dpolicy_descriptor.proto11 // Specifies the account type that the |account_id| in PolicyDescriptor
18 // |account_id| references a user account. Policy is stored on the user's
22 // |account_id| references a user account where the user session hasn't been
27 // |account_id| references a device local account. Policy is stored in a
34 // Within a given account, policies are namespaced by a
55 // The pair (|account_type|, |account_id|) determines the account for policy
/external/cros/system_api/dbus/authpolicy/
Dactive_directory_info.proto106 // Unique id of the user account. Taken from the objectGUID property of the
107 // Active Directory user account information.
110 // account information.
113 // of the Active Directory user account information.
116 // property of the Active Directory user account information.
120 // the pwdLastSet property of the Active Directory user account information.
123 // User account control flags, see
125 // the userAccountControl property of the Active Directory user account
129 // property of the Active Directory user account information.
153 // User's account information, see above.
[all …]
/external/icu/icu4c/source/data/translit/
DThaiLogical_Latin.txt40 ห | $1 ← h ($notAbove*) \u0304; # backward case, account for reordering
78 ฝ | $1 ← f ($notAbove*) \u0304; # backward case, account for reordering
86 ศ | $1 ← s \u0323 ($notAbove*) \u0304; # backward case, account for reordering
89 ส | $1 ← s ($notAbove*) \u0304; # backward case, account for reordering
98 า | $1 ← a ($notAbove*) \u0304; # backward case, account for reordering
101 ำ | $1 ← a ($notAbove*) \u0309 ; # backward case, account for reordering
104 \u0E35 | $1 ← i ($notAbove*) \u0304 ; # backward case, account for reordering
106 \u0E37 | $1 ← u \u0323 ($notAbove*) \u0304 ; # backward case, account for reordering
109 \u0E39 | $1 ← u ($notAbove*) \u0304 ; # backward case, account for reordering
/external/curl/tests/data/
Dtest2948 --ftp-account
42 FTP --ftp-account on ACCT request
45 ftp://%HOSTIP:%FTPPORT/294/ --ftp-account "data for acct"
Dtest22912 REPLY PASS 332 please provide account name
26 ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count"
Dtest22819 REPLY PASS 332 please provide account name
33 ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/user/
DUserAccount.groovy19 * Represents a single user account on the server, including the username, password and home
23 * the password value configured for this user account. This implementation uses the
41 * Return true if the specified password is the correct, valid password for this user account.
65 * Return true if the specified password matches the password configured for this user account.
/external/llvm/test/CodeGen/X86/
Davx.ll32 ; On X32, account for the argument's move to registers
45 ; On X32, account for the argument's move to registers
58 ; On X32, account for the argument's move to registers
73 ; On X32, account for the arguments' move to registers
91 ; On X32, account for the arguments' move to registers
109 ; On X32, account for the arguments' move to registers
/external/python/cpython2/Lib/
Dnetrc.py74 account = password = None
81 self.hosts[entryname] = (login, account, password)
92 account = lexer.get_token()
/external/python/cpython3/Lib/
Dnetrc.py70 account = password = None
77 self.hosts[entryname] = (login, account, password)
88 account = lexer.get_token()
/external/clang/test/SemaObjC/
Dwarn-forward-class-attr-deprecated.m13 - (id)initWithAccount: (id)account filenames:(id)filenames;
23 - (id)initWithAccount: (id)account filenames:(id)filenames { return 0; }

12345678910>>...26