Home
last modified time | relevance | path

Searched refs:preferredDomain (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java106 int expectedUserId, String expectedEmail, String preferredDomain) { in checkFindSendToAccount() argument
107 final Pair<UserHandle, Account> actual = findSendToAccount(mTestContext, preferredDomain); in checkFindSendToAccount()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1229 static Pair<UserHandle, Account> findSendToAccount(Context context, String preferredDomain) { in findSendToAccount() argument
1233 if (preferredDomain != null && !preferredDomain.startsWith("@")) { in findSendToAccount()
1234 preferredDomain = "@" + preferredDomain; in findSendToAccount()
1244 Log.e(TAG, "Could not get accounts for preferred domain " + preferredDomain in findSendToAccount()
1253 if (!TextUtils.isEmpty(preferredDomain)) { in findSendToAccount()
1256 if (account.name.endsWith(preferredDomain)) { in findSendToAccount()