/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
D | AccountManagementTest.java | 41 MockAccountAuthenticator.ACCOUNT_TYPE); 54 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in tearDown() 61 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccount_blocked() 65 mAccountManager.addAccount(MockAccountAuthenticator.ACCOUNT_TYPE, in testAddAccount_blocked() 71 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccount_blocked() 76 Bundle result = mAccountManager.addAccount(MockAccountAuthenticator.ACCOUNT_TYPE, in testAddAccount_allowed() 84 assertEquals(MockAccountAuthenticator.ACCOUNT_TYPE, accountType); in testAddAccount_allowed() 94 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testRemoveAccount_blocked() 99 assertEquals(1, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testRemoveAccount_blocked() 111 MockAccountAuthenticator.ACCOUNT_TYPE); in testRemoveAccount_blocked() [all …]
|
D | AccountUtilsTest.java | 42 MockAccountAuthenticator.ACCOUNT_TYPE); 53 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccountExplicitly() 56 assertEquals(1, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testAddAccountExplicitly() 61 assertEquals(1, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testRemoveAccountExplicitly() 64 assertEquals(0, mAccountManager.getAccountsByType(MockAccountAuthenticator.ACCOUNT_TYPE) in testRemoveAccountExplicitly()
|
D | MockAccountAuthenticator.java | 31 static final String ACCOUNT_TYPE field in MockAccountAuthenticator 43 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); in createResultBundle()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_StreamItemsTest.java | 36 private static final String ACCOUNT_TYPE = "com.android.cts"; field in ContactsContract_StreamItemsTest 74 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE); in testContentDirectoryUri() 87 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE); in insertRawContact() 99 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE); in insertViaContentDirectoryUri() 116 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in testContentUri() 122 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in testContentUri() 148 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) in testContentUri()
|
D | ContactsContract_DirectoryTest.java | 52 mAccount = new Account(DummyGalProvider.ACCOUNT_NAME, DummyGalProvider.ACCOUNT_TYPE); in setUp() 77 null, Directory.ACCOUNT_NAME + "=? and " + Directory.ACCOUNT_TYPE + "=?", in waitForDirectorySetup() 78 new String[]{DummyGalProvider.ACCOUNT_NAME, DummyGalProvider.ACCOUNT_TYPE}, in waitForDirectorySetup() argument 90 assertEquals(DummyGalProvider.ACCOUNT_TYPE, getString(c, Directory.ACCOUNT_TYPE)); in waitForDirectorySetup()
|
D | DummyGalProvider.java | 45 public static final String ACCOUNT_TYPE = StaticAccountAuthenticator.TYPE; field in DummyGalProvider 139 } else if (column.equals(Directory.ACCOUNT_TYPE)) { in handleDirectories() 140 row[i] = ACCOUNT_TYPE; in handleDirectories() 168 final String accountType = uri.getQueryParameter(RawContacts.ACCOUNT_TYPE); in handleFilter() 179 if (!ACCOUNT_TYPE.equals(accountType)) { in handleFilter() 181 ACCOUNT_TYPE, accountType)); in handleFilter()
|
D | ContactsContract_StructuredPhoneticName.java | 60 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName() 84 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority1() 94 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority1() 121 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority2() 131 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsContract_GroupMembershipTest.java | 64 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithGroupSourceId() 69 .with(Groups.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithGroupSourceId() 84 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithUnknownGroupSourceId() 91 .with(Groups.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithUnknownGroupSourceId()
|
D | ContactsContract_ContactCountsTest.java | 118 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 128 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 138 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 148 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 158 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 168 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
|
D | ContactsContract_RawContactsTest.java | 57 RawContacts.ACCOUNT_TYPE, 87 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriBySourceId() 108 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriByDisplayName() 222 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testProjection() 239 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testInsertUsageStat() 252 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testInsertUsageStat() 263 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testInsertUsageStat() 279 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testUpdateUsageStat()
|
D | ContactsContract_IsSuperPrimaryName.java | 73 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testInner_displayNameFromIsSuperPrimary() 84 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testInner_displayNameFromIsSuperPrimary() 134 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testIsSuperPrimaryName_mergeBothSuperPrimary() 145 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testIsSuperPrimaryName_mergeBothSuperPrimary()
|
D | ContactsContract_AggregationSuggestionsTest.java | 161 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts() 171 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts() 181 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts()
|
D | ContactsContract_DataTest.java | 95 RawContacts.ACCOUNT_TYPE, 210 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriBySourceId() 231 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testDataProjection() 247 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testRawContactsEntityProjection() 264 RawContacts.ACCOUNT_TYPE, in testRawContactsEntityProjection() 309 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testEntityProjection() 359 RawContacts.ACCOUNT_TYPE, in testEntityProjection() 413 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriByDisplayName() 430 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testContactablesUri() 711 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupContactablesTestData() [all …]
|
D | ContactsContract_ProviderStatus.java | 59 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testProviderStatus_addedContacts()
|
D | ContactsContract_PhoneLookup.java | 75 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 89 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 104 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
|
D | ContactsContract_FrequentsStrequentsTest.java | 432 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 446 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData() 460 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
D | AccountCheckTest.java | 30 private static final String ACCOUNT_TYPE = "com.android.cts.devicepolicy.accountcheck"; field in AccountCheckTest 51 for (Account account : mAccountManager.getAccountsByType(ACCOUNT_TYPE)) { in testRemoveAllAccounts() 59 ACCOUNT_TYPE, in addAccount() 67 assertEquals(ACCOUNT_TYPE, result.getString(AccountManager.KEY_ACCOUNT_TYPE)); in addAccount()
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AccountManagerTest.java | 66 public static final String ACCOUNT_TYPE = "android.accounts.cts.account.type"; field in AccountManagerTest 100 public static final Account ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE); 102 MockAccountAuthenticator.ACCOUNT_NAME_FOR_NEW_REMOVE_API, ACCOUNT_TYPE); 104 MockAccountAuthenticator.ACCOUNT_NAME_FOR_DEFAULT_IMPL, ACCOUNT_TYPE); 105 public static final Account ACCOUNT_SAME_TYPE = new Account(ACCOUNT_NAME_OTHER, ACCOUNT_TYPE); 153 SESSION_BUNDLE.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); in setUp() 171 Account[] ctsAccounts = am.getAccountsByType(ACCOUNT_TYPE); in tearDown() 211 ACCOUNT_TYPE.equals(account.type) || AUTH_EXPIRING_TOKEN_TYPE.equals(tokenType); in validateSuccessfulTokenFetchingLifecycle() 227 isCachingExpected = ACCOUNT_TYPE.equals(account.type); in validateSuccessfulTokenFetchingLifecycle() 269 assertEquals(ACCOUNT_TYPE, result.get(AccountManager.KEY_ACCOUNT_TYPE)); in validateAccountAndNoAuthTokenResult() [all …]
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsAuthenticator.java | 39 private static final String ACCOUNT_TYPE = "com.android.server.cts.device.batterystats"; field in BatteryStatsAuthenticator 53 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getTestAccount() 79 for (Account account : am.getAccountsByType(BatteryStatsAuthenticator.ACCOUNT_TYPE)) { in removeAllAccounts()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdAuthenticator.java | 39 private static final String ACCOUNT_TYPE = "com.android.cts.statsd"; field in StatsdAuthenticator 52 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getTestAccount() 78 for (Account account : am.getAccountsByType(ACCOUNT_TYPE)) { in removeAllAccounts()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | AccountAuthenticator.java | 34 public static final String ACCOUNT_TYPE = "com.android.cts.test"; field in AccountAuthenticator 35 public static final Account TEST_ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE); 49 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); in createAuthTokenBundle()
|
D | ProvisioningTest.java | 121 for (Account account : am.getAccountsByType(AccountAuthenticator.ACCOUNT_TYPE)) { in testAccountExist() 133 am.getAccountsByType(AccountAuthenticator.ACCOUNT_TYPE).length == 0); in testAccountNotExist()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockAccountAuthenticator.java | 31 public static final String ACCOUNT_TYPE = "android.content.cts.account.type"; field in MockAccountAuthenticator 43 result.putString(AccountManager.KEY_ACCOUNT_TYPE, ACCOUNT_TYPE); in createResultBundle()
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/ |
D | TestAuthenticator.java | 38 private static final String ACCOUNT_TYPE = "com.android.cts.devicepolicy.authcheck.tester"; field in TestAuthenticator 56 createAccount(this, ACCOUNT_TYPE, features); in onStartCommand()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
D | ContactsContract_Subquery.java | 50 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testProviderStatus_addedContacts()
|