/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AuthenticatorDescriptionTest.java | 9 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()
|
D | MockAccountAuthenticator.java | 160 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/ |
D | EditPropertiesTx.java | 23 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()
|
D | StartAddAccountSessionTx.java | 26 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()
|
D | AddAccountTx.java | 26 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/ |
D | TestDefaultAuthenticator.java | 38 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()
|
D | TestAccountAuthenticator.java | 46 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/ |
D | SetPolicyActivity.java | 90 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()
|
D | AllowedAccountManagementTest.java | 129 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/ |
D | TestAuthenticator.java | 59 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/ |
D | TestAuthenticator.java | 63 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/ |
D | StubAuthenticator.java | 54 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/ |
D | AccountManagementTest.java | 82 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()
|
D | MockAccountAuthenticator.java | 49 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/ |
D | SyncAdapterSettingsAuthenticator.java | 53 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/ |
D | DummyGalProvider.java | 168 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/ |
D | MockAccountAuthenticator.java | 50 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/ |
D | StubAuthenticator.java | 51 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/ |
D | StaticAccountAuthenticator.java | 56 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/ |
D | StatsdAuthenticator.java | 95 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/ |
D | BatteryStatsAuthenticator.java | 96 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/ |
D | SyncManagerCtsAuthenticator.java | 104 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/ |
D | AccountAuthenticator.java | 71 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/ |
D | Authenticator.java | 101 String accountType) { in editProperties() argument 113 String accountType, String authTokenType, String[] requiredFeatures, in addAccount() argument
|
/cts/tests/tests/security/src/android/security/cts/ |
D | NanoAppBundleTest.java | 218 String accountType) { in editProperties() argument 232 String accountType, in addAccount() argument 238 accountType, authTokenType)); in addAccount()
|