/cts/tests/tests/accounts/src/android/accounts/cts/ |
AuthenticatorDescriptionTest.java | 9 private String accountType = "com.my.auth"; 15 desc = new AuthenticatorDescription(accountType, packageName, 1, 1, 1, 1, true); 28 new AuthenticatorDescription(accountType, null, 1, 1, 1, 1); 35 new AuthenticatorDescription(accountType, packageName, -1, 0, -1, 1); 36 new AuthenticatorDescription(accountType, packageName, -1, 0, -1, 1, true); 45 AuthenticatorDescription desc = AuthenticatorDescription.newKey(accountType); 46 assertEquals(desc.type, accountType);
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
EditPropertiesTx.java | 23 public final String accountType; 27 accountType = in.readString(); 32 String accountType, 34 this.accountType = accountType; 45 out.writeString(accountType);
|
AddAccountTx.java | 26 public final String accountType; 33 accountType = in.readString(); 41 String accountType, 46 this.accountType = accountType; 64 out.writeString(accountType);
|
StartAddAccountSessionTx.java | 26 public final String accountType; 32 accountType = in.readString(); 39 String accountType, 43 this.accountType = accountType; 60 out.writeString(accountType);
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
TestDefaultAuthenticator.java | 38 public TestDefaultAuthenticator(Context context, String accountType) { 40 mAccountType = accountType; 45 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { 53 String accountType, 57 if (!mAccountType.equals(accountType)) { 73 new AddAccountTx(accountType, authTokenType, requiredFeatures, options, result));
|
TestAccountAuthenticator.java | 46 public TestAccountAuthenticator(Context context, String accountType) { 49 mAccountType = accountType; 53 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { 61 String accountType, 65 if (!mAccountType.equals(accountType)) { 76 new AddAccountTx(accountType, authTokenType, requiredFeatures, options, result)); 85 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE, accountType); 301 * Start add account flow of the specified accountType to authenticate user. 312 String accountType, 316 if (!mAccountType.equals(accountType)) { [all...] |
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
TestAuthenticator.java | 59 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 73 Log.v(TAG, "Adding account '" + name + "' for " + accountType 77 result.putString(AccountManager.KEY_ACCOUNT_TYPE, accountType); 81 new Account(name, accountType), "password", new Bundle()); 87 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
SetPolicyActivity.java | 45 private static final String COMMAND_BLOCK_ACCOUNT_TYPE = "block-accounttype"; 46 private static final String COMMAND_UNBLOCK_ACCOUNT_TYPE = "unblock-accounttype"; 90 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE); 92 accountType, true); 93 Log.i(TAG, "Blocking account management for account type: " + accountType 96 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE); 98 accountType, false); 99 Log.i(TAG, "Unblocking account management for account type: " + accountType
|
AllowedAccountManagementTest.java | 129 for (String accountType : mDevicePolicyManager.getAccountTypesWithManagementDisabled()) { 130 mDevicePolicyManager.setAccountManagementDisabled(ADMIN_RECEIVER_COMPONENT, accountType,
|
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/ |
StubAuthenticator.java | 54 String accountType) { 60 String accountType, String tokenType, String[] strings, 67 accountManager.addAccountExplicitly(new Account(accountName, accountType), "bar", null); 71 result.putString(AccountManager.KEY_ACCOUNT_TYPE, accountType);
|
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/ |
MyAccountAuthenticator.java | 37 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 52 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/ |
TestAuthenticator.java | 63 private static Account createAccount(Context context, String accountType, 72 Log.i(TAG, "Adding account '" + name + "' for " + accountType 75 final Account account = new Account(name, accountType); 91 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 97 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
AccountManagementTest.java | 82 String accountType = result.getString(AccountManager.KEY_ACCOUNT_TYPE); 84 assertEquals(MockAccountAuthenticator.ACCOUNT_TYPE, accountType); 87 Account account = new Account(accountName, accountType);
|
MockAccountAuthenticator.java | 49 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 56 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/ |
SyncAdapterSettingsAuthenticator.java | 53 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 60 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/ |
StubAuthenticator.java | 51 String accountType) { 57 String accountType, String tokenType, String[] strings,
|
/cts/tests/tests/content/src/android/content/cts/ |
MockAccountAuthenticator.java | 50 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 57 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
StaticAccountAuthenticator.java | 56 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { 61 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType,
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
DummyAccountService.java | 39 public static Account getAccount(String accountType) { 40 return new Account(ACCOUNT_NAME, accountType);
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/accounts/ |
GenericAccountService.java | 38 * <p>It is important that the accountType specified here matches the value in your sync adapter 43 * @param accountType AccountType defined in the configuration XML file for 48 public static Account GetAccount(String accountType) { 56 return new Account(accountName, accountType);
|
/developers/samples/android/common/src/java/com/example/android/common/accounts/ |
GenericAccountService.java | 38 * <p>It is important that the accountType specified here matches the value in your sync adapter 43 * @param accountType AccountType defined in the configuration XML file for 48 public static Account GetAccount(String accountType) { 56 return new Account(accountName, accountType);
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/ |
GenericAccountService.java | 38 * <p>It is important that the accountType specified here matches the value in your sync adapter 43 * @param accountType AccountType defined in the configuration XML file for 48 public static Account GetAccount(String accountType) { 56 return new Account(accountName, accountType);
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsAuthenticator.java | 96 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 103 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
StatsdAuthenticator.java | 95 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 102 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/ |
MyAuthenticator.java | 72 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 79 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
|