Home
last modified time | relevance | path

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

/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.java147 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
151 this.mAccountType = accountType; in addAccount()
179 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
181 this.mAccountType = accountType; in editProperties()
DAccountManagerTest.java290 private Bundle addAccount(AccountManager am, String accountType, String authTokenType, in addAccount() argument
296 accountType, in addAccount()
/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()
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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSetPolicyActivity.java85 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE); in handleIntent() local
87 accountType, true); in handleIntent()
88 Log.i(TAG, "Blocking account management for account type: " + accountType in handleIntent()
91 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE); in handleIntent() local
93 accountType, false); in handleIntent()
94 Log.i(TAG, "Unblocking account management for account type: " + accountType in handleIntent()
DDpcAllowedAccountManagementTest.java123 for (String accountType : mDevicePolicyManager.getAccountTypesWithManagementDisabled()) { in clearAllAccountManagementDisabled()
124 mDevicePolicyManager.setAccountManagementDisabled(ADMIN_RECEIVER_COMPONENT, accountType, in clearAllAccountManagementDisabled()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java42 public TestAccountAuthenticator(Context context, String accountType) { in TestAccountAuthenticator() argument
45 mAccountType = accountType; in TestAccountAuthenticator()
49 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
57 String accountType, in addAccount() argument
61 if (!mAccountType.equals(accountType)) { in addAccount()
72 new AddAccountTx(accountType, authTokenType, requiredFeatures, options, result)); in addAccount()
81 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE, accountType); in addAccount()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DAccountAuthenticator.java48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
55 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/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
DContentResolverSyncTestCase.java290 if (MockAccountAuthenticator.ACCOUNT_TYPE.equals(type.accountType) &&
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DMockAccountAuthenticator.java50 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
57 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/
DStaticAccountAuthenticator.java58 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
63 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java562 private void changeAccountManagement(String command, String accountType, int userId) in changeAccountManagement() argument
564 changePolicy(command, "--es extra-account-type " + accountType, userId); in changeAccountManagement()
/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java699 String accountType, String data, String index, int type, int color) { in addColor() argument
700 Uri uri = asSyncAdapter(Colors.CONTENT_URI, accountName, accountType); in addColor()
716 String accountType, String index) { in findColorByIndex() argument
719 new String[] {accountName, accountType, index}, null); in findColorByIndex()
723 String accountType) { in findColorsByAccount() argument
725 new String[] { accountName, accountType }, null); in findColorsByAccount()
735 String accountName, String accountType) { in addDefaultColorsToAccount() argument
737 long id = addColor(resolver, accountName, accountType, null, DEFAULT_INDICES[i], in addDefaultColorsToAccount()
747 String accountType) { in deleteColorsByAccount() argument
748 Uri uri = asSyncAdapter(Colors.CONTENT_URI, accountName, accountType); in deleteColorsByAccount()
[all …]