Searched refs:preferredDomain (Results 1 – 2 of 2) sorted by relevance
106 int expectedUserId, String expectedEmail, String preferredDomain) { in checkFindSendToAccount() argument107 final Pair<UserHandle, Account> actual = findSendToAccount(mTestContext, preferredDomain); in checkFindSendToAccount()
1431 static Pair<UserHandle, Account> findSendToAccount(Context context, String preferredDomain) { in findSendToAccount() argument1435 if (preferredDomain != null && !preferredDomain.startsWith("@")) { in findSendToAccount()1436 preferredDomain = "@" + preferredDomain; in findSendToAccount()1446 Log.e(TAG, "Could not get accounts for preferred domain " + preferredDomain in findSendToAccount()1455 if (!TextUtils.isEmpty(preferredDomain)) { in findSendToAccount()1458 if (account.name.endsWith(preferredDomain)) { in findSendToAccount()