/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AbstractAuthenticatorTests.java | 77 String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" + Fixtures.SUFFIX_NAME_FIXTURE; in testStartAddAccountSessionDefaultImpl() local 78 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testStartAddAccountSessionDefaultImpl() 113 String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" + Fixtures.SUFFIX_NAME_FIXTURE; in testStartUpdateCredentialsSessionDefaultImpl() local 114 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testStartUpdateCredentialsSessionDefaultImpl() 151 String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" + Fixtures.SUFFIX_NAME_FIXTURE; in testFinishSessionAndStartAddAccountSessionDefaultImpl() local 152 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testFinishSessionAndStartAddAccountSessionDefaultImpl() 202 assertEquals(accountName, addAccountTx.options.getString(Fixtures.KEY_ACCOUNT_NAME)); in testFinishSessionAndStartAddAccountSessionDefaultImpl() 207 assertEquals(accountName, result.get(AccountManager.KEY_ACCOUNT_NAME)); in testFinishSessionAndStartAddAccountSessionDefaultImpl() 221 String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" + Fixtures.SUFFIX_NAME_FIXTURE; in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl() local 222 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl() [all …]
|
D | AccountManagerUnaffiliatedAuthenticatorTests.java | 280 String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" + Fixtures.SUFFIX_NAME_FIXTURE; in testStartAddAccountSession() local 281 Bundle options = createOptionsWithAccountName(accountName); in testStartAddAccountSession() 316 String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" + Fixtures.SUFFIX_NAME_FIXTURE; in testStartUpdateCredentialsSession() local 317 Bundle options = createOptionsWithAccountName(accountName); in testStartUpdateCredentialsSession() 345 String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" + Fixtures.SUFFIX_NAME_FIXTURE; in testDefaultFinishSessiontWithStartAddAccountSessionImpl() local 349 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessiontWithStartAddAccountSessionImpl() 353 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessiontWithStartAddAccountSessionImpl() 395 String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" + Fixtures.SUFFIX_NAME_FIXTURE; in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl() local 399 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl() 403 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl() [all …]
|
D | AccountManagerTest.java | 2371 final String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" 2373 final Bundle options = createOptionsWithAccountName(accountName); 2385 validateStartAddAccountSessionParametersAndOptions(accountName, options); 2401 final String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" 2403 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); 2416 validateStartAddAccountSessionParametersAndOptions(accountName, options); 2435 final String accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" 2437 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); 2451 validateStartAddAccountSessionParametersAndOptions(accountName, options); 2470 final String accountName = Fixtures.PREFIX_NAME_INTERVENE + "@" [all …]
|
D | MockAccountAuthenticator.java | 346 String accountName = null; in startAddAccountSession() local 349 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in startAddAccountSession() 354 if (accountName.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in startAddAccountSession() 362 } else if (accountName.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in startAddAccountSession() 401 String accountName = null; in startUpdateCredentialsSession() local 404 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in startUpdateCredentialsSession() 409 if (accountName.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in startUpdateCredentialsSession() 417 } else if (accountName.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in startUpdateCredentialsSession() 453 String accountName = null; in finishSession() local 455 accountName = sessionBundle.getString(Fixtures.KEY_ACCOUNT_NAME); in finishSession() [all …]
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0704/stub-app/src/android/security/cts/CVE_2021_0704_stub/ |
D | StubAuthenticator.java | 52 String accountName = getString(R.string.accountName); in addAccount() local 55 accountManager.addAccountExplicitly(new Account(accountName, accountType), in addAccount() 58 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | TestDefaultAuthenticator.java | 61 String accountName = null; in addAccount() local 63 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in addAccount() 65 accountName = Fixtures.PREFIX_NAME_SUCCESS + "@" in addAccount() 70 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
|
D | TestAccountAuthenticator.java | 68 String accountName = null; in addAccount() local 71 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in addAccount() 77 if (accountName.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in addAccount() 79 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount() 81 } else if (accountName.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in addAccount() 84 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount() 323 String accountName = null; in startAddAccountSession() local 326 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in startAddAccountSession() 331 if (accountName.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in startAddAccountSession() 372 String accountName = null; in startUpdateCredentialsSession() local [all …]
|
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/ |
D | StubAuthenticator.java | 64 String accountName = "foo" + sNumAccountsAdded; in addAccount() local 67 accountManager.addAccountExplicitly(new Account(accountName, accountType), "bar", null); in addAccount() 70 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/contacts/ |
D | TestContactsDataManager.java | 54 public final String accountName; field in TestContactsDataManager.TestRawContact 58 TestRawContact(String accountName, String accountType, String customRingtone) { in TestRawContact() argument 59 this.accountName = accountName; in TestRawContact()
|
D | ContactsSharingTest.java | 237 args.put("test_contact_account_name", sTestRawContactDetails.accountName); in testCloneContactsProviderUpdates_rawContactsUpdate_doesNotUpdateActually() 298 args.put("test_contact_account_name", sTestRawContactDetails.accountName); in testReadsForClonedAppWithLauncherActivity_rawContactReads_redirectsToPrimary()
|
D | ManagedProfileContactsAccessTest.java | 197 args.put("test_contact_account_name", rawContactDetails.accountName); in testClonedAppsAccessManagedProfileContacts_contactReadSuccessfully()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | NewUserRequestTest.java | 129 final String accountName = "test_account_name"; in testSetAccountNameAndAccountType() local 131 mBuilder.setAccountName(accountName).setAccountType(accountType); in testSetAccountNameAndAccountType() 133 assertThat(request.getAccountName()).isEqualTo(accountName); in testSetAccountNameAndAccountType()
|
/cts/tests/tests/contactsprovider/gal/src/android/provider/cts/contacts/galprovider/ |
D | CtsGalProvider.java | 159 final String accountName = uri.getQueryParameter(RawContacts.ACCOUNT_NAME); in handleFilter() local 167 if (!ACCOUNT_NAME.equals(accountName)) { in handleFilter() 169 ACCOUNT_NAME, accountName)); in handleFilter()
|
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
D | AccountManagementTest.java | 83 String accountName = result.getString(AccountManager.KEY_ACCOUNT_NAME); in testAddAccount_allowed() local 87 Account account = new Account(accountName, accountType); in testAddAccount_allowed()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35669/test-app/src/android/security/cts/CVE_2023_35669_test/ |
D | PocActivity.java | 37 getString(R.string.accountName), in onResume()
|
D | DeviceTest.java | 133 clickObject(context, uiDevice, context.getString(R.string.accountName)); in testCVE_2023_35669()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21131/test-app/src/android/security/cts/CVE_2023_21131_test/ |
D | PocActivity.java | 37 getString(R.string.accountName), in onResume()
|
D | DeviceTest.java | 146 clickObject(context, uiDevice, context.getString(R.string.accountName)); in testCVE_2023_21131()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0704/test-app/src/android/security/cts/CVE_2021_0704_test/ |
D | ListenerService.java | 66 && notificationText.contains(getString(R.string.accountName))) { in broadcastIfVulnerableNotificationFound()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | PickerProviderMediaGenerator.java | 128 public void setAccountInfo(String accountName, Intent configIntent) { in setAccountInfo() argument 129 mAccountName = accountName; in setAccountInfo()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0315/src/android/security/cts/CVE_2021_0315/ |
D | DeviceTest.java | 73 new Account(mContext.getString(R.string.accountName), in startVulnerableActivity()
|
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
D | CalendarTest.java | 698 public static long addColor(ContentResolver resolver, String accountName, in addColor() argument 700 Uri uri = asSyncAdapter(Colors.CONTENT_URI, accountName, accountType); in addColor() 715 public static Cursor findColorByIndex(ContentResolver resolver, String accountName, in findColorByIndex() argument 719 new String[] {accountName, accountType, index}, null); in findColorByIndex() 722 public static Cursor findColorsByAccount(ContentResolver resolver, String accountName, 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() 746 public static void deleteColorsByAccount(ContentResolver resolver, String accountName, in deleteColorsByAccount() argument 748 Uri uri = asSyncAdapter(Colors.CONTENT_URI, accountName, accountType); in deleteColorsByAccount() [all …]
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 36622 field public static final String ACCOUNT_NAME = "accountName";
|