Home
last modified time | relevance | path

Searched refs:accountName (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/accounts/src/android/accounts/cts/
DAbstractAuthenticatorTests.java77 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 …]
DAccountManagerUnaffiliatedAuthenticatorTests.java280 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 …]
DAccountManagerTest.java2371 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 …]
DMockAccountAuthenticator.java346 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/
DStubAuthenticator.java52 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/
DTestDefaultAuthenticator.java61 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()
DTestAccountAuthenticator.java68 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/
DStubAuthenticator.java64 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/
DTestContactsDataManager.java54 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()
DContactsSharingTest.java237 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()
DManagedProfileContactsAccessTest.java197 args.put("test_contact_account_name", rawContactDetails.accountName); in testClonedAppsAccessManagedProfileContacts_contactReadSuccessfully()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DNewUserRequestTest.java129 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/
DCtsGalProvider.java159 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/
DAccountManagementTest.java83 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/
DPocActivity.java37 getString(R.string.accountName), in onResume()
DDeviceTest.java133 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/
DPocActivity.java37 getString(R.string.accountName), in onResume()
DDeviceTest.java146 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/
DListenerService.java66 && notificationText.contains(getString(R.string.accountName))) { in broadcastIfVulnerableNotificationFound()
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DPickerProviderMediaGenerator.java128 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/
DDeviceTest.java73 new Account(mContext.getString(R.string.accountName), in startVulnerableActivity()
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/
DCalendarTest.java698 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/
Dcurrent.txt36622 field public static final String ACCOUNT_NAME = "accountName";