Home
last modified time | relevance | path

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

12345678910>>...42

/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.java92 protected synchronized void setAuthToken(Account account, String tokenType, String authToken) { in setAuthToken() argument
93 if(accounts.contains(account)) { in setAuthToken()
94 Map<String, String> tokenMap = authTokens.get(account); in setAuthToken()
97 authTokens.put(account, tokenMap); in setAuthToken()
104 protected String peekAuthToken(Account account, String tokenType) { in peekAuthToken() argument
105 Map<String, String> tokenMap = authTokens.get(account); in peekAuthToken()
114 protected boolean addAccountExplicitly(Account account, String password, Bundle userdata) { in addAccountExplicitly() argument
115 if (account == null) { in addAccountExplicitly()
118 for (Account a: getAccountsByType(account.type)) { in addAccountExplicitly()
119 if (a.name.equals(account.name)) { in addAccountExplicitly()
[all …]
DShadowContentResolver.java446 protected static void requestSync(Account account, String authority, Bundle extras) {
448 Status status = getStatus(account, authority, true);
454 protected static void cancelSync(Account account, String authority) {
455 Status status = getStatus(account, authority);
469 protected static boolean isSyncActive(Account account, String authority) {
470 ShadowContentResolver.Status status = getStatus(account, authority);
476 protected static void setIsSyncable(Account account, String authority, int syncable) {
477 getStatus(account, authority, true).state = syncable;
481 protected static int getIsSyncable(Account account, String authority) {
482 return getStatus(account, authority, true).state;
[all …]
/external/llvm-project/llvm/test/tools/llvm-profdata/
Dsample-summary.test9 ; CHECK-NEXT: 1 blocks with count >= 2080 account for 1 percentage of the total counts.
10 ; CHECK-NEXT: 1 blocks with count >= 2080 account for 10 percentage of the total counts.
11 ; CHECK-NEXT: 2 blocks with count >= 2064 account for 20 percentage of the total counts.
12 ; CHECK-NEXT: 2 blocks with count >= 2064 account for 30 percentage of the total counts.
13 ; CHECK-NEXT: 3 blocks with count >= 2000 account for 40 percentage of the total counts.
14 ; CHECK-NEXT: 4 blocks with count >= 1437 account for 50 percentage of the total counts.
15 ; CHECK-NEXT: 6 blocks with count >= 1075 account for 60 percentage of the total counts.
16 ; CHECK-NEXT: 6 blocks with count >= 1075 account for 70 percentage of the total counts.
17 ; CHECK-NEXT: 7 blocks with count >= 1000 account for 80 percentage of the total counts.
18 ; CHECK-NEXT: 11 blocks with count >= 534 account for 90 percentage of the total counts.
[all …]
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 …]
Dsuppl-instr-with-sample.test96 MIX5-NEXT: 3 blocks with count >= 1000 account for 80 percentage of the total counts.
97 MIX5-NEXT: 3 blocks with count >= 1000 account for 90 percentage of the total counts.
98 MIX5-NEXT: 4 blocks with count >= 500 account for 95 percentage of the total counts.
99 MIX5-NEXT: 4 blocks with count >= 500 account for 99 percentage of the total counts.
100 MIX5-NEXT: 6 blocks with count >= 12 account for 99.9 percentage of the total counts.
101 MIX5-NEXT: 6 blocks with count >= 12 account for 99.99 percentage of the total counts.
102 MIX5-NEXT: 6 blocks with count >= 12 account for 99.999 percentage of the total counts.
/external/dagger2/java/dagger/example/atm/
DWithdrawCommand.java26 private final Account account; field in WithdrawCommand
33 Account account, in WithdrawCommand() argument
38 this.account = account; in WithdrawCommand()
54 BigDecimal newBalance = account.balance().subtract(amount); in handleAmount()
60 amount, account.balance(), minimumBalance)); in handleAmount()
62 account.withdraw(amount); in handleAmount()
64 outputter.output("your new balance is: " + account.balance()); in handleAmount()
DDepositCommand.java26 private final Account account; field in DepositCommand
30 DepositCommand(Outputter outputter, Account account, WithdrawalLimiter withdrawalLimiter) { in DepositCommand() argument
33 this.account = account; in DepositCommand()
39 account.deposit(amount); in handleAmount()
41 outputter.output("your new balance is: " + account.balance()); in handleAmount()
DLoginCommand.java26 private final Optional<Account> account; field in LoginCommand
32 Optional<Account> account, in LoginCommand() argument
35 this.account = account; in LoginCommand()
43 if (account.isPresent()) { in handleArg()
44 String loggedInUser = account.get().username(); in handleArg()
DLogoutCommand.java27 private final Account account; field in LogoutCommand
30 LogoutCommand(Outputter outputter, Account account) { in LogoutCommand() argument
32 this.account = account; in LogoutCommand()
40 outputter.output("logged out " + account.username()); in handleInput()
/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.java48 public AndroidAuthenticator(Context context, Account account, String authTokenType) { in AndroidAuthenticator() argument
49 this(context, account, authTokenType, /* notifyAuthFailure= */ false); in AndroidAuthenticator()
61 Context context, Account account, String authTokenType, boolean notifyAuthFailure) { in AndroidAuthenticator() argument
62 this(AccountManager.get(context), account, authTokenType, notifyAuthFailure); in AndroidAuthenticator()
68 Account account, in AndroidAuthenticator() argument
72 mAccount = account; in AndroidAuthenticator()
/external/python/google-api-python-client/docs/
Doauth-server.md3account, which is an account that belongs to your application instead of to an individual end user…
5account when the application uses Google APIs to work with its own data rather than a user's data.…
7account to access the Google Calendar API on behalf of users. Authorizing a service account to acc…
11 …Google Apps domain, service accounts are not members of your Google Apps account and aren't subjec…
17account for your project in the API Console. If you want to access user data for users in your Goo…
19 Then, your application prepares to make authorized API calls by using the service account's credent…
23 ## Creating a service account
25 A service account's credentials include a generated email address that is unique, a client ID, and …
27 If your application runs on Google App Engine, a service account is set up automatically when you c…
29 If your application runs on Google Compute Engine, a service account is also set up automatically w…
[all …]
/external/opencensus-java/contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/
DMonitoredResource.java115 String account, String instanceId, String region) { in create() argument
117 account, instanceId, region); in create()
178 String account, String instanceId, String zone) { in create() argument
180 account, instanceId, zone); in create()
283 String account, in create() argument
291 account, clusterName, containerName, namespaceId, instanceId, podId, zone); in create()
/external/python/google-api-python-client/samples/analytics/
Dmanagement_v3_reference.py147 for account in accounts_response.get('items', []):
148 print('Account ID = %s' % account.get('id'))
149 print('Kind = %s' % account.get('kind'))
150 print('Self Link = %s' % account.get('selfLink'))
151 print('Account Name = %s' % account.get('name'))
152 print('Created = %s' % account.get('created'))
153 print('Updated = %s' % account.get('updated'))
155 child_link = account.get('childLink')
/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.proto110 // Unique id of the user account. Taken from the objectGUID property of the
111 // Active Directory user account information.
114 // account information.
117 // of the Active Directory user account information.
120 // property of the Active Directory user account information.
124 // the pwdLastSet property of the Active Directory user account information.
127 // User account control flags, see
129 // the userAccountControl property of the Active Directory user account
133 // property of the Active Directory user account information.
157 // User's account information, see above.
[all …]
/external/llvm-project/clang-tools-extra/test/modularize/
DProblemsCoverage.modularize3 # CHECK: warning: {{.*}}{{[/\\]}}Inputs/CoverageProblems/module.modulemap does not account for file…
4 # CHECK-NEXT: warning: {{.*}}{{[/\\]}}Inputs/CoverageProblems/module.modulemap does not account for…
5 # CHECK-NEXT: warning: {{.*}}{{[/\\]}}Inputs/CoverageProblems/module.modulemap does not account for…
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestGenericTypes.java38 private Key<Account> account; field in TestGenericTypes.Person1
47 return account; in getAccount()
54 public void setAccount(Key<Account> account) { in setAccount() argument
55 this.account = account; in setAccount()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DFunctionCognitiveComplexityCheck.cpp148 void account(SourceLocation Loc, unsigned short Nesting, Criteria C);
197 void CognitiveComplexity::account(SourceLocation Loc, unsigned short Nesting, in account() function in clang::tidy::readability::__anonb52cb2880111::CognitiveComplexity
260 CC.account(Node->getIfLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt()
304 CC.account(Node->getElseLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt()
327 CC.account(Op->getOperatorLoc(), CurrentNestingLevel, in TraverseBinaryOperator()
444 CC.account(Location, CurrentNestingLevel, Reasons); in TraverseStmt()
481 CC.account(Node->getBeginLoc(), CurrentNestingLevel, in TraverseDecl()
/external/icu/icu4c/source/data/translit/
DThaiLogical_Latin.txt41 ห | $1 ← h ($notAbove*) \u0304; # backward case, account for reordering
79 ฝ | $1 ← f ($notAbove*) \u0304; # backward case, account for reordering
87 ศ | $1 ← s \u0323 ($notAbove*) \u0304; # backward case, account for reordering
90 ส | $1 ← s ($notAbove*) \u0304; # backward case, account for reordering
99 า | $1 ← a ($notAbove*) \u0304; # backward case, account for reordering
102 ำ | $1 ← a ($notAbove*) \u0309 ; # backward case, account for reordering
105 \u0E35 | $1 ← i ($notAbove*) \u0304 ; # backward case, account for reordering
107 \u0E37 | $1 ← u \u0323 ($notAbove*) \u0304 ; # backward case, account for reordering
110 \u0E39 | $1 ← u ($notAbove*) \u0304 ; # backward case, account for reordering

12345678910>>...42