Home
last modified time | relevance | path

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

/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/
DAccountUtilsTest.java56 static void removeAllAccountsForType(AccountManager am, String accountType) in removeAllAccountsForType() argument
58 Account[] accounts = am.getAccountsByType(accountType); in removeAllAccountsForType()
63 assertEquals(0, am.getAccountsByType(accountType).length); in removeAllAccountsForType()
DMockAccountAuthenticator.java48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
55 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
DAccountManagementTest.java161 for (String accountType : mDevicePolicyManager.getAccountTypesWithManagementDisabled()) { in clearAllAccountManagementDisabled()
162 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/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/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/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java146 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
150 this.mAccountType = accountType; in addAccount()
178 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
180 this.mAccountType = accountType; in editProperties()
DAccountManagerTest.java286 private Bundle addAccount(AccountManager am, String accountType, String authTokenType, in addAccount() argument
292 accountType, in addAccount()
/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 …]