Home
last modified time | relevance | path

Searched full:account (Results 1 – 25 of 8985) sorted by relevance

12345678910>>...360

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccountManagerTest.java10 import android.accounts.Account;
63 Account a1 = new Account("name_a", "type_a"); in testGetAccounts()
69 Account a2 = new Account("name_b", "type_b"); in testGetAccounts()
78 shadowOf(am).addAccount(new Account("name_1", "type_1")); in getAccountsByType_nullTypeReturnsAllAccounts()
79 shadowOf(am).addAccount(new Account("name_2", "type_2")); in getAccountsByType_nullTypeReturnsAllAccounts()
80 shadowOf(am).addAccount(new Account("name_3", "type_3")); in getAccountsByType_nullTypeReturnsAllAccounts()
90 Account a1 = new Account("name_a", "type_a"); in testGetAccountsByType()
92 Account[] accounts = am.getAccountsByType("type_a"); in testGetAccountsByType()
97 Account a2 = new Account("name_b", "type_b"); in testGetAccountsByType()
104 Account a3 = new Account("name_c", "type_a"); in testGetAccountsByType()
[all …]
DShadowAccountTest.java5 import android.accounts.Account;
16 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()
24 Account expected = new Account("name", "type"); in shouldHaveParcelConstructor()
29 Account actual = new Account(p); in shouldHaveParcelConstructor()
35 Account expected = new Account("name", "type"); in shouldBeParcelable()
39 Account actual = Account.CREATOR.createFromParcel(p); in shouldBeParcelable()
45 new Account("", "type"); in shouldThrowIfNameIsEmpty()
50 new Account("name", ""); in shouldThrowIfTypeIsEmpty()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccountManager.java6 import android.accounts.Account;
42 private List<Account> accounts = new ArrayList<>();
43 private Map<Account, Map<String, String>> authTokens = new HashMap<>();
47 * Maps listeners to a set of account types. If null, the listener should be notified for changes
53 private Map<Account, Map<String, String>> userData = new HashMap<>();
54 private Map<Account, String> passwords = new HashMap<>();
55 private Map<Account, Set<String>> accountFeatures = new HashMap<>();
56 private Map<Account, Set<String>> packageVisibleAccounts = new HashMap<>();
90 protected Account[] getAccounts() { in getAccounts()
91 return accounts.toArray(new Account[accounts.size()]); in getAccounts()
[all …]
/external/mobly-bundled-snippets/src/main/java/com/google/android/mobly/snippet/bundled/
DAccountSnippet.java19 import android.accounts.Account;
49 * apps by implementing a {@link android.content.ContentProvider} for a particular account type.
81 * Adds a Google account to the device.
83 * @param username Username of the account to add (including @gmail.com).
84 * @param password Password of the account to add.
88 "Add a Google (GMail) account to the device, with account data sync disabled.")
91 // Check for existing account. If we try to re-add an existing account, Android throws an in addAccount()
92 // exception that says "Account does not exist or not visible. Maybe change pwd?" which is in addAccount()
96 "Account " + username + " already exists on the device"); in addAccount()
115 "Failed to add account due to code %d: %s", in addAccount()
[all …]
/external/googleapis/google/shopping/css/v1/
Daccounts.proto32 // Service for managing CSS/MC account information.
37 // Lists all the accounts under the specified CSS account ID, and
38 // optionally filters by label ID and account name.
47 // Retrieves a single CSS/MC account by ID.
48 rpc GetAccount(GetAccountRequest) returns (Account) {
56 rpc UpdateLabels(UpdateAccountLabelsRequest) returns (Account) {
67 // Required. The parent account. Must be a CSS group or domain.
68 // Format: accounts/{account}
71 (google.api.resource_reference) = { type: "css.googleapis.com/Account" }
97 // The CSS/MC accounts returned for the specified CSS parent account.
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DAccountSerialization.java18 import android.accounts.Account;
26 /** A common {@link Account} with no associated user; it appears as "shared" on the filesystem. */
27 public static final Account SHARED_ACCOUNT = new Account(SHARED_ACCOUNT_STR, "mobstore");
30 * Validates and serializes an {@link Account} into a string representation "<type>:<name>", with
33 * <p>The account will be URL encoded in its URI representation (so, eg, "<internal>@gmail.com"
37 * <p>This method performs some account validation. Android Account itself requires that both the
39 * type contain no colons (as these are the delimiter used internally for the account
45 * @throws IllegalArgumentException if the account does not conform to the specifications above
47 public static String serialize(Account account) { in serialize() argument
48 validate(account); in serialize()
[all …]
/external/aws-sdk-java-v2/services/account/src/main/resources/codegen-resources/
Dservice-2.json5 "endpointPrefix":"account",
8 "serviceFullName":"AWS Account",
9 "serviceId":"Account",
11 "signingName":"account",
12 "uid":"account-2021-02-01"
30account.</p> <p>For complete details about how to use the alternate contact operations, see <a hre…
48 "documentation":"<p>Disables (opts-out) a particular Region for an account.</p>"
65 "documentation":"<p>Enables (opts-in) a particular Region for an account.</p>"
83account.</p> <p>For complete details about how to use the alternate contact operations, see <a hre…
101 …:"<p>Retrieves the primary contact information of an Amazon Web Services account.</p> <p>For compl…
[all …]
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/account/
DAccountUtilTest.java16 package com.google.android.libraries.mobiledatadownload.account;
20 import android.accounts.Account;
31 String name = "account-name"; in createAccount()
32 String type = "account-type"; in createAccount()
34 Account account = AccountUtil.create(name, type); in createAccount() local
36 assertThat(account).isNotNull(); in createAccount()
37 assertThat(account.name).isEqualTo(name); in createAccount()
38 assertThat(account.type).isEqualTo(type); in createAccount()
43 String name = "account-name"; in createAccount_emptyField()
44 String type = "account-type"; in createAccount_emptyField()
[all …]
/external/google-cloud-java/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/
DDataSharingSettingsName.java32 private static final PathTemplate ACCOUNT = field in DataSharingSettingsName
33 PathTemplate.createWithoutUrlEncoding("accounts/{account}/dataSharingSettings");
35 private final String account; field in DataSharingSettingsName
39 account = null; in DataSharingSettingsName()
43 account = Preconditions.checkNotNull(builder.getAccount()); in DataSharingSettingsName()
47 return account; in getAccount()
58 public static DataSharingSettingsName of(String account) { in of() argument
59 return newBuilder().setAccount(account).build(); in of()
62 public static String format(String account) { in format() argument
63 return newBuilder().setAccount(account).build().toString(); in format()
[all …]
DAccountName.java32 private static final PathTemplate ACCOUNT = field in AccountName
33 PathTemplate.createWithoutUrlEncoding("accounts/{account}");
35 private final String account; field in AccountName
39 account = null; in AccountName()
43 account = Preconditions.checkNotNull(builder.getAccount()); in AccountName()
47 return account; in getAccount()
58 public static AccountName of(String account) { in of() argument
59 return newBuilder().setAccount(account).build(); in of()
62 public static String format(String account) { in format() argument
63 return newBuilder().setAccount(account).build().toString(); in format()
[all …]
/external/google-cloud-java/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/
DDataSharingSettingsName.java32 private static final PathTemplate ACCOUNT = field in DataSharingSettingsName
33 PathTemplate.createWithoutUrlEncoding("accounts/{account}/dataSharingSettings");
35 private final String account; field in DataSharingSettingsName
39 account = null; in DataSharingSettingsName()
43 account = Preconditions.checkNotNull(builder.getAccount()); in DataSharingSettingsName()
47 return account; in getAccount()
58 public static DataSharingSettingsName of(String account) { in of() argument
59 return newBuilder().setAccount(account).build(); in of()
62 public static String format(String account) { in format() argument
63 return newBuilder().setAccount(account).build().toString(); in format()
[all …]
DAccountName.java32 private static final PathTemplate ACCOUNT = field in AccountName
33 PathTemplate.createWithoutUrlEncoding("accounts/{account}");
35 private final String account; field in AccountName
39 account = null; in AccountName()
43 account = Preconditions.checkNotNull(builder.getAccount()); in AccountName()
47 return account; in getAccount()
58 public static AccountName of(String account) { in of() argument
59 return newBuilder().setAccount(account).build(); in of()
62 public static String format(String account) { in format() argument
63 return newBuilder().setAccount(account).build().toString(); in format()
[all …]
/external/python/google-api-python-client/docs/dyn/
Diam_v1.projects.serviceAccounts.html90account, you might not be able to undelete it. If you know that you need to re-enable the service
93account to authenticate, that application can no longer call Google APIs or access Google Cloud re…
96account is already enabled, then this method has no effect. If the service account was disabled by…
102 …e account. This method does not tell you whether the service account has been granted any roles on…
114account. For example, you could grant a principal the ability to impersonate the service account. …
117 …dentials/v1/projects.serviceAccounts/signBlob) method in the IAM Service Account Credentials API i…
120 …edentials/v1/projects.serviceAccounts/signJwt) method in the IAM Service Account Credentials API i…
126account. Use this method only as a last resort. After you delete a service account, IAM permanentl…
145 { # The service account create request.
146 …tId&quot;: &quot;A String&quot;, # Required. The account id that is used to generate the service a…
[all …]
Dcontent_v2.accounts.html82 <p class="firstline">Claims the website of a Merchant Center sub-account.</p>
91 <p class="firstline">Deletes a Merchant Center sub-account.</p>
94 <p class="firstline">Retrieves a Merchant Center account.</p>
97 <p class="firstline">Creates a Merchant Center sub-account.</p>
103 <p class="firstline">Lists the sub-accounts in your Merchant Center account.</p>
109 <p class="firstline">Updates a Merchant Center account. Any fields that are not provided are delete…
125 …countIdentifiers&quot;: [ # The account identifiers corresponding to the authenticated user. - For…
128 …&quot;merchantId&quot;: &quot;A String&quot;, # The merchant account ID, set for individual accoun…
137 <pre>Claims the website of a Merchant Center sub-account.
140account. If this parameter is not the same as accountId, then this account must be a multi-client
[all …]
Diam_v1.projects.serviceAccounts.keys.html85 …tKey. Deleting a service account key does not revoke short-lived credentials that have been issued…
88 <p class="firstline">Disable a ServiceAccountKey. A disabled service account key can be enabled thr…
97 <p class="firstline">Lists every ServiceAccountKey for a service account.</p>
112account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a…
116 { # The service account key create request.
129account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-m…
134 …# The resource name of the service account key in the following format `projects/{PROJECT_ID}/serv…
135account identity. When base64 decoded, the private key data can be used to authenticate with Googl…
145 …tKey. Deleting a service account key does not revoke short-lived credentials that have been issued…
148account key in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.…
[all …]
Dadexchangebuyer_v1_3.accounts.html82 <p class="firstline">Gets one account by ID.</p>
88 <p class="firstline">Updates an existing account. This method supports patch semantics.</p>
91 <p class="firstline">Updates an existing account.</p>
100 <pre>Gets one account by ID.
103 id: integer, The account id (required)
108 { # Configuration data for an Ad Exchange buyer account.
120 …meter value used in cookie match requests. Please contact your technical account manager if you ne…
122 &quot;id&quot;: 42, # Account id.
123 &quot;kind&quot;: &quot;adexchangebuyer#account&quot;, # Resource type.
124 … that an account can have, where a creative is active if it was inserted or bid with in the last 3…
[all …]
Dadexchangebuyer_v1_2.accounts.html82 <p class="firstline">Gets one account by ID.</p>
88 <p class="firstline">Updates an existing account. This method supports patch semantics.</p>
91 <p class="firstline">Updates an existing account.</p>
100 <pre>Gets one account by ID.
103 id: integer, The account id (required)
108 { # Configuration data for an Ad Exchange buyer account.
120 …meter value used in cookie match requests. Please contact your technical account manager if you ne…
122 &quot;id&quot;: 42, # Account id.
123 &quot;kind&quot;: &quot;adexchangebuyer#account&quot;, # Resource type.
124 … that an account can have, where a creative is active if it was inserted or bid with in the last 3…
[all …]
Dcloudbilling_v1.projects.html85account associated with a project. You specify the new billing account by setting the `billing_acc…
106 …e project. A project has at most one associated billing account at a time (but a billing account c…
107 …&quot;billingAccountName&quot;: &quot;A String&quot;, # The resource name of the billing account a…
108 …illing account, to which usage on the project is charged. False if the project is associated with …
116account associated with a project. You specify the new billing account by setting the `billing_acc…
123 …e project. A project has at most one associated billing account at a time (but a billing account c…
124 …&quot;billingAccountName&quot;: &quot;A String&quot;, # The resource name of the billing account a…
125 …illing account, to which usage on the project is charged. False if the project is associated with …
138 …e project. A project has at most one associated billing account at a time (but a billing account c…
139 …&quot;billingAccountName&quot;: &quot;A String&quot;, # The resource name of the billing account a…
[all …]
Dtagmanager_v1.accounts.permissions.html82 <p class="firstline">Creates a user's Account & Container Permissions.</p>
85 <p class="firstline">Removes a user from the account, revoking access to it and all of its containe…
88 <p class="firstline">Gets a user's Account & Container Permissions.</p>
91 <p class="firstline">List all users that have access to the account along with Account and Containe…
94 <p class="firstline">Updates a user's Account & Container Permissions.</p>
103 <pre>Creates a user&#x27;s Account &amp; Container Permissions.
106 accountId: string, The GTM Account ID. (required)
110 { # Represents a user&#x27;s permissions to an account and its container.
111 …accountAccess&quot;: { # Defines the Google Tag Manager Account access permissions. # GTM Account
112 …&quot;permission&quot;: [ # List of Account permissions. Valid account permissions are read and ma…
[all …]
Dtagmanager_v1.accounts.html92 <p class="firstline">Gets a GTM Account.</p>
98 <p class="firstline">Updates a GTM Account.</p>
107 <pre>Gets a GTM Account.
110 accountId: string, The GTM Account ID. (required)
119 { # Represents a Google Tag Manager Account.
120 &quot;accountId&quot;: &quot;A String&quot;, # The Account ID uniquely identifies the GTM Account.
121 …uot;, # The fingerprint of the GTM Account as computed at storage time. This value is recomputed w…
122 …&quot;name&quot;: &quot;A String&quot;, # Account display name. @mutable tagmanager.accounts.creat…
123 …&quot;shareData&quot;: True or False, # Whether the account shares data anonymously with Google an…
142 { # Represents a Google Tag Manager Account.
[all …]
Dcontent_v2_1.accounts.html97 <p class="firstline">Claims the website of a Merchant Center sub-account.</p>
106 <p class="firstline">Deletes a Merchant Center sub-account.</p>
109 <p class="firstline">Retrieves a Merchant Center account.</p>
112 <p class="firstline">Creates a Merchant Center sub-account.</p>
118 <p class="firstline">Lists the sub-accounts in your Merchant Center account.</p>
124 <p class="firstline">Returns the list of accounts linked to your Merchant Center account.</p>
133 <p class="firstline">Updates a Merchant Center account. Any fields that are not provided are delete…
136 <p class="firstline">Updates labels that are assigned to the Merchant Center account by CSS user.</…
139 <p class="firstline">Validates verification code to verify phone number for the account. If success…
155 …countIdentifiers&quot;: [ # The account identifiers corresponding to the authenticated user. - For…
[all …]
/external/googleapis/google/cloud/paymentgateway/issuerswitch/accountmanager/v1/
Dmanaged_accounts.proto35 // Reconciles and provide balance information for an account within the account
42 // Batch reconcile account balance and return status for each account.
53 // Get information on the account managed by account manager.
62 // Entity representing an account managed by the account manager.
66 pattern: "projects/{project}/accountManagers/{account_manager}/accounts/{account}"
71 // State of an account.
76 // Account is active.
79 // Account is inactive.
83 // Reconciliation state of an account.
95 // The name of the account which uniquely identifies the account.
[all …]
/external/python/cpython3/Lib/test/
Dtest_netrc.py28 machine host.domain.com password pass1 login log1 account acct1
29 default login log2 password pass2 account acct2
36 machine host.domain.com login log1 password pass1 account acct1
37 default login log2 password pass2 account acct2
64 "machine host.domain.com account",
66 "machine host.domain.com login \"\" account",
68 "machine host.domain.com account \"\" password"
76 "default account",
78 "default login \"\" account",
80 "default account \"\" password"
[all …]
/external/aws-sdk-java-v2/services/chime/src/main/resources/codegen-resources/
Ddocs-2.json5account. For more information about different account types, see <a href=\"http://docs.aws.amazon.…
6account. Only users on <code>EnterpriseLWA</code> accounts can be unsuspended using this action. F…
7 …RequestItem</a> object for up to 20 users for the specified Amazon Chime account. Currently, only …
8account under the administrator's AWS account. Only <code>Team</code> account types are currently …
9account. You must suspend all users before deleting a <code>Team</code> account. You can use the <…
10 …"GetAccount": "<p>Retrieves details for the specified Amazon Chime account, such as account type a…
11 …"GetAccountSettings": "<p>Retrieves account settings for the specified Amazon Chime account ID, su…
13 …ing them to the specified Amazon Chime <code>Team</code> account. Only <code>Team</code> account t…
14account. You can filter accounts by account name prefix. To find out which Amazon Chime account a …
15 …"ListUsers": "<p>Lists the users that belong to the specified Amazon Chime account. You can specif…
[all …]
/external/robolectric/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
DShadowGoogleAuthUtil.java3 import android.accounts.Account;
64 public static synchronized String getToken(Context context, Account account, String scope) in getToken() argument
66 return googleAuthUtilImpl.getToken(context, account, scope); in getToken()
71 Context context, Account account, String scope, Bundle extras) in getToken() argument
73 return googleAuthUtilImpl.getToken(context, account, scope, extras); in getToken()
91 Context context, Account account, String scope, Bundle extras) in getTokenWithNotification() argument
93 return googleAuthUtilImpl.getTokenWithNotification(context, account, scope, extras); in getTokenWithNotification()
98 Context context, Account account, String scope, Bundle extras, Intent callback) in getTokenWithNotification() argument
100 return googleAuthUtilImpl.getTokenWithNotification(context, account, scope, extras, callback); in getTokenWithNotification()
106 Account account, in getTokenWithNotification() argument
[all …]

12345678910>>...360