Home
last modified time | relevance | path

Searched refs:accountType (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/accounts/src/android/accounts/cts/
DAuthenticatorDescriptionTest.java9 private String accountType = "com.my.auth"; field in AuthenticatorDescriptionTest
15 desc = new AuthenticatorDescription(accountType, packageName, 1, 1, 1, 1, true); in setUp()
28 new AuthenticatorDescription(accountType, null, 1, 1, 1, 1); in testAccountObjectCreationWithNullPackageName()
35 new AuthenticatorDescription(accountType, packageName, -1, 0, -1, 1); in testObjectCreation()
36 new AuthenticatorDescription(accountType, packageName, -1, 0, -1, 1, true); in testObjectCreation()
45 AuthenticatorDescription desc = AuthenticatorDescription.newKey(accountType); in testNewKey()
46 assertEquals(desc.type, accountType); in testNewKey()
DMockAccountAuthenticator.java160 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
164 this.mAccountType = accountType; in addAccount()
192 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
194 this.mAccountType = accountType; in editProperties()
334 String accountType, in startAddAccountSession() argument
339 this.mAccountType = accountType; in startAddAccountSession()
444 String accountType, in finishSession() argument
447 this.mAccountType = accountType; in finishSession()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/
DEditPropertiesTx.java23 public final String accountType; field in EditPropertiesTx
27 accountType = in.readString(); in EditPropertiesTx()
32 String accountType, in EditPropertiesTx() argument
34 this.accountType = accountType; in EditPropertiesTx()
45 out.writeString(accountType); in writeToParcel()
DStartAddAccountSessionTx.java26 public final String accountType; field in StartAddAccountSessionTx
32 accountType = in.readString(); in StartAddAccountSessionTx()
39 String accountType, in StartAddAccountSessionTx() argument
43 this.accountType = accountType; in StartAddAccountSessionTx()
60 out.writeString(accountType); in writeToParcel()
DAddAccountTx.java26 public final String accountType; field in AddAccountTx
33 accountType = in.readString(); in AddAccountTx()
41 String accountType, in AddAccountTx() argument
46 this.accountType = accountType; in AddAccountTx()
64 out.writeString(accountType); in writeToParcel()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestDefaultAuthenticator.java38 public TestDefaultAuthenticator(Context context, String accountType) { in TestDefaultAuthenticator() argument
40 mAccountType = accountType; in TestDefaultAuthenticator()
45 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
53 String accountType, in addAccount() argument
57 if (!mAccountType.equals(accountType)) { in addAccount()
73 new AddAccountTx(accountType, authTokenType, requiredFeatures, options, result)); in addAccount()
DTestAccountAuthenticator.java46 public TestAccountAuthenticator(Context context, String accountType) { in TestAccountAuthenticator() argument
49 mAccountType = accountType; in TestAccountAuthenticator()
53 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
61 String accountType, in addAccount() argument
65 if (!mAccountType.equals(accountType)) { in addAccount()
76 new AddAccountTx(accountType, authTokenType, requiredFeatures, options, result)); in addAccount()
85 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE, accountType); in addAccount()
312 String accountType, in startAddAccountSession() argument
316 if (!mAccountType.equals(accountType)) { in startAddAccountSession()
321 accountType, authTokenType, requiredFeatures, options)); in startAddAccountSession()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSetPolicyActivity.java90 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE); in handleIntent() local
92 accountType, true); in handleIntent()
93 Log.i(TAG, "Blocking account management for account type: " + accountType in handleIntent()
96 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE); in handleIntent() local
98 accountType, false); in handleIntent()
99 Log.i(TAG, "Unblocking account management for account type: " + accountType in handleIntent()
DAllowedAccountManagementTest.java129 for (String accountType : mDevicePolicyManager.getAccountTypesWithManagementDisabled()) { in clearAllAccountManagementDisabled()
130 mDevicePolicyManager.setAccountManagementDisabled(ADMIN_RECEIVER_COMPONENT, accountType, in clearAllAccountManagementDisabled()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
DTestAuthenticator.java59 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
73 Log.v(TAG, "Adding account '" + name + "' for " + accountType in addAccount()
77 result.putString(AccountManager.KEY_ACCOUNT_TYPE, accountType); in addAccount()
81 new Account(name, accountType), "password", new Bundle()); in addAccount()
87 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/
DTestAuthenticator.java63 private static Account createAccount(Context context, String accountType, in createAccount() argument
72 Log.i(TAG, "Adding account '" + name + "' for " + accountType in createAccount()
75 final Account account = new Account(name, accountType); in createAccount()
91 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
97 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubAuthenticator.java54 String accountType) { in editProperties() argument
60 String accountType, String tokenType, String[] strings, in addAccount() argument
67 accountManager.addAccountExplicitly(new Account(accountName, accountType), "bar", null); in addAccount()
71 result.putString(AccountManager.KEY_ACCOUNT_TYPE, accountType); in addAccount()
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DAccountManagementTest.java82 String accountType = result.getString(AccountManager.KEY_ACCOUNT_TYPE); in testAddAccount_allowed() local
84 assertEquals(MockAccountAuthenticator.ACCOUNT_TYPE, accountType); in testAddAccount_allowed()
87 Account account = new Account(accountName, accountType); in testAddAccount_allowed()
DMockAccountAuthenticator.java49 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
56 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsAuthenticator.java53 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
60 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDummyGalProvider.java168 final String accountType = uri.getQueryParameter(RawContacts.ACCOUNT_TYPE); in handleFilter() local
179 if (!ACCOUNT_TYPE.equals(accountType)) { in handleFilter()
181 ACCOUNT_TYPE, accountType)); in handleFilter()
/cts/tests/tests/content/src/android/content/cts/
DMockAccountAuthenticator.java50 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
57 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
DStubAuthenticator.java51 String accountType) { in editProperties() argument
57 String accountType, String tokenType, String[] strings, in addAccount() argument
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/
DStaticAccountAuthenticator.java56 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
61 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdAuthenticator.java95 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
102 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsAuthenticator.java96 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
103 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsAuthenticator.java104 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
111 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DAccountAuthenticator.java71 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
78 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/hostsidetests/securitybulletin/test-apps/launchanywhere/src/com/android/security/cts/launchanywhere/
DAuthenticator.java101 String accountType) { in editProperties() argument
113 String accountType, String authTokenType, String[] requiredFeatures, in addAccount() argument
/cts/tests/tests/security/src/android/security/cts/
DNanoAppBundleTest.java218 String accountType) { in editProperties() argument
232 String accountType, in addAccount() argument
238 accountType, authTokenType)); in addAccount()

12